/*! For license information please see vendor.js.LICENSE.txt */ (globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[]).push([[751],{6599:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Application:()=>X,AttributeObserver:()=>y,Context:()=>P,Controller:()=>se,ElementObserver:()=>b,IndexedMultimap:()=>A,Multimap:()=>x,SelectorObserver:()=>k,StringMapObserver:()=>T,TokenListObserver:()=>O,ValueListObserver:()=>S,add:()=>w,defaultSchema:()=>Y,del:()=>F,fetch:()=>E,prune:()=>C});class r{constructor(e,t,n){this.eventTarget=e,this.eventName=t,this.eventOptions=n,this.unorderedBindings=new Set}connect(){this.eventTarget.addEventListener(this.eventName,this,this.eventOptions)}disconnect(){this.eventTarget.removeEventListener(this.eventName,this,this.eventOptions)}bindingConnected(e){this.unorderedBindings.add(e)}bindingDisconnected(e){this.unorderedBindings.delete(e)}handleEvent(e){const t=function(e){if("immediatePropagationStopped"in e)return e;{const{stopImmediatePropagation:t}=e;return Object.assign(e,{immediatePropagationStopped:!1,stopImmediatePropagation(){this.immediatePropagationStopped=!0,t.call(this)}})}}(e);for(const e of this.bindings){if(t.immediatePropagationStopped)break;e.handleEvent(t)}}hasBindings(){return this.unorderedBindings.size>0}get bindings(){return Array.from(this.unorderedBindings).sort(((e,t)=>{const n=e.index,r=t.index;return nr?1:0}))}}class a{constructor(e){this.application=e,this.eventListenerMaps=new Map,this.started=!1}start(){this.started||(this.started=!0,this.eventListeners.forEach((e=>e.connect())))}stop(){this.started&&(this.started=!1,this.eventListeners.forEach((e=>e.disconnect())))}get eventListeners(){return Array.from(this.eventListenerMaps.values()).reduce(((e,t)=>e.concat(Array.from(t.values()))),[])}bindingConnected(e){this.fetchEventListenerForBinding(e).bindingConnected(e)}bindingDisconnected(e,t=!1){this.fetchEventListenerForBinding(e).bindingDisconnected(e),t&&this.clearEventListenersForBinding(e)}handleError(e,t,n={}){this.application.handleError(e,`Error ${t}`,n)}clearEventListenersForBinding(e){const t=this.fetchEventListenerForBinding(e);t.hasBindings()||(t.disconnect(),this.removeMappedEventListenerFor(e))}removeMappedEventListenerFor(e){const{eventTarget:t,eventName:n,eventOptions:r}=e,a=this.fetchEventListenerMapForEventTarget(t),o=this.cacheKey(n,r);a.delete(o),0==a.size&&this.eventListenerMaps.delete(t)}fetchEventListenerForBinding(e){const{eventTarget:t,eventName:n,eventOptions:r}=e;return this.fetchEventListener(t,n,r)}fetchEventListener(e,t,n){const r=this.fetchEventListenerMapForEventTarget(e),a=this.cacheKey(t,n);let o=r.get(a);return o||(o=this.createEventListener(e,t,n),r.set(a,o)),o}createEventListener(e,t,n){const a=new r(e,t,n);return this.started&&a.connect(),a}fetchEventListenerMapForEventTarget(e){let t=this.eventListenerMaps.get(e);return t||(t=new Map,this.eventListenerMaps.set(e,t)),t}cacheKey(e,t){const n=[e];return Object.keys(t).sort().forEach((e=>{n.push(`${t[e]?"":"!"}${e}`)})),n.join(":")}}const o={stop:({event:e,value:t})=>(t&&e.stopPropagation(),!0),prevent:({event:e,value:t})=>(t&&e.preventDefault(),!0),self:({event:e,value:t,element:n})=>!t||n===e.target},i=/^(?:(?:([^.]+?)\+)?(.+?)(?:\.(.+?))?(?:@(window|document))?->)?(.+?)(?:#([^:]+?))(?::(.+))?$/;function u(e){return e.replace(/(?:[_-])([a-z0-9])/g,((e,t)=>t.toUpperCase()))}function s(e){return u(e.replace(/--/g,"-").replace(/__/g,"_"))}function l(e){return e.charAt(0).toUpperCase()+e.slice(1)}function c(e){return e.replace(/([A-Z])/g,((e,t)=>`-${t.toLowerCase()}`))}function d(e){return null!=e}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}const p=/^(321|635)$/.test(n.j)?["meta","ctrl","alt","shift"]:null;class h{constructor(e,t,n,r){this.element=e,this.index=t,this.eventTarget=n.eventTarget||e,this.eventName=n.eventName||function(e){const t=e.tagName.toLowerCase();if(t in m)return m[t](e)}(e)||g("missing event name"),this.eventOptions=n.eventOptions||{},this.identifier=n.identifier||g("missing identifier"),this.methodName=n.methodName||g("missing method name"),this.keyFilter=n.keyFilter||"",this.schema=r}static forToken(e,t){return new this(e.element,e.index,function(e){const t=e.trim().match(i)||[];let n=t[2],r=t[3];return r&&!["keydown","keyup","keypress"].includes(n)&&(n+=`.${r}`,r=""),{eventTarget:(a=t[4],"window"==a?window:"document"==a?document:void 0),eventName:n,eventOptions:t[7]?(o=t[7],o.split(":").reduce(((e,t)=>Object.assign(e,{[t.replace(/^!/,"")]:!/^!/.test(t)})),{})):{},identifier:t[5],methodName:t[6],keyFilter:t[1]||r};var a,o}(e.content),t)}toString(){const e=this.keyFilter?`.${this.keyFilter}`:"",t=this.eventTargetName?`@${this.eventTargetName}`:"";return`${this.eventName}${e}${t}->${this.identifier}#${this.methodName}`}shouldIgnoreKeyboardEvent(e){if(!this.keyFilter)return!1;const t=this.keyFilter.split("+");if(this.keyFilterDissatisfied(e,t))return!0;const n=t.filter((e=>!p.includes(e)))[0];return!!n&&(f(this.keyMappings,n)||g(`contains unknown key filter: ${this.keyFilter}`),this.keyMappings[n].toLowerCase()!==e.key.toLowerCase())}shouldIgnoreMouseEvent(e){if(!this.keyFilter)return!1;const t=[this.keyFilter];return!!this.keyFilterDissatisfied(e,t)}get params(){const e={},t=new RegExp(`^data-${this.identifier}-(.+)-param$`,"i");for(const{name:n,value:r}of Array.from(this.element.attributes)){const a=n.match(t),o=a&&a[1];o&&(e[u(o)]=v(r))}return e}get eventTargetName(){return(e=this.eventTarget)==window?"window":e==document?"document":void 0;var e}get keyMappings(){return this.schema.keyMappings}keyFilterDissatisfied(e,t){const[n,r,a,o]=p.map((e=>t.includes(e)));return e.metaKey!==n||e.ctrlKey!==r||e.altKey!==a||e.shiftKey!==o}}const m={a:()=>"click",button:()=>"click",form:()=>"submit",details:()=>"toggle",input:e=>"submit"==e.getAttribute("type")?"click":"input",select:()=>"change",textarea:()=>"input"};function g(e){throw new Error(e)}function v(e){try{return JSON.parse(e)}catch(t){return e}}class D{constructor(e,t){this.context=e,this.action=t}get index(){return this.action.index}get eventTarget(){return this.action.eventTarget}get eventOptions(){return this.action.eventOptions}get identifier(){return this.context.identifier}handleEvent(e){const t=this.prepareActionEvent(e);this.willBeInvokedByEvent(e)&&this.applyEventModifiers(t)&&this.invokeWithEvent(t)}get eventName(){return this.action.eventName}get method(){const e=this.controller[this.methodName];if("function"==typeof e)return e;throw new Error(`Action "${this.action}" references undefined method "${this.methodName}"`)}applyEventModifiers(e){const{element:t}=this.action,{actionDescriptorFilters:n}=this.context.application,{controller:r}=this.context;let a=!0;for(const[o,i]of Object.entries(this.eventOptions))if(o in n){const u=n[o];a=a&&u({name:o,value:i,event:e,element:t,controller:r})}return a}prepareActionEvent(e){return Object.assign(e,{params:this.action.params})}invokeWithEvent(e){const{target:t,currentTarget:n}=e;try{this.method.call(this.controller,e),this.context.logDebugActivity(this.methodName,{event:e,target:t,currentTarget:n,action:this.methodName})}catch(t){const{identifier:n,controller:r,element:a,index:o}=this,i={identifier:n,controller:r,element:a,index:o,event:e};this.context.handleError(t,`invoking action "${this.action}"`,i)}}willBeInvokedByEvent(e){const t=e.target;return!(e instanceof KeyboardEvent&&this.action.shouldIgnoreKeyboardEvent(e))&&!(e instanceof MouseEvent&&this.action.shouldIgnoreMouseEvent(e))&&(this.element===t||(t instanceof Element&&this.element.contains(t)?this.scope.containsElement(t):this.scope.containsElement(this.action.element)))}get controller(){return this.context.controller}get methodName(){return this.action.methodName}get element(){return this.scope.element}get scope(){return this.context.scope}}class b{constructor(e,t){this.mutationObserverInit={attributes:!0,childList:!0,subtree:!0},this.element=e,this.started=!1,this.delegate=t,this.elements=new Set,this.mutationObserver=new MutationObserver((e=>this.processMutations(e)))}start(){this.started||(this.started=!0,this.mutationObserver.observe(this.element,this.mutationObserverInit),this.refresh())}pause(e){this.started&&(this.mutationObserver.disconnect(),this.started=!1),e(),this.started||(this.mutationObserver.observe(this.element,this.mutationObserverInit),this.started=!0)}stop(){this.started&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.started=!1)}refresh(){if(this.started){const e=new Set(this.matchElementsInTree());for(const t of Array.from(this.elements))e.has(t)||this.removeElement(t);for(const t of Array.from(e))this.addElement(t)}}processMutations(e){if(this.started)for(const t of e)this.processMutation(t)}processMutation(e){"attributes"==e.type?this.processAttributeChange(e.target,e.attributeName):"childList"==e.type&&(this.processRemovedNodes(e.removedNodes),this.processAddedNodes(e.addedNodes))}processAttributeChange(e,t){this.elements.has(e)?this.delegate.elementAttributeChanged&&this.matchElement(e)?this.delegate.elementAttributeChanged(e,t):this.removeElement(e):this.matchElement(e)&&this.addElement(e)}processRemovedNodes(e){for(const t of Array.from(e)){const e=this.elementFromNode(t);e&&this.processTree(e,this.removeElement)}}processAddedNodes(e){for(const t of Array.from(e)){const e=this.elementFromNode(t);e&&this.elementIsActive(e)&&this.processTree(e,this.addElement)}}matchElement(e){return this.delegate.matchElement(e)}matchElementsInTree(e=this.element){return this.delegate.matchElementsInTree(e)}processTree(e,t){for(const n of this.matchElementsInTree(e))t.call(this,n)}elementFromNode(e){if(e.nodeType==Node.ELEMENT_NODE)return e}elementIsActive(e){return e.isConnected==this.element.isConnected&&this.element.contains(e)}addElement(e){this.elements.has(e)||this.elementIsActive(e)&&(this.elements.add(e),this.delegate.elementMatched&&this.delegate.elementMatched(e))}removeElement(e){this.elements.has(e)&&(this.elements.delete(e),this.delegate.elementUnmatched&&this.delegate.elementUnmatched(e))}}class y{constructor(e,t,n){this.attributeName=t,this.delegate=n,this.elementObserver=new b(e,this)}get element(){return this.elementObserver.element}get selector(){return`[${this.attributeName}]`}start(){this.elementObserver.start()}pause(e){this.elementObserver.pause(e)}stop(){this.elementObserver.stop()}refresh(){this.elementObserver.refresh()}get started(){return this.elementObserver.started}matchElement(e){return e.hasAttribute(this.attributeName)}matchElementsInTree(e){const t=this.matchElement(e)?[e]:[],n=Array.from(e.querySelectorAll(this.selector));return t.concat(n)}elementMatched(e){this.delegate.elementMatchedAttribute&&this.delegate.elementMatchedAttribute(e,this.attributeName)}elementUnmatched(e){this.delegate.elementUnmatchedAttribute&&this.delegate.elementUnmatchedAttribute(e,this.attributeName)}elementAttributeChanged(e,t){this.delegate.elementAttributeValueChanged&&this.attributeName==t&&this.delegate.elementAttributeValueChanged(e,t)}}function w(e,t,n){E(e,t).add(n)}function F(e,t,n){E(e,t).delete(n),C(e,t)}function E(e,t){let n=e.get(t);return n||(n=new Set,e.set(t,n)),n}function C(e,t){const n=e.get(t);null!=n&&0==n.size&&e.delete(t)}class x{constructor(){this.valuesByKey=new Map}get keys(){return Array.from(this.valuesByKey.keys())}get values(){return Array.from(this.valuesByKey.values()).reduce(((e,t)=>e.concat(Array.from(t))),[])}get size(){return Array.from(this.valuesByKey.values()).reduce(((e,t)=>e+t.size),0)}add(e,t){w(this.valuesByKey,e,t)}delete(e,t){F(this.valuesByKey,e,t)}has(e,t){const n=this.valuesByKey.get(e);return null!=n&&n.has(t)}hasKey(e){return this.valuesByKey.has(e)}hasValue(e){return Array.from(this.valuesByKey.values()).some((t=>t.has(e)))}getValuesForKey(e){const t=this.valuesByKey.get(e);return t?Array.from(t):[]}getKeysForValue(e){return Array.from(this.valuesByKey).filter((([t,n])=>n.has(e))).map((([e,t])=>e))}}class A extends(321==n.j?x:null){constructor(){super(),this.keysByValue=new Map}get values(){return Array.from(this.keysByValue.keys())}add(e,t){super.add(e,t),w(this.keysByValue,t,e)}delete(e,t){super.delete(e,t),F(this.keysByValue,t,e)}hasValue(e){return this.keysByValue.has(e)}getKeysForValue(e){const t=this.keysByValue.get(e);return t?Array.from(t):[]}}class k{constructor(e,t,n,r){this._selector=t,this.details=r,this.elementObserver=new b(e,this),this.delegate=n,this.matchesByElement=new x}get started(){return this.elementObserver.started}get selector(){return this._selector}set selector(e){this._selector=e,this.refresh()}start(){this.elementObserver.start()}pause(e){this.elementObserver.pause(e)}stop(){this.elementObserver.stop()}refresh(){this.elementObserver.refresh()}get element(){return this.elementObserver.element}matchElement(e){const{selector:t}=this;if(t){const n=e.matches(t);return this.delegate.selectorMatchElement?n&&this.delegate.selectorMatchElement(e,this.details):n}return!1}matchElementsInTree(e){const{selector:t}=this;if(t){const n=this.matchElement(e)?[e]:[],r=Array.from(e.querySelectorAll(t)).filter((e=>this.matchElement(e)));return n.concat(r)}return[]}elementMatched(e){const{selector:t}=this;t&&this.selectorMatched(e,t)}elementUnmatched(e){const t=this.matchesByElement.getKeysForValue(e);for(const n of t)this.selectorUnmatched(e,n)}elementAttributeChanged(e,t){const{selector:n}=this;if(n){const t=this.matchElement(e),r=this.matchesByElement.has(n,e);t&&!r?this.selectorMatched(e,n):!t&&r&&this.selectorUnmatched(e,n)}}selectorMatched(e,t){this.delegate.selectorMatched(e,t,this.details),this.matchesByElement.add(t,e)}selectorUnmatched(e,t){this.delegate.selectorUnmatched(e,t,this.details),this.matchesByElement.delete(t,e)}}class T{constructor(e,t){this.element=e,this.delegate=t,this.started=!1,this.stringMap=new Map,this.mutationObserver=new MutationObserver((e=>this.processMutations(e)))}start(){this.started||(this.started=!0,this.mutationObserver.observe(this.element,{attributes:!0,attributeOldValue:!0}),this.refresh())}stop(){this.started&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.started=!1)}refresh(){if(this.started)for(const e of this.knownAttributeNames)this.refreshAttribute(e,null)}processMutations(e){if(this.started)for(const t of e)this.processMutation(t)}processMutation(e){const t=e.attributeName;t&&this.refreshAttribute(t,e.oldValue)}refreshAttribute(e,t){const n=this.delegate.getStringMapKeyForAttribute(e);if(null!=n){this.stringMap.has(e)||this.stringMapKeyAdded(n,e);const r=this.element.getAttribute(e);if(this.stringMap.get(e)!=r&&this.stringMapValueChanged(r,n,t),null==r){const t=this.stringMap.get(e);this.stringMap.delete(e),t&&this.stringMapKeyRemoved(n,e,t)}else this.stringMap.set(e,r)}}stringMapKeyAdded(e,t){this.delegate.stringMapKeyAdded&&this.delegate.stringMapKeyAdded(e,t)}stringMapValueChanged(e,t,n){this.delegate.stringMapValueChanged&&this.delegate.stringMapValueChanged(e,t,n)}stringMapKeyRemoved(e,t,n){this.delegate.stringMapKeyRemoved&&this.delegate.stringMapKeyRemoved(e,t,n)}get knownAttributeNames(){return Array.from(new Set(this.currentAttributeNames.concat(this.recordedAttributeNames)))}get currentAttributeNames(){return Array.from(this.element.attributes).map((e=>e.name))}get recordedAttributeNames(){return Array.from(this.stringMap.keys())}}class O{constructor(e,t,n){this.attributeObserver=new y(e,t,this),this.delegate=n,this.tokensByElement=new x}get started(){return this.attributeObserver.started}start(){this.attributeObserver.start()}pause(e){this.attributeObserver.pause(e)}stop(){this.attributeObserver.stop()}refresh(){this.attributeObserver.refresh()}get element(){return this.attributeObserver.element}get attributeName(){return this.attributeObserver.attributeName}elementMatchedAttribute(e){this.tokensMatched(this.readTokensForElement(e))}elementAttributeValueChanged(e){const[t,n]=this.refreshTokensForElement(e);this.tokensUnmatched(t),this.tokensMatched(n)}elementUnmatchedAttribute(e){this.tokensUnmatched(this.tokensByElement.getValuesForKey(e))}tokensMatched(e){e.forEach((e=>this.tokenMatched(e)))}tokensUnmatched(e){e.forEach((e=>this.tokenUnmatched(e)))}tokenMatched(e){this.delegate.tokenMatched(e),this.tokensByElement.add(e.element,e)}tokenUnmatched(e){this.delegate.tokenUnmatched(e),this.tokensByElement.delete(e.element,e)}refreshTokensForElement(e){const t=this.tokensByElement.getValuesForKey(e),n=this.readTokensForElement(e),r=function(e,t){const n=Math.max(e.length,t.length);return Array.from({length:n},((n,r)=>[e[r],t[r]]))}(t,n).findIndex((([e,t])=>{return r=t,!((n=e)&&r&&n.index==r.index&&n.content==r.content);var n,r}));return-1==r?[[],[]]:[t.slice(r),n.slice(r)]}readTokensForElement(e){const t=this.attributeName;return function(e,t,n){return e.trim().split(/\s+/).filter((e=>e.length)).map(((e,r)=>({element:t,attributeName:n,content:e,index:r})))}(e.getAttribute(t)||"",e,t)}}class S{constructor(e,t,n){this.tokenListObserver=new O(e,t,this),this.delegate=n,this.parseResultsByToken=new WeakMap,this.valuesByTokenByElement=new WeakMap}get started(){return this.tokenListObserver.started}start(){this.tokenListObserver.start()}stop(){this.tokenListObserver.stop()}refresh(){this.tokenListObserver.refresh()}get element(){return this.tokenListObserver.element}get attributeName(){return this.tokenListObserver.attributeName}tokenMatched(e){const{element:t}=e,{value:n}=this.fetchParseResultForToken(e);n&&(this.fetchValuesByTokenForElement(t).set(e,n),this.delegate.elementMatchedValue(t,n))}tokenUnmatched(e){const{element:t}=e,{value:n}=this.fetchParseResultForToken(e);n&&(this.fetchValuesByTokenForElement(t).delete(e),this.delegate.elementUnmatchedValue(t,n))}fetchParseResultForToken(e){let t=this.parseResultsByToken.get(e);return t||(t=this.parseToken(e),this.parseResultsByToken.set(e,t)),t}fetchValuesByTokenForElement(e){let t=this.valuesByTokenByElement.get(e);return t||(t=new Map,this.valuesByTokenByElement.set(e,t)),t}parseToken(e){try{return{value:this.delegate.parseValueForToken(e)}}catch(e){return{error:e}}}}class N{constructor(e,t){this.context=e,this.delegate=t,this.bindingsByAction=new Map}start(){this.valueListObserver||(this.valueListObserver=new S(this.element,this.actionAttribute,this),this.valueListObserver.start())}stop(){this.valueListObserver&&(this.valueListObserver.stop(),delete this.valueListObserver,this.disconnectAllActions())}get element(){return this.context.element}get identifier(){return this.context.identifier}get actionAttribute(){return this.schema.actionAttribute}get schema(){return this.context.schema}get bindings(){return Array.from(this.bindingsByAction.values())}connectAction(e){const t=new D(this.context,e);this.bindingsByAction.set(e,t),this.delegate.bindingConnected(t)}disconnectAction(e){const t=this.bindingsByAction.get(e);t&&(this.bindingsByAction.delete(e),this.delegate.bindingDisconnected(t))}disconnectAllActions(){this.bindings.forEach((e=>this.delegate.bindingDisconnected(e,!0))),this.bindingsByAction.clear()}parseValueForToken(e){const t=h.forToken(e,this.schema);if(t.identifier==this.identifier)return t}elementMatchedValue(e,t){this.connectAction(t)}elementUnmatchedValue(e,t){this.disconnectAction(t)}}class R{constructor(e,t){this.context=e,this.receiver=t,this.stringMapObserver=new T(this.element,this),this.valueDescriptorMap=this.controller.valueDescriptorMap}start(){this.stringMapObserver.start(),this.invokeChangedCallbacksForDefaultValues()}stop(){this.stringMapObserver.stop()}get element(){return this.context.element}get controller(){return this.context.controller}getStringMapKeyForAttribute(e){if(e in this.valueDescriptorMap)return this.valueDescriptorMap[e].name}stringMapKeyAdded(e,t){const n=this.valueDescriptorMap[t];this.hasValue(e)||this.invokeChangedCallback(e,n.writer(this.receiver[e]),n.writer(n.defaultValue))}stringMapValueChanged(e,t,n){const r=this.valueDescriptorNameMap[t];null!==e&&(null===n&&(n=r.writer(r.defaultValue)),this.invokeChangedCallback(t,e,n))}stringMapKeyRemoved(e,t,n){const r=this.valueDescriptorNameMap[e];this.hasValue(e)?this.invokeChangedCallback(e,r.writer(this.receiver[e]),n):this.invokeChangedCallback(e,r.writer(r.defaultValue),n)}invokeChangedCallbacksForDefaultValues(){for(const{key:e,name:t,defaultValue:n,writer:r}of this.valueDescriptors)null==n||this.controller.data.has(e)||this.invokeChangedCallback(t,r(n),void 0)}invokeChangedCallback(e,t,n){const r=`${e}Changed`,a=this.receiver[r];if("function"==typeof a){const r=this.valueDescriptorNameMap[e];try{const e=r.reader(t);let o=n;n&&(o=r.reader(n)),a.call(this.receiver,e,o)}catch(e){throw e instanceof TypeError&&(e.message=`Stimulus Value "${this.context.identifier}.${r.name}" - ${e.message}`),e}}}get valueDescriptors(){const{valueDescriptorMap:e}=this;return Object.keys(e).map((t=>e[t]))}get valueDescriptorNameMap(){const e={};return Object.keys(this.valueDescriptorMap).forEach((t=>{const n=this.valueDescriptorMap[t];e[n.name]=n})),e}hasValue(e){const t=`has${l(this.valueDescriptorNameMap[e].name)}`;return this.receiver[t]}}class B{constructor(e,t){this.context=e,this.delegate=t,this.targetsByName=new x}start(){this.tokenListObserver||(this.tokenListObserver=new O(this.element,this.attributeName,this),this.tokenListObserver.start())}stop(){this.tokenListObserver&&(this.disconnectAllTargets(),this.tokenListObserver.stop(),delete this.tokenListObserver)}tokenMatched({element:e,content:t}){this.scope.containsElement(e)&&this.connectTarget(e,t)}tokenUnmatched({element:e,content:t}){this.disconnectTarget(e,t)}connectTarget(e,t){var n;this.targetsByName.has(t,e)||(this.targetsByName.add(t,e),null===(n=this.tokenListObserver)||void 0===n||n.pause((()=>this.delegate.targetConnected(e,t))))}disconnectTarget(e,t){var n;this.targetsByName.has(t,e)&&(this.targetsByName.delete(t,e),null===(n=this.tokenListObserver)||void 0===n||n.pause((()=>this.delegate.targetDisconnected(e,t))))}disconnectAllTargets(){for(const e of this.targetsByName.keys)for(const t of this.targetsByName.getValuesForKey(e))this.disconnectTarget(t,e)}get attributeName(){return`data-${this.context.identifier}-target`}get element(){return this.context.element}get scope(){return this.context.scope}}function _(e,t){const n=M(e);return Array.from(n.reduce(((e,n)=>(function(e,t){const n=e[t];return Array.isArray(n)?n:[]}(n,t).forEach((t=>e.add(t))),e)),new Set))}function M(e){const t=[];for(;e;)t.push(e),e=Object.getPrototypeOf(e);return t.reverse()}class I{constructor(e,t){this.started=!1,this.context=e,this.delegate=t,this.outletsByName=new x,this.outletElementsByName=new x,this.selectorObserverMap=new Map,this.attributeObserverMap=new Map}start(){this.started||(this.outletDefinitions.forEach((e=>{this.setupSelectorObserverForOutlet(e),this.setupAttributeObserverForOutlet(e)})),this.started=!0,this.dependentContexts.forEach((e=>e.refresh())))}refresh(){this.selectorObserverMap.forEach((e=>e.refresh())),this.attributeObserverMap.forEach((e=>e.refresh()))}stop(){this.started&&(this.started=!1,this.disconnectAllOutlets(),this.stopSelectorObservers(),this.stopAttributeObservers())}stopSelectorObservers(){this.selectorObserverMap.size>0&&(this.selectorObserverMap.forEach((e=>e.stop())),this.selectorObserverMap.clear())}stopAttributeObservers(){this.attributeObserverMap.size>0&&(this.attributeObserverMap.forEach((e=>e.stop())),this.attributeObserverMap.clear())}selectorMatched(e,t,{outletName:n}){const r=this.getOutlet(e,n);r&&this.connectOutlet(r,e,n)}selectorUnmatched(e,t,{outletName:n}){const r=this.getOutletFromMap(e,n);r&&this.disconnectOutlet(r,e,n)}selectorMatchElement(e,{outletName:t}){const n=this.selector(t),r=this.hasOutlet(e,t),a=e.matches(`[${this.schema.controllerAttribute}~=${t}]`);return!!n&&r&&a&&e.matches(n)}elementMatchedAttribute(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}elementAttributeValueChanged(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}elementUnmatchedAttribute(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}connectOutlet(e,t,n){var r;this.outletElementsByName.has(n,t)||(this.outletsByName.add(n,e),this.outletElementsByName.add(n,t),null===(r=this.selectorObserverMap.get(n))||void 0===r||r.pause((()=>this.delegate.outletConnected(e,t,n))))}disconnectOutlet(e,t,n){var r;this.outletElementsByName.has(n,t)&&(this.outletsByName.delete(n,e),this.outletElementsByName.delete(n,t),null===(r=this.selectorObserverMap.get(n))||void 0===r||r.pause((()=>this.delegate.outletDisconnected(e,t,n))))}disconnectAllOutlets(){for(const e of this.outletElementsByName.keys)for(const t of this.outletElementsByName.getValuesForKey(e))for(const n of this.outletsByName.getValuesForKey(e))this.disconnectOutlet(n,t,e)}updateSelectorObserverForOutlet(e){const t=this.selectorObserverMap.get(e);t&&(t.selector=this.selector(e))}setupSelectorObserverForOutlet(e){const t=this.selector(e),n=new k(document.body,t,this,{outletName:e});this.selectorObserverMap.set(e,n),n.start()}setupAttributeObserverForOutlet(e){const t=this.attributeNameForOutletName(e),n=new y(this.scope.element,t,this);this.attributeObserverMap.set(e,n),n.start()}selector(e){return this.scope.outlets.getSelectorForOutletName(e)}attributeNameForOutletName(e){return this.scope.schema.outletAttributeForScope(this.identifier,e)}getOutletNameFromOutletAttributeName(e){return this.outletDefinitions.find((t=>this.attributeNameForOutletName(t)===e))}get outletDependencies(){const e=new x;return this.router.modules.forEach((t=>{_(t.definition.controllerConstructor,"outlets").forEach((n=>e.add(n,t.identifier)))})),e}get outletDefinitions(){return this.outletDependencies.getKeysForValue(this.identifier)}get dependentControllerIdentifiers(){return this.outletDependencies.getValuesForKey(this.identifier)}get dependentContexts(){const e=this.dependentControllerIdentifiers;return this.router.contexts.filter((t=>e.includes(t.identifier)))}hasOutlet(e,t){return!!this.getOutlet(e,t)||!!this.getOutletFromMap(e,t)}getOutlet(e,t){return this.application.getControllerForElementAndIdentifier(e,t)}getOutletFromMap(e,t){return this.outletsByName.getValuesForKey(t).find((t=>t.element===e))}get scope(){return this.context.scope}get schema(){return this.context.schema}get identifier(){return this.context.identifier}get application(){return this.context.application}get router(){return this.application.router}}class P{constructor(e,t){this.logDebugActivity=(e,t={})=>{const{identifier:n,controller:r,element:a}=this;t=Object.assign({identifier:n,controller:r,element:a},t),this.application.logDebugActivity(this.identifier,e,t)},this.module=e,this.scope=t,this.controller=new e.controllerConstructor(this),this.bindingObserver=new N(this,this.dispatcher),this.valueObserver=new R(this,this.controller),this.targetObserver=new B(this,this),this.outletObserver=new I(this,this);try{this.controller.initialize(),this.logDebugActivity("initialize")}catch(e){this.handleError(e,"initializing controller")}}connect(){this.bindingObserver.start(),this.valueObserver.start(),this.targetObserver.start(),this.outletObserver.start();try{this.controller.connect(),this.logDebugActivity("connect")}catch(e){this.handleError(e,"connecting controller")}}refresh(){this.outletObserver.refresh()}disconnect(){try{this.controller.disconnect(),this.logDebugActivity("disconnect")}catch(e){this.handleError(e,"disconnecting controller")}this.outletObserver.stop(),this.targetObserver.stop(),this.valueObserver.stop(),this.bindingObserver.stop()}get application(){return this.module.application}get identifier(){return this.module.identifier}get schema(){return this.application.schema}get dispatcher(){return this.application.dispatcher}get element(){return this.scope.element}get parentElement(){return this.element.parentElement}handleError(e,t,n={}){const{identifier:r,controller:a,element:o}=this;n=Object.assign({identifier:r,controller:a,element:o},n),this.application.handleError(e,`Error ${t}`,n)}targetConnected(e,t){this.invokeControllerMethod(`${t}TargetConnected`,e)}targetDisconnected(e,t){this.invokeControllerMethod(`${t}TargetDisconnected`,e)}outletConnected(e,t,n){this.invokeControllerMethod(`${s(n)}OutletConnected`,e,t)}outletDisconnected(e,t,n){this.invokeControllerMethod(`${s(n)}OutletDisconnected`,e,t)}invokeControllerMethod(e,...t){const n=this.controller;"function"==typeof n[e]&&n[e](...t)}}const L="function"==typeof Object.getOwnPropertySymbols?e=>[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)]:Object.getOwnPropertyNames,j=(()=>{function e(e){function t(){return Reflect.construct(e,arguments,new.target)}return t.prototype=Object.create(e.prototype,{constructor:{value:t}}),Reflect.setPrototypeOf(t,e),t}try{return function(){const t=e((function(){this.a.call(this)}));t.prototype.a=function(){},new t}(),e}catch(e){return e=>class extends e{}}})();class ${constructor(e,t){this.application=e,this.definition=function(e){return{identifier:e.identifier,controllerConstructor:(t=e.controllerConstructor,function(e,t){const n=j(e),r=function(e,t){return L(t).reduce(((n,r)=>{const a=function(e,t,n){const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!("value"in r)){const e=Object.getOwnPropertyDescriptor(t,n).value;return r&&(e.get=r.get||e.get,e.set=r.set||e.set),e}}(e,t,r);return a&&Object.assign(n,{[r]:a}),n}),{})}(e.prototype,t);return Object.defineProperties(n.prototype,r),n}(t,function(e){return _(e,"blessings").reduce(((t,n)=>{const r=n(e);for(const e in r){const n=t[e]||{};t[e]=Object.assign(n,r[e])}return t}),{})}(t)))};var t}(t),this.contextsByScope=new WeakMap,this.connectedContexts=new Set}get identifier(){return this.definition.identifier}get controllerConstructor(){return this.definition.controllerConstructor}get contexts(){return Array.from(this.connectedContexts)}connectContextForScope(e){const t=this.fetchContextForScope(e);this.connectedContexts.add(t),t.connect()}disconnectContextForScope(e){const t=this.contextsByScope.get(e);t&&(this.connectedContexts.delete(t),t.disconnect())}fetchContextForScope(e){let t=this.contextsByScope.get(e);return t||(t=new P(this,e),this.contextsByScope.set(e,t)),t}}class V{constructor(e){this.scope=e}has(e){return this.data.has(this.getDataKey(e))}get(e){return this.getAll(e)[0]}getAll(e){return(this.data.get(this.getDataKey(e))||"").match(/[^\s]+/g)||[]}getAttributeName(e){return this.data.getAttributeNameForKey(this.getDataKey(e))}getDataKey(e){return`${e}-class`}get data(){return this.scope.data}}class z{constructor(e){this.scope=e}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get(e){const t=this.getAttributeNameForKey(e);return this.element.getAttribute(t)}set(e,t){const n=this.getAttributeNameForKey(e);return this.element.setAttribute(n,t),this.get(e)}has(e){const t=this.getAttributeNameForKey(e);return this.element.hasAttribute(t)}delete(e){if(this.has(e)){const t=this.getAttributeNameForKey(e);return this.element.removeAttribute(t),!0}return!1}getAttributeNameForKey(e){return`data-${this.identifier}-${c(e)}`}}class q{constructor(e){this.warnedKeysByObject=new WeakMap,this.logger=e}warn(e,t,n){let r=this.warnedKeysByObject.get(e);r||(r=new Set,this.warnedKeysByObject.set(e,r)),r.has(t)||(r.add(t),this.logger.warn(n,e))}}function U(e,t){return`[${e}~="${t}"]`}class H{constructor(e){this.scope=e}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get schema(){return this.scope.schema}has(e){return null!=this.find(e)}find(...e){return e.reduce(((e,t)=>e||this.findTarget(t)||this.findLegacyTarget(t)),void 0)}findAll(...e){return e.reduce(((e,t)=>[...e,...this.findAllTargets(t),...this.findAllLegacyTargets(t)]),[])}findTarget(e){const t=this.getSelectorForTargetName(e);return this.scope.findElement(t)}findAllTargets(e){const t=this.getSelectorForTargetName(e);return this.scope.findAllElements(t)}getSelectorForTargetName(e){return U(this.schema.targetAttributeForScope(this.identifier),e)}findLegacyTarget(e){const t=this.getLegacySelectorForTargetName(e);return this.deprecate(this.scope.findElement(t),e)}findAllLegacyTargets(e){const t=this.getLegacySelectorForTargetName(e);return this.scope.findAllElements(t).map((t=>this.deprecate(t,e)))}getLegacySelectorForTargetName(e){const t=`${this.identifier}.${e}`;return U(this.schema.targetAttribute,t)}deprecate(e,t){if(e){const{identifier:n}=this,r=this.schema.targetAttribute,a=this.schema.targetAttributeForScope(n);this.guide.warn(e,`target:${t}`,`Please replace ${r}="${n}.${t}" with ${a}="${t}". The ${r} attribute is deprecated and will be removed in a future version of Stimulus.`)}return e}get guide(){return this.scope.guide}}class Z{constructor(e,t){this.scope=e,this.controllerElement=t}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get schema(){return this.scope.schema}has(e){return null!=this.find(e)}find(...e){return e.reduce(((e,t)=>e||this.findOutlet(t)),void 0)}findAll(...e){return e.reduce(((e,t)=>[...e,...this.findAllOutlets(t)]),[])}getSelectorForOutletName(e){const t=this.schema.outletAttributeForScope(this.identifier,e);return this.controllerElement.getAttribute(t)}findOutlet(e){const t=this.getSelectorForOutletName(e);if(t)return this.findElement(t,e)}findAllOutlets(e){const t=this.getSelectorForOutletName(e);return t?this.findAllElements(t,e):[]}findElement(e,t){return this.scope.queryElements(e).filter((n=>this.matchesElement(n,e,t)))[0]}findAllElements(e,t){return this.scope.queryElements(e).filter((n=>this.matchesElement(n,e,t)))}matchesElement(e,t,n){const r=e.getAttribute(this.scope.schema.controllerAttribute)||"";return e.matches(t)&&r.split(" ").includes(n)}}class W{constructor(e,t,n,r){this.targets=new H(this),this.classes=new V(this),this.data=new z(this),this.containsElement=e=>e.closest(this.controllerSelector)===this.element,this.schema=e,this.element=t,this.identifier=n,this.guide=new q(r),this.outlets=new Z(this.documentScope,t)}findElement(e){return this.element.matches(e)?this.element:this.queryElements(e).find(this.containsElement)}findAllElements(e){return[...this.element.matches(e)?[this.element]:[],...this.queryElements(e).filter(this.containsElement)]}queryElements(e){return Array.from(this.element.querySelectorAll(e))}get controllerSelector(){return U(this.schema.controllerAttribute,this.identifier)}get isDocumentScope(){return this.element===document.documentElement}get documentScope(){return this.isDocumentScope?this:new W(this.schema,document.documentElement,this.identifier,this.guide.logger)}}class K{constructor(e,t,n){this.element=e,this.schema=t,this.delegate=n,this.valueListObserver=new S(this.element,this.controllerAttribute,this),this.scopesByIdentifierByElement=new WeakMap,this.scopeReferenceCounts=new WeakMap}start(){this.valueListObserver.start()}stop(){this.valueListObserver.stop()}get controllerAttribute(){return this.schema.controllerAttribute}parseValueForToken(e){const{element:t,content:n}=e;return this.parseValueForElementAndIdentifier(t,n)}parseValueForElementAndIdentifier(e,t){const n=this.fetchScopesByIdentifierForElement(e);let r=n.get(t);return r||(r=this.delegate.createScopeForElementAndIdentifier(e,t),n.set(t,r)),r}elementMatchedValue(e,t){const n=(this.scopeReferenceCounts.get(t)||0)+1;this.scopeReferenceCounts.set(t,n),1==n&&this.delegate.scopeConnected(t)}elementUnmatchedValue(e,t){const n=this.scopeReferenceCounts.get(t);n&&(this.scopeReferenceCounts.set(t,n-1),1==n&&this.delegate.scopeDisconnected(t))}fetchScopesByIdentifierForElement(e){let t=this.scopesByIdentifierByElement.get(e);return t||(t=new Map,this.scopesByIdentifierByElement.set(e,t)),t}}class G{constructor(e){this.application=e,this.scopeObserver=new K(this.element,this.schema,this),this.scopesByIdentifier=new x,this.modulesByIdentifier=new Map}get element(){return this.application.element}get schema(){return this.application.schema}get logger(){return this.application.logger}get controllerAttribute(){return this.schema.controllerAttribute}get modules(){return Array.from(this.modulesByIdentifier.values())}get contexts(){return this.modules.reduce(((e,t)=>e.concat(t.contexts)),[])}start(){this.scopeObserver.start()}stop(){this.scopeObserver.stop()}loadDefinition(e){this.unloadIdentifier(e.identifier);const t=new $(this.application,e);this.connectModule(t);const n=e.controllerConstructor.afterLoad;n&&n.call(e.controllerConstructor,e.identifier,this.application)}unloadIdentifier(e){const t=this.modulesByIdentifier.get(e);t&&this.disconnectModule(t)}getContextForElementAndIdentifier(e,t){const n=this.modulesByIdentifier.get(t);if(n)return n.contexts.find((t=>t.element==e))}proposeToConnectScopeForElementAndIdentifier(e,t){const n=this.scopeObserver.parseValueForElementAndIdentifier(e,t);n?this.scopeObserver.elementMatchedValue(n.element,n):console.error(`Couldn't find or create scope for identifier: "${t}" and element:`,e)}handleError(e,t,n){this.application.handleError(e,t,n)}createScopeForElementAndIdentifier(e,t){return new W(this.schema,e,t,this.logger)}scopeConnected(e){this.scopesByIdentifier.add(e.identifier,e);const t=this.modulesByIdentifier.get(e.identifier);t&&t.connectContextForScope(e)}scopeDisconnected(e){this.scopesByIdentifier.delete(e.identifier,e);const t=this.modulesByIdentifier.get(e.identifier);t&&t.disconnectContextForScope(e)}connectModule(e){this.modulesByIdentifier.set(e.identifier,e),this.scopesByIdentifier.getValuesForKey(e.identifier).forEach((t=>e.connectContextForScope(t)))}disconnectModule(e){this.modulesByIdentifier.delete(e.identifier),this.scopesByIdentifier.getValuesForKey(e.identifier).forEach((t=>e.disconnectContextForScope(t)))}}const Y={controllerAttribute:"data-controller",actionAttribute:"data-action",targetAttribute:"data-target",targetAttributeForScope:e=>`data-${e}-target`,outletAttributeForScope:(e,t)=>`data-${e}-${t}-outlet`,keyMappings:Object.assign(Object.assign({enter:"Enter",tab:"Tab",esc:"Escape",space:" ",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",home:"Home",end:"End",page_up:"PageUp",page_down:"PageDown"},Q("abcdefghijklmnopqrstuvwxyz".split("").map((e=>[e,e])))),Q("0123456789".split("").map((e=>[e,e]))))};function Q(e){return e.reduce(((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n})),{})}class X{constructor(e=document.documentElement,t=Y){this.logger=console,this.debug=!1,this.logDebugActivity=(e,t,n={})=>{this.debug&&this.logFormattedMessage(e,t,n)},this.element=e,this.schema=t,this.dispatcher=new a(this),this.router=new G(this),this.actionDescriptorFilters=Object.assign({},o)}static start(e,t){const n=new this(e,t);return n.start(),n}async start(){await new Promise((e=>{"loading"==document.readyState?document.addEventListener("DOMContentLoaded",(()=>e())):e()})),this.logDebugActivity("application","starting"),this.dispatcher.start(),this.router.start(),this.logDebugActivity("application","start")}stop(){this.logDebugActivity("application","stopping"),this.dispatcher.stop(),this.router.stop(),this.logDebugActivity("application","stop")}register(e,t){this.load({identifier:e,controllerConstructor:t})}registerActionOption(e,t){this.actionDescriptorFilters[e]=t}load(e,...t){(Array.isArray(e)?e:[e,...t]).forEach((e=>{e.controllerConstructor.shouldLoad&&this.router.loadDefinition(e)}))}unload(e,...t){(Array.isArray(e)?e:[e,...t]).forEach((e=>this.router.unloadIdentifier(e)))}get controllers(){return this.router.contexts.map((e=>e.controller))}getControllerForElementAndIdentifier(e,t){const n=this.router.getContextForElementAndIdentifier(e,t);return n?n.controller:null}handleError(e,t,n){var r;this.logger.error("%s\n\n%o\n\n%o",t,e,n),null===(r=window.onerror)||void 0===r||r.call(window,t,"",0,0,e)}logFormattedMessage(e,t,n={}){n=Object.assign({application:this},n),this.logger.groupCollapsed(`${e} #${t}`),this.logger.log("details:",Object.assign({},n)),this.logger.groupEnd()}}function J(e,t,n){return e.application.getControllerForElementAndIdentifier(t,n)}function ee(e,t,n){let r=J(e,t,n);return r||(e.application.router.proposeToConnectScopeForElementAndIdentifier(t,n),r=J(e,t,n),r||void 0)}function te([e,t],n){return function(e){const{token:t,typeDefinition:n}=e,r=`${c(t)}-value`,a=function(e){const{controller:t,token:n,typeDefinition:r}=e,a=function(e){const{controller:t,token:n,typeObject:r}=e,a=d(r.type),o=d(r.default),i=a&&o,u=a&&!o,s=!a&&o,l=ne(r.type),c=re(e.typeObject.default);if(u)return l;if(s)return c;if(l!==c)throw new Error(`The specified default value for the Stimulus Value "${t?`${t}.${n}`:n}" must match the defined type "${l}". The provided default value of "${r.default}" is of type "${c}".`);return i?l:void 0}({controller:t,token:n,typeObject:r}),o=re(r),i=ne(r),u=a||o||i;if(u)return u;throw new Error(`Unknown value type "${t?`${t}.${r}`:n}" for "${n}" value`)}(e);return{type:a,key:r,name:u(r),get defaultValue(){return function(e){const t=ne(e);if(t)return ae[t];const n=f(e,"default"),r=f(e,"type"),a=e;if(n)return a.default;if(r){const{type:e}=a,t=ne(e);if(t)return ae[t]}return e}(n)},get hasCustomDefaultValue(){return void 0!==re(n)},reader:oe[a],writer:ie[a]||ie.default}}({controller:n,token:e,typeDefinition:t})}function ne(e){switch(e){case Array:return"array";case Boolean:return"boolean";case Number:return"number";case Object:return"object";case String:return"string"}}function re(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string"}return Array.isArray(e)?"array":"[object Object]"===Object.prototype.toString.call(e)?"object":void 0}const ae={get array(){return[]},boolean:!1,number:0,get object(){return{}},string:""},oe={array(e){const t=JSON.parse(e);if(!Array.isArray(t))throw new TypeError(`expected value of type "array" but instead got value "${e}" of type "${re(t)}"`);return t},boolean:e=>!("0"==e||"false"==String(e).toLowerCase()),number:e=>Number(e.replace(/_/g,"")),object(e){const t=JSON.parse(e);if(null===t||"object"!=typeof t||Array.isArray(t))throw new TypeError(`expected value of type "object" but instead got value "${e}" of type "${re(t)}"`);return t},string:e=>e},ie={default:function(e){return`${e}`},array:ue,object:ue};function ue(e){return JSON.stringify(e)}class se{constructor(e){this.context=e}static get shouldLoad(){return!0}static afterLoad(e,t){}get application(){return this.context.application}get scope(){return this.context.scope}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get targets(){return this.scope.targets}get outlets(){return this.scope.outlets}get classes(){return this.scope.classes}get data(){return this.scope.data}initialize(){}connect(){}disconnect(){}dispatch(e,{target:t=this.element,detail:n={},prefix:r=this.identifier,bubbles:a=!0,cancelable:o=!0}={}){const i=new CustomEvent(r?`${r}:${e}`:e,{detail:n,bubbles:a,cancelable:o});return t.dispatchEvent(i),i}}se.blessings=[function(e){return _(e,"classes").reduce(((e,t)=>{return Object.assign(e,{[`${n=t}Class`]:{get(){const{classes:e}=this;if(e.has(n))return e.get(n);{const t=e.getAttributeName(n);throw new Error(`Missing attribute "${t}"`)}}},[`${n}Classes`]:{get(){return this.classes.getAll(n)}},[`has${l(n)}Class`]:{get(){return this.classes.has(n)}}});var n}),{})},function(e){return _(e,"targets").reduce(((e,t)=>{return Object.assign(e,{[`${n=t}Target`]:{get(){const e=this.targets.find(n);if(e)return e;throw new Error(`Missing target element "${n}" for "${this.identifier}" controller`)}},[`${n}Targets`]:{get(){return this.targets.findAll(n)}},[`has${l(n)}Target`]:{get(){return this.targets.has(n)}}});var n}),{})},function(e){const t=function(e,t){return M(e).reduce(((e,n)=>(e.push(...function(e,t){const n=e[t];return n?Object.keys(n).map((e=>[e,n[e]])):[]}(n,t)),e)),[])}(e,"values"),n={valueDescriptorMap:{get(){return t.reduce(((e,t)=>{const n=te(t,this.identifier),r=this.data.getAttributeNameForKey(n.key);return Object.assign(e,{[r]:n})}),{})}}};return t.reduce(((e,t)=>Object.assign(e,function(e,t){const n=te(e,void 0),{key:r,name:a,reader:o,writer:i}=n;return{[a]:{get(){const e=this.data.get(r);return null!==e?o(e):n.defaultValue},set(e){void 0===e?this.data.delete(r):this.data.set(r,i(e))}},[`has${l(a)}`]:{get(){return this.data.has(r)||n.hasCustomDefaultValue}}}}(t))),n)},function(e){return _(e,"outlets").reduce(((e,t)=>Object.assign(e,function(e){const t=s(e);return{[`${t}Outlet`]:{get(){const t=this.outlets.find(e),n=this.outlets.getSelectorForOutletName(e);if(t){const n=ee(this,t,e);if(n)return n;throw new Error(`The provided outlet element is missing an outlet controller "${e}" instance for host controller "${this.identifier}"`)}throw new Error(`Missing outlet element "${e}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${n}".`)}},[`${t}Outlets`]:{get(){const t=this.outlets.findAll(e);return t.length>0?t.map((t=>{const n=ee(this,t,e);if(n)return n;console.warn(`The provided outlet element is missing an outlet controller "${e}" instance for host controller "${this.identifier}"`,t)})).filter((e=>e)):[]}},[`${t}OutletElement`]:{get(){const t=this.outlets.find(e),n=this.outlets.getSelectorForOutletName(e);if(t)return t;throw new Error(`Missing outlet element "${e}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${n}".`)}},[`${t}OutletElements`]:{get(){return this.outlets.findAll(e)}},[`has${l(t)}Outlet`]:{get(){return this.outlets.has(e)}}}}(t))),{})}],se.targets=[],se.outlets=[],se.values={}},4985:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(2556);function a(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Zq)(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}},400:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>o}),/^(321|541|849|85)$/.test(n.j))var r=n(2556);if(/^(321|541|849|85)$/.test(n.j))var a=n(138);function o(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if((0,r.Re)(e)&&t){var u=e.offsetHeight,s=e.offsetWidth;s>0&&(o=(0,a.NM)(n.width)/s||1),u>0&&(i=(0,a.NM)(n.height)/u||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}},1437:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>D}),/^(321|541|849|85)$/.test(n.j))var r=n(7701);if(/^(321|541|849|85)$/.test(n.j))var a=n(3155);if(/^(321|541|849|85)$/.test(n.j))var o=n(7723);if(/^(321|541|849|85)$/.test(n.j))var i=n(7994);if(/^(321|541|849|85)$/.test(n.j))var u=n(1955);if(/^(321|541|849|85)$/.test(n.j))var s=n(7252);if(/^(321|541|849|85)$/.test(n.j))var l=n(3062);if(/^(321|541|849|85)$/.test(n.j))var c=n(2556);if(/^(321|541|849|85)$/.test(n.j))var d=n(400);if(/^(321|541|849|85)$/.test(n.j))var f=n(5923);if(/^(321|541|849|85)$/.test(n.j))var p=n(4985);if(/^(321|541|849|85)$/.test(n.j))var h=n(6333);if(/^(321|541|849|85)$/.test(n.j))var m=n(5626);if(/^(321|541|849|85)$/.test(n.j))var g=n(138);function v(e,t){return t===r.Pj?(0,m.Z)((0,a.Z)(e)):(0,c.kK)(t)?function(e){var t=(0,d.Z)(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,m.Z)((0,o.Z)((0,s.Z)(e)))}function D(e,t,n){var r="clippingParents"===t?function(e){var t=(0,i.Z)((0,f.Z)(e)),n=["absolute","fixed"].indexOf((0,l.Z)(e).position)>=0&&(0,c.Re)(e)?(0,u.Z)(e):e;return(0,c.kK)(n)?t.filter((function(e){return(0,c.kK)(e)&&(0,p.Z)(e,n)&&"body"!==(0,h.Z)(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),o=a[0],s=a.reduce((function(t,n){var r=v(e,n);return t.top=(0,g.Fp)(r.top,t.top),t.right=(0,g.VV)(r.right,t.right),t.bottom=(0,g.VV)(r.bottom,t.bottom),t.left=(0,g.Fp)(r.left,t.left),t}),v(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}},6143:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>d}),/^(321|541|849|85)$/.test(n.j))var r=n(400);if(/^(321|541|849|85)$/.test(n.j))var a=n(4782);if(/^(321|541|849|85)$/.test(n.j))var o=n(6333);if(/^(321|541|849|85)$/.test(n.j))var i=n(2556);if(/^(321|541|849|85)$/.test(n.j))var u=n(4063);if(/^(321|541|849|85)$/.test(n.j))var s=n(7252);if(/^(321|541|849|85)$/.test(n.j))var l=n(611);if(/^(321|541|849|85)$/.test(n.j))var c=n(138);function d(e,t,n){void 0===n&&(n=!1);var d=(0,i.Re)(t),f=(0,i.Re)(t)&&function(e){var t=e.getBoundingClientRect(),n=(0,c.NM)(t.width)/e.offsetWidth||1,r=(0,c.NM)(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),p=(0,s.Z)(t),h=(0,r.Z)(e,f),m={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(d||!d&&!n)&&(("body"!==(0,o.Z)(t)||(0,l.Z)(p))&&(m=(0,a.Z)(t)),(0,i.Re)(t)?((g=(0,r.Z)(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):p&&(g.x=(0,u.Z)(p))),{x:h.left+m.scrollLeft-g.x,y:h.top+m.scrollTop-g.y,width:h.width,height:h.height}}},3062:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(2057);function a(e){return(0,r.Z)(e).getComputedStyle(e)}},7252:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(2556);function a(e){return(((0,r.kK)(e)?e.ownerDocument:e.document)||window.document).documentElement}},7723:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>s}),/^(321|541|849|85)$/.test(n.j))var r=n(7252);if(/^(321|541|849|85)$/.test(n.j))var a=n(3062);if(/^(321|541|849|85)$/.test(n.j))var o=n(4063);if(/^(321|541|849|85)$/.test(n.j))var i=n(2163);if(/^(321|541|849|85)$/.test(n.j))var u=n(138);function s(e){var t,n=(0,r.Z)(e),s=(0,i.Z)(e),l=null==(t=e.ownerDocument)?void 0:t.body,c=(0,u.Fp)(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=(0,u.Fp)(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),f=-s.scrollLeft+(0,o.Z)(e),p=-s.scrollTop;return"rtl"===(0,a.Z)(l||n).direction&&(f+=(0,u.Fp)(n.clientWidth,l?l.clientWidth:0)-c),{width:c,height:d,x:f,y:p}}},8328:(e,t,n)=>{"use strict";function r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}n.d(t,{Z:()=>r})},583:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(400);function a(e){var t=(0,r.Z)(e),n=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:a}}},6333:(e,t,n)=>{"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{Z:()=>r})},4782:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>u}),/^(321|541|849|85)$/.test(n.j))var r=n(2163);if(/^(321|541|849|85)$/.test(n.j))var a=n(2057);if(/^(321|541|849|85)$/.test(n.j))var o=n(2556);if(/^(321|541|849|85)$/.test(n.j))var i=n(8328);function u(e){return e!==(0,a.Z)(e)&&(0,o.Re)(e)?(0,i.Z)(e):(0,r.Z)(e)}},1955:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>c}),/^(321|541|849|85)$/.test(n.j))var r=n(2057);if(/^(321|541|849|85)$/.test(n.j))var a=n(6333);if(/^(321|541|849|85)$/.test(n.j))var o=n(3062);if(/^(321|541|849|85)$/.test(n.j))var i=n(2556);if(/^(321|541|849|85)$/.test(n.j))var u=n(7313);if(/^(321|541|849|85)$/.test(n.j))var s=n(5923);function l(e){return(0,i.Re)(e)&&"fixed"!==(0,o.Z)(e).position?e.offsetParent:null}function c(e){for(var t=(0,r.Z)(e),n=l(e);n&&(0,u.Z)(n)&&"static"===(0,o.Z)(n).position;)n=l(n);return n&&("html"===(0,a.Z)(n)||"body"===(0,a.Z)(n)&&"static"===(0,o.Z)(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,i.Re)(e)&&"fixed"===(0,o.Z)(e).position)return null;for(var n=(0,s.Z)(e);(0,i.Re)(n)&&["html","body"].indexOf((0,a.Z)(n))<0;){var r=(0,o.Z)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},5923:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>i}),/^(321|541|849|85)$/.test(n.j))var r=n(6333);if(/^(321|541|849|85)$/.test(n.j))var a=n(7252);if(/^(321|541|849|85)$/.test(n.j))var o=n(2556);function i(e){return"html"===(0,r.Z)(e)?e:e.assignedSlot||e.parentNode||((0,o.Zq)(e)?e.host:null)||(0,a.Z)(e)}},7523:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>u}),/^(321|541|849|85)$/.test(n.j))var r=n(5923);if(/^(321|541|849|85)$/.test(n.j))var a=n(611);if(/^(321|541|849|85)$/.test(n.j))var o=n(6333);if(/^(321|541|849|85)$/.test(n.j))var i=n(2556);function u(e){return["html","body","#document"].indexOf((0,o.Z)(e))>=0?e.ownerDocument.body:(0,i.Re)(e)&&(0,a.Z)(e)?e:u((0,r.Z)(e))}},3155:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>i}),/^(321|541|849|85)$/.test(n.j))var r=n(2057);if(/^(321|541|849|85)$/.test(n.j))var a=n(7252);if(/^(321|541|849|85)$/.test(n.j))var o=n(4063);function i(e){var t=(0,r.Z)(e),n=(0,a.Z)(e),i=t.visualViewport,u=n.clientWidth,s=n.clientHeight,l=0,c=0;return i&&(u=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=i.offsetLeft,c=i.offsetTop)),{width:u,height:s,x:l+(0,o.Z)(e),y:c}}},2057:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{Z:()=>r})},2163:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(2057);function a(e){var t=(0,r.Z)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},4063:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>i}),/^(321|541|849|85)$/.test(n.j))var r=n(400);if(/^(321|541|849|85)$/.test(n.j))var a=n(7252);if(/^(321|541|849|85)$/.test(n.j))var o=n(2163);function i(e){return(0,r.Z)((0,a.Z)(e)).left+(0,o.Z)(e).scrollLeft}},2556:(e,t,n)=>{"use strict";if(n.d(t,{Re:()=>o,Zq:()=>i,kK:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(2057);function a(e){return e instanceof(0,r.Z)(e).Element||e instanceof Element}function o(e){return e instanceof(0,r.Z)(e).HTMLElement||e instanceof HTMLElement}function i(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,r.Z)(e).ShadowRoot||e instanceof ShadowRoot)}},611:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(3062);function a(e){var t=(0,r.Z)(e),n=t.overflow,a=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+a)}},7313:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(6333);function a(e){return["table","td","th"].indexOf((0,r.Z)(e))>=0}},7994:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>u}),/^(321|541|849|85)$/.test(n.j))var r=n(7523);if(/^(321|541|849|85)$/.test(n.j))var a=n(5923);if(/^(321|541|849|85)$/.test(n.j))var o=n(2057);if(/^(321|541|849|85)$/.test(n.j))var i=n(611);function u(e,t){var n;void 0===t&&(t=[]);var s=(0,r.Z)(e),l=s===(null==(n=e.ownerDocument)?void 0:n.body),c=(0,o.Z)(s),d=l?[c].concat(c.visualViewport||[],(0,i.Z)(s)?s:[]):s,f=t.concat(d);return l?f:f.concat(u((0,a.Z)(d)))}},7701:(e,t,n)=>{"use strict";n.d(t,{BL:()=>l,Ct:()=>g,F2:()=>o,I:()=>a,Pj:()=>f,YP:()=>h,bw:()=>m,d7:()=>u,k5:()=>p,mv:()=>s,t$:()=>i,ut:()=>c,we:()=>r,xs:()=>v,zV:()=>d});var r="top",a="bottom",o="right",i="left",u="auto",s=[r,a,o,i],l="start",c="end",d="clippingParents",f="viewport",p="popper",h="reference",m=/^(321|541|849|85)$/.test(n.j)?s.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+c])}),[]):null,g=/^(321|541|849|85)$/.test(n.j)?[].concat(s,[u]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+c])}),[]):null,v=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},2581:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>u}),/^(321|541|849|85)$/.test(n.j))var r=n(6206);if(/^(321|541|849|85)$/.test(n.j))var a=n(4943);if(/^(321|541|849|85)$/.test(n.j))var o=n(1516);if(/^(321|541|849|85)$/.test(n.j))var i=n(7701);function u(e){var t,n=e.reference,u=e.element,s=e.placement,l=s?(0,r.Z)(s):null,c=s?(0,a.Z)(s):null,d=n.x+n.width/2-u.width/2,f=n.y+n.height/2-u.height/2;switch(l){case i.we:t={x:d,y:n.y-u.height};break;case i.I:t={x:d,y:n.y+n.height};break;case i.F2:t={x:n.x+n.width,y:f};break;case i.t$:t={x:n.x-u.width,y:f};break;default:t={x:n.x,y:n.y}}var p=l?(0,o.Z)(l):null;if(null!=p){var h="y"===p?"height":"width";switch(c){case i.BL:t[p]=t[p]-(n[h]/2-u[h]/2);break;case i.ut:t[p]=t[p]+(n[h]/2-u[h]/2)}}return t}},8293:(e,t,n)=>{"use strict";function r(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}n.d(t,{Z:()=>r})},3161:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>f}),/^(321|541|849|85)$/.test(n.j))var r=n(1437);if(/^(321|541|849|85)$/.test(n.j))var a=n(7252);if(/^(321|541|849|85)$/.test(n.j))var o=n(400);if(/^(321|541|849|85)$/.test(n.j))var i=n(2581);if(/^(321|541|849|85)$/.test(n.j))var u=n(5626);if(/^(321|541|849|85)$/.test(n.j))var s=n(7701);if(/^(321|541|849|85)$/.test(n.j))var l=n(2556);if(/^(321|541|849|85)$/.test(n.j))var c=n(3293);if(/^(321|541|849|85)$/.test(n.j))var d=n(3706);function f(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,h=n.boundary,m=void 0===h?s.zV:h,g=n.rootBoundary,v=void 0===g?s.Pj:g,D=n.elementContext,b=void 0===D?s.k5:D,y=n.altBoundary,w=void 0!==y&&y,F=n.padding,E=void 0===F?0:F,C=(0,c.Z)("number"!=typeof E?E:(0,d.Z)(E,s.mv)),x=b===s.k5?s.YP:s.k5,A=e.rects.popper,k=e.elements[w?x:b],T=(0,r.Z)((0,l.kK)(k)?k:k.contextElement||(0,a.Z)(e.elements.popper),m,v),O=(0,o.Z)(e.elements.reference),S=(0,i.Z)({reference:O,element:A,strategy:"absolute",placement:p}),N=(0,u.Z)(Object.assign({},A,S)),R=b===s.k5?N:O,B={top:T.top-R.top+C.top,bottom:R.bottom-T.bottom+C.bottom,left:T.left-R.left+C.left,right:R.right-T.right+C.right},_=e.modifiersData.offset;if(b===s.k5&&_){var M=_[p];Object.keys(B).forEach((function(e){var t=[s.F2,s.I].indexOf(e)>=0?1:-1,n=[s.we,s.I].indexOf(e)>=0?"y":"x";B[e]+=M[n]*t}))}return B}},3706:(e,t,n)=>{"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{Z:()=>r})},6206:(e,t,n)=>{"use strict";function r(e){return e.split("-")[0]}n.d(t,{Z:()=>r})},3607:(e,t,n)=>{"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{Z:()=>r})},1516:(e,t,n)=>{"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{Z:()=>r})},4943:(e,t,n)=>{"use strict";function r(e){return e.split("-")[1]}n.d(t,{Z:()=>r})},138:(e,t,n)=>{"use strict";n.d(t,{Fp:()=>r,NM:()=>o,VV:()=>a});var r=Math.max,a=Math.min,o=Math.round},3:(e,t,n)=>{"use strict";function r(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}n.d(t,{Z:()=>r})},3293:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>a}),/^(321|541|849|85)$/.test(n.j))var r=n(3607);function a(e){return Object.assign({},(0,r.Z)(),e)}},380:(e,t,n)=>{"use strict";if(n.d(t,{Z:()=>o}),/^(321|541|849|85)$/.test(n.j))var r=n(7701);function a(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}function o(e){var t=a(e);return r.xs.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}},5626:(e,t,n)=>{"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,{Z:()=>r})},1736:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>w});var r=n(8689),a=n(7647),o=n.n(a),i=n(3416);function u(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}var s="undefined"!=typeof window&&"undefined"!=typeof document;function l(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function c(){return s&&document.createElement("div")}function d(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!d(e[n],t[n]))return!1}return!0}return!1}function f(e){var t=[];return e.forEach((function(e){t.find((function(t){return d(e,t)}))||t.push(e)})),t}function p(e,t){var n,r;return Object.assign({},t,{popperOptions:Object.assign({},e.popperOptions,t.popperOptions,{modifiers:f([].concat((null==(n=e.popperOptions)?void 0:n.modifiers)||[],(null==(r=t.popperOptions)?void 0:r.modifiers)||[]))})})}var h=s?a.useLayoutEffect:a.useEffect;function m(e){var t=(0,a.useRef)();return t.current||(t.current="function"==typeof e?e():e),t.current}function g(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var v={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||g(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&g(t,"remove",e.props.className)},onAfterUpdate:r}}};function D(e){return function(t){var n=t.children,r=t.content,s=t.visible,d=t.singleton,f=t.render,g=t.reference,D=t.disabled,b=void 0!==D&&D,y=t.ignoreAttributes,w=void 0===y||y,F=(t.__source,t.__self,u(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),E=void 0!==s,C=void 0!==d,x=(0,a.useState)(!1),A=x[0],k=x[1],T=(0,a.useState)({}),O=T[0],S=T[1],N=(0,a.useState)(),R=N[0],B=N[1],_=m((function(){return{container:c(),renders:1}})),M=Object.assign({ignoreAttributes:w},F,{content:_.container});E&&(M.trigger="manual",M.hideOnClick=!1),C&&(b=!0);var I=M,P=M.plugins||[];f&&(I=Object.assign({},M,{plugins:C&&null!=d.data?[].concat(P,[{fn:function(){return{onTrigger:function(e,t){var n=d.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,B(n.content)}}}}]):P,render:function(){return{popper:_.container}}}));var L=[g].concat(n?[n.type]:[]);return h((function(){var t=g;g&&g.hasOwnProperty("current")&&(t=g.current);var n=e(t||_.ref||c(),Object.assign({},I,{plugins:[v].concat(M.plugins||[])}));return _.instance=n,b&&n.disable(),s&&n.show(),C&&d.hook({instance:n,content:r,props:I,setSingletonContent:B}),k(!0),function(){n.destroy(),null==d||d.cleanup(n)}}),L),h((function(){var e;if(1!==_.renders){var t=_.instance;t.setProps(p(t.props,I)),null==(e=t.popperInstance)||e.forceUpdate(),b?t.disable():t.enable(),E&&(s?t.show():t.hide()),C&&d.hook({instance:t,content:r,props:I,setSingletonContent:B})}else _.renders++})),h((function(){var e;if(f){var t=_.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;O.placement===n.placement&&O.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&O.escaped===(null==r?void 0:r.hasPopperEscaped)||S({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[O.placement,O.referenceHidden,O.escaped].concat(L)),o().createElement(o().Fragment,null,n?(0,a.cloneElement)(n,{ref:function(e){_.ref=e,l(n.ref,e)}}):null,A&&(0,i.createPortal)(f?f(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(O),R,_.instance):r,_.container))}}var b=function(e,t){return(0,a.forwardRef)((function(n,r){var i=n.children,s=u(n,["children"]);return o().createElement(e,Object.assign({},t,s),i?(0,a.cloneElement)(i,{ref:function(e){l(r,e),l(i.ref,e)}}):null)}))},y=(r.XB,b(D(r.ZP)));const w=/^(541|85)$/.test(n.j)?y:null},9115:function(e,t,n){var r,a;e=n.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.7.2",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 f=["node"],p=["variant"],h=["matches"],m=["chromium"],g=["noImplicit"],v=["noPresentational"],D=["precision","format","inGamut"],b=["space"],y=["algorithm"],w=["method"],F=["maxDeltaE","deltaEMethod","steps","maxSteps"],E=["node"],C=["nodes"],x=["node"],A=["relatedNodes"],k=["environmentData"],T=["environmentData"],O=["node"],S=["environmentData"],N=["environmentData"],R=["environmentData"];function B(e,t,n){return B=L()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&M(a,n.prototype),a},B.apply(null,arguments)}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 I(e){var t=L();return function(){var n,r=j(e);if(t){var a=j(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return 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 P(e)}(this,n)}}function P(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function j(e){return j=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},j(e)}function $(e,t,n){z(e,t),t.set(e,n)}function V(e,t){z(e,t),t.add(e)}function z(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function q(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,Z(e,t,"get"))}function U(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function H(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,Z(e,t,"set"),n),n}function Z(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function W(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function K(e){return function(e){if(Array.isArray(e))return ie(e)}(e)||G(e)||oe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},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(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw o}}}}function oe(e,t){if(e){if("string"==typeof e)return ie(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ie(e,t):void 0}}function ie(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n="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 n=t.length,r="",a=0;a="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")r+=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}r+="\\"+i.toString(16)+" "}a++}return r},e.escapeStr=function(t){for(var n,r=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","\\":"\\",'"':'"'}})),fe=ue((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=de();e.parseCssSelector=function(e,n,r,a,o,i){var u=e.length,s="";function l(r,a){var o="";for(n++,s=e.charAt(n);n=u)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(n),t.identSpecialChars[s])r+=s;else{if(t.isHex(s)){var a=s;for(n++,s=e.charAt(n);t.isHex(s);)a+=s,n++,s=e.charAt(n);" "===s&&(n++,s=e.charAt(n)),r+=String.fromCharCode(parseInt(a,16));continue}r+=s}}n++,s=e.charAt(n)}return r}function d(){s=e.charAt(n);for(var t=!1;" "===s||"\t"===s||"\n"===s||"\r"===s||"\f"===s;)t=!0,n++,s=e.charAt(n);return t}function f(){var t=p();if(!t)return null;var r=t;for(s=e.charAt(n);","===s;){if(n++,d(),"selectors"!==r.type&&(r={type:"selectors",selectors:[t]}),!(t=p()))throw Error('Rule expected after ",".');r.selectors.push(t)}return r}function p(){d();var t={type:"ruleSet"},r=h();if(!r)return null;for(var a=t;r&&(r.type="rule",a.rule=r,a=r,d(),s=e.charAt(n),!(n>=u||","===s||")"===s));)if(o[s]){var i=s;if(n++,d(),!(r=h()))throw Error('Rule expected after "'+i+'".');r.nestingOperator=i}else(r=h())&&(r.nestingOperator=null);return t}function h(){for(var o=null;n=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');p.operator=h+"=",n++,d();var m="";if(p.valueType="string",'"'===s)m=l('"',t.doubleQuotesEscapeChars);else if("'"===s)m=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)n++,m=c(),p.valueType="substitute";else{for(;n=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');n++,p.value=m}((o=o||{}).attrs=o.attrs||[]).push(p)}else{if(":"!==s)break;n++;var g=c(),v={name:g};if("("===s){n++;var D="";if(d(),"selector"===r[g])v.valueType="selector",D=f();else{if(v.valueType=r[g]||"string",'"'===s)D=l('"',t.doubleQuotesEscapeChars);else if("'"===s)D=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)n++,D=c(),v.valueType="substitute";else{for(;n=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');n++,v.value=D}((o=o||{}).pseudos=o.pseudos||[]).push(v)}return o}return function(){var t=f();if(n0?1:-1}})),ye=ue((function(e,t){"use strict";t.exports=De()()?Math.sign:be()})),we=ue((function(e,t){"use strict";var n=ye(),r=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?n(e)*a(r(e)):e}})),Fe=ue((function(e,t){"use strict";var n=we(),r=Math.max;t.exports=function(e){return r(0,n(e))}})),Ee=ue((function(e,t){"use strict";var n=Fe();t.exports=function(e,t,r){var a;return isNaN(e)?(a=t)>=0?r&&a?a-1:a:1:!1!==e&&n(e)}})),Ce=ue((function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),xe=ue((function(e,t){"use strict";var n=ge();t.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}})),Ae=ue((function(e,t){"use strict";var n=Ce(),r=xe(),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],f=arguments[3];return s=Object(r(s)),n(l),c=i(s),f&&c.sort("function"==typeof f?a.call(f,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,(function(e,n){return u.call(s,e)?o.call(l,d,s[e],e,s,n):t}))}}})),ke=ue((function(e,t){"use strict";t.exports=Ae()("forEach")})),Te=ue((function(){})),Oe=ue((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")}})),Se=ue((function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),Ne=ue((function(e,t){"use strict";var n=ge(),r=Object.keys;t.exports=function(e){return r(n(e)?Object(e):e)}})),Re=ue((function(e,t){"use strict";t.exports=Se()()?Object.keys:Ne()})),Be=ue((function(e,t){"use strict";var n=Re(),r=xe(),a=Math.max;t.exports=function(e,t){var o,i,u,s=a(arguments.length,2);for(e=Object(r(e)),u=function(n){try{e[n]=t[n]}catch(e){o||(o=e)}},i=1;i-1}})),Ze=ue((function(e,t){"use strict";t.exports=Ue()()?String.prototype.contains:He()})),We=ue((function(e,t){"use strict";var n=je(),r=qe(),a=_e(),o=ve(),i=Ze(),u=t.exports=function(e,t){var r,u,s,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],n(e)?(r=i.call(e,"c"),u=i.call(e,"e"),s=i.call(e,"w")):(r=s=!0,u=!1),c={value:t,configurable:r,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],n(t)?r(t)?n(u)?r(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,n(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=ue((function(e,t){"use strict";var n,r,a,o,i,u,s,c=We(),d=Ce(),f=Function.prototype.apply,p=Function.prototype.call,h=Object.create,m=Object.defineProperty,g=Object.defineProperties,v=Object.prototype.hasOwnProperty,D={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var r,o;return d(t),o=this,n.call(this,e,r=function(){a.call(o,e,r),f.call(t,this,arguments)}),r.__eeOnceListener__=t,this},a=function(e,t){var n,r,a,o;if(d(t),!v.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if(r=n[e],"object"===l(r))for(o=0;a=r[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},o=function(e){var t,n,r,a,o;if(v.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===l(a)){for(n=arguments.length,o=new Array(n-1),t=1;t=55296&&D<=56319&&(F+=e[++h]),F=E?d.call(E,C,F,m):F,t?(f.value=F,p(g,m,f)):g[m]=F,++m;v=m}if(void 0===v)for(v=o(e.length),t&&(g=new t(v)),h=0;h=0?s(c):r(this.length)-s(u(c));t"}}})),_t=ue((function(e,t){"use strict";var n=Bt(),r=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=n(e);return t.length>100&&(t=t.slice(0,99)+"…"),t.replace(r,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),Mt=ue((function(e,t){function n(e){return!!e&&("object"===l(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=n,t.exports.default=n})),It=ue((function(){"use strict";var e=At(),t=Ot(),n=Rt(),r=_t(),a=Mt(),o=kt(),i=Object.create,u=t("then","then:finally","done","done:finally");Te().promise=function(t,s){var l=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=n(t),!u[t])throw new TypeError("'"+r(t)+"' is not valid promise mode");s.on("set",(function(e,n,r){var i=!1;if(!a(r))return c[e]=r,void s.emit("setasync",e,1);l[e]=1,d[e]=r;var u=function(t){var n=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.");n&&(delete l[e],c[e]=t,s.emit("setasync",e,n))},f=function(){i=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},p=t;if(p||(p="then"),"then"===p){var h=function(){o(f)};"function"==typeof(r=r.then((function(e){o(u.bind(this,e))}),h)).finally&&r.finally(h)}else if("done"===p){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");r.done(u,f)}else if("done:finally"===p){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof r.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");r.done(u),r.finally(f)}})),s.on("get",(function(e,t,n){var r;if(l[e])++l[e];else{r=d[e];var i=function(){s.emit("getasync",e,t,n)};a(r)?"function"==typeof r.done?r.done(i):r.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]})))}))}})),Pt=ue((function(){"use strict";var e=Ce(),t=ke(),n=Te(),r=Function.prototype.apply;n.dispose=function(a,o,i){var u;if(e(a),i.async&&n.async||i.promise&&n.promise)return o.on("deleteasync",u=function(e,t){r.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)}))}))}})),Lt=ue((function(e,t){"use strict";t.exports=2147483647})),jt=ue((function(e,t){"use strict";var n=Fe(),r=Lt();t.exports=function(e){if((e=n(e))>r)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),$t=ue((function(){"use strict";var e=dt(),t=ke(),n=kt(),r=Mt(),a=jt(),o=Te(),i=Function.prototype,u=Math.max,s=Math.min,l=Object.create;o.maxAge=function(c,d,f){var p,h,m,g;(c=a(c))&&(p=l(null),h=f.async&&o.async||f.promise&&o.promise?"async":"",d.on("set"+h,(function(e){p[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof p[e].unref&&p[e].unref(),g&&(g[e]&&"nextTick"!==g[e]&&clearTimeout(g[e]),g[e]=setTimeout((function(){delete g[e]}),m),"function"==typeof g[e].unref&&g[e].unref())})),d.on("delete"+h,(function(e){clearTimeout(p[e]),delete p[e],g&&("nextTick"!==g[e]&&clearTimeout(g[e]),delete g[e])})),f.preFetch&&(m=!0===f.preFetch||isNaN(f.preFetch)?.333:u(s(Number(f.preFetch),1),0))&&(g={},m=(1-m)*c,d.on("get"+h,(function(t,a,o){g[t]||(g[t]="nextTick",n((function(){var n;"nextTick"===g[t]&&(delete g[t],d.delete(t),f.async&&(a=e(a)).push(i),n=d.memoized.apply(o,a),f.promise&&r(n)&&("function"==typeof n.done?n.done(i,i):n.then(i,i)))})))}))),d.on("clear"+h,(function(){t(p,(function(e){clearTimeout(e)})),p={},g&&(t(g,(function(e){"nextTick"!==e&&clearTimeout(e)})),g={})})))}})),Vt=ue((function(e,t){"use strict";var n=Fe(),r=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=r(null),s=r(null),l=0;return e=n(e),{hit:function(n){var r=s[n],c=++l;if(u[c]=n,s[n]=c,!r){if(++o<=e)return;return n=u[i],t(n),n}if(delete u[r],i===r)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=r(null),s=r(null),l=0}}}})),zt=ue((function(){"use strict";var e=Fe(),t=Vt(),n=Te();n.max=function(r,a,o){var i,u,s;(r=e(r))&&(u=t(r),i=o.async&&n.async||o.promise&&n.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))}})),qt=ue((function(){"use strict";var e=We(),t=Te(),n=Object.create,r=Object.defineProperties;t.refCounter=function(a,o,i){var u,s;u=n(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={}})),r(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=ue((function(e,t){"use strict";var n=ve(),r=Ee(),a=gt();t.exports=function(e){var t,o=n(arguments[1]);return o.normalizer||0!==(t=o.length=r(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=vt():t>1&&(o.normalizer=Dt()(t)):o.normalizer=!1===t?Et()():1===t?Ct()():xt()(t)),o.async&&Tt(),o.promise&&It(),o.dispose&&Pt(),o.maxAge&&$t(),o.max&&zt(),o.refCounter&&qt(),a(e,o)}})),Ht=ue((function(e,t){!function(){"use strict";var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!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`")}()}}(),r.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},n=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(n,(function(e){return t[e]||e})):""}},void 0!==t&&t.exports?t.exports=r:void 0===(a=function(){return r}.call(e,n,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,n){return("string"==typeof t?t:t.toString()).replace(e.define||s,(function(t,r,a,o){return 0===r.indexOf("def.")&&(r=r.substring(4)),r in n||(":"===a?(e.defineParams&&o.replace(e.defineParams,(function(e,t,a){n[r]={arg:t,text:a}})),r in n||(n[r]=o)):new Function("def","def['"+r+"']="+o)(n)),""})).replace(e.use||s,(function(t,r){e.useParams&&(r=r.replace(e.useParams,(function(e,t,r,a){if(n[r]&&n[r].arg&&a){var o=(r+":"+a).replace(/'|\\/g,"_");return n.__exp=n.__exp||{},n.__exp[o]=n[r].text.replace(new RegExp("(^|[^\\w$])"+n[r].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}})));var a=new Function("def","return "+r)(n);return a?c(e,a,n):a}))}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(e,t,n){var a,i,u=(t=t||r.templateSettings).append?o.append:o.split,l=0,f=t.use||t.define?c(t,e,n||{}):e;f=("var out='"+(t.strip?f.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):f).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,n){return t?n?"';}else if("+d(n)+"){out+='":"';}else{out+='":n?"';if("+d(n)+"){out+='":"';}out+='"})).replace(t.iterate||s,(function(e,t,n,r){return t?(l+=1,i=r||"i"+l,t=d(t),"';var arr"+l+"="+t+";if(arr"+l+"){var "+n+","+i+"=-1,l"+l+"=arr"+l+".length-1;while("+i+">0},ToUint32:function(e){return e>>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,s=Math.min,c=Math.pow,d=Math.round;function f(e,t,n){return en?n:e}var p,h=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,n=[];for(t in e)r.HasOwnProperty(e,t)&&n.push(t);return n};function m(e){if(h&&p){var t,n=h(e);for(t=0;t>n}function v(e,t){var n=32-t;return e<>>n}function D(e){return[255&e]}function b(e){return g(e[0],8)}function y(e){return[255&e]}function w(e){return v(e[0],8)}function F(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 g(e[0]<<8|e[1],16)}function x(e){return[e>>8&255,255&e]}function A(e){return v(e[0]<<8|e[1],16)}function k(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 O(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function S(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function N(e,t,n){var r,l,d,f,p,h,m,g=(1<.5||t%2?t+1:t}for(e!=e?(l=(1<=c(2,1-g)?(l=s(i(u(e)/a),1023),(d=v(e/c(2,l)*c(2,n)))/c(2,n)>=2&&(l+=1,d=1),l>g?(l=(1<>=1;return f.reverse(),i=f.join(""),u=(1<0?s*c(2,l-u)*(1+d/c(2,n)):0!==d?s*c(2,-(u-1))*(d/c(2,n)):s<0?-0:0}function B(e){return R(e,11,52)}function _(e){return N(e,11,52)}function M(e){return R(e,8,23)}function I(e){return N(e,8,23)}p=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,n){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(n,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,n.get),r.HasProperty(n,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,n.set),r.HasProperty(n,"value")&&(e[t]=n.value),e},function(){function t(e){if((e=r.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=r.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=r.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=[],n=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;nthis.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,f=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(p=[],u=0,s=n.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:r.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");m(this)}function i(n){return function(o,i){if((o=r.ToUint32(o))+n.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,n.BYTES_PER_ELEMENT),l=[];for(u=0;uthis.byteLength)throw new RangeError("Array index out of range");var s,l=new n([i]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s0)throw new TypeError("WeakMap iterable is not supported")}function n(e,n){if(!a(e)||!t.call(e,"_id"))throw new TypeError(n+" method called on incompatible receiver "+l(e))}function o(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",(function(e){if(n(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))})),r(e.prototype,"get",(function(e){if(n(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),r(e.prototype,"has",(function(e){if(n(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),r(e.prototype,"set",(function(e,t){if(n(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):(r(e,this._id,[e,t]),this)})),r(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)})),Gt={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"",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,n=e.value,r=e.priority,a=e.group;Gt[t]=n,Gt[t+"_PRIO"]=r,Gt[t+"_GROUP"]=a,Gt.results[r]=n,Gt.resultGroups[r]=a,Gt.resultGroupMap[n]=a})),Object.freeze(Gt.results),Object.freeze(Gt.resultGroups),Object.freeze(Gt.resultGroupMap),Object.freeze(Gt);var Yt=Gt,Qt=function(){"object"===("undefined"==typeof console?"undefined":l(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},Xt=/[\t\r\n\f]/g,Jt=function(){function e(){ee(this,e),this.parent=void 0}return ne(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var n=" "+e+" ";return(" "+t+" ").replace(Xt," ").indexOf(n)>=0}}]),e}(),en={};se(en,{DqElement:function(){return Yn},aggregate:function(){return tn},aggregateChecks:function(){return sn},aggregateNodeResults:function(){return cn},aggregateResult:function(){return fn},areStylesSet:function(){return pn},assert:function(){return hn},checkHelper:function(){return Qn},clone:function(){return Xn},closest:function(){return pr},collectResultsFromFrames:function(){return ia},contains:function(){return ua},convertSelector:function(){return lr},cssParser:function(){return er},deepMerge:function(){return sa},escapeSelector:function(){return gn},extendMetaData:function(){return la},filterHtmlAttrs:function(){return Kf},finalizeRuleResult:function(){return ln},findBy:function(){return ra},getAllChecks:function(){return na},getAncestry:function(){return zn},getBaseLang:function(){return Od},getCheckMessage:function(){return Pd},getCheckOption:function(){return Ld},getEnvironmentData:function(){return jd},getFlattenedTree:function(){return Td},getFrameContexts:function(){return rf},getFriendlyUriEnd:function(){return wn},getNodeAttributes:function(){return Fn},getNodeFromTree:function(){return Kn},getPreloadConfig:function(){return Vf},getRootNode:function(){return pa},getRule:function(){return af},getScroll:function(){return of},getScrollState:function(){return lf},getSelector:function(){return $n},getSelectorData:function(){return _n},getShadowSelector:function(){return xn},getStandards:function(){return cf},getStyleSheetFactory:function(){return ff},getXpath:function(){return Un},injectStyle:function(){return pf},isHidden:function(){return hf},isHtmlElement:function(){return mf},isNodeInContext:function(){return gf},isShadowRoot:function(){return da},isValidLang:function(){return ip},isXHTML:function(){return Cn},matchAncestry:function(){return Df},matches:function(){return fr},matchesExpression:function(){return dr},matchesSelector:function(){return En},memoize:function(){return ba},mergeResults:function(){return oa},nodeLookup:function(){return yf},nodeSorter:function(){return bf},parseCrossOriginStylesheet:function(){return kf},parseSameOriginStylesheet:function(){return xf},parseStylesheet:function(){return Af},performanceTimer:function(){return Of},pollyfillElementsFromPoint:function(){return Sf},preload:function(){return zf},preloadCssom:function(){return Mf},preloadMedia:function(){return jf},processMessage:function(){return Id},publishMetaData:function(){return Uf},querySelectorAll:function(){return Hf},querySelectorAllFilter:function(){return _f},queue:function(){return yr},respondable:function(){return Qr},ruleShouldRun:function(){return Wf},select:function(){return Yf},sendCommandToFrame:function(){return Jr},setScrollState:function(){return Xf},shadowSelect:function(){return Jf},shadowSelectAll:function(){return tp},shouldPreload:function(){return $f},toArray:function(){return mn},tokenList:function(){return bd},uniqueArray:function(){return Nf},uuid:function(){return _r},validInputTypes:function(){return rp},validLangs:function(){return op}});var tn=function(e,t,n){t=t.slice(),n&&t.push(n);var r=t.map((function(t){return e.indexOf(t)})).sort();return e[r.pop()]},nn=Yt.CANTTELL_PRIO,rn=Yt.FAIL_PRIO,an=[];an[Yt.PASS_PRIO]=!0,an[Yt.CANTTELL_PRIO]=null,an[Yt.FAIL_PRIO]=!1;var on=["any","all","none"];function un(e,t){return on.reduce((function(n,r){return n[r]=(e[r]||[]).map((function(e){return t(e,r)})),n}),{})}var sn=function(e){var t=Object.assign({},e);un(t,(function(e,t){var n=void 0===e.result?-1:an.indexOf(e.result);e.priority=-1!==n?n:Yt.CANTTELL_PRIO,"none"===t&&(e.priority===Yt.PASS_PRIO?e.priority=Yt.FAIL_PRIO:e.priority===Yt.FAIL_PRIO&&(e.priority=Yt.PASS_PRIO))}));var n={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(n.all,n.none,n.any);var r=[];return on.forEach((function(e){t[e]=t[e].filter((function(r){return r.priority===t.priority&&r.priority===n[e]})),t[e].forEach((function(e){return r.push(e.impact)}))})),[nn,rn].includes(t.priority)?t.impact=tn(Yt.impact,r):t.impact=null,un(t,(function(e){delete e.result,delete e.priority})),t.result=Yt.results[t.priority],delete t.priority,t},ln=function(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(n){(e[n]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,cn(e.nodes)),delete e.nodes,e},cn=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return sn(e);if(Array.isArray(e.node))return ln(e);throw new TypeError("Invalid Result type")})))&&e.length){var n=e.map((function(e){return e.result}));t.result=tn(Yt.results,n,t.result)}else t.result="inapplicable";Yt.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){var n=Yt.resultGroupMap[e.result];t[n].push(e)}));var r=Yt.FAIL_GROUP;if(0===t[r].length&&(r=Yt.CANTTELL_GROUP),t[r].length>0){var a=t[r].map((function(e){return e.impact}));t.impact=tn(Yt.impact,a)||null}else t.impact=null;return t};function dn(e,t,n){var r=Object.assign({},t);r.nodes=(r[n]||[]).concat(),Yt.resultGroups.forEach((function(e){delete r[e]})),e[n].push(r)}var fn=function(e){var t={};return Yt.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?dn(t,e,Yt.CANTTELL_GROUP):e.result===Yt.NA?dn(t,e,Yt.NA_GROUP):Yt.resultGroups.forEach((function(n){Array.isArray(e[n])&&e[n].length>0&&dn(t,e,n)}))})),t},pn=function e(t,n,r){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==r&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+n.charAt(a):n.charAt(a):o+="�";return o};function vn(e,t){return[e.substring(0,t),e.substring(t)]}function Dn(e){return e.replace(/\s+$/,"")}var bn,yn,wn=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 n=t.currentDomain,r=t.maxLength,a=void 0===r?25:r,o=function(e){var t=e,n="",r="",a="",o="",i="";if(e.includes("#")){var u=Q(vn(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var s=Q(vn(e,e.indexOf("?")),2);e=s[0],o=s[1]}if(e.includes("://")){var l=Q(e.split("://"),2);n=l[0];var c=Q(vn(e=l[1],e.indexOf("/")),2);r=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=Q(vn(e=e.substr(2),e.indexOf("/")),2);r=d[0],e=d[1]}if("www."===r.substr(0,4)&&(r=r.substr(4)),r&&r.includes(":")){var f=Q(vn(r,r.indexOf(":")),2);r=f[0],a=f[1]}return{original:t,protocol:n,domain:r,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?Dn(l+s):l.length<2&&s.length>2&&s.length<=a?Dn(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)?Dn(l):void 0}},Fn=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},En=function(e,t){return bn&&e[bn]||(bn=function(e){var t,n,r=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=r.length;for(t=0;t2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var r=t.getRootNode&&t.getRootNode()||s;if(11!==r.nodeType)return e(t,n,r);for(var a=[];11===r.nodeType;){if(!r.host)return"";a.unshift({elm:t,doc:r}),r=(t=r.host).getRootNode()}return a.unshift({elm:t,doc:r}),a.map((function(t){var r=t.elm,a=t.doc;return e(r,n,a)}))},An=["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"],kn=31,Tn=/([\\"])/g,On=/(\r\n|\r|\n)/g;function Sn(e){return e.replace(Tn,"\\$1").replace(On,"\\a ")}function Nn(e,t){var n,r=t.name;if(-1!==r.indexOf("href")||-1!==r.indexOf("src")){var a=wn(e.getAttribute(r));n=a?gn(t.name)+'$="'+Sn(a)+'"':gn(t.name)+'="'+Sn(e.getAttribute(r))+'"'}else n=gn(r)+'="'+Sn(t.value)+'"';return n}function Rn(e,t){return e.count "+r:u,a=a?a.filter((function(e){return En(e,r)})):Array.from(n.querySelectorAll(r)),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?r:-1!==r.indexOf(" > ")?":root"+r.substring(r.indexOf(" > ")):":root"}function $n(e,t){return xn(jn,e,t)}function Vn(e){var t=e.nodeName.toLowerCase(),n=e.parentElement;if(!n)return t;var r="";if("head"!==t&&"body"!==t&&n.children.length>1){var a=Array.prototype.indexOf.call(n.children,e)+1;r=":nth-child(".concat(a,")")}return Vn(n)+" > "+t+r}function zn(e,t){return xn(Vn,e,t)}function qn(e,t){var n,r;if(!e)return[];if(!t&&9===e.nodeType)return[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=qn(e.parentNode,t)),e.previousSibling){r=1,n=e.previousSibling;do{1===n.nodeType&&n.nodeName===e.nodeName&&r++,n=n.previousSibling}while(n);1===r&&(r=null)}else if(e.nextSibling){n=e.nextSibling;do{1===n.nodeType&&n.nodeName===e.nodeName?(r=1,n=null):(r=null,n=n.previousSibling)}while(n)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&gn(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),r>1&&(a.count=r),t.push(a)}return t}var Un=function(e){return qn(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,"]"):"")}),"")},Hn={},Zn={set:function(e,t){!function(e){hn("string"==typeof e,"key must be a string, "+l(e)+" given"),hn(""!==e,"key must not be empty")}(e),Hn[e]=t},get:function(e,t){if(function(e){hn("function"==typeof e||void 0===e,"creator must be a function or undefined, "+l(e)+" given")}(t),e in Hn)return Hn[e];if("function"==typeof t){var n=t();return hn(void 0!==n,"Cache creator function should not return undefined"),this.set(e,n),Hn[e]}},clear:function(){Hn={}}},Wn=Zn,Kn=function(e,t){var n=t||e;return Wn.get("nodeMap")?Wn.get("nodeMap").get(n):null};function Gn(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.spec=o,e instanceof Jt?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=Kn(e)),this.fromFrame=(null===(t=this.spec.selector)||void 0===t?void 0:t.length)>1,a.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(n=this._virtualNode)||void 0===n?void 0:n.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml||(this.source=null!==(r=this.spec.source)&&void 0!==r?r: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 n=e.indexOf(">");e=e.substring(0,n+1)}return e}(t||"")}(this._element))}Gn.prototype={get selector(){return this.spec.selector||[$n(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[zn(this.element)]},get xpath(){return this.spec.xpath||[Un(this.element)]},get element(){return this._element},toJSON:function(){return{selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes}}},Gn.fromFrame=function(e,t,n){var r=Gn.mergeSpecs(e,n);return new Gn(n.element,t,r)},Gn.mergeSpecs=function(e,t){return Y({},e,{selector:[].concat(K(t.selector),K(e.selector)),ancestry:[].concat(K(t.ancestry),K(e.ancestry)),xpath:[].concat(K(t.xpath),K(e.xpath)),nodeIndexes:[].concat(K(t.nodeIndexes),K(e.nodeIndexes))})};var Yn=Gn,Qn=function(e,t,n,r){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,n(e)):r(t)}},data:function(t){e.data=t},relatedNodes:function(n){i.Node&&(n=n instanceof i.Node||n instanceof Jt?[n]:mn(n),e.relatedNodes=[],n.forEach((function(n){if(n instanceof Jt&&(n=n.actualNode),n instanceof i.Node){var r=new Yn(n,t);e.relatedNodes.push(r)}})))}}},Xn=function e(t){var n,r,a,o,u=t;if(null!==(n=i)&&void 0!==n&&n.Node&&t instanceof i.Node||null!==(r=i)&&void 0!==r&&r.HTMLCollection&&t instanceof i.HTMLCollection)return t;if(null!==t&&"object"===l(t))if(Array.isArray(t))for(u=[],a=0,o=t.length;a"),Jn.registerAttrEqualityMods("^","$","*","~");var er=Jn;function tr(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 n=e.attr(t.key);return null!==n&&t.test(n)}))}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(n=e,!((r=t).pseudos&&!r.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return dr(n,e)}));if("is"===e.name)return e.expressions.some((function(e){return dr(n,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var n,r}var nr,rr=(nr=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(nr,"\\")}),ar=/\\/g;function or(e){if(e)return e.map((function(e){var t,n,r=e.name.replace(ar,""),a=(e.value||"").replace(ar,"");switch(e.operator){case"^=":n=new RegExp("^"+rr(a));break;case"$=":n=new RegExp(rr(a)+"$");break;case"~=":n=new RegExp("(^|\\s)"+rr(a)+"(\\s|$)");break;case"|=":n=new RegExp("^"+rr(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&&n.test(e)}),{key:r,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}}))}function ir(e){if(e)return e.map((function(e){return{value:e=e.replace(ar,""),regexp:new RegExp("(^|\\s)"+rr(e)+"(\\s|$)")}}))}function ur(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=sr(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function sr(e){return e.map((function(e){for(var t=[],n=e.rule;n;)t.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:or(n.attrs),classes:ir(n.classNames),pseudos:ur(n.pseudos)}),n=n.rule;return t}))}function lr(e){var t=er.parse(e);return sr(t=t.selectors?t.selectors:[t])}function cr(e,t,n,r){if(!e)return!1;for(var a=Array.isArray(t)?t[n]:t,o=tr(e,a);!o&&r&&e.parent;)o=tr(e=e.parent,a);if(n>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&cr(e.parent,t,n-1," "===a.combinator)}return o}function dr(e,t,n){return cr(e,t,t.length-1,n)}var fr=function(e,t){return lr(t).some((function(t){return dr(e,t)}))},pr=function(e,t){for(;e;){if(fr(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 hr(){}function mr(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var gr,vr,Dr,br,yr=function(){var e,t=[],n=0,r=0,a=hr,o=!1,i=function(t){e=t,setTimeout((function(){null!=e&&Qt("Uncaught error (of queue)",e)}),1)},u=i;function s(e){return function(n){t[e]=n,(r-=1)||a===hr||(o=!0,a(t))}}function c(e){return a=hr,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(mr(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++r,function(){for(var e=t.length;n>>((3&t)<<3)&255;return br});for(var Fr="function"==typeof i.Buffer?i.Buffer:Array,Er=[],Cr={},xr=0;xr<256;xr++)Er[xr]=(xr+256).toString(16).substr(1),Cr[Er[xr]]=xr;function Ar(e,t){var n=t||0,r=Er;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}var kr=vr(),Tr=[1|kr[0],kr[1],kr[2],kr[3],kr[4],kr[5]],Or=16383&(kr[6]<<8|kr[7]),Sr=0,Nr=0;function Rr(e,t,n){var r=t&&n||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:Or,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:Nr+1,s=i-Sr+(u-Nr)/1e4;if(s<0&&null==e.clockseq&&(o=o+1&16383),(s<0||i>Sr)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Sr=i,Nr=u,Or=o;var l=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[r++]=l>>>24&255,a[r++]=l>>>16&255,a[r++]=l>>>8&255,a[r++]=255&l;var c=i/4294967296*1e4&268435455;a[r++]=c>>>8&255,a[r++]=255&c,a[r++]=c>>>24&15|16,a[r++]=c>>>16&255,a[r++]=o>>>8|128,a[r++]=255&o;for(var d=e.node||Tr,f=0;f<6;f++)a[r+f]=d[f];return t||Ar(a)}function Br(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Fr(16):null,e=null);var a=(e=e||{}).random||(e.rng||vr)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[r+o]=a[o];return t||Ar(a)}(gr=Br).v1=Rr,gr.v4=Br,gr.parse=function(e,t,n){var r=t&&n||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){a<16&&(t[r+a++]=Cr[e])}));a<16;)t[r+a++]=0;return t},gr.unparse=Ar,gr.BufferClass=Fr,c._uuid=Rr();var _r=Br,Mr=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Ir(){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 Pr(e){jr(e),hn(i.parent===e,"Source of the response must be the parent window.")}function Lr(e){jr(e),hn(e.parent===i,"Respondable target must be a frame in the current window")}function jr(e){hn(i!==e,"Messages can not be sent to the same window.")}var $r={},Vr=[];function zr(){var e="".concat(Br(),":").concat(Br());return Vr.includes(e)?zr():(Vr.push(e),e)}function qr(e,t,n,r){if("function"==typeof r&&function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];hn(!$r[e],"A replyHandler already exists for this message channel."),$r[e]={replyHandler:t,sendToParent:n}}(t.channelId,r,n),n?Pr(e):Lr(e),t.message instanceof Error&&!n)return c.log(t.message),!1;var a=function(e){var t=e.topic,n=e.channelId,r=e.message,a={channelId:n,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:Ir()};return r instanceof Error?a.error={name:r.name,message:r.message,stack:r.stack}:a.payload=r,JSON.stringify(a)}(Y({messageId:zr()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length||(o.forEach((function(t){try{e.postMessage(a,t)}catch(n){if(n instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw n}})),0))}function Ur(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r,a,o){qr(e,{channelId:t,message:r,keepalive:a},n,o)}}function Hr(e,t){var n,r=e.origin,a=e.data,o=e.source;try{var u=function(e){var t,n,r,a,o;try{t=JSON.parse(e)}catch(e){return}if(null!==(u=t)&&"object"===l(u)&&"string"==typeof u.channelId&&u.source===Ir()){var u,s=t,c=s.topic,d=s.channelId,f=s.messageId,p=s.keepalive;return{topic:c,message:"object"===l(t.error)?(n=t.error,r=n.message||"Unknown error occurred",a=Mr.includes(n.name)?n.name:"Error",o=i[a]||Error,n.stack&&(r+="\n"+n.stack.replace(n.message,"")),new o(r)):t.payload,messageId:f,channelId:d,keepalive:!!p}}}(a)||{},s=u.channelId,d=u.message,f=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(r)||(n=f,Vr.includes(n)||(Vr.push(n),0)))return;if(d instanceof Error&&o.parent!==i)return c.log(d),!1;try{if(u.topic){var p=Ur(o,s);Pr(o),t(u,p)}else!function(e,t){var n=t.channelId,r=t.message,a=t.keepalive,o=function(e){return $r[e]}(n)||{},i=o.replyHandler,u=o.sendToParent;if(i){u?Pr(e):Lr(e);var s=Ur(e,n,u);!a&&n&&function(e){delete $r[e]}(n);try{i(r,a,s)}catch(e){c.log(e),s(e,a)}}}(o,u)}catch(e){!function(e,t,n){if(!e.parent!==i)return c.log(t);try{qr(e,{topic:null,channelId:n,message:t,messageId:zr(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,s)}}catch(e){return c.log(e),!1}}var Zr,Wr,Kr={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){Hr(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,n){return"function"==typeof i.addEventListener&&qr(e,t,!1,n)}};function Gr(e){e.updateMessenger(Kr)}var Yr={};function Qr(e,t,n,r,a){var o={topic:t,message:n,channelId:"".concat(Br(),":").concat(Br()),keepalive:r};return Wr(e,o,a)}function Xr(e,t){var n=e.topic,r=e.message,a=e.keepalive,o=Yr[n];if(o)try{o(r,a,t)}catch(e){c.log(e),t(e,a)}}function Jr(e,t,n,r){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 Qt("Frame does not have a content window",e),void n(null);if(0!==u){var s=setTimeout((function(){s=setTimeout((function(){t.debug?r(ta("No response from frame",e)):n(null)}),0)}),u);Qr(i,"axe.ping",null,void 0,(function(){clearTimeout(s),ea(e,t,n,r)}))}else ea(e,t,n,r)}function ea(e,t,n,r){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(){r(ta("Axe in frame timed out",e))}),i);Qr(u,"axe.start",t,void 0,(function(e){clearTimeout(s),e instanceof Error==0?n(e):r(e)}))}function ta(e,t){var n;return c._tree&&(n=$n(t)),new Error(e+": "+(n||t))}Qr.updateMessenger=function(e){var t=e.open,n=e.post;hn("function"==typeof t,"open callback must be a function"),hn("function"==typeof n,"post callback must be a function"),Zr&&Zr();var r=t(Xr);r?(hn("function"==typeof r,"open callback must return a cleanup function"),Zr=r):Zr=null,Wr=n},Qr.subscribe=function(e,t){hn("function"==typeof t,"Subscriber callback must be a function"),hn(!Yr[e],"Topic ".concat(e," is already registered to.")),Yr[e]=t},Qr.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},Gr(Qr);var na=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},ra=function(e,t,n){if(Array.isArray(e))return e.find((function(e){return"object"===l(e)&&e[t]===n}))};function aa(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),r=0;r0||0===o&&n.selector.length(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var wa=ba((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(wa(e.parent))):t})),Fa=wa,Ea=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Ca=/(\w+)\((\d+)/;function xa(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Aa(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function ka(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Ta(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Oa(e){return"true"===e.attr("aria-hidden")}function Sa(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Na(e){var t=of(e.actualNode),n=parseInt(e.getComputedStylePropertyValue("height")),r=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===n||0===r)}function Ra(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.boundingClientRect,n=Fa(e);return!!n.length&&n.some((function(e){var n=e.boundingClientRect;return n.width<2||n.height<2||!ya(t,n)}))}function Ba(e){var t=e.getComputedStylePropertyValue("clip").match(Ea),n=e.getComputedStylePropertyValue("clip-path").match(Ca);if(t&&5===t.length){var r=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(r))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(n){var a=n[1],o=parseInt(n[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function _a(e,t){var n=pr(e,"map");if(!n)return!0;var r=n.attr("name");if(!r)return!0;var a=pa(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=Hf(c._tree,'img[usemap="#'.concat(gn(r),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function Ma(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 Ia=[Aa,ka,Ta,Ma];function Pa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipAncestors,r=t.isAncestor,a=void 0!==r&&r;return e=yf(e).vNode,n?La(e,a):ja(e,a)}var La=ba((function(e,t){return!(!xa(e)&&(!e.actualNode||!Ia.some((function(n){return n(e,{isAncestor:t})}))&&e.actualNode.isConnected))})),ja=ba((function(e,t){return!!La(e,t)||!!e.parent&&ja(e.parent,!0)})),$a=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var n=t.parentNode;if(1===n.nodeType)return n;if(n.host)return n.host}return null},Va=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,n=e.body;return{left:t&&t.scrollLeft||n&&n.scrollLeft||0,top:t&&t.scrollTop||n&&n.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}},za=function(e){var t=Va(s),n=t.left,r=t.top,a=e.getBoundingClientRect();return{top:a.top+r,right:a.right+n,bottom:a.bottom+r,left:a.left+n,width:a.right-a.left,height:a.bottom-a.top}},qa=function(e){var t=e.document,n=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(n)return{width:n.clientWidth,height:n.clientHeight};var r=t.body;return{width:r.clientWidth,height:r.clientHeight}},Ua=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=yf(e).domNode;if(t){var n,r=s.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(s.body||r).getPropertyValue("direction"),u=za(t);if(u.bottom<0&&(function(e,t){for(e=$a(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=$a(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(n=Math.max(r.scrollWidth,qa(i).width),u.left>=n)return!0;return!1}},Ha=[Sa,Na,Ra,Ba,Ua];function Za(e){return e=yf(e).vNode,Wa(e)}var Wa=ba((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!_a(e,Wa):!Pa(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!Ha.some((function(n){return n(e,{isAncestor:t})})))&&(!e.parent||Wa(e.parent,!0))}));function Ka(e,t){var n=Math.min(e.top,t.top),r=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,n,r-o,a-n)}function Ga(e,t){var n=e.x,r=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return r>=a&&n<=o&&r<=i&&n>=u}var Ya=0,Qa=.1,Xa=.2,Ja=.3,eo=0;function to(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.body,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Wn.get("gridCreated")&&!n)return Yt.gridSize;if(Wn.set("gridCreated",!0),!n){var r,a=Kn(s.documentElement);if(a||(a=new Dd(s.documentElement)),eo=0,a._stackingOrder=[ao(Ya,null)],null!==(r=t)&&void 0!==r||(t=new uo),io(t,a),of(a.actualNode)){var o=new uo(a);a._subGrid=o}}for(var u=s.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),l=n?u.nextNode():u.currentNode;l;){var d=Kn(l);d&&d.parent?n=d.parent:l.assignedSlot?n=Kn(l.assignedSlot):l.parentElement?n=Kn(l.parentElement):l.parentNode&&Kn(l.parentNode)&&(n=Kn(l.parentNode)),d||(d=new c.VirtualNode(l,n)),d._stackingOrder=ro(d,n,eo++);var f=oo(d,n),p=f?f._subGrid:t;if(of(d.actualNode)){var h=new uo(d);d._subGrid=h}var m=d.boundingClientRect;0!==m.width&&0!==m.height&&Za(l)&&io(p,d),da(l)&&to(l.shadowRoot,p,d),l=u.nextNode()}return Yt.gridSize}function no(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function ro(e,t,n){var r=t._stackingOrder.slice();if(!function(e,t){var n=e.getComputedStylePropertyValue("position"),r=e.getComputedStylePropertyValue("z-index");if("fixed"===n||"sticky"===n)return!0;if("auto"!==r&&"static"!==n)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"===r||!no(t))}(e,t))return"static"!==e.getComputedStylePropertyValue("position")?r.push(ao(Ja,e)):"none"!==e.getComputedStylePropertyValue("float")&&r.push(ao(Xa,e)),r;var a=r.findIndex((function(e){var t=e.value;return[Ya,Xa,Ja].includes(t)}));-1!==a&&r.splice(a,r.length-a);var o=function(e,t){return"static"!==e.getComputedStylePropertyValue("position")||no(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);if(!["auto","0"].includes(o))return r.push(ao(parseInt(o),e)),r;for(var i=n.toString();i.length<10;)i="0"+i;return r.push(ao(parseFloat("".concat(Qa).concat(i)),e)),r}function ao(e,t){return{value:e,vNode:t}}function oo(e,t){for(var n=null,r=[e];t;){if(of(t.actualNode)){n=t;break}if(t._scrollRegionParent){n=t._scrollRegionParent;break}r.push(t),t=Kn(t.actualNode.parentElement||t.actualNode.parentNode)}return r.forEach((function(e){return e._scrollRegionParent=n})),n}function io(e,t){t.clientRects.forEach((function(n){var r;null!==(r=t._grid)&&void 0!==r||(t._grid=e);var a=e.getGridPositionOfRect(n);e.loopGridPosition(a,(function(e){e.includes(t)||e.push(t)}))}))}var uo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;ee(this,e),this.container=t,this.cells=[]}return ne(e,[{key:"toGridIndex",value:function(e){return Math.floor(e/Yt.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,n,r=e.x,a=e.y;hn(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(r);hn(Ga({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!==(n=u[i-u._negativeIndex])&&void 0!==n?n:[]}},{key:"loopGridPosition",value:function(e,t){var n=e,r=n.left,a=n.right,o=n.top,i=n.bottom;this.boundaries&&(e=Ka(this.boundaries,e)),this.boundaries=e,so(this.cells,o,i,(function(e,n){so(e,r,a,(function(e,r){t(e,{row:n,col:r})}))}))}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,n=e.right,r=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),n=this.toGridIndex(n+o-1),r=this.toGridIndex(r+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,n-a,r-t)}}]),e}();function so(e,t,n,r){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t1&&void 0!==arguments[1]?arguments[1]:0;if(to(),null===(t=e._grid)||void 0===t||null===(n=t.cells)||void 0===n||!n.length)return[];var a=e.boundingClientRect,o=e._grid,i=co(e),u=o.getGridPositionOfRect(a,r),s=[];return o.loopGridPosition(u,(function(t){var n,r=ae(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;a&&a!==e&&!s.includes(a)&&i===co(a)&&s.push(a)}}catch(e){r.e(e)}finally{r.f()}})),s}var co=ba((function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||co(e.parent))}));function fo(e,t){var n=Math.max(e.left,t.left),r=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return n>=r||a>=o?null:new i.DOMRect(n,a,r-n,o-a)}var po=ba((function(){var e;if(!c._tree)return null;var t=_f(c._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&Za(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,n=null!==(t=function(e){to();var t=c._tree[0]._grid,n=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(t)for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipAncestors,r=t.isAncestor;return n?mo(e,r):go(e,r)}var mo=ba((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var n=po();if(n&&!ua(n,e))return!0}return!1})),go=ba((function(e,t){return!!mo(e,t)||!!e.parent&&go(e.parent,!0)})),vo=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],Do=function(e){var t,n=yf(e).vNode;if(t=n.props.nodeName,vo.includes(t)&&n.hasAttr("disabled")||ho(n))return!0;for(var r=n.parent,a=[],o=!1;r&&r.shadowId===n.shadowId&&!o&&(a.push(r),"legend"!==r.props.nodeName);){if(void 0!==r._inDisabledFieldset){o=r._inDisabledFieldset;break}"fieldset"===r.props.nodeName&&r.hasAttr("disabled")&&(o=!0),r=r.parent}return a.forEach((function(e){return e._inDisabledFieldset=o})),!!o||"area"!==n.props.nodeName&&!!n.actualNode&&Pa(n)},bo=/^\/\#/,yo=/^#[!/]/;function wo(e){var t,n=e.getAttribute("href");if(!n||"#"===n)return!1;if(bo.test(n))return!0;var r=e.hash,a=e.protocol,o=e.hostname,u=e.port,s=e.pathname;if(yo.test(r))return!1;if("#"===n.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 Fo=function(e,t){var n=e.getAttribute(t);if(!n)return null;if("href"===t&&!wo(e))return null;-1!==n.indexOf("#")&&(n=decodeURIComponent(n.substr(n.indexOf("#")+1)));var r=s.getElementById(n);return r||((r=s.getElementsByName(n)).length?r[0]:null)};function Eo(e,t){to();for(var n=Math.max(e._stackingOrder.length,t._stackingOrder.length),r=0;re._stackingOrder[r].value)return 1;if(t._stackingOrder[r].valuee[u])n[o]=e[i]+e[s]/2;else{var l=t[i]+t[s]/2,c=Math.abs(l-e[i]),d=Math.abs(l-e[u]);n[o]=c>=d?e[i]:e[u]}})),n}(n,r);return function(e,t){var n=Math.abs(e.x-t.x),r=Math.abs(e.y-t.y);return n&&r?Math.sqrt(Math.pow(n,2)+Math.pow(r,2)):n||r}(a,function(e,t,n){var r=e.x,a=e.y;if(function(e,t){var n=e.x,r=e.y;return r>=t.top&&n<=t.right&&r<=t.bottom&&n>=t.left}({x:r,y:a},n)){var o=function(e,t,n){var r,a,o=e.x,i=e.y;return o===t.left&&t.rightn.left&&(r=t.left),i===t.top&&t.bottomn.top&&(a=t.top),r||a?a?r&&Math.abs(o-r)=c&&r<=s,f=a>=u&&a<=l,p=Math.abs(c-r)=r.right||n.right<=r.left||n.top>=r.bottom||n.bottom<=r.top)&&Eo(e,t)>0}function So(e,t){var n,r=[e],a=ae(t);try{var o=function(){var e=n.value;r=r.reduce((function(t,n){return t.concat(function(e,t){var n=e.top,r=e.left,a=e.bottom,o=e.right,i=nt.top,u=rt.left,s=[];return No(t.top,n,a)&&u&&s.push({top:n,left:r,bottom:t.top,right:o}),No(t.right,r,o)&&i&&s.push({top:n,left:t.right,bottom:a,right:o}),No(t.bottom,n,a)&&u&&s.push({top:t.bottom,right:o,bottom:a,left:r}),No(t.left,r,o)&&i&&s.push({top:n,left:r,bottom:a,right:t.left}),0===s.length&&s.push(e),s.map(Ro)}(n,e))}),[])};for(a.s();!(n=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return r}se(Ao,{getBoundingRect:function(){return Ka},getIntersectionRect:function(){return fo},getOffset:function(){return ko},getRectCenter:function(){return To},hasVisualOverlap:function(){return Oo},isPointInRect:function(){return Ga},rectsOverlap:function(){return ya},splitRects:function(){return So}});var No=function(e,t,n){return e>t&&e2&&void 0!==arguments[2]&&arguments[2],r=To(t),a=e.getCellFromPoint(r)||[],o=Math.floor(r.x),i=Math.floor(r.y),u=a.filter((function(e){return e.clientRects.some((function(e){var t=e.left,n=e.top;return o=Math.floor(t)&&i=Math.floor(n)}))})),l=e.container;return l&&(u=Bo(l._grid,l.boundingClientRect,!0).concat(u)),n||(u=u.sort(Eo).map((function(e){return e.actualNode})).concat(s.documentElement).filter((function(e,t,n){return n.indexOf(e)===t}))),u}var _o=function(e){to();var t=Kn(e),n=t._grid;return n?Bo(n,t.boundingClientRect):[]},Mo=function(e){return Hf(e,"*").filter((function(e){var t=e.isFocusable,n=e.actualNode.getAttribute("tabindex");return(n=n&&!isNaN(parseInt(n,10))?parseInt(n):null)?t&&n>=0:t}))},Io={};se(Io,{accessibleText:function(){return Lo},accessibleTextVirtual:function(){return su},autocomplete:function(){return du},formControlValue:function(){return nu},formControlValueMethods:function(){return eu},hasUnicode:function(){return au},isHumanInterpretable:function(){return cu},isIconLigature:function(){return ou},isValidAutocomplete:function(){return fu},label:function(){return gu},labelText:function(){return Mi},labelVirtual:function(){return mu},nativeElementType:function(){return vu},nativeTextAlternative:function(){return $i},nativeTextMethods:function(){return ji},removeUnicode:function(){return lu},sanitize:function(){return ni},subtreeText:function(){return _i},titleText:function(){return Si},unsupported:function(){return Vi},visible:function(){return hu},visibleTextNodes:function(){return Du},visibleVirtual:function(){return Ui}});var Po=function(e,t){e=e.actualNode||e;try{var n=ha(e),r=[],a=e.getAttribute(t);if(a){a=bd(a);for(var o=0;o1&&void 0!==arguments[1]?arguments[1]:{},n=yf(e).vNode;return 1!==(null==n?void 0:n.props.nodeType)||1!==n.props.nodeType||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby")?"":Po(n,"aria-labelledby").filter((function(e){return e})).reduce((function(e,r){var a=Lo(r,Y({inLabelledByContext:!0,startNode:t.startNode||n},t));return e?"".concat(e," ").concat(a):a}),"")};function $o(e){var t=yf(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var Vo={"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",global:!0},"aria-brailleroledescription":{type:"string",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"}},zo={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",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-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:"widget",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:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",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:"widget",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-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:"widget",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:"widget",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"]}},qo={ariaAttrs:Vo,ariaRoles:Y({},zo,{"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-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","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],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:["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","menuitem","menuitemcheckbox","menuitemradio","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},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]}},Uo=Y({},qo),Ho=Uo,Zo=function(e){var t=Ho.ariaRoles[e];return!!t&&!!t.unsupported},Wo=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.allowAbstract,r=t.flagUnsupported,a=void 0!==r&&r,o=Ho.ariaRoles[e],i=Zo(e);return!(!o||a&&i||!n&&"abstract"===o.type)},Ko=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fallback,r=t.abstracts,a=t.dpub;if(1!==(e=e instanceof Jt?e:Kn(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(n?bd(o):[o]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&Wo(e,{allowAbstract:r})}))||null},Go=function(e){return Object.keys(Ho.htmlElms).filter((function(t){var n=Ho.htmlElms[t];return n.contentTypes?n.contentTypes.includes(e):!!n.variant&&!(!n.variant.default||!n.variant.default.contentTypes)&&n.variant.default.contentTypes.includes(e)}))},Yo=function(){return Wn.get("globalAriaAttrs",(function(){return Object.keys(Ho.ariaAttrs).filter((function(e){return Ho.ariaAttrs[e].global}))}))},Qo=ba((function(e){for(var t=[],n=e.rows,r=0,a=n.length;r1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=pr(e,"table"),n=Ko(t);return["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return ei(e)?"columnheader":ti(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},si=function(e,t){var n=l(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===n)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var r=t.substring(1,t.length-1);return new RegExp(r).test(e)}}return t===e},li=function(e,t){return si(!!su(e),t)},ci=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(n){return si(e(n),t[n])}))},di=function(e,t){return e=yf(e).vNode,ci((function(t){return e.attr(t)}),t)},fi=function(e,t){return!!t(e)},pi=function(e,t){return si(Ko(e),t)},hi=function(e,t){return si(Ei(e),t)},mi=function(e,t){return e=yf(e).vNode,si(e.props.nodeName,t)},gi=function(e,t){return e=yf(e).vNode,ci((function(t){return e.props[t]}),t)},vi=function(e,t){return si(Ti(e),t)},Di={hasAccessibleName:li,attributes:di,condition:fi,explicitRole:pi,implicitRole:hi,nodeName:mi,properties:gi,semanticRole:vi},bi=function e(t,n){return t=yf(t).vNode,Array.isArray(n)?n.some((function(n){return e(t,n)})):"string"==typeof n?fr(t,n):Object.keys(n).every((function(e){if(!Di[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var r=Di[e],a=n[e];return r(t,a)}))},yi=function(e,t){return bi(e,t)};yi.hasAccessibleName=li,yi.attributes=di,yi.condition=fi,yi.explicitRole=pi,yi.fromDefinition=bi,yi.fromFunction=ci,yi.fromPrimative=si,yi.implicitRole=hi,yi.nodeName=mi,yi.properties=gi,yi.semanticRole=vi;var wi=yi,Fi=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,n=void 0!==t&&t,r=Ho.htmlElms[e.props.nodeName];if(!r)return{};if(!r.variant)return r;var a=r.variant,o=W(r,p);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],s=u.matches,l=W(u,h),c=Array.isArray(s)?s:[s],d=0;d1&&void 0!==arguments[1]?arguments[1]:{}).chromium,n=e instanceof Jt?e:Kn(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var r=n.props.nodeName,a=ui[r];return!a&&t?Fi(n).chromiumRole||null:"function"==typeof a?a(n):a||null},Ci={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 xi(e,t){var n=Ci[e.props.nodeName];if(!n)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(!n.includes(e.parent.props.nodeName))return null;var r=Ko(e.parent,t);return["none","presentation"].includes(r)&&!ki(e.parent)?r:r?null:xi(e.parent,t)}function Ai(e,t){var n=t.chromium,r=W(t,m),a=Ei(e,{chromium:n});return a?xi(e,r)||a:null}function ki(e){return Yo().some((function(t){return e.hasAttr(t)}))||ai(e)}var Ti=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noPresentational,r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noImplicit,r=W(t,g),a=yf(e).vNode;if(1!==a.props.nodeType)return null;var o=Ko(a,r);return o?["presentation","none"].includes(o)&&ki(a)?n?null:Ai(a,r):o:n?null:Ai(a,r)}(e,W(t,v));return n&&["presentation","none"].includes(r)?null:r},Oi=["iframe"],Si=function(e){var t=yf(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!yi(t,Oi)&&["none","presentation"].includes(Ti(t))?"":t.attr("title"):""},Ni=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof Jt?e:Kn(e)).props.nodeType)return!1;var n=Ti(e),r=Ho.ariaRoles[n];return!(!r||!r.nameFromContent)||!t&&(!r||["presentation","none"].includes(n))},Ri=function(e){var t=e.actualNode,n=e.children;if(!n)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var r=Po(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return c.utils.getNodeFromTree(e)}));return[].concat(K(n),K(r))}return K(n)},Bi=Go("phrasing").concat(["#text"]),_i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=su.alreadyProcessed;t.startNode=t.startNode||e;var r=t,a=r.strict,o=r.inControlContext,i=r.inLabelledByContext,u=Fi(e,{noMatchAccessibleName:!0}).contentTypes;return n(e,t)||1!==e.props.nodeType||null!=u&&u.includes("embedded")?"":Ni(e,{strict:a})||t.subtreeDescendant?(a||(t=Y({subtreeDescendant:!o&&!i},t)),Ri(e).reduce((function(e,n){return function(e,t,n){var r=t.props.nodeName,a=su(t,n);return a?(Bi.includes(r)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,n,t)}),"")):""},Mi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=su.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||n(e,t))return"";t.startNode||(t.startNode=e);var r,a=Y({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 ma({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=pr(e,"label");return i?(r=[].concat(K(o),[i.actualNode])).sort(bf):r=o,r.map((function(e){return Lo(e,a)})).filter((function(e){return""!==e})).join(" ")},Ii={submit:"Submit",image:"Submit",reset:"Reset",button:""};function Pi(e,t){return t.attr(e)||""}function Li(e,t,n){var r=t.actualNode,a=[e=e.toLowerCase(),r.nodeName.toLowerCase()].join(","),o=r.querySelector(a);return o&&o.nodeName.toLowerCase()===e?Lo(o,n):""}var ji={valueText:function(e){return e.actualNode.value||""},buttonDefaultText:function(e){var t=e.actualNode;return Ii[t.type]||""},tableCaptionText:Li.bind(null,"caption"),figureText:Li.bind(null,"figcaption"),svgTitleText:Li.bind(null,"title"),fieldsetLegendText:Li.bind(null,"legend"),altText:Pi.bind(null,"alt"),tableSummaryText:Pi.bind(null,"summary"),titleText:Si,subtreeText:_i,labelText:Mi,singleSpace:function(){return" "},placeholderText:Pi.bind(null,"placeholder")},$i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Ti(e)))return"";var r=function(e){return(Fi(e,{noMatchAccessibleName:!0}).namingMethods||[]).map((function(e){return ji[e]}))}(e).reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&c.log(r||"{empty-value}",n,t),r},Vi={accessibleNameFromFieldValue:["combobox","listbox","progressbar"]};function zi(e){return e=yf(e).vNode,qi(e)}var qi=ba((function(e,t){return!Oa(e)&&!ho(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!_a(e,qi):!Pa(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||qi(e.parent,!0)))})),Ui=function e(t,n,r){var a=yf(t).vNode,o=n?zi:Za,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(!r)return e(t,n)})).join("");return ni(u)},Hi=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],Zi=function(e){var t=(e=e instanceof Jt?e:Kn(e)).props.nodeName;return"textarea"===t||"input"===t&&!Hi.includes((e.attr("type")||"").toLowerCase())},Wi=function(e){return"select"===(e=e instanceof Jt?e:Kn(e)).props.nodeName},Ki=function(e){return"textbox"===Ko(e)},Gi=function(e){return"listbox"===Ko(e)},Yi=function(e){return"combobox"===Ko(e)},Qi=["progressbar","scrollbar","slider","spinbutton"],Xi=function(e){var t=Ko(e);return Qi.includes(t)},Ji=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],eu={nativeTextboxValue:function(e){var t=yf(e).vNode;return Zi(t)&&t.props.value||""},nativeSelectValue:function(e){var t=yf(e).vNode;if(!Wi(t))return"";var n=Hf(t,"option"),r=n.filter((function(e){return e.props.selected}));return r.length||r.push(n[0]),r.map((function(e){return Ui(e)})).join(" ")||""},ariaTextboxValue:function(e){var t=yf(e),n=t.vNode,r=t.domNode;return Ki(n)?!r||r&&!Pa(r)?Ui(n,!0):r.textContent:""},ariaListboxValue:tu,ariaComboboxValue:function(e,t){var n=yf(e).vNode;if(!Yi(n))return"";var r=Ri(n).filter((function(e){return"listbox"===Ti(e)}))[0];return r?tu(r,t):""},ariaRangeValue:function(e){var t=yf(e).vNode;if(!Xi(t)||!t.hasAttr("aria-valuenow"))return"";var n=+t.attr("aria-valuenow");return isNaN(n)?"0":String(n)}};function tu(e,t){var n=yf(e).vNode;if(!Gi(n))return"";var r=Ri(n).filter((function(e){return"option"===Ti(e)&&"true"===e.attr("aria-selected")}));return 0===r.length?"":su(r[0],t)}var nu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode,r=Vi.accessibleNameFromFieldValue||[],a=Ti(e);if(t.startNode===e||!Ji.includes(a)||r.includes(a))return"";var o=Object.keys(eu).map((function(e){return eu[e]})).reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&Qt(o||"{empty-value}",n,t),o},ru=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\u26D3\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](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\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]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?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EE5\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-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\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-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\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-\uDDB3\uDDBC\uDDBD])|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD])|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\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-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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},au=function(e,t){var n=t.emoji,r=t.nonBmp,a=t.punctuations;return n?/[#*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\u26D3\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](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\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]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\u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?)?|\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-\uDDB3\uDDBC\uDDBD])|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD])|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\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-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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):r?/[\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):!!a&&/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e)},ou=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=e.actualNode.nodeValue.trim();if(!ni(r)||au(r,{emoji:!0,nonBmp:!0}))return!1;var a=Wn.get("canvasContext",(function(){return s.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),o=a.canvas;Wn.get("fonts")||Wn.set("fonts",{});var u=Wn.get("fonts"),l=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[l]||(u[l]={occurrences:0,numLigatures:0});var c=u[l];if(c.occurrences>=n){if(c.numLigatures/c.occurrences==1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,f="".concat(d,"px ").concat(l);a.font=f;var p=r.charAt(0),h=a.measureText(p).width;if(h<30){var m=30/h;h*=m,f="".concat(d*=m,"px ").concat(l)}o.width=h,o.height=d,a.font=f,a.textAlign="left",a.textBaseline="top",a.fillText(p,0,0);var g=new Uint32Array(a.getImageData(0,0,h,d).data.buffer);if(!g.some((function(e){return e})))return c.numLigatures++,!0;a.clearRect(0,0,h,d),a.fillText(r,0,0);var v=new Uint32Array(a.getImageData(0,0,h,d).data.buffer),D=g.reduce((function(e,t,n){return 0===t&&0===v[n]||0!==t&&0!==v[n]?e:++e}),0),b=r.split("").reduce((function(e,t){return e+a.measureText(t).width}),0),y=a.measureText(r).width;return D/g.length>=t&&1-y/b>=t&&(c.numLigatures++,!0)};function iu(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=Y({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=Y({includeHidden:!zi(e)},t)),t}(e,t),function(e,t){return!!e&&(1===e.props.nodeType&&!t.includeHidden&&!zi(e))}(e,t))return"";if(function(e,t){var n,r=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(n=t.occurrenceThreshold)&&void 0!==n?n:t.occuranceThreshold;return!(3!==e.props.nodeType||!r)&&ou(e,a,o)}(e,t))return"";var n=[jo,$o,$i,nu,_i,uu,Si].reduce((function(n,r){return t.startNode===e&&(n=ni(n)),""!==n?n:r(e,t)}),"");return t.debug&&c.log(n||"{empty-value}",e.actualNode,t),n}function uu(e){return 3!==e.props.nodeType?"":e.props.nodeValue}iu.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var su=iu,lu=function(e,t){var n=t.emoji,r=t.nonBmp,a=t.punctuations;return n&&(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\u26D3\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](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\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]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1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\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-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\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-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\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-\uDDB3\uDDBC\uDDBD])|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD])|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\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-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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-\uDDB3\uDDBC\uDDBD]|\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,"")),r&&(e=(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,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e},cu=function(e){if(!e.length)return 0;if(["x","i"].includes(e))return 0;var t=lu(e,{emoji:!0,nonBmp:!0,punctuations:!0});return ni(t)?1:0},du={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"]},fu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.looseTyped,r=void 0!==n&&n,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,f=t.qualifiedTerms,p=void 0===f?[]:f;if(e=e.toLowerCase().trim(),(o=o.concat(du.stateTerms)).includes(e)||""===e)return!0;l=l.concat(du.qualifiers),u=u.concat(du.locations),d=d.concat(du.standaloneTerms),p=p.concat(du.qualifiedTerms);var h=e.split(/\s+/g);if("webauthn"===h[h.length-1]&&(h.pop(),0===h.length))return!1;if(!r&&(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 m=h[h.length-1];return d.includes(m)||p.includes(m)},pu=function(e){var t;return e.attr("aria-labelledby")&&(t=Po(e.actualNode,"aria-labelledby").map((function(e){var t=Kn(e);return t?Ui(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=ni(t))?t:null},hu=function(e,t,n){return e=Kn(e),Ui(e,t,n)},mu=function(e){var t,n;if(n=pu(e))return n;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var r=gn(e.attr("id"));if(n=(t=ha(e.actualNode).querySelector('label[for="'+r+'"]'))&&hu(t,!0))return n}return(n=(t=pr(e,"label"))&&Ui(t,!0))||null},gu=function(e){return e=Kn(e),mu(e)},vu=[{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"]}],Du=function e(t){var n=Za(t),r=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?n&&r.push(t):r=r.concat(e(t))})),r},bu=ba((function(e){var t=Kn(e),n=t.boundingClientRect,r=[],a=Fa(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==ni(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!Ga(To(e),t)}))})(t,n)||r.push.apply(r,K(function(e,t){var n=[];return e.forEach((function(e){if(!(e.width<1||e.height<1)){var r=t.reduce((function(e,t){return e&&fo(e,t.boundingClientRect)}),e);r&&n.push(r)}})),n}(t,a)))}})),r.length?r:[n]})),yu=function(e){to();var t=Kn(e)._grid;return t?bu(e).map((function(e){return Bo(t,e)})):[]},wu=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],Fu=function(e){var t=yf(e).vNode,n=c.commons.aria.getExplicitRole(t);if(n)return-1!==wu.indexOf(n);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}},Eu=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Cu(e){return!Eu.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var xu=function e(t,n,r){return Cu(t)||Fu(t.actualNode)||!r&&!!pu(t)||!n&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))},Au=function(e,t,n){return e=Kn(e),xu(e,t,n)};function ku(e){return!(void 0!==e.children&&!Cu(e))||(1===e.props.nodeType&&Fu(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&ku(e)&&!Pa(e)})))}var Tu=function(e){return parseInt(e.getAttribute("tabindex"),10)>-1&&ai(e)&&!ri(e)};function Ou(e,t){var n=yf(e),r=n.vNode,a=n.domNode;return r?(void 0===r._isHiddenWithCSS&&(r._isHiddenWithCSS=Su(a,t)),r._isHiddenWithCSS):Su(a,t)}function Su(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var n=i.getComputedStyle(e,null);if(!n)throw new Error("Style does not exist for the given element.");if("none"===n.getPropertyValue("display"))return!0;var r=["hidden","collapse"],a=n.getPropertyValue("visibility");if(r.includes(a)&&!t)return!0;if(r.includes(a)&&t&&r.includes(t))return!0;var o=$a(e);return!(!o||r.includes(a))&&Ou(o,a)}var Nu=Ou,Ru=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId};function Bu(e){var t=yf(e).vNode;return 1===t.props.nodeType&&!(parseInt(t.attr("tabindex",10))<=-1)&&ai(t)}var _u=function(e){var t;(e instanceof Jt||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var n=Ho.ariaRoles[e];return(null==n?void 0:n.type)||null};function Mu(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return Mu(e,t)}))}var Iu=["block","list-item","table","flex","grid","inline-block"];function Pu(e){var t=i.getComputedStyle(e).getPropertyValue("display");return Iu.includes(t)||"table-"===t.substr(0,6)}var Lu=function(e,t){if(Pu(e))return!1;var n=function(e){for(var t=$a(e);t&&!Pu(t);)t=$a(t);return Kn(t)}(e),r="",a="",o=0;return Mu(n,(function(t){if(2===o)return!1;if(3===t.nodeType&&(r+=t.nodeValue),1===t.nodeType){var n=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(n))0===o?(r="",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"===_u(t))return a+=t.textContent,!1}}})),r=ni(r),null!=t&&t.noLengthCompare?0!==r.length:(a=ni(a),r.length>a.length)},ju=function(e){var t=(e=e||{}).modalPercent||.75;if(Wn.get("isModalOpen"))return Wn.get("isModalOpen");if(_f(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",Za).length)return Wn.set("isModalOpen",!0),!0;for(var n=qa(i),r=n.width*t,a=n.height*t,o=(n.width-r)/2,u=(n.height-a)/2,d=[{x:o,y:u},{x:n.width-o,y:u},{x:n.width/2,y:n.height/2},{x:o,y:n.height-u},{x:n.width-o,y:n.height-u}].map((function(e){return Array.from(s.elementsFromPoint(e.x,e.y))})),f=function(e){var t=d[e].find((function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=r&&parseInt(t.height,10)>=a&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)}));if(t&&d.every((function(e){return e.includes(t)})))return Wn.set("isModalOpen",!0),{v:!0}},p=0;p1&&void 0!==arguments[1]?arguments[1]:2,n=e.ownerDocument.createRange();n.setStart(e,0),n.setEnd(e,e.childNodes.length);var r,a=0,o=0,i=ae(n.getClientRects());try{for(i.s();!(r=i.n()).done;){var u=r.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 Vu=function(e){return e instanceof i.Node},zu={},qu={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");return t&&(zu[e]=t),zu[e]},get:function(e){return zu[e]},clear:function(){zu={}}},Uu=qu,Hu=function(e,t){var n=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(n))return Uu.set("bgColor","imgNode"),!0;var r=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==r;if(a){var o=/gradient/.test(r);Uu.set("bgColor",o?"bgGradient":"bgImage")}return a},Zu={};se(Zu,{Colorjs:function(){return jc},CssSelectorParser:function(){return Wu.CssSelectorParser},doT:function(){return Ku.default},emojiRegexText:function(){return ru},memoize:function(){return Gu.default}});var Wu=le(he()),Ku=le(Ht()),Gu=le(Ut());function Yu(e,t){var n=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map((function(e){return[e]})));var r=t[0].length,a=t[0].map((function(e,n){return t.map((function(e){return e[n]}))})),o=e.map((function(e){return a.map((function(t){var n=0;if(!Array.isArray(e)){var r,a=ae(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;n+=e*o}}catch(e){a.e(e)}finally{a.f()}return n}for(var i=0;in)return+e.toFixed(t-n);var r=Math.pow(10,n-t);return Math.round(e/r)*r}function es(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,n=e.match(/^([a-z]+)\((.+?)\)$/i);if(n){var r=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function(e,n){/%$/.test(n)?(n=new Number(n.slice(0,-1)/100)).type="":/deg$/.test(n)?((n=new Number(+n.slice(0,-3))).type="",n.unit="deg"):t.test(n)&&((n=new Number(n)).type=""),e.startsWith("/")&&((n=n instanceof Number?n:new Number(n)).alpha=!0),r.push(n)})),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:r}}}}function ts(e){return e[e.length-1]}function ns(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function rs(e,t,n){return(n-e)/(t-e)}function as(e,t,n){return ns(t[0],t[1],rs(e[0],e[1],n))}function os(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 n=new String(t[1]);return n.range=[+t[2],+t[3]],n}return e}))}))}var is=Object.freeze({__proto__:null,isString:Qu,type:Xu,toPrecision:Ju,parseFunction:es,last:ts,interpolate:ns,interpolateInv:rs,mapRange:as,parseCoordGrammar:os,multiplyMatrices:Yu}),us=function(){function e(){ee(this,e)}return ne(e,[{key:"add",value:function(e,t,n){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][n?"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)}))}}]),e}(),ss=new us,ls={gamut_mapping:"lch.c",precision:5,deltaE:"76"},cs={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function ds(e){return Array.isArray(e)?e:cs[e]}function fs(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=ds(e),t=ds(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return n;var a={W1:e,W2:t,XYZ:n,options:r};if(ss.run("chromatic-adaptation-start",a),a.M||(a.W1===cs.D65&&a.W2===cs.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===cs.D50&&a.W2===cs.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),ss.run("chromatic-adaptation-end",a),a.M)return Yu(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var ps=(e=new WeakSet,t=new WeakMap,o=new WeakSet,function(){function n(r){var a,i,u,s,l,c,d;ee(this,n),V(this,o),V(this,e),$(this,t,{writable:!0,value:void 0}),this.id=r.id,this.name=r.name,this.base=r.base?n.get(r.base):null,this.aliases=r.aliases,this.base&&(this.fromBase=r.fromBase,this.toBase=r.toBase);var f=null!==(a=r.coords)&&void 0!==a?a:this.base.coords;this.coords=f;var p=null!==(i=null!==(u=r.white)&&void 0!==u?u:this.base.white)&&void 0!==i?i:"D65";for(var h in this.white=ds(p),this.formats=null!==(s=r.formats)&&void 0!==s?s:{},this.formats){var m=this.formats[h];m.type||(m.type="function"),m.name||(m.name=h)}!r.cssId||null!==(l=this.formats.functions)&&void 0!==l&&l.color?null===(c=this.formats)||void 0===c||!c.color||null!==(d=this.formats)&&void 0!==d&&d.color.id||(this.formats.color.id=this.id):(this.formats.color={id:r.cssId},Object.defineProperty(this,"cssId",{value:r.cssId})),this.referred=r.referred,H(this,t,U(this,o,ms).call(this).reverse()),ss.run("colorspace-init-end",this)}return ne(n,[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,n=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:n});var r=Object.values(this.coords);return e.every((function(e,t){var a=r[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=Q(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-n)&&(void 0===u||e<=u+n)}return!0}))}},{key:"cssId",get:function(){var e,t;return(null===(e=this.formats.functions)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.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=U(this,e,hs).call(this,t):(n="default"===t?Object.values(this.formats)[0]:this.formats[t])?n=U(this,e,hs).call(this,n):null;var n}},{key:"to",value:function(e,r){if(1===arguments.length){var a=[e.space,e.coords];e=a[0],r=a[1]}if(this===(e=n.get(e)))return r;r=r.map((function(e){return Number.isNaN(e)?0:e}));for(var o,i,u=q(this,t),s=q(e,t),l=0;li;c--)r=u[c].toBase(r);for(var d=i+1;d1?r-1:0),o=1;o=0){var s=Object.entries(r.coords)[a];if(s)return Y({space:r,id:s[0],index:a},s[1])}r=n.get(r);var l=a.toLowerCase(),c=0;for(var d in r.coords){var f,p=r.coords[d];if(d.toLowerCase()===l||(null===(f=p.name)||void 0===f?void 0:f.toLowerCase())===l)return Y({space:r,id:d,index:c},p);c++}throw new TypeError('No "'.concat(a,'" coordinate found in ').concat(r.name,". Its coordinates are: ").concat(Object.keys(r.coords).join(", ")))}}]),n}());function hs(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=os(e.coords);var t=Object.entries(this.coords).map((function(t,n){var r=Q(t,2),a=(r[0],r[1]),o=e.coordGrammar[n][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,n){return e.map((function(e,r){var a=t[r],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=as(o,i,e)),e=Ju(e,n),u&&(e+=u),e}))}}return e}function ms(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var gs=ps;ce(gs,"registry",{}),ce(gs,"DEFAULT_FORMAT",{type:"functions",name:"color"});var vs=new gs({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"]}),Ds=function(e){_(n,e);var t=I(n);function n(e){var r,a,o,i;return ee(this,n),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=vs),e.toXYZ_M&&e.fromXYZ_M&&(null!==(o=e.toBase)&&void 0!==o||(e.toBase=function(t){var n=Yu(e.toXYZ_M,t);return a.white!==a.base.white&&(n=fs(a.white,a.base.white,n)),n}),null!==(i=e.fromBase)&&void 0!==i||(e.fromBase=function(t){return t=fs(a.base.white,a.white,t),Yu(e.fromXYZ_M,t)})),null!==(r=e.referred)&&void 0!==r||(e.referred="display"),a=t.call(this,e)}return ne(n)}(gs);function bs(e){var t,n={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(ss.run("parse-start",n),n.color)return n.color;if(n.parsed=es(n.str),n.parsed){var r=function(){var e=n.parsed.name;if("color"===e){var t,r=n.parsed.args.shift(),a=n.parsed.rawArgs.indexOf("/")>0?n.parsed.args.pop():1,o=ae(gs.all);try{for(o.s();!(t=o.n()).done;){var i,u=t.value,s=u.getFormat("color");if(s&&(r===s.id||null!==(i=s.ids)&&void 0!==i&&i.includes(r))){var c=function(){var e=Object.keys(u.coords).length,t=Array(e).fill(0);return t.forEach((function(e,r){return t[r]=n.parsed.args[r]||0})),{v:{v:{spaceId:u.id,coords:t,alpha:a}}}}();if("object"===l(c))return c.v}}}catch(e){o.e(e)}finally{o.f()}var d="";if(r in gs.registry){var f,p,h,m=null===(f=gs.registry[r].formats)||void 0===f||null===(p=f.functions)||void 0===p||null===(h=p.color)||void 0===h?void 0:h.id;m&&(d="Did you mean color(".concat(m,")?"))}throw new TypeError("Cannot parse color(".concat(r,"). ")+(d||"Missing a plugin?"))}var g,v=ae(gs.all);try{var D=function(){var t=g.value,r=t.getFormat(e);if(r&&"function"===r.type){var a=1;(r.lastAlpha||ts(n.parsed.args).alpha)&&(a=n.parsed.args.pop());var o=n.parsed.args;return r.coordGrammar&&Object.entries(t.coords).forEach((function(t,n){var a,i=Q(t,2),u=i[0],s=i[1],l=r.coordGrammar[n],c=null===(a=o[n])||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(e,"()"))}var f=l.range;""===c&&(f||(f=[0,1]));var p=s.range||s.refRange;f&&p&&(o[n]=as(f,p,o[n]))})),{v:{v:{spaceId:t.id,coords:o,alpha:a}}}}};for(v.s();!(g=v.n()).done;){var b=D();if("object"===l(b))return b.v}}catch(e){v.e(e)}finally{v.f()}}();if("object"===l(r))return r.v}else{var a,o=ae(gs.all);try{for(o.s();!(a=o.n()).done;){var i=a.value;for(var u in i.formats){var s=i.formats[u];if("custom"===s.type&&(!s.test||s.test(n.str))){var c,d=s.parse(n.str);if(d)return null!==(c=d.alpha)&&void 0!==c||(d.alpha=1),d}}}}catch(e){o.e(e)}finally{o.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function ys(e){if(!e)throw new TypeError("Empty color reference");Qu(e)&&(e=bs(e));var t=e.space||e.spaceId;return t instanceof gs||(e.space=gs.get(t)),void 0===e.alpha&&(e.alpha=1),e}function ws(e,t){return(t=gs.get(t)).from(e)}function Fs(e,t){var n=gs.resolveCoord(t,e.space),r=n.space,a=n.index;return ws(e,r)[a]}function Es(e,t,n){return t=gs.get(t),e.coords=t.to(e.space,n),e}function Cs(e,t,n){if(e=ys(e),2===arguments.length&&"object"===Xu(arguments[1])){var r=arguments[1];for(var a in r)Cs(e,a,r[a])}else{"function"==typeof n&&(n=n(Fs(e,t)));var o=gs.resolveCoord(t,e.space),i=o.space,u=o.index,s=ws(e,i);s[u]=n,Es(e,i,s)}return e}var xs=new gs({id:"xyz-d50",name:"XYZ D50",white:"D50",base:vs,fromBase:function(e){return fs(vs.white,"D50",e)},toBase:function(e){return fs("D50",vs.white,e)},formats:{color:{}}}),As=24/116,ks=24389/27,Ts=cs.D50,Os=new gs({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Ts,base:xs,fromBase:function(e){var t=e.map((function(e,t){return e/Ts[t]})),n=t.map((function(e){return e>.008856451679035631?Math.cbrt(e):(ks*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[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]>As?Math.pow(t[0],3):(116*t[0]-16)/ks,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/ks,t[2]>As?Math.pow(t[2],3):(116*t[2]-16)/ks].map((function(e,t){return e*Ts[t]}))},formats:{lab:{coords:[" | ","",""]}}});function Ss(e){return(e%360+360)%360}var Ns=new gs({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:Os,fromBase:function(e){var t,n=Q(e,3),r=n[0],a=n[1],o=n[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),Ss(t)]},toBase:function(e){var t=Q(e,3),n=t[0],r=t[1],a=t[2];return r<0&&(r=0),isNaN(a)&&(a=0),[n,r*Math.cos(a*Math.PI/180),r*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:[" | ",""," | "]}}}),Rs=Math.pow(25,7),Bs=Math.PI,_s=180/Bs,Ms=Bs/180;function Is(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.kL,a=void 0===r?1:r,o=n.kC,i=void 0===o?1:o,u=n.kH,s=void 0===u?1:u,l=Q(Os.from(e),3),c=l[0],d=l[1],f=l[2],p=Ns.from(Os,[c,d,f])[1],h=Q(Os.from(t),3),m=h[0],g=h[1],v=h[2],D=Ns.from(Os,[m,g,v])[1];p<0&&(p=0),D<0&&(D=0);var b=(p+D)/2,y=Math.pow(b,7),w=.5*(1-Math.sqrt(y/(y+Rs))),F=(1+w)*d,E=(1+w)*g,C=Math.sqrt(Math.pow(F,2)+Math.pow(f,2)),x=Math.sqrt(Math.pow(E,2)+Math.pow(v,2)),A=0===F&&0===f?0:Math.atan2(f,F),k=0===E&&0===v?0:Math.atan2(v,E);A<0&&(A+=2*Bs),k<0&&(k+=2*Bs);var T,O=m-c,S=x-C,N=(k*=_s)-(A*=_s),R=A+k,B=Math.abs(N);C*x==0?T=0:B<=180?T=N:N>180?T=N-360:N<-180?T=N+360:console.log("the unthinkable has happened");var _,M=2*Math.sqrt(x*C)*Math.sin(T*Ms/2),I=(c+m)/2,P=(C+x)/2,L=Math.pow(P,7);_=C*x==0?R:B<=180?R/2:R<360?(R+360)/2:(R-360)/2;var j=Math.pow(I-50,2),$=1+.015*j/Math.sqrt(20+j),V=1+.045*P,z=1;z-=.17*Math.cos((_-30)*Ms),z+=.24*Math.cos(2*_*Ms),z+=.32*Math.cos((3*_+6)*Ms);var q=1+.015*P*(z-=.2*Math.cos((4*_-63)*Ms)),U=30*Math.exp(-1*Math.pow((_-275)/25,2)),H=2*Math.sqrt(L/(L+Rs)),Z=-1*Math.sin(2*U*Ms)*H,W=Math.pow(O/(a*$),2);return W+=Math.pow(S/(i*V),2),W+=Math.pow(M/(s*q),2),W+=Z*(S/(i*V))*(M/(s*q)),Math.sqrt(W)}var Ps=75e-6;function Ls(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,r=void 0===n?Ps:n;e=ys(e),t=gs.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:r})}function js(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function $s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.method,r=void 0===n?ls.gamut_mapping:n,a=t.space,o=void 0===a?e.space:a;if(Qu(arguments[1])&&(o=arguments[1]),Ls(e,o=gs.get(o),{epsilon:0}))return e;var i=Vs(e,o);if("clip"!==r&&!Ls(e,o)){var u=$s(js(i),{method:"clip",space:o});if(Is(e,u)>2){for(var s=gs.resolveCoord(r),l=s.space,c=s.id,d=Vs(i,l),f=(s.range||s.refRange)[0],p=Fs(d,c);p-f>.01;){var h=js(d);Is(d,h=$s(h,{space:o,method:"clip"}))-2<.01?f=Fs(d,c):p=Fs(d,c),Cs(d,c,(f+p)/2)}i=Vs(d,o)}else i=u}if("clip"===r||!Ls(i,o,{epsilon:0})){var m=Object.values(o.coords).map((function(e){return e.range||[]}));i.coords=i.coords.map((function(e,t){var n=Q(m[t],2),r=n[0],a=n[1];return void 0!==r&&(e=Math.max(r,e)),void 0!==a&&(e=Math.min(e,a)),e}))}return o!==e.space&&(i=Vs(i,e.space)),e.coords=i.coords,e}function Vs(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=ys(e);var r=(t=gs.get(t)).from(e),a={space:t,coords:r,alpha:e.alpha};return n&&(a=$s(a)),a}function zs(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?ls.precision:o,u=a.format,s=void 0===u?"default":u,l=a.inGamut,c=void 0===l||l,d=W(a,D),f=s;s=null!==(t=null!==(n=(e=ys(e)).space.getFormat(s))&&void 0!==n?n:e.space.getFormat("default"))&&void 0!==t?t:gs.DEFAULT_FORMAT,c||(c=s.toGamut);var p=e.coords;if(p=p.map((function(e){return e||0})),c&&!Ls(e)&&(p=$s(js(e),!0===c?void 0:c).coords),"custom"===s.type){if(d.precision=i,!s.serialize)throw new TypeError("format ".concat(f," can only be used to parse colors, not for serialization"));r=s.serialize(p,e.alpha,d)}else{var h=s.name||"color";s.serializeCoords?p=s.serializeCoords(p,i):null!==i&&(p=p.map((function(e){return Ju(e,i)})));var m=K(p);if("color"===h){var g,v=s.id||(null===(g=s.ids)||void 0===g?void 0:g[0])||e.space.id;m.unshift(v)}var b=e.alpha;null!==i&&(b=Ju(b,i));var y=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(b):"";r="".concat(h,"(").concat(m.join(s.commas?", ":" ")).concat(y,")")}return r}$s.returns="color",Vs.returns="color";var qs=new Ds({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:{}}}),Us=1.09929682680944,Hs=.018053968510807,Zs=new Ds({id:"rec2020",name:"REC.2020",base:qs,toBase:function(e){return e.map((function(e){return e<4.5*Hs?e/4.5:Math.pow((e+Us-1)/Us,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=Hs?Us*Math.pow(e,.45)-(Us-1):4.5*e}))},formats:{color:{}}}),Ws=new Ds({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]]}),Ks=new Ds({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:{}}}),Gs={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]},Ys=Array(3).fill(" | [0, 255]"),Qs=Array(3).fill("[0, 255]"),Xs=new Ds({id:"srgb",name:"sRGB",base:Ks,fromBase:function(e){return e.map((function(e){var t=e<0?-1:1,n=e*t;return n>.0031308?t*(1.055*Math.pow(n,1/2.4)-.055):12.92*e}))},toBase:function(e){return e.map((function(e){var t=e<0?-1:1,n=e*t;return n<.04045?e/12.92:t*Math.pow((n+.055)/1.055,2.4)}))},formats:{rgb:{coords:Ys},rgb_number:{name:"rgb",commas:!0,coords:Qs,noAlpha:!0},color:{},rgba:{coords:Ys,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:Qs},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 n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,r=void 0===n||n;t<1&&e.push(t),e=e.map((function(e){return Math.round(255*e)}));var a=r&&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=Gs.black,t.alpha=0):t.coords=Gs[e],t.coords)return t}}}}),Js=new Ds({id:"p3",name:"P3",base:Ws,fromBase:Xs.fromBase,toBase:Xs.toBase,formats:{color:{id:"display-p3"}}});if(ls.display_space=Xs,"undefined"!=typeof CSS&&CSS.supports)for(var el=0,tl=[Os,Zs,Js];el1&&void 0!==arguments[1]?arguments[1]:{},n=t.space,r=void 0===n?ls.display_space:n,a=W(t,b),o=zs(e,a);if("undefined"==typeof CSS||CSS.supports("color",o)||!ls.display_space)(o=new String(o)).color=e;else{var i=Vs(e,r);(o=new String(zs(i,a))).color=i}return o}function il(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",r=(n=gs.get(n)).from(e),a=n.from(t);return Math.sqrt(r.reduce((function(e,t,n){var r=a[n];return isNaN(t)||isNaN(r)?e:e+Math.pow(r-t,2)}),0))}function ul(e){return Fs(e,[vs,"y"])}function sl(e,t){Cs(e,[vs,"y"],t)}var ll=Object.freeze({__proto__:null,getLuminance:ul,setLuminance:sl,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return ul(this)},set:function(e){sl(this,e)}})}});function cl(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function dl(e){var t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}var fl=24/116,pl=24389/27,hl=cs.D65,ml=new gs({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:hl,base:vs,fromBase:function(e){var t=e.map((function(e,t){return e/hl[t]})),n=t.map((function(e){return e>.008856451679035631?Math.cbrt(e):(pl*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[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]>fl?Math.pow(t[0],3):(116*t[0]-16)/pl,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/pl,t[2]>fl?Math.pow(t[2],3):(116*t[2]-16)/pl].map((function(e,t){return e*hl[t]}))},formats:{"lab-d65":{coords:[" | ","",""]}}}),gl=.5*Math.pow(5,.5)+.5,vl=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=ys(e),t=ys(t);var n=Math.max(ul(e),0),r=Math.max(ul(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}return(n+.05)/(r+.05)},contrastAPCA:function(e,t){var n,r,a,o;t=ys(t),e=ys(e);var i=Q((t=Vs(t,"srgb")).coords,3);r=i[0],a=i[1],o=i[2];var u=.2126729*dl(r)+.7151522*dl(a)+.072175*dl(o),s=Q((e=Vs(e,"srgb")).coords,3);r=s[0],a=s[1],o=s[2];var l=.2126729*dl(r)+.7151522*dl(a)+.072175*dl(o),c=cl(u),d=cl(l),f=d>c;return n=Math.abs(d-c)<5e-4?0:f?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(n)<.1?0:n>0?n-.027:n+.027)},contrastMichelson:function(e,t){e=ys(e),t=ys(t);var n=Math.max(ul(e),0),r=Math.max(ul(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}var o=n+r;return 0===o?0:(n-r)/o},contrastWeber:function(e,t){e=ys(e),t=ys(t);var n=Math.max(ul(e),0),r=Math.max(ul(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}return 0===r?5e4:(n-r)/r},contrastLstar:function(e,t){e=ys(e),t=ys(t);var n=Fs(e,[Os,"l"]),r=Fs(t,[Os,"l"]);return Math.abs(n-r)},contrastDeltaPhi:function(e,t){e=ys(e),t=ys(t);var n=Fs(e,[ml,"l"]),r=Fs(t,[ml,"l"]),a=Math.abs(Math.pow(n,gl)-Math.pow(r,gl)),o=Math.pow(a,1/gl)*Math.SQRT2-40;return o<7.5?0:o}});function Dl(e){var t=Q(ws(e,vs),3),n=t[0],r=t[1],a=n+15*r+3*t[2];return[4*n/a,9*r/a]}function bl(e){var t=Q(ws(e,vs),3),n=t[0],r=t[1],a=n+r+t[2];return[n/a,r/a]}var yl=Object.freeze({__proto__:null,uv:Dl,xy:bl,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Dl(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return bl(this)}})}}),wl=Math.PI/180,Fl=new gs({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:vs,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)}))}}),El=1.15,Cl=.66,xl=2610/Math.pow(2,14),Al=Math.pow(2,14)/2610,kl=3424/Math.pow(2,12),Tl=2413/Math.pow(2,7),Ol=2392/Math.pow(2,7),Sl=1.7*2523/Math.pow(2,5),Nl=Math.pow(2,5)/(1.7*2523),Rl=-.56,Bl=16295499532821565e-27,_l=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Ml=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Il=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Pl=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Ll=new gs({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Fl,fromBase:function(e){var t=Q(e,3),n=t[0],r=t[1],a=t[2],o=Yu(_l,[El*n-(El-1)*a,Cl*r-(Cl-1)*n,a]).map((function(e){var t=kl+Tl*Math.pow(e/1e4,xl),n=1+Ol*Math.pow(e/1e4,xl);return Math.pow(t/n,Sl)})),i=Q(Yu(Il,o),3),u=i[0],s=i[1],l=i[2];return[(1+Rl)*u/(1+Rl*u)-Bl,s,l]},toBase:function(e){var t=Q(e,3),n=t[0],r=t[1],a=t[2],o=Yu(Pl,[(n+Bl)/(1+Rl-Rl*(n+Bl)),r,a]).map((function(e){var t=kl-Math.pow(e,Nl),n=Ol*Math.pow(e,Nl)-Tl;return 1e4*Math.pow(t/n,Al)})),i=Q(Yu(Ml,o),3),u=i[0],s=i[1],l=i[2],c=(u+(El-1)*l)/El;return[c,(s+(Cl-1)*c)/Cl,l]},formats:{color:{}}}),jl=new gs({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:Ll,fromBase:function(e){var t,n=Q(e,3),r=n[0],a=n[1],o=n[2],i=2e-4;return t=Math.abs(a) | ","",""]}}}),tc=Object.freeze({__proto__:null,deltaE76:function(e,t){return il(e,t,"lab")},deltaECMC:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.l,a=void 0===r?2:r,o=n.c,i=void 0===o?1:o,u=Q(Os.from(e),3),s=u[0],l=u[1],c=u[2],d=Q(Ns.from(Os,[s,l,c]),3),f=d[1],p=d[2],h=Q(Os.from(t),3),m=h[0],g=h[1],v=h[2],D=Ns.from(Os,[m,g,v])[1];f<0&&(f=0),D<0&&(D=0);var b=s-m,y=f-D,w=l-g,F=c-v,E=Math.pow(w,2)+Math.pow(F,2)-Math.pow(y,2),C=.511;s>=16&&(C=.040975*s/(1+.01765*s));var x,A=.0638*f/(1+.0131*f)+.638;Number.isNaN(p)&&(p=0),x=p>=164&&p<=345?.56+Math.abs(.2*Math.cos((p+168)*wl)):.36+Math.abs(.4*Math.cos((p+35)*wl));var k=Math.pow(f,4),T=Math.sqrt(k/(k+1900)),O=A*(T*x+1-T),S=Math.pow(b/(a*C),2);return S+=Math.pow(y/(i*A),2),S+=E/Math.pow(O,2),Math.sqrt(S)},deltaE2000:Is,deltaEJz:function(e,t){var n=Q(jl.from(e),3),r=n[0],a=n[1],o=n[2],i=Q(jl.from(t),3),u=i[0],s=i[1],l=i[2],c=r-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 f=o-l,p=2*Math.sqrt(a*s)*Math.sin(f/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(p,2))},deltaEITP:function(e,t){var n=Q(Gl.from(e),3),r=n[0],a=n[1],o=n[2],i=Q(Gl.from(t),3),u=i[0],s=i[1],l=i[2];return 720*Math.sqrt(Math.pow(r-u,2)+.25*Math.pow(a-s,2)+Math.pow(o-l,2))},deltaEOK:function(e,t){var n=Q(ec.from(e),3),r=n[0],a=n[1],o=n[2],i=Q(ec.from(t),3),u=r-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 nc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Qu(n)&&(n={method:n});var r=n,a=r.method,o=void 0===a?ls.deltaE:a,i=W(r,w);for(var u in e=ys(e),t=ys(t),tc)if("deltae"+o.toLowerCase()===u.toLowerCase())return tc[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var rc=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Cs(e,[gs.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 Cs(e,[gs.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function ac(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[ys(e),ys(t)];if(e=a[0],t=a[1],"object"===Xu(n)){var o=[.5,n];n=o[0],r=o[1]}var i=r;return ic(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(n)}function oc(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(uc(e)){r=t;var a=Q((n=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=r,i=o.maxDeltaE,u=o.deltaEMethod,s=o.steps,l=void 0===s?2:s,c=o.maxSteps,d=void 0===c?1e3:c,f=W(o,F);if(!n){var p=[ys(e),ys(t)];n=ic(e=p[0],t=p[1],f)}var h=nc(e,t),m=i>0?Math.max(l,Math.ceil(h/i)+1):l,g=[];if(void 0!==d&&(m=Math.min(m,d)),1===m)g=[{p:.5,color:n(.5)}];else{var v=1/(m-1);g=Array.from({length:m},(function(e,t){var r=t*v;return{p:r,color:n(r)}}))}if(i>0)for(var D=g.reduce((function(e,t,n){if(0===n)return 0;var r=nc(t.color,g[n-1].color,u);return Math.max(e,r)}),0);D>i;){D=0;for(var b=1;b2&&void 0!==arguments[2]?arguments[2]:{};if(uc(e)){var r=e,a=t;return ic.apply(void 0,K(r.rangeArgs.colors).concat([Y({},r.rangeArgs.options,a)]))}var o=n.space,i=n.outputSpace,u=n.progression,s=n.premultiplied;e=ys(e),t=ys(t),e=js(e),t=js(t);var l={colors:[e,t],options:n};if(o=o?gs.get(o):gs.registry[ls.interpolationSpace]||e.space,i=i?gs.get(i):o,e=Vs(e,o),t=Vs(t,o),e=$s(e),t=$s(t),o.coords.h&&"angle"===o.coords.h.type){var c=n.hue=n.hue||"shorter",d=[o,"h"],f=[Fs(e,d),Fs(t,d)],p=f[0],h=f[1],m=function(e,t){if("raw"===e)return t;var n=Q(t.map(Ss),2),r=n[0],a=n[1],o=a-r;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(r+=360):"longer"===e?-1800?a+=360:r+=360):"shorter"===e&&(o>180?r+=360:o<-180&&(a+=360)),[r,a]}(c,[p,h]),g=Q(m,2);p=g[0],h=g[1],Cs(e,d,p),Cs(t,d,h)}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(n){n=u?u(n):n;var r=e.coords.map((function(e,r){return ns(e,t.coords[r],n)})),a=ns(e.alpha,t.alpha,n),l={space:o,coords:r,alpha:a};return s&&(l.coords=l.coords.map((function(e){return e/a}))),i!==o&&(l=Vs(l,i)),l}),{rangeArgs:l})}function uc(e){return"function"===Xu(e)&&!!e.rangeArgs}ls.interpolationSpace="lab";var sc=Object.freeze({__proto__:null,mix:ac,steps:oc,range:ic,isRange:uc,register:function(e){e.defineFunction("mix",ac,{returns:"color"}),e.defineFunction("range",ic,{returns:"function"}),e.defineFunction("steps",oc,{returns:"array"})}}),lc=new gs({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:Xs,fromBase:function(e){var t=Math.max.apply(Math,K(e)),n=Math.min.apply(Math,K(e)),r=Q(e,3),a=r[0],o=r[1],i=r[2],u=NaN,s=0,l=(n+t)/2,c=t-n;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}}}),cc=new gs({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:lc,fromBase:function(e){var t=Q(e,3),n=t[0],r=t[1],a=t[2],o=(a/=100)+(r/=100)*Math.min(a,1-a);return[n,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=Q(e,3),n=t[0],r=t[1],a=t[2],o=(a/=100)*(1-(r/=100)/2);return[n,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),dc=new gs({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:cc,fromBase:function(e){var t=Q(e,3),n=t[0],r=t[1],a=t[2];return[n,a*(100-r)/100,100-a]},toBase:function(e){var t=Q(e,3),n=t[0],r=t[1],a=t[2],o=(r/=100)+(a/=100);if(o>=1)return[n,0,r/o*100];var i=1-a;return[n,100*(0===i?0:1-r/i),100*i]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),fc=new Ds({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]]}),pc=new Ds({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:fc,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"}}}),hc=new Ds({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:xs,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]]}),mc=new Ds({id:"prophoto",name:"ProPhoto",base:hc,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>=.001953125?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),gc=new gs({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:ec,fromBase:function(e){var t,n=Q(e,3),r=n[0],a=n[1],o=n[2],i=2e-4;return t=Math.abs(a) | ",""," | "]}}}),vc=2610/Math.pow(2,14),Dc=Math.pow(2,14)/2610,bc=2523/Math.pow(2,5),yc=Math.pow(2,5)/2523,wc=3424/Math.pow(2,12),Fc=2413/Math.pow(2,7),Ec=2392/Math.pow(2,7),Cc=new Ds({id:"rec2100pq",name:"REC.2100-PQ",base:qs,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,yc)-wc,0)/(Fc-Ec*Math.pow(e,yc)),Dc)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),n=wc+Fc*Math.pow(t,vc),r=1+Ec*Math.pow(t,vc);return Math.pow(n/r,bc)}))},formats:{color:{id:"rec2100-pq"}}}),xc=.17883277,Ac=.28466892,kc=.55991073,Tc=3.7743,Oc=new Ds({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:qs,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*Tc:Math.exp((e-kc)/xc+Ac)/12*Tc}))},fromBase:function(e){return e.map((function(e){return(e/=Tc)<=1/12?Math.sqrt(3*e):xc*Math.log(12*e-Ac)+kc}))},formats:{color:{id:"rec2100-hlg"}}}),Sc={};function Nc(e){var t=e.id;e.toCone_M,e.fromCone_M,Sc[t]=arguments[0]}function Rc(e,t){var n=Sc[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],r=Q(Yu(n.toCone_M,e),3),a=r[0],o=r[1],i=r[2],u=Q(Yu(n.toCone_M,t),3),s=Yu([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],n.toCone_M);return Yu(n.fromCone_M,s)}ss.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=Rc(e.W1,e.W2,e.options.method))})),ss.add("chromatic-adaptation-end",(function(e){e.M||(e.M=Rc(e.W1,e.W2,e.options.method))})),Nc({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]]}),Nc({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]]}),Nc({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]]}),Nc({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(cs,{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]}),cs.ACES=[.32168/.33767,1,.34065/.33767];var Bc=new Ds({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:cs.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:{}}}),_c=Math.pow(2,-16),Mc=-.35828683,Ic=(Math.log2(65504)+9.72)/17.52,Pc=new Ds({id:"acescc",name:"ACEScc",coords:{r:{range:[Mc,Ic],name:"Red"},g:{range:[Mc,Ic],name:"Green"},b:{range:[Mc,Ic],name:"Blue"}},referred:"scene",base:Bc,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-_c):e1?n-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:n,a=r.instance,o=void 0===a||a,i=r.returns,u=function(){var t=n.apply(void 0,arguments);if("color"===i)t=e.get(t);else if("function"===i){var r=t;t=function(){var t=r.apply(void 0,arguments);return e.get(t)},Object.assign(t,r)}else"array"===i&&(t=t.map((function(t){return e.get(t)})));return t};t in e||(e[t]=u),o&&(e.prototype[t]=function(){for(var e=arguments.length,t=new Array(e),n=0;n=0)return e[a]}return Reflect.get(e,n,r)},set:function(r,a,o,i){if(a&&"symbol"!==l(a)&&!(a in r)||a>=0){var u=gs.resolveCoord([t,a]).index;if(u>=0)return r[u]=o,n.setAll(e,r),!0}return Reflect.set(r,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}ss.add("colorspace-init-end",(function(e){var t;Uc(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){Uc(t,e)}))})),jc.extend(tc),jc.extend({deltaE:nc}),jc.extend(rc),jc.extend({contrast:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Qu(n)&&(n={algorithm:n});var r=n,a=r.algorithm,o=W(r,y);if(!a){var i=Object.keys(vl).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=ys(e),t=ys(t),vl)if("contrast"+a.toLowerCase()===u.toLowerCase())return vl[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),jc.extend(yl),jc.extend(ll),jc.extend(sc),jc.extend(vl);var Hc=le(Zt()),Zc=le(Wt());le(Kt()),Ku.default.templateSettings.strip=!1,"Promise"in i||Hc.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=Zc.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}));var Wc=/^#[0-9a-f]{3,8}$/i,Kc=/hsl\(\s*([\d.]+)(rad|turn)/,Gc=function(){function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;ee(this,e),this.red=t,this.green=n,this.blue=r,this.alpha=a}return ne(e,[{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),n=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?n:"0"+n)}},{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(Kc,(function(e,t,n){var r=t+n;switch(n){case"rad":return e.replace(r,180*t/Math.PI);case"turn":return e.replace(r,360*t)}}));try{var t=new jc(e).to("srgb");this.red=Math.round(255*Qc(t.r,0,1)),this.green=Math.round(255*Qc(t.g,0,1)),this.blue=Math.round(255*Qc(t.b,0,1)),this.alpha=+t.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(Wc)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.red/255,t=this.green/255,n=this.blue/255;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*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))}}]),e}(),Yc=Gc;function Qc(e,t,n){return Math.min(Math.max(t,e),n)}var Xc=function(e){var t=new Yc;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var n=e.getPropertyValue("opacity");t.alpha=t.alpha*n}return t},Jc=function(e){var t=i.getComputedStyle(e);return Hu(e,t)||1===Xc(t).alpha};function ed(e){if(!e.href)return!1;var t=Wn.get("firstPageLink",td);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function td(){return(i.location.origin?Hf(c._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!wo(e.actualNode)})):Hf(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var nd=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,rd=/(\w+)\((\d+)/;var ad=function e(t,n,r){var a;if(!t)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var o=t instanceof Jt?t:Kn(t);t=o?o.actualNode:t;var u="_isVisible"+(n?"ScreenReader":""),s=null!==(a=i.Node)&&void 0!==a?a:{},l=s.DOCUMENT_NODE,d=s.DOCUMENT_FRAGMENT_NODE,f=o?o.props.nodeType:t.nodeType,p=o?o.props.nodeName:t.nodeName.toLowerCase();if(o&&void 0!==o[u])return o[u];if(f===l)return!0;if(["style","script","noscript","template"].includes(p))return!1;if(t&&f===d&&(t=t.host),n&&"true"===(o?o.attr("aria-hidden"):t.getAttribute("aria-hidden")))return!1;if(!t){var h=o.parent,m=!0;return h&&(m=e(h,n,!0)),o&&(o[u]=m),m}var g=i.getComputedStyle(t,null);if(null===g)return!1;if("area"===p)return function(t,n,r){var a=va(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var i=ha(t);if(!i||9!==i.nodeType)return!1;var u=Hf(c._tree,'img[usemap="#'.concat(gn(o),'"]'));return!(!u||!u.length)&&u.some((function(t){return e(t.actualNode,n,r)}))}(t,n,r);if("none"===g.getPropertyValue("display"))return!1;var v=parseInt(g.getPropertyValue("height")),D=parseInt(g.getPropertyValue("width")),b=of(t),y=b&&0===v,w=b&&0===D,F="absolute"===g.getPropertyValue("position")&&(v<2||D<2)&&"hidden"===g.getPropertyValue("overflow");if(!n&&(function(e){var t=e.getPropertyValue("clip").match(nd),n=e.getPropertyValue("clip-path").match(rd);if(t&&5===t.length){var r=e.getPropertyValue("position");if(["fixed","absolute"].includes(r))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(n){var a=n[1],o=parseInt(n[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(g)||"0"===g.getPropertyValue("opacity")||y||w||F))return!1;if(!r&&("hidden"===g.getPropertyValue("visibility")||!n&&Ua(t)))return!1;var E=t.assignedSlot?t.assignedSlot:t.parentNode,C=!1;return E&&(C=e(E,n,!0)),o&&(o[u]=C),C},od=function(e,t){for(var n=["fixed","sticky"],r=[],a=!1,o=0;oMath.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))}))}var ld=function e(t,n){var r=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(r.elementsFromPoint(t,n)||[]).filter((function(e){return ha(e)===r})).reduce((function(r,o){if(da(o)){var i=e(t,n,o.shadowRoot,a+1);(r=r.concat(i)).length&&id(r[0],o)&&r.push(o)}else r.push(o);return r}),[])};function cd(e){var t={};if(!e||!e.length)return t;var n=e.substring(1).split("&");if(!n||!n.length)return t;for(var r=0;rl&&e.left>n.right||e.top>u&&e.top>n.bottom||e.rightn.right||e.top>n.bottom)||"scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement},gd=0,vd=function(e){_(n,e);var t=I(n);function n(e,r,a){var o;if(ee(this,n),(o=t.call(this)).shadowId=a,o.children=[],o.actualNode=e,o.parent=r,r||(gd=0),o.nodeIndex=gd++,o._isHidden=null,o._cache={},void 0===fd&&(fd=Cn(e.ownerDocument)),o._isXHTML=fd,"input"===e.nodeName.toLowerCase()){var i=e.getAttribute("type");i=o._isXHTML?i:(i||"").toLowerCase(),rp().includes(i)||(i="text"),o._type=i}return Wn.get("nodeMap")&&Wn.get("nodeMap").set(e,P(o)),o}return ne(n,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,n=e.nodeName,r=e.id,a=e.multiple,o=e.nodeValue,i=e.value,u=e.selected,s=e.checked,l=e.indeterminate;this._cache.props={nodeType:t,nodeName:this._isXHTML?n:n.toLowerCase(),id:r,type:this._type,multiple:a,nodeValue:o,value:i,selected:u,checked:s,indeterminate:l}}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=ai(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Mo(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}}]),n}(Jt),Dd=vd,bd=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},yd=" [idsMap]";function wd(e,t,n){var r=e[0]._selectorMap;if(r){for(var a=e[0].shadowId,o=0;o1&&t[o].some((function(e){return Fd(e)})))return;var i=new Set;t.forEach((function(e){var t,n=function(e,t,n){var r=e[e.length-1],a=null,o=e.length>1||!!r.pseudos||!!r.classes;if(Fd(r))a=t["*"];else{if(r.id){var i;if(!t[yd]||null===(i=t[yd][r.id])||void 0===i||!i.length)return;a=t[yd][r.id].filter((function(e){return e.shadowId===n}))}if(r.tag&&"*"!==r.tag){var u;if(null===(u=t[r.tag])||void 0===u||!u.length)return;var s=t[r.tag];a=a?Ed(s,a):s}if(r.classes){var l;if(null===(l=t["[class]"])||void 0===l||!l.length)return;var c=t["[class]"];a=a?Ed(c,a):c}if(r.attributes)for(var d=0;d0&&void 0!==arguments[0]?arguments[0]:s.documentElement,t=arguments.length>1?arguments[1]:void 0;pd=!1;var n={};Wn.set("nodeMap",new WeakMap),Wn.set("selectorMap",n);var r=kd(e,t,null);return r[0]._selectorMap=n,r[0]._hasShadowRoot=pd,r},Od=function(e){return e?e.trim().split("-")[0].toLowerCase():""},Sd=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 n=c._audit.data.failureSummaries[e];return n&&"function"==typeof n.failureMessage?n.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\n\n")};function Nd(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var Rd=Yt.resultGroups,Bd=function(e,t){var n=c.utils.aggregateResult(e);return Rd.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(n[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])})),n[e]=(n[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map((function(e){return"object"===l(e.node)&&(e.html=e.node.source,t.elementRef&&!e.node.fromFrame&&(e.element=e.node.element),(!1!==t.selectors||e.node.fromFrame)&&(e.target=e.node.selector),t.ancestry&&(e.ancestry=e.node.ancestry),t.xpath&&(e.xpath=e.node.xpath)),delete e.result,delete e.node,function(e,t){["any","all","none"].forEach((function(n){Array.isArray(e[n])&&e[n].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){var n,r,a,o,i,u={html:null!==(n=null==e?void 0:e.source)&&void 0!==n?n:"Undefined"};return!t.elementRef||null!=e&&e.fromFrame||(u.element=null!==(r=null==e?void 0:e.element)&&void 0!==r?r:null),(!1!==t.selectors||null!=e&&e.fromFrame)&&(u.target=null!==(a=null==e?void 0:e.selector)&&void 0!==a?a:[":root"]),t.ancestry&&(u.ancestry=null!==(o=null==e?void 0:e.ancestry)&&void 0!==o?o:[":root"]),t.xpath&&(u.xpath=null!==(i=null==e?void 0:e.xpath)&&void 0!==i?i:["/"]),u}))}))}))}(e,t),e}))),Rd.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),n},_d=/\$\{\s?data\s?\}/g;function Md(e,t){if("string"==typeof t)return e.replace(_d,t);for(var n in t)if(t.hasOwnProperty(n)){var r=new RegExp("\\${\\s?data\\."+n+"\\s?}","g"),a=void 0===t[n]?"":String(t[n]);e=e.replace(r,a)}return e}var Id=function e(t,n){if(t){if(Array.isArray(n))return n.values=n.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?Md(1===n.length?t.singular:t.plural,n):Md(t,n);if("string"==typeof t)return Md(t,n);if("string"==typeof n)return Md(t[n],n);var r=t.default||Nd();return n&&n.messageKey&&t[n.messageKey]&&(r=t[n.messageKey]),e(r,n)}},Pd=function(e,t,n){var r=c._audit.data.checks[e];if(!r)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!r.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return Id(r.messages[t],n)},Ld=function(e,t,n){var r=((n.rules&&n.rules[t]||{}).checks||{})[e.id],a=(n.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),r&&(r.hasOwnProperty("enabled")&&(o=r.enabled),r.hasOwnProperty("options")&&(i=r.options)),{enabled:o,options:i,absolutePaths:n.absolutePaths}};function jd(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===l(t)?t:"object"!==l(n)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:$d(n),timestamp:(new Date).toISOString(),url:null===(e=n.location)||void 0===e?void 0:e.href}}function $d(e){if(!e.navigator||"object"!==l(e.navigator))return{};var t,n=e.navigator,r=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:n.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:u}}function Vd(e,t){var n=t.focusable,r=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:n&&zd(e),size:qd(e),page:r}}function zd(e){var t=e.getAttribute("tabindex");if(!t)return!0;var n=parseInt(t,10);return isNaN(n)||n>=0}function qd(e){var t=parseInt(e.getAttribute("width"),10),n=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(n)){var r=e.getBoundingClientRect();t=isNaN(t)?r.width:t,n=isNaN(n)?r.height:n}return{width:t,height:n}}function Ud(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];Qd(t)||(t=[t]);for(var r=0;r1)tf(e,t,o);else{var u=tp(o[0]);n.push.apply(n,K(u.map((function(e){return Kn(e)}))))}}return n.filter((function(e){return e}))}function tf(e,t,n){e.frames=e.frames||[],tp(n.shift()).forEach((function(r){var a=e.frames.find((function(e){return e.node===r}));a||(a=Vd(r,e),e.frames.push(a)),a[t].push(n)}))}function nf(e,t){var n,r,a,o,u,c=this;e=Xn(e),this.frames=[],this.page="boolean"==typeof(null===(n=e)||void 0===n?void 0:n.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(r=e)||void 0===r?void 0:r.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(Hd(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Xd(!Jd(e,"fromFrames"),"fromFrames"+t),Xd(!Jd(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Zd(e))return{include:[s],exclude:[]};e={include:e,exclude:[]}}var n=Ud(e.include);return 0===n.length&&n.push(s),{include:n,exclude:Ud(e.exclude)}}(e),this.flatTree=null!=t?t:Td(function(e){for(var t=e.include,n=e.exclude,r=Array.from(t).concat(Array.from(n)),a=0;a1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new nf(e).frames.map((function(e){var t=e.node,n=W(e,E);return n.initiator=!1,{frameSelector:zn(t),frameContext:n}}))}var af=function(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 of(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.scrollWidth>e.clientWidth+t,r=e.scrollHeight>e.clientHeight+t;if(n||r){var a=i.getComputedStyle(e),o=uf(a,"overflow-x"),u=uf(a,"overflow-y");return n&&o||r&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}function uf(e,t){var n=e.getPropertyValue(t);return["scroll","auto"].includes(n)}function sf(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var n=of(t);return n&&e.push(n),e.concat(sf(t))}),[])}var lf=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(sf(s.body))};function cf(){return Xn(Ho)}var df,ff=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var n=t.data,r=t.isCrossOrigin,a=void 0!==r&&r,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(n.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(n));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:u}}},pf=function(e){if(df&&df.parentNode)return void 0===df.styleSheet?df.appendChild(s.createTextNode(e)):df.styleSheet.cssText+=e,df;if(e){var t=s.head||s.getElementsByTagName("head")[0];return(df=s.createElement("style")).type="text/css",void 0===df.styleSheet?df.appendChild(s.createTextNode(e)):df.styleSheet.cssText=e,t.appendChild(df),df}},hf=function e(t,n){var r=Kn(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),r&&null!==r._isHidden)return r._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!n&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return r&&(r._isHidden=o),o},mf=function(e){var t,n,r=null!==(t=null===(n=e.props)||void 0===n?void 0:n.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!Ho.htmlElms[r]};function gf(e,t){var n=t.include,r=void 0===n?[]:n,a=t.exclude,o=void 0===a?[]:a,i=r.filter((function(t){return ua(t,e)}));if(0===i.length)return!1;var u=o.filter((function(t){return ua(t,e)}));if(0===u.length)return!0;var s=vf(i);return ua(vf(u),s)}function vf(e){var t,n,r=ae(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;t&&ua(a,t)||(t=a)}}catch(e){r.e(e)}finally{r.f()}return t}var Df=function(e,t){return e.length===t.length&&e.every((function(e,n){var r=t[n];return Array.isArray(e)?e.length===r.length&&e.every((function(e,t){return r[t]===e})):e===r}))},bf=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function yf(e){return e instanceof Jt?{vNode:e,domNode:e.actualNode}:{vNode:Kn(e),domNode:e}}var wf,Ff,Ef,Cf,xf=function(e,t,n,r){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:n,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!r.includes(e)})).map((function(e,a){var o=[].concat(K(n),[a]),i=/^https?:\/\/|^\/\//i.test(e);return kf(e,t,o,r,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:n,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)},Af=function(e,t,n,r){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)?xf(e,t,n,r,a):kf(e.href,t,n,r,!0)},kf=function(e,t,n,r,a){return r.push(e),new Promise((function(t,n){var r=new i.XMLHttpRequest;r.open("GET",e),r.timeout=Yt.preload.timeout,r.addEventListener("error",n),r.addEventListener("timeout",n),r.addEventListener("loadend",(function(e){if(e.loaded&&r.responseText)return t(r.responseText);n(r.responseText)})),r.send()})).then((function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:n,root:t.rootNode,shadowId:t.shadowId});return Af(o.sheet,t,n,r,o.isCrossOrigin)}))},Tf=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=null,n=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,n){i.performance&&void 0!==i.performance.measure&&i.performance.measure(e,t,n)},logMeasures:function(e){function t(e){Qt("Measure "+e.name+" took "+e.duration+"ms")}if(i.performance&&void 0!==i.performance.getEntriesByType)for(var n=i.performance.getEntriesByName("mark_axe_start")[0],r=i.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=n.startTime})),a=0;a>>0,a=arguments[1],o=0;o>>0,o=0;o=0?r=o:(r=n+o)<0&&(r=0);r>>0,r=arguments.length>=2?arguments[1]:void 0,a=0;a0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),Ef)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,r=arguments.length>1?arguments[1]:void 0;if(void 0!==r){if(!Ff(r))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(n=arguments[2])}for(var a,o=Cf(t.length),i=Ff(this)?Object(new this(o)):new Array(o),u=0;uthis.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(n,r){return Array.isArray(r)?n.push.apply(n,e.call(r,t-1)):n.push(r),n}),[]):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 Nf=function(e,t){return e.concat(t).filter((function(e,t,n){return n.indexOf(e)===t}))};function Rf(e,t,n,r,a){var o=a||{};return o.vNodes=e,o.vNodesIndex=0,o.anyLevel=t,o.thisLevel=n,o.parentShadowId=r,o}var Bf=[],_f=function(e,t,n){e=Array.isArray(e)?e:[e];var r=lr(t);return wd(e,r,n)||function(e,t,n){for(var r=[],a=Rf(Array.isArray(e)?e:[e],t,null,e[0].shadowId,Bf.pop()),o=[];a.vNodesIndex"].includes(D[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+v[1].combinator);">"===D[0].combinator?(l=l||[]).push(D):(c=c||[]).push(D)}v[0].id&&s.shadowId!==a.parentShadowId||null===(g=a.anyLevel)||void 0===g||!g.includes(v)||(c=c||[]).push(v)}for(s.children&&s.children.length&&(r.push(a),a=Rf(s.children,c,l,s.shadowId,Bf.pop()));a.vNodesIndex===a.vNodes.length&&r.length;)Bf.push(a),a=r.pop()}return o}(e,r,n)},Mf=function(e){var t=e.treeRoot,n=function(e){var t=[],n=_f(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:pa(e.actualNode)}}));return Nf(n,[])}(void 0===t?c._tree[0]:t);if(!n.length)return Promise.resolve();var r=s.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var n=[];return e.forEach((function(e,r){var a=e.rootNode,o=e.shadowId,i=function(e,t,n){var r;return r=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(Pf).reduce((function(n,r){var a=r.nodeName.toUpperCase(),o="STYLE"===a?r.textContent:r,i=t({data:o,isLink:"LINK"===a,root:e});return n.push(i.sheet),n}),[])}(e,n):function(e){return Array.from(e.styleSheets).filter((function(e){return!!e.media&&Lf(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)}))}(r)}(a,o,t);if(!i)return Promise.all(n);var u=r+1,s={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(i.map((function(e,t){return Af(e,s,[u,t],l)})));n.push(c)})),Promise.all(n)}(n,ff(r)).then((function(e){return If(e)}))};function If(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(If(t)):e.concat(t)}),[])}function Pf(e){var t=e.nodeName.toUpperCase(),n=e.getAttribute("href"),r=e.getAttribute("rel"),a="LINK"===t&&n&&r&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&Lf(e.media)}function Lf(e){return!e||!e.toUpperCase().includes("PRINT")}var jf=function(e){var t=e.treeRoot,n=void 0===t?c._tree[0]:t,r=_f(n,"video, audio",(function(e){var t=e.actualNode;return t.hasAttribute("src")?!!t.getAttribute("src"):!(Array.from(t.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0)}));return Promise.all(r.map((function(e){var t,n=e.actualNode;return t=n,new Promise((function(e){t.readyState>0&&e(t),t.addEventListener("loadedmetadata",(function n(){t.removeEventListener("loadedmetadata",n),e(t)}))}))})))};function $f(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 Vf(e){var t=Yt.preload,n=t.assets,r=t.timeout,a={assets:n,timeout:r};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every((function(e){return n.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(n.join(", "),"."));return a.assets=Nf(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}var zf=function(e){var t={cssom:Mf,media:jf};return $f(e)?new Promise((function(n,r){var a=Vf(e),o=a.assets,i=a.timeout,u=setTimeout((function(){return r(new Error("Preload assets timed out."))}),i);Promise.all(o.map((function(n){return t[n](e).then((function(e){return function(e,t,n){return(t=re(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return Y({},e,t)}),{});clearTimeout(u),n(t)})).catch((function(e){clearTimeout(u),r(e)}))})):Promise.resolve()};function qf(e,t,n){return function(r){var a=e[r.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,n.reviewOnFail||void 0!==r.result?i.message=r.result===t?o.pass:o.fail:("object"!==l(o.incomplete)||Array.isArray(r.data)||(i.message=function(e,t){function n(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:Nd()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:n(t);try{var r=t.incomplete[e.missingData[0].reason];if(!r)throw new Error;return r}catch(r){return"string"==typeof e.missingData?t.incomplete[e.missingData]:n(t)}}(r.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=Id(i.message,r.data)),la(r,i)}}var Uf=function(e){var t=c._audit.data.checks||{},n=c._audit.data.rules||{},r=ra(c._audit.rules,"id",e.id)||{};e.tags=Xn(r.tags||[]);var a=qf(t,!0,r),o=qf(t,!1,r);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),la(e,Xn(n[e.id]||{}))},Hf=function(e,t){return _f(e,t)};function Zf(e,t){var n,r,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(n=t.include||[],n=Array.isArray(n)?n:[n],r=t.exclude||[],r=(r=Array.isArray(r)?r:[r]).concat(a.filter((function(e){return-1===n.indexOf(e)})))):(n=Array.isArray(t)?t:[t],r=a.filter((function(e){return-1===n.indexOf(e)}))),!!(n.some((function(t){return-1!==e.tags.indexOf(t)}))||0===n.length&&!1!==e.enabled)&&r.every((function(t){return-1===e.tags.indexOf(t)}))}var Wf=function(e,t,n){var r=n.runOnly||{},a=(n.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===r.type?-1!==r.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===r.type&&r.values?Zf(e,r.values):Zf(e,[]))};function Kf(e,t){if(!t)return e;var n=e.cloneNode(!1),r=Fn(n);if(1===n.nodeType){var a=n.outerHTML;n=Wn.get(a,(function(){return Gf(n,r,e,t)}))}else n=Gf(n,r,e,t);return Array.from(e.childNodes).forEach((function(e){n.appendChild(Kf(e,t))})),n}function Gf(e,t,n,r){return t?(e=s.createElement(e.nodeName),Array.from(t).forEach((function(t){(function(e,t,n){return void 0!==n[t]&&(!0===n[t]||En(e,n[t]))})(n,t.name,r)||e.setAttribute(t.name,t.value)})),e):e}function Yf(e,t){var n,r=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a1&&void 0!==arguments[1]?arguments[1]:s,n=Array.isArray(e)?K(e):[e];return 0===e.length?[]:np(n,t)}function np(e,t){var n,r=J(n=e)||G(n)||oe(n)||X(),a=r[0],o=r.slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,s=[],l=ae(i);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,K(np(o,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var rp=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"]},ap=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,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,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function op(e){e=Array.isArray(e)?e:ap;var t=[];return e.forEach((function(e,n){var r=String.fromCharCode(n+96).replace("`","");Array.isArray(e)?t=t.concat(op(e).map((function(e){return r+e}))):t.push(r)})),t}var ip=function(e){for(var t=ap;e.length<3;)e+="`";for(var n=0;n<=e.length-1;n++)if(!(t=t[e.charCodeAt(n)-96]))return!1;return!0},up=function(e){_(n,e);var t=I(n);function n(e){var r,a,o,i;return ee(this,n),(r=t.call(this))._props=function(e){var t,n,r,a=null!==(t=e.nodeName)&&void 0!==t?t:lp[e.nodeType],o=null!==(n=null!==(r=e.nodeType)&&void 0!==r?r:sp[e.nodeName])&&void 0!==n?n:1;hn("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),hn("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(),rp().includes(i)||(i="text"));var u=Y({},e,{nodeType:o,nodeName:a});return i&&(u.type=i),delete u.attributes,Object.freeze(u)}(e),r._attrs=(a=e.attributes,o=void 0===a?{}:a,i={htmlFor:"for",className:"class"},Object.keys(o).reduce((function(e,t){var n=o[t];return hn("object"!==l(n)||null===n,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==n&&(e[i[t]||t]=null!==n?String(n):null),e}),{})),r}return ne(n,[{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)}}]),n}(Jt),sp={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},lp={};Object.keys(sp).forEach((function(e){lp[sp[e]]=e}));var cp,dp=up,fp=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var n=c.utils.queue(),r=[];Object.keys(c.plugins).forEach((function(e){n.defer((function(t){var n=function(e){r.push(e),t()};try{c.plugins[e].cleanup(t,n)}catch(e){n(e)}}))}));var a=c.utils.getFlattenedTree(s.body);c.utils.querySelectorAll(a,"iframe, frame").forEach((function(e){n.defer((function(t,n){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,n)}))})),n.then((function(n){0===r.length?e(n):t(r)})).catch(t)},pp={};function hp(e){return pp.hasOwnProperty(e)}function mp(e){return"string"==typeof e&&pp[e]?pp[e]:"function"==typeof e?e:cp}var gp={};se(gp,{allowedAttr:function(){return vp},arialabelText:function(){return $o},arialabelledbyText:function(){return jo},getAccessibleRefs:function(){return yp},getElementUnallowedRoles:function(){return Cp},getExplicitRole:function(){return Ko},getImplicitRole:function(){return Ei},getOwnedVirtual:function(){return Ri},getRole:function(){return Ti},getRoleType:function(){return _u},getRolesByType:function(){return Ap},getRolesWithNameFromContents:function(){return Tp},implicitNodes:function(){return Bp},implicitRole:function(){return Ei},isAccessibleRef:function(){return _p},isAriaRoleAllowedOnElement:function(){return wp},isComboboxPopup:function(){return Mp},isUnsupportedRole:function(){return Zo},isValidRole:function(){return Wo},label:function(){return Pp},labelVirtual:function(){return pu},lookupTable:function(){return Rp},namedFromContents:function(){return Ni},requiredAttr:function(){return Lp},requiredContext:function(){return jp},requiredOwned:function(){return $p},validateAttr:function(){return zp},validateAttrValue:function(){return Vp}});var vp=function(e){var t=Ho.ariaRoles[e],n=K(Yo());return t?(t.allowedAttrs&&n.push.apply(n,K(t.allowedAttrs)),t.requiredAttrs&&n.push.apply(n,K(t.requiredAttrs)),n):n},Dp=/^idrefs?$/;function bp(e,t,n){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var r=e.getAttribute("for");t[r]=t[r]||[],t[r].push(e)}for(var a=0;a1&&void 0!==arguments[1])||arguments[1],n=yf(e).vNode;if(!mf(n))return[];var r=n.props.nodeName,a=Ei(n)||Ep[r];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var n=bd(e.attr("role").toLowerCase());t=t.concat(n)}return t.filter((function(e){return Wo(e)}))}(n).filter((function(e){return!function(e,t,n,r){return!(!n||e!==r)||(!Fp.includes(e)||_u(e)===r)&&wp(t,e)}(e,n,t,a)}))},xp=function(e){return Object.keys(Ho.ariaRoles).filter((function(t){return Ho.ariaRoles[t].type===e}))},Ap=function(e){return xp(e)},kp=function(){return Wn.get("ariaRolesNameFromContent",(function(){return Object.keys(Ho.ariaRoles).filter((function(e){return Ho.ariaRoles[e].nameFromContent}))}))},Tp=function(){return kp()},Op=function(e){return null===e},Sp=function(e){return null!==e},Np={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"]};Np.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:Sp}}]},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:Sp}}]},"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:Sp}}]},"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:Sp}}]},"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:Sp}}]},"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:Sp}}]},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:Sp}}]},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:Sp}}]},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:Sp}}]},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:Sp}}]},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:Sp}}]},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:Sp}}]},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:Sp}}]},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:Sp}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Np.implicitHtmlRole=ui,Np.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:Sp}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Sp}},{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"]}],Np.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Op}},{nodeName:"img",attributes:{alt:Op}},{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"]}],Np.evaluateRoleForElement={A:function(e){var t=e.node,n=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||n},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,n=e.role,r=e.out;return"menu"===t.getAttribute("type")?"menuitem"===n:r},IMG:function(e){var t=e.node,n=e.role,r=e.out;switch(t.alt){case null:return r;case"":return"presentation"===n||"none"===n;default:return"presentation"!==n&&"none"!==n}},INPUT:function(e){var t=e.node,n=e.role,r=e.out;switch(t.type){case"button":case"image":return r;case"checkbox":return!("button"!==n||!t.hasAttribute("aria-pressed"))||r;case"radio":return"menuitemradio"===n;case"text":return"combobox"===n||"searchbox"===n||"spinbutton"===n;case"tel":return"combobox"===n||"spinbutton"===n;case"url":case"search":case"email":return"combobox"===n;default:return!1}},LI:function(e){var t=e.node,n=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||n},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,n=e.role;return!t.multiple&&t.size<=1&&"menu"===n},SVG:function(e){var t=e.node,n=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||n}},Np.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 Rp=Np,Bp=function(e){var t=null,n=Rp.role[e];return n&&n.implicit&&(t=Xn(n.implicit)),t},_p=function(e){return!!yp(e).length};function Mp(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,r=Ti(e);if(null!==(t=n)&&void 0!==t||(n=Vo["aria-haspopup"].values),!n.includes(r))return!1;var a=function(e){for(;e=e.parent;)if(null!==Ti(e,{noPresentational:!0}))return e;return null}(e);if(Ip(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=pa(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(Ip)}var Ip=function(e){return e&&"combobox"===Ti(e)},Pp=function(e){return e=Kn(e),pu(e)},Lp=function(e){var t=Ho.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?K(t.requiredAttrs):[]},jp=function(e){var t=Ho.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?K(t.requiredContext):null},$p=function(e){var t=Ho.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?K(t.requiredOwned):null},Vp=function(e,t){var n,r,a=(e=e instanceof Jt?e:Kn(e)).attr(t),o=Ho.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(r=bd(a)).reduce((function(e,t){return e&&o.values.includes(t)}),0!==r.length);case"idref":try{var i=ha(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Po(e,t).some((function(e){return!!e}));case"string":return""!==a.trim();case"decimal":return!(!(n=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!n[1]&&!n[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}},zp=function(e){return!!Ho.ariaAttrs[e]};function qp(e,t,n){var r,a=n.props,o=a.nodeName,i=a.type,u=(r=n.attr("aria-checked"))?(r=r.toLowerCase(),["mixed","true"].includes(r)?r:"false"):"";if("input"!==o||"checkbox"!==i||!u)return!0;var s,l=(s=n).props.indeterminate?"mixed":s.props.checked?"true":"false";return u===l||(this.data({messageKey:"checkbox",checkState:l}),!1)}function Up(e){var t,n,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==r||null===(n=r.filter)||void 0===n?void 0:n.call(r,(function(e){return a.hasAttr(e)})))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(e.parent)return pr(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&Ti(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}var Hp={row:Up,checkbox:qp},Zp={};function Wp(e){return 3===e.props.nodeType?e.props.nodeValue.trim().length>0:xu(e,!1,!0)}function Kp(e,t,n,r){var a=Ko(e);if(n||(n=jp(a)),!n)return null;for(var o=n.includes("group"),i=r?e:e.parent;i;){var u=Ti(i,{noPresentational:!0});if(u){if("group"!==u||!o)return n.includes(u)?null:n;t.includes(a)&&n.push(a),n=n.filter((function(e){return"group"!==e})),i=i.parent}else i=i.parent}return n}se(Zp,{getAriaRolesByType:function(){return xp},getAriaRolesSupportingNameFromContent:function(){return kp},getElementSpec:function(){return Fi},getElementsByContentType:function(){return Go},getGlobalAriaAttrs:function(){return Yo},implicitHtmlRoles:function(){return ui}});var Gp={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Yp={application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1},Qp={};se(Qp,{Color:function(){return Yc},centerPointOfRect:function(){return Xp},elementHasImage:function(){return Hu},elementIsDistinct:function(){return eh},filteredRectStack:function(){return nh},flattenColors:function(){return oh},flattenShadowColors:function(){return ih},getBackgroundColor:function(){return mh},getBackgroundStack:function(){return uh},getContrast:function(){return Dh},getForegroundColor:function(){return bh},getOwnBackgroundColor:function(){return Xc},getRectStack:function(){return th},getStackingContext:function(){return ch},getTextShadowColors:function(){return lh},hasValidContrastRatio:function(){return wh},incompleteData:function(){return Uu},stackingContextToColor:function(){return dh}});var Xp=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 Jp(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var eh=function(e,t){var n=i.getComputedStyle(e);if("none"!==n.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var r=new Yc;return r.parseString(n.getPropertyValue(t+"-color")),e||"none"!==n.getPropertyValue(t+"-style")&&parseFloat(n.getPropertyValue(t+"-width"))>0&&0!==r.alpha}),!1))return!0;var r=i.getComputedStyle(t);if(Jp(n)[0]!==Jp(r)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||n.getPropertyValue(t)!==r.getPropertyValue(t)}),!1),o=n.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==r.getPropertyValue("text-decoration")),a},th=function(e){var t=_o(e),n=yu(e);return!n||n.length<=1?[t]:n.some((function(e){return void 0===e}))?null:(n.splice(0,0,t),n)},nh=function(e){var t=th(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var n,r=t.shift();return t.forEach((function(a,o){if(0!==o){var i=t[o-1],u=t[o];n=i.every((function(e,t){return e===u[t]}))||r.includes(e)}})),n?t[0]:(Uu.set("bgColor","elmPartiallyObscuring"),null)}return Uu.set("bgColor","outsideViewport"),null},rh={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}};function ah(e,t,n,r,a){return t*(1-r)*e+t*r*rh[a](n/255,e/255)*255+(1-t)*r*n}var oh=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",a=ah(e.red,e.alpha,t.red,t.alpha,r),o=ah(e.green,e.alpha,t.green,t.alpha,r),i=ah(e.blue,e.alpha,t.blue,t.alpha,r),u=(n=e.alpha+t.alpha*(1-e.alpha),0,1,Math.min(Math.max(0,n),1));if(0===u)return new Yc(a,o,i,u);var s=Math.round(a/u),l=Math.round(o/u),c=Math.round(i/u);return new Yc(s,l,c,u)};function ih(e,t){var n=e.alpha,r=(1-n)*t.red+n*e.red,a=(1-n)*t.green+n*e.green,o=(1-n)*t.blue+n*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new Yc(r,a,o,i)}function uh(e){for(var t=yu(e).map((function(t){return function(e){var t=e.indexOf(s.body),n=e,r=Xc(i.getComputedStyle(s.documentElement));if(t>1&&0===r.alpha&&!Hu(s.documentElement)){t>1&&(n.splice(t,1),n.push(s.body));var a=n.indexOf(s.documentElement);a>0&&(n.splice(a,1),n.push(s.documentElement))}return n}(t=od(t,e))})),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},n=t.minRatio,r=t.maxRatio,a=i.getComputedStyle(e),o=a.getPropertyValue("text-shadow");if("none"===o)return[];var u=a.getPropertyValue("font-size"),s=parseInt(u);hn(!1===isNaN(s),"Unable to determine font-size value ".concat(u));var l=[],c=function(e){var t={pixels:[]},n=e.trim(),r=[t];if(!n)return[];for(;n;){var a=n.match(/^rgba?\([0-9,.\s]+\)/i)||n.match(/^[a-z]+/i)||n.match(/^#[0-9a-f]+/i),o=n.match(/^([0-9.-]+)px/i)||n.match(/^(0)/);if(a)hn(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),n=n.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){hn(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),n=n.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==n[0])throw new Error("Unable to process text-shadows: ".concat(e));hn(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},r.push(t),n=n.substr(1).trim()}}return r}(o);return c.forEach((function(e){var t=e.colorStr,o=e.pixels;t=t||a.getPropertyValue("color");var i=Q(o,3),u=i[0],c=i[1],d=i[2],f=void 0===d?0:d;if((!n||f>=s*n)&&(!r||fn||e.offsetY>n)return new Yc(0,0,0,0);var a=new Yc;return a.parseString(t),a.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(n,r),a}({colorStr:t,offsetY:u,offsetX:c,blurRadius:f,fontSize:s});l.push(p)}})),l};function ch(e,t){var n,r=Kn(e);if(r._stackingContext)return r._stackingContext;var a=[],o=new Map;return(t=null!==(n=t)&&void 0!==n?n:uh(e)).forEach((function(e){var t,n=Kn(e),r=function(e){var t=new Yc;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(n),i=n._stackingOrder.filter((function(e){return!!e.vNode}));i.forEach((function(e,t){var n,r=e.vNode,u=null===(n=i[t-1])||void 0===n?void 0:n.vNode,s=hh(o,r,u);0!==t||o.get(r)||a.unshift(s),o.set(r,s)}));var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,s=hh(o,n,u);i.length||a.unshift(s),s.bgColor=r})),r._stackingContext=a,a}function dh(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var n=e.bgColor;return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}var r=e.descendants.reduce(fh,ph()),a=oh(r,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function fh(e,t){var n;n=e instanceof Yc?e:dh(e).color;var r=dh(t).color;return oh(r,n,t.blendMode)}function ph(e,t){var n,r;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(n=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==n?n:1),bgColor:new Yc(0,0,0,0),blendMode:(r=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),r||void 0),descendants:[]}}function hh(e,t,n){var r,a=e.get(n),o=null!==(r=e.get(t))&&void 0!==r?r:ph(t,a);return a&&n!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function mh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,r=Kn(e),a=r._cache.getBackgroundColor;if(a)return t.push.apply(t,K(a.bgElms)),Uu.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,n){var r,a=uh(e);if(!a)return null;var o=bu(e),u=lh(e,{minRatio:n});u.length&&(u=[{color:u.reduce(ih)}]);for(var l=0;l=n.top&&e.bottom<=a&&e.left>=n.left&&e.right<=r}))}function vh(e){return e||void 0}var Dh=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=oh(t,e));var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};function bh(e,t,n){for(var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.getComputedStyle(e),u=[function(){return function(e,t){var n=t.textStrokeEmMin,r=void 0===n?0:n,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}},Fh=ba((function(e,t){var n=i.getComputedStyle(e,t),r=function(e,t){return n.getPropertyValue(e)===t};if(r("content","none")||r("display","none")||r("visibility","hidden")||!1===r("position","absolute"))return 0;if(0===Xc(n).alpha&&r("background-image","none"))return 0;var a=Eh(n.getPropertyValue("width")),o=Eh(n.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value}));function Eh(e){var t=Q(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),n=t[1],r=void 0===n?"":n,a=t[2],o=void 0===a?"":a;return{value:parseFloat(r),unit:o.toLowerCase()}}function Ch(e,t){var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var xh=["block","list-item","table","flex","grid","inline-block"];function Ah(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==xh.indexOf(t)||"table-"===t.substr(0,6)}var kh=["block","list-item","table","flex","grid","inline-block"];function Th(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==kh.indexOf(t)||"table-"===t.substr(0,6)}function Oh(e){if(Bu(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 Oh(e)}))}function Sh(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"===_u(e)&&ai(e)?t.push(e):t.push.apply(t,K(Sh(e)))})),t}function Nh(e){var t=parseInt(e.attr("tabindex"),10);return!isNaN(t)&&t<0}function Rh(e,t){var n=Bh(t),r=Bh(e);return!(!n||!r)&&n.includes(r)}function Bh(e){var t=lu(e,{emoji:!0,nonBmp:!0,punctuations:!0});return ni(t)}function _h(e){return""!==(e||"").trim()}function Mh(e,t,n){var r=n.validRoles,a=void 0===r?[]:r,o=n.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||!zi(e))return!1;var f=Ko(e);return f?!a.includes(f)&&d+"[role=".concat(f,"]"):!i.includes(s)&&d+s}function Ih(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}function Ph(e,t){var n=e.boundingClientRect,r=t.boundingClientRect;return n.top>=r.top&&n.left>=r.left&&n.bottom<=r.bottom&&n.right<=r.right}function Lh(e){return e.getComputedStylePropertyValue("pointer-events")}function jh(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function $h(e,t){return e.actualNode.contains(t.actualNode)&&!Bu(t)}function Vh(e,t){var n=t.width,r=t.height;return n+.05>=e&&r+.05>=e}function zh(e){return e.map((function(e){return e.actualNode}))}function qh(e,t){var n,r=null===(n=t.data)||void 0===n?void 0:n.headingOrder,a=Hh(t.node.ancestry,1);if(!r)return e;var o=r.map((function(e){return function(e,t){return Y({},e,{ancestry:t.concat(e.ancestry)})}(e,a)})),i=function(e,t){for(;t.length;){var n=Uh(e,t);if(-1!==n)return n;t=Hh(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,K(o)):e.splice.apply(e,[i,0].concat(K(o))),e}function Uh(e,t){return e.findIndex((function(e){return Df(e.ancestry,t)}))}function Hh(e,t){return e.slice(0,e.length-t)}function Zh(e){var t=Ti(e),n=t&&t.includes("heading"),r=e.attr("aria-level"),a=parseInt(r,10),o=Q(e.props.nodeName.match(/h(\d)/)||[],2)[1];return n?o&&!r?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}function Wh(e,t){if(!e||!t)return!1;var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);return n.length===r.length&&n.every((function(n){var r=e[n],a=t[n];return l(r)===l(a)&&("object"===l(r)||"object"===l(a)?Wh(r,a):r===a)}))}var Kh={};se(Kh,{aria:function(){return gp},color:function(){return Qp},dom:function(){return fa},forms:function(){return Gh},matches:function(){return wi},math:function(){return Ao},standards:function(){return Zp},table:function(){return Xh},text:function(){return Io},utils:function(){return en}});var Gh={};se(Gh,{isAriaCombobox:function(){return Yi},isAriaListbox:function(){return Gi},isAriaRange:function(){return Xi},isAriaTextbox:function(){return Ki},isDisabled:function(){return Qh},isNativeSelect:function(){return Wi},isNativeTextbox:function(){return Zi}});var Yh=["fieldset","button","select","input","textarea"],Qh=function e(t){var n=t._isDisabled;if("boolean"==typeof n)return n;var r=t.props.nodeName,a=t.attr("aria-disabled");return n=!(!Yh.includes(r)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=n,n},Xh={};se(Xh,{getAllCells:function(){return Jh},getCellPosition:function(){return Xo},getHeaders:function(){return tm},getScope:function(){return Jo},isColumnHeader:function(){return ei},isDataCell:function(){return nm},isDataTable:function(){return rm},isHeader:function(){return am},isRowHeader:function(){return ti},toArray:function(){return Qo},toGrid:function(){return Qo},traverse:function(){return im}});var Jh=function(e){var t,n,r,a,o=[];for(t=0,r=e.rows.length;t=p&&!r;g--)for(var v=f;v>=h;v--){var D=n[g]?n[g][v]:void 0;if(D){var b=c.utils.getNodeFromTree(D);if(b[a]){r=b[a];break}m.push(D)}}return r=(r||[]).concat(m.filter(o)),m.forEach((function(e){c.utils.getNodeFromTree(e)[a]=r})),r}var tm=function(e,t){if(e.getAttribute("headers")){var n=Po(e,"headers");if(n.filter((function(e){return e})).length)return n}t||(t=Qo(va(e,"table")));var r=Xo(e,t),a=em("row",r,t),o=em("col",r,t);return[].concat(a,o).reverse()},nm=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return Wo(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},rm=function(e){var t=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===t||"none"===t)&&!ai(e))return!1;if("true"===e.getAttribute("contenteditable")||va(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===_u(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 n=0,r=e.children.length;n=5)return!0;if(l)return!0;for(c=0;c=20||!(za(e).width>.95*qa(i).width)&&!(u<10)&&!e.querySelector("object, embed, iframe, applet")},am=function(e){if(ei(e)||ti(e))return!0;if(e.getAttribute("id")){var t=gn(e.getAttribute("id"));return!!s.querySelector('[headers~="'.concat(t,'"]'))}return!1};function om(e,t,n,r){var a,o=n[t.y]?n[t.y][t.x]:void 0;return o?"function"==typeof r&&!0===(a=r(o,t,n))?[o]:((a=om(e,{x:t.x+e.x,y:t.y+e.y},n,r)).unshift(o),a):[]}var im=function(e,t,n,r){if(Array.isArray(t)&&(r=n,n=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 om(e,{x:t.x+e.x,y:t.y+e.y},n,r)},um=/[;,\s]/,sm=/^[0-9.]+$/;function lm(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 cm(e){var t=i.getComputedStyle(function(e){for(var t=e,n=e.textContent.trim(),r=n;r===n&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,r=e.children[a].textContent.trim()}while(""===r&&a+1t.fontSize)&&(!r.weight||e.fontWeight-r.weight>t.fontWeight)&&(!r.italic||e.isItalic&&!t.isItalic)}),!1)}var fm=xp("landmark"),pm=["alert","log","status"];function hm(e,t){var n=e.actualNode;if("button"===Ti(e)||function(e,t){var n=e.actualNode,r=Ti(e),a=(n.getAttribute("aria-live")||"").toLowerCase().trim();return!(!["assertive","polite"].includes(a)&&!pm.includes(r))||(!!fm.includes(r)||!(!t.regionMatcher||!wi(e,t.regionMatcher)))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||ed(e.actualNode)&&Fo(e.actualNode,"href")||!zi(n)){for(var r=e;r;)r._hasRegionDescendant=!0,r=r.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return n!==s.body&&Au(n,!0)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return hm(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}function mm(e){return"caption"===e.props.nodeName}function gm(e){return!e||"true"!==e.getAttribute("aria-hidden")&&gm($a(e))}var vm=function(e,t,n){return n.initiator},Dm={emoji:!0,nonBmp:!1,punctuations:!0},bm=function(e,t){try{return"svg"===t.props.nodeName||!!pr(t,"svg")}catch(e){return!1}},ym=function(e,t){var n=Ko(t);return!(n&&!["none","presentation"].includes(n)&&!(zo[n]||{}).accessibleNameRequired&&!ai(t))};function wm(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.childNodes.length),0===n.getClientRects().length}var Fm=[function(e,t){return Em(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!bm(0,t)},function(e,t){return ai(t)},function(e,t){return Bu(t)||!Cm(t)},function(e){return!Lu(e,{noLengthCompare:!0})}];function Em(e){return"widget"===_u(e)}var Cm=ba((function e(t){return!(null==t||!t.parent)&&(!(!Em(t.parent)||!Bu(t.parent))||e(t.parent))})),xm={"abstractrole-evaluate":function(e,t,n){var r=bd(n.attr("role")).filter((function(e){return"abstract"===_u(e)}));return r.length>0&&(this.data(r),!0)},"accesskeys-after":function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var n=e.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(e.relatedNodes[0]),!1):(t[n]=e,e.relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))},"accesskeys-evaluate":function(e,t,n){return Pa(n)||(this.data(n.attr("accesskey")),this.relatedNodes([e])),!0},"alt-space-value-evaluate":function(e,t,n){var r=n.attr("alt");return"string"==typeof r&&/^\s+$/.test(r)},"aria-allowed-attr-evaluate":function(e,t,n){var r=[],a=Ti(n),o=vp(a);Array.isArray(t[a])&&(o=Nf(t[a].concat(o)));var i,u=ae(n.attrNames);try{for(u.s();!(i=u.n()).done;){var s=i.value;zp(s)&&!o.includes(s)&&r.push(s)}}catch(e){u.e(e)}finally{u.f()}return!r.length||(this.data(r.map((function(e){return e+'="'+n.attr(e)+'"'}))),!(a||mf(n)||ai(n))&&void 0)},"aria-allowed-attr-matches":function(e,t){var n=/^aria-/,r=t.attrNames;if(r.length)for(var a=0,o=r.length;a1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.allowImplicit,a=void 0===r||r,o=t.ignoredTags,i=void 0===o?[]:o,u=n.props.nodeName;if(i.map((function(e){return e.toLowerCase()})).includes(u))return!0;var s=Cp(n,a);if(s.length){if(this.data(s),!zi(n))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==Ko(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,n){return"true"===n.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,n){var r=Ti(n);return!Hp[r]||Hp[r].call(this,e,t,n)},"aria-conditional-checkbox-attr-evaluate":qp,"aria-conditional-row-attr-evaluate":Up,"aria-errormessage-evaluate":function(e,t,n){t=Array.isArray(t)?t:[];var r=n.attr("aria-errormessage"),a=n.hasAttr("aria-errormessage"),o=n.attr("aria-invalid");return!n.hasAttr("aria-invalid")||"false"===o||-1!==t.indexOf(r)||!a||(this.data(bd(r)),function(e){if(""===e.trim())return Ho.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&Po(n,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:bd(e)})}return t?zi(t)?"alert"===t.getAttribute("role")||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||bd(n.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:bd(e)}),!1):void 0}.call(this,r))},"aria-has-attr-matches":function(e,t){var n=/^aria-/;return t.attrNames.some((function(e){return n.test(e)}))},"aria-hidden-body-evaluate":function(e,t,n){return"true"!==n.attr("aria-hidden")},"aria-hidden-focus-matches":function(e){return gm($a(e))},"aria-label-evaluate":function(e,t,n){return!!ni($o(n))},"aria-labelledby-evaluate":function(e,t,n){try{return!!ni(jo(n))}catch(e){return}},"aria-level-evaluate":function(e,t,n){var r=n.attr("aria-level");if(!(parseInt(r,10)>6))return!0},"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=n.props.nodeName,o=Ti(n,{chromium:!0}),i=function(e,t,n){var r=Ho.ariaRoles[e];return r?r.prohibitedAttrs||[]:e||n.includes(t)?[]:["aria-label","aria-labelledby"]}(o,a,r).filter((function(e){return!!n.attrNames.includes(e)&&""!==ni(n.attr(e))}));if(0===i.length)return!1;var u=n.hasAttr("role")?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var s=_i(n,{subtreeDescendant:!0});return""===ni(s)||void 0},"aria-required-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=Ko(n),a=n.attrNames,o=Lp(r);if(Array.isArray(t[r])&&(o=Nf(t[r],o)),!r||!a.length||!o.length)return!0;if(function(e,t){return"separator"===t&&!ai(e)}(n,r)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,r))return!0;var i=Fi(n),u=o.filter((function(e){return!n.attr(e)&&!function(e,t){var n;return void 0!==(null===(n=e.implicitAttrs)||void 0===n?void 0:n[t])}(i,e)}));return!u.length||(this.data(u),!1)},"aria-required-children-evaluate":function(e,t,n){var r=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=Ko(n,{dpub:!0}),o=$p(a);if(null===o)return!0;var i=function(e,t){for(var n=[],r=Ri(e).filter((function(e){return 1!==e.props.nodeType||zi(e)})),a=function(e){var a=r[e];if(1!==a.props.nodeType)return"continue";var o,i=Ti(a,{noPresentational:!0}),u=(o=a,Yo().find((function(e){return o.hasAttr(e)}))),s=!!u||ai(a);!i&&!s||["group","rowgroup"].includes(i)&&t.some((function(e){return e===i}))?r.push.apply(r,K(a.children)):(i||s)&&n.push({role:i,attr:u||"tabindex",ownedElement:a})},o=0;o1&&void 0!==arguments[1]?arguments[1]:{},n=Ti(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(n)||!(!n||"presentation"===n||"none"===n)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,n){var r=n.attrNames.filter((function(t){var n=Ho.ariaAttrs[t];if(!zp(t))return!1;var r=n.unsupported;return"object"!==l(r)?!!r:!wi(e,r.exceptions)}));return!!r.length&&(this.data(r),!0)},"aria-valid-attr-evaluate":function(e,t,n){t=Array.isArray(t.value)?t.value:[];var r=[],a=/^aria-/;return n.attrNames.forEach((function(e){-1===t.indexOf(e)&&a.test(e)&&!zp(e)&&r.push(e)})),!r.length||(this.data(r),!1)},"aria-valid-attr-value-evaluate":function(e,t,n){t=Array.isArray(t.value)?t.value:[];var r="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],s={"aria-controls":function(){return"false"!==n.attr("aria-expanded")&&"false"!==n.attr("aria-selected")},"aria-current":function(e){e||(r='aria-current="'.concat(n.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==n.attr("aria-expanded")},"aria-describedby":function(e){e||(r='aria-describedby="'.concat(n.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(r='aria-labelledby="'.concat(n.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return n.attrNames.forEach((function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var l,c=n.attr(e);try{l=Vp(n,e)}catch(t){return r="".concat(e,'="').concat(c,'"'),void(a="idrefs")}s[e]&&!s[e](l)||l||(""!==c||function(e){var t;return"string"===(null===(t=Ho.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(r=e,a="empty"))}})),o.length?(this.data(o),!1):!r||void this.data({messageKey:a,needsReview:r})},"attr-non-space-content-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=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(!n.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var r=n.attr(t.attribute);return!!ni(r)||(this.data({messageKey:"emptyAttr"}),!1)},"autocomplete-appropriate-evaluate":function(e,t,n){if("input"!==n.props.nodeName)return!0;var r=["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":r,"cc-exp":["text","search","month","tel"],"cc-exp-month":r,"cc-exp-year":r,"cc-csc":r,"transaction-amount":r,"bday-day":r,"bday-month":r,"bday-year":r,"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=n.attr("autocomplete").split(/\s+/g).map((function(e){return e.toLowerCase()})),u=i[i.length-1];if(du.stateTerms.includes(u))return!0;var s=o[u],c=n.hasAttr("type")?ni(n.attr("type")).toLowerCase():"text";return c=rp().includes(c)?c:"text",void 0===s?"text"===c:s.includes(c)},"autocomplete-matches":function(e,t){var n=t.attr("autocomplete");if(!n||""===ni(n))return!1;var r=t.props.nodeName;if(!1===["textarea","input","select"].includes(r))return!1;if("input"===r&&["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=t.attr("tabindex");if("-1"===i&&o){var u=Ho.ariaRoles[o];if(void 0===u||"widget"!==u.type)return!1}return!("-1"===i&&t.actualNode&&!Za(t)&&!zi(t))},"autocomplete-valid-evaluate":function(e,t,n){var r=n.attr("autocomplete")||"";return fu(r,t)},"avoid-inline-spacing-evaluate":function(e,t){var n=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}));return!(n.length>0&&(this.data(n),1))},"bypass-matches":function(e,t,n){return!vm(0,0,n)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,n){return!Hf(n,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0},"caption-faked-evaluate":function(e){var t=Qo(e),n=t[0];return t.length<=1||n.length<=1||e.rows.length<=1||n.reduce((function(e,t,r){return e||t!==n[r+1]&&void 0!==n[r+1]}),!1)},"color-contrast-evaluate":function(e,t,n){var r=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,f=t.pseudoSizeThreshold;if(!Za(e))return this.data({messageKey:"hidden"}),!0;var p=Ui(n,!1,!0);if(!r||!function(e){var t={nonBmp:!0},n=au(e,t),r=""===ni(lu(e,t));return n&&r}(p)){var h=i.getComputedStyle(e),m=parseFloat(h.getPropertyValue("font-size")),g=h.getPropertyValue("font-weight"),v=parseFloat(g)>=u||"bold"===g,D=Math.ceil(72*m)/96,b=v&&Di)return e}while(e=e.parent)}}(n,{ignorePseudo:o,pseudoSizeThreshold:f});if(E)return this.data({fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:v?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:y+":1"}),void this.relatedNodes(E.actualNode);var C=[],x=mh(e,C,d),A=bh(e,!1,x,t),k=lh(e,{minRatio:.001,maxRatio:d}),T=null,O=null,S=null;if(0===k.length)T=Dh(x,A);else if(A&&x){S=[].concat(K(k),[x]).reduce(ih);var N=Dh(x,A),R=Dh(x,S),B=Dh(S,A);(T=Math.max(N,R,B))!==N&&(O=R>B?"shadowOnBgColor":"fgOnShadowColor")}var _=T>y;if("number"==typeof w&&("number"!=typeof T||TF))return this.data({contrastRatio:T}),!0;var M,I=Math.floor(100*T)/100;null===x?M=Uu.get("bgColor"):_||(M=O);var P=1===I,L=1===p.length;return P?M=Uu.set("bgColor","equalRatio"):_||!L||a||(M="shortTextContent"),this.data({fgColor:A?A.toHexString():void 0,bgColor:x?x.toHexString():void 0,contrastRatio:I,fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:v?"bold":"normal",messageKey:M,expectedContrastRatio:y+":1",shadowColor:S?S.toHexString():void 0}),null===A||null===x||P||L&&!a&&!_?(M=null,Uu.clear(),void this.relatedNodes(C)):(_||this.relatedNodes(C),_)}this.data({messageKey:"nonBmp"})},"color-contrast-matches":function(e,t){var n=t.props,r=n.nodeName,a=n.type;if("option"===r)return!1;if("select"===r&&!e.options.length)return!1;if("input"===r&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(Qh(t)||ho(t))return!1;if(["input","select","textarea"].includes(r)){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},!md(l,e))return!1}return!0}var c=ga(t,"label");if("label"===r||c){var d=c||e,f=c?Kn(c):t;if(d.htmlFor){var p=ha(d).getElementById(d.htmlFor),h=p&&Kn(p);if(h&&Qh(h))return!1}var m=Hf(f,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(m&&Qh(m))return!1}for(var g=[],v=t;v;){if(v.props.id){var D=yp(v).filter((function(e){return bd(e.getAttribute("aria-labelledby")||"").includes(v.props.id)})).map((function(e){return Kn(e)}));g.push.apply(g,K(D))}v=v.parent}if(g.length>0&&g.every(Qh))return!1;if(!function(e){var t=Ui(e,!1,!0);return""!==t&&""!==lu(t,Dm)&&e.children.some((function(e){return"#text"===e.props.nodeName&&!ou(e)}))}(t))return!1;for(var b=s.createRange(),y=t.children,w=0;w=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return rm(e)},"deprecatedrole-evaluate":function(e,t,n){var r=Ti(n,{dpub:!0,fallback:!0}),a=Ho.ariaRoles[r];return!(null==a||!a.deprecated||(this.data(r),0))},"dlitem-evaluate":function(e){var t=$a(e),n=t.nodeName.toUpperCase(),r=Ko(t);return"DIV"===n&&["presentation","none",null].includes(r)&&(n=(t=$a(t)).nodeName.toUpperCase(),r=Ko(t)),"DL"===n&&!(r&&!["presentation","none","list"].includes(r))},"doc-has-title-evaluate":function(){var e=s.title;return!!ni(e)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),n='*[id="'.concat(gn(t),'"]'),r=Array.from(ha(e).querySelectorAll(n));return!_p(e)&&r.some(ai)},"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 _p(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var n=ha(e),r=Array.from(n.querySelectorAll('[id="'.concat(gn(t),'"]'))).filter((function(t){return t!==e}));return r.length&&this.relatedNodes(r),this.data(t),0===r.length},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim(),n='*[id="'.concat(gn(t),'"]'),r=Array.from(ha(e).querySelectorAll(n));return!_p(e)&&r.every((function(e){return!ai(e)}))},"duplicate-img-label-evaluate":function(e,t,n){if(["none","presentation"].includes(Ti(n)))return!1;var r=pr(n,t.parentSelector);if(!r)return!1;var a=Ui(r,!0).toLowerCase();return""!==a&&a===su(n).toLowerCase()},"exists-evaluate":function(){},"explicit-evaluate":function(e,t,n){var r=this;if(!n.attr("id"))return!1;if(n.actualNode){var a=ha(n.actualNode),o=gn(n.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(Za(e)){var t=ni(Lo(e,{inControlContext:!0,startNode:n}));return r.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}},"fallbackrole-evaluate":function(e,t,n){var r=bd(n.attr("role"));return!(r.length<=1)&&(!function(e,t){return!Ei(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(n,r)||void 0)},"focusable-content-evaluate":function(e,t,n){var r=n.tabbableElements;return!!r&&r.filter((function(e){return e!==n})).length>0},"focusable-disabled-evaluate":function(e,t,n){var r=["button","fieldset","input","select","textarea"],a=n.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return r.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!ju())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),n=parseInt(e.getComputedStylePropertyValue("width")),r=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===n||0===r)&&"none"===t}))&&void 0},"focusable-element-evaluate":function(e,t,n){return!(!n.hasAttr("contenteditable")||!function e(t){var r=t.attr("contenteditable");if("true"===r||""===r)return!0;if("false"===r)return!1;var a=pr(n.parent,"[contenteditable]");return!!a&&e(a)}(n))||Bu(n)},"focusable-modal-open-evaluate":function(e,t,n){var r=n.tabbableElements.map((function(e){return e.actualNode}));return!r||!r.length||!ju()||void this.relatedNodes(r)},"focusable-no-name-evaluate":function(e,t,n){var r=n.attr("tabindex");if(!(ai(n)&&r>-1))return!1;try{return!su(n)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,n){var r=["button","fieldset","input","select","textarea"],a=n.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return!r.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!ju())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),n=parseInt(e.getComputedStylePropertyValue("width")),r=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===n||0===r)&&"none"===t}))&&void 0},"frame-focusable-content-evaluate":function(e,t,n){if(n.children)try{return!n.children.some((function(e){return Oh(e)}))}catch(e){return}},"frame-focusable-content-matches":function(e,t,n){var r,a;return!n.initiator&&!n.focusable&&(null===(r=n.size)||void 0===r?void 0:r.width)*(null===(a=n.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 n=e.node.ancestry.flat(1/0).join(" > ");return t[n]=e,!0}var r=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[r]&&(t[r].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!!ni(t)},"has-alt-evaluate":function(e,t,n){var r=n.props.nodeName;return!!["img","input","area"].includes(r)&&n.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,n){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&ju())return!0;var r=_f(n,t.selector,(function(e){return zi(e)}));return this.relatedNodes(r.map((function(e){return e.actualNode}))),r.length>0},"has-global-aria-attribute-evaluate":function(e,t,n){var r=Yo().filter((function(e){return n.hasAttr(e)}));return this.data(r),r.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==Ei(t,{chromium:!0})},"has-lang-evaluate":function(e,t,n){var r=void 0!==s&&Cn(s);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&_h(n.attr("xml:lang"))&&!_h(n.attr("lang"))&&!r?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return _h(n.attr(e))}))||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,n){try{return""!==ni(_i(n))}catch(e){return}},"has-widget-role-evaluate":function(e){var t=e.getAttribute("role");if(null===t)return!1;var n=_u(t);return"widget"===n||"composite"===n},"heading-matches":function(e,t){return"heading"===Ti(t)},"heading-order-after":function(e){var t=function(e){return(e=K(e)).sort((function(e,t){var n=e.node,r=t.node;return n.ancestry.length-r.ancestry.length})),e.reduce(qh,[]).filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var n,r,a,o,i=Uh(t,e.node.ancestry),u=null!==(n=null===(r=t[i])||void 0===r?void 0:r.level)&&void 0!==n?n:-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=Wn.get("headingOrder");if(e)return!0;var t=_f(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",zi);return e=t.map((function(e){return{ancestry:[zn(e.actualNode)],level:Zh(e)}})),this.data({headingOrder:e}),Wn.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,n){var r=mu(n),a=e.getAttribute("title");return!!r&&(a||(a="",e.getAttribute("aria-describedby")&&(a=Po(e,"aria-describedby").map((function(e){return e?Lo(e):""})).join(""))),ni(a)===ni(r))},"hidden-content-evaluate":function(e,t,n){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&xu(n)){var r=i.getComputedStyle(e);if("none"===r.getPropertyValue("display"))return;if("hidden"===r.getPropertyValue("visibility")){var a=$a(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},"hidden-explicit-label-evaluate":function(e,t,n){if(n.hasAttr("id")){if(!n.actualNode)return;var r=ha(e),a=gn(e.getAttribute("id")),o=r.querySelector('label[for="'.concat(a,'"]'));if(o&&!zi(o)){var i;try{i=su(n).trim()}catch(e){return}return""===i}}return!1},"html-namespace-matches":function(e,t){return!bm(0,t)},"html5-scope-evaluate":function(e){return!Ru(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})),n=[],r={},a=function(e){var a,o=t[e],i=o.data,u=i.name,s=i.urlProps;if(r[u])return"continue";var l=t.filter((function(t,n){return t.data.name===u&&n!==e})),c=l.every((function(e){return Wh(e.data.urlProps,s)}));l.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,K(l.map((function(e){return e.relatedNodes[0]})))),r[u]=l,n.push(o)},o=0;o=a)&&("number"!=typeof o||p<=o):void 0},"inserted-into-focus-order-matches":function(e){return Tu(e)},"internal-link-present-evaluate":function(e,t,n){return Hf(n,"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]:{},n=arguments.length>2?arguments[2]:void 0,r=[],a=[];if(n.children){for(var o,i=Ih(n.children);i.length;){var u,s=i.shift(),l=s.vChild,c=s.nested;if(!t.divGroups||c||"div"!==(o=l).props.nodeName||null!==Ko(o)){var d=Mh(l,c,t);d&&(a.includes(d)||a.push(d),1===(null==l||null===(u=l.actualNode)||void 0===u?void 0:u.nodeType)&&r.push(l.actualNode))}else{if(!l.children)return;var f=Ih(l.children,!0);i.push.apply(i,K(f))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(r),!0)}},"invalidrole-evaluate":function(e,t,n){var r=bd(n.attr("role"));return!!r.every((function(e){return!Wo(e,{allowAbstract:!0})}))&&(this.data(r),!0)},"is-element-focusable-evaluate":function(e,t,n){return ai(n)},"is-initiator-matches":vm,"is-on-screen-evaluate":function(e){return Za(e)},"is-visible-matches":function(e){return Za(e)},"is-visible-on-screen-matches":function(e,t){return Za(t)},"label-content-name-mismatch-evaluate":function(e,t,n){var r,a=null==t?void 0:t.pixelThreshold,o=null!==(r=null==t?void 0:t.occurrenceThreshold)&&void 0!==r?r:null==t?void 0:t.occuranceThreshold,i=Lo(e).toLowerCase();if(!(cu(i)<1)){var u=ni(_i(n,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:a,occurrenceThreshold:o})).toLowerCase();return!u||(cu(u)<1?!!Rh(u,i)||void 0:Rh(u,i))}},"label-content-name-mismatch-matches":function(e,t){var n=Ti(e);return!!(n&&xp("widget").includes(n)&&kp().includes(n)&&(ni($o(t))||ni(jo(e)))&&ni(Ui(t)))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var n=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(n)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!ga(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=xp("landmark"),n=$a(e),r=Ti(e);for(this.data({role:r});n;){var a=n.getAttribute("role");if(a||"FORM"===n.nodeName.toUpperCase()||(a=Ei(n)),a&&t.includes(a)&&("main"!==a||"complementary"!==r))return!1;n=$a(n)}return!0},"landmark-is-unique-after":function(e){var t=[];return e.filter((function(e){var n=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return n?(n.result=!1,n.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))},"landmark-is-unique-evaluate":function(e,t,n){var r=Ti(e),a=su(n);return a=a?a.toLowerCase():null,this.data({role:r,accessibleText:a}),this.relatedNodes([e]),!0},"landmark-unique-matches":function(e,t){var n=["article","aside","main","nav","section"].join(",");return function(e){var t=e.actualNode,r=xp("landmark"),a=Ti(t);if(!a)return!1;var o=t.nodeName.toUpperCase();return"HEADER"===o||"FOOTER"===o?!pr(e,n):"SECTION"===o||"FORM"===o?!!su(e):r.indexOf(a)>=0||"region"===a}(t)&&zi(e)},"layout-table-matches":function(e){return!rm(e)&&!ai(e)},"link-in-text-block-evaluate":function(e,t){var n=t.requiredContrastRatio,r=t.allowSameColor;if(Ah(e))return!1;for(var a=$a(e);a&&1===a.nodeType&&!Ah(a);)a=$a(a);if(a){this.relatedNodes([a]);var o=bh(e),i=bh(a),u=mh(e),s=mh(a),l=o&&i?Ch(o,i):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=n)return!0;var c=u&&s?Ch(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=n)return!0;if(!c){var d,f=null!==(d=Uu.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:f}),void Uu.clear()}if(l)return!(!r||1!==l||1!==c)||(1===l&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:n,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:n,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}},"link-in-text-block-matches":function(e){var t=ni(e.innerText),n=e.getAttribute("role");return(!n||"link"===n)&&!!t&&!!Za(e)&&Lu(e)},"link-in-text-block-style-evaluate":function(e){if(Th(e))return!1;for(var t=$a(e);t&&1===t.nodeType&&!Th(t);)t=$a(t);if(t){if(this.relatedNodes([t]),eh(e,t))return!0;if(!function(e){for(var t=0,n=["before","after"];tt.maxDelay},"meta-viewport-scale-evaluate":function(e,t,n){var r=t||{},a=r.scaleMinimum,o=void 0===a?2:a,i=r.lowerBound,u=void 0!==i&&i,s=n.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce((function(e,t){var n=t.trim();if(!n)return e;var r=Q(n.split("="),2),a=r[0],o=r[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 zi(e)}));if(o.length>1)return;return!Po(e,"aria-labelledby").includes(o[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var n=Ti(t);return!!n&&!!Ho.ariaRoles[n].childrenPresentational},"no-autoplay-audio-evaluate":function(e,t){if(e.duration){var n=t.allowedDuration,r=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 Q(t,2)[1].split(",").map((function(e){return/:/.test(e)?function(e){for(var t=e.split(":"),n=0,r=1;t.length>0;)n+=r*parseInt(t.pop(),10),r*=60;return parseFloat(n)}(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)<=r&&!e.hasAttribute("loop")||!!e.hasAttribute("controls")}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":ym,"no-focusable-content-evaluate":function(e,t,n){if(n.children)try{var r=Sh(n);if(!r.length)return!0;var a=r.filter(Nh);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(r),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":function(e,t,n){var r,a,o=Ti(n,{noImplicit:!0});this.data(o);try{r=ni(Mi(n)).toLowerCase(),a=ni(su(n)).toLowerCase()}catch(e){return}return!(!a&&!r)&&!((a||!r)&&a.includes(r))&&void 0},"no-naming-method-matches":function(e,t){var n=Fi(t).namingMethods;return!(n&&0!==n.length||"combobox"===Ko(t)&&Hf(t,'input:not([type="hidden"])').length||Mp(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var n=parseInt(t.attr("tabindex"),10);return isNaN(n)||n>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":function(e,t,n){var r=n.props.nodeName,a=(n.attr("type")||"").toLowerCase(),o=n.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==r||!["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[ym,wm].every((function(n){return n(e,t)}))},"only-dlitems-evaluate":function(e,t,n){var r=["definition","term","list"],a=n.children.reduce((function(e,t){var n=t.actualNode;return"DIV"===n.nodeName.toUpperCase()&&null===Ti(n)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var n=t.actualNode,a=n.nodeName.toUpperCase();if(1===n.nodeType&&zi(n)){var o=Ko(n);("DT"!==a&&"DD"!==a||o)&&(r.includes(o)||e.badNodes.push(n))}else 3===n.nodeType&&""!==n.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,n){var r=!1,a=!1,o=!0,i=[],u=[],s=[];return n.children.forEach((function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&zi(t)){o=!1;var n="LI"===t.nodeName.toUpperCase(),l=Ti(e),c="listitem"===l;n||c||i.push(t),n&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else r=!0})),r||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,n){var r=Array.from(e.parentNode.children),a=r.indexOf(e),o=(t=t||{}).margins||[],i=r.slice(a+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),u=r.slice(0,a).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),s=cm(e),l=i?cm(i):null,c=u?cm(u):null,d=t.passLength,f=t.failLength,p=e.textContent.trim().length,h=null==i?void 0:i.textContent.trim().length;if(p>h*d)return!0;if(!l||!dm(s,l,o))return!0;var m=ga(n,"blockquote");return!!(m&&"BLOCKQUOTE"===m.nodeName.toUpperCase()||c&&!dm(s,c,o)||p>h*f)&&void 0},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),n=e.textContent.trim();return!(0===n.length||(n.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,n){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var r="page-no-duplicate;"+t.selector;if(!Wn.get(r)){Wn.set(r,!0);var a=_f(c._tree[0],t.selector,(function(e){return zi(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!ga(e,t.nativeScopeFilter)}))),this.relatedNodes(a.filter((function(e){return e!==n})).map((function(e){return e.actualNode}))),a.length<=1}this.data("ignored")},"presentation-role-conflict-matches":function(e,t){return null!==Ei(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,n){var r=Ko(n);if(["presentation","none"].includes(r)&&["iframe","frame"].includes(n.props.nodeName)&&n.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:n.props.nodeName}),!1;var a=Ti(n);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(r))return!1;var o,i=Yo().some((function(e){return n.hasAttr(e)})),u=ai(n);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 n,r=e.node.ancestry.slice(0,-1),a=ae(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(Df(r,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,n){return this.data({isIframe:["iframe","frame"].includes(n.props.nodeName)}),!Wn.get("regionlessNodes",(function(){return function(e){return hm(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,n){return n.indexOf(e)===t}))}(t)})).includes(n)},"same-caption-summary-evaluate":function(e,t,n){if(void 0!==n.children){var r=n.attr("summary"),a=n.children.find(mm),o=!!a&&ni(_i(a));return!(!o||!r)&&ni(r).toLowerCase()===ni(o).toLowerCase()}},"scope-value-evaluate":function(e,t){var n=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(n)},"scrollable-region-focusable-matches":function(e,t){return void 0!==of(e,13)&&!1===Mp(t)&&Hf(t,"*").some((function(e){return xu(e,!0,!0)}))},"skip-link-evaluate":function(e){var t=Fo(e,"href");return!!t&&(zi(t)||void 0)},"skip-link-matches":function(e){return ed(e)&&Ua(e)},"structured-dlitems-evaluate":function(e,t,n){var r=n.children;if(!r||!r.length)return!1;for(var a,o=!1,i=!1,u=0;u=o||(u=Math.min(u,c),i.push(l))}}}catch(e){s.e(e)}finally{s.f()}return 0===i.length?(this.data({closestOffset:u,minOffset:o}),!0):(this.relatedNodes(i.map((function(e){return e.actualNode}))),i.some(Bu)?(this.data({closestOffset:u,minOffset:o}),!Bu(n)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:u,minOffset:o}))},"target-size-evaluate":function(e,t,n){var r=(null==t?void 0:t.minSize)||24,a=n.boundingClientRect,o=Vh.bind(null,r),i=lo(n),u=function(e,t){return t.filter((function(t){return!Ph(t,e)&&$h(e,t)}))}(n,i),s=function(e,t){var n,r=[],a=[],o=ae(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;!$h(e,i)&&Oo(e,i)&&"none"!==Lh(i)&&(Ph(e,i)?r.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:r,partialObscuringElms:a}}(n,i),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(l.length&&!u.length)return this.relatedNodes(zh(l)),this.data({messageKey:"obscured"}),!0;var d=!Bu(n)&&void 0;if(!o(a)&&!u.length)return this.data(Y({minSize:r},jh(a))),d;var f=c.filter((function(e){return"widget"===_u(e)&&ai(e)})),p=function(e,t){var n=e.boundingClientRect;return 0===t.length?null:function(e,t){return e.reduce((function(e,n){var r=Vh(t,e);return r!==Vh(t,n)?r?e:n:e.width*e.height>n.width*n.height?e:n}))}(So(n,t.map((function(e){return e.boundingClientRect}))))}(n,f);if(u.length&&(l.length||!o(p||a)))return this.data({minSize:r,messageKey:"contentOverflow"}),void this.relatedNodes(zh(u));if(0!==f.length&&!o(p)){var h=f.every(Bu),m="partiallyObscured".concat(h?"":"NonTabbable");return this.data(Y({messageKey:m,minSize:r},jh(p))),this.relatedNodes(zh(f)),h?d:void 0}return this.data(Y({minSize:r},jh(p||a))),this.relatedNodes(zh(f)),!0},"td-has-header-evaluate":function(e){var t=[],n=Jh(e),r=Qo(e);return n.forEach((function(e){Au(e)&&nm(e)&&!Pp(e)&&(tm(e,r).some((function(e){return null!==e&&!!Au(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],n=[],r=[],a=0;a0?(this.relatedNodes(r),!1):!n.length||void this.relatedNodes(n)},"th-has-data-cells-evaluate":function(e){var t=Jh(e),n=this,r=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(r=r.concat(t.split(/\s+/)));var n=e.getAttribute("aria-labelledby");n&&(r=r.concat(n.split(/\s+/)))}));var a=t.filter((function(e){return""!==ni(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))})),o=Qo(e),i=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!r.includes(e.getAttribute("id"))){var t=Xo(e,o),a=!1;ei(e)&&(a=im("down",t,o).find((function(t){return!ei(t)&&tm(t,o).includes(e)}))),!a&&ti(e)&&(a=im("right",t,o).find((function(t){return!ti(t)&&tm(t,o).includes(e)}))),a||n.relatedNodes(e),i=i&&a}})),!!i||void 0},"title-only-evaluate":function(e,t,n){var r=mu(n),a=Si(n),o=n.attr("aria-describedby");return!(r||!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,n){var r=ni(n.attr("title")).toLowerCase();return this.data(r),!0},"unsupportedrole-evaluate":function(e,t,n){var r=Ti(n,{dpub:!0,fallback:!0}),a=Zo(r);return a&&this.data(r),a},"valid-lang-evaluate":function(e,t,n){var r=[];return t.attributes.forEach((function(e){var a=n.attr(e);if("string"==typeof a){var o=Od(a),i=t.value?!t.value.map(Od).includes(o):!ip(o);(""!==o&&i||""!==a&&!ni(a))&&r.push(e+'="'+n.attr(e)+'"')}})),!(!r.length||"html"!==n.props.nodeName&&!ku(n)||(this.data(r),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var n=Ko(e);return n&&(Yp[n]||t.roles.includes(n))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return Gp[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return Fm.every((function(n){return n(e,t)}))},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":function(e,t,n){return Od(n.attr("lang"))===Od(n.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=Od(e.getAttribute("lang")),n=Od(e.getAttribute("xml:lang"));return ip(t)&&ip(n)}},Am=xm,km=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function Tm(e){if("string"==typeof e){if(Am[e])return Am[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 Om(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==l(e))&&(e={value:e}),e}function Sm(e){e&&(this.id=e.id,this.configure(e))}Sm.prototype.enabled=!0,Sm.prototype.run=function(e,t,n,r,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,s=new km(this),l=Qn(s,t,r,a);try{u=this.evaluate.call(l,e.actualNode,i,e,n)}catch(t){return e&&e.actualNode&&(t.errorNode=new Yn(e).toJSON()),void a(t)}l.isAsync||(s.result=u,r(s))}else r(null)},Sm.prototype.runSync=function(e,t,n){var r=(t=t||{}).enabled;if(!(void 0===r?this.enabled:r))return null;var a,o=this.getOptions(t.options),i=new km(this),u=Qn(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,n)}catch(t){throw e&&e.actualNode&&(t.errorNode=new Yn(e).toJSON()),t}return i.result=a,i},Sm.prototype.configure=function(e){var t=this;e.evaluate&&!Am[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=Om(e.options):this.options=e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(n){return t[n]=Tm(e[n])}))},Sm.prototype.getOptions=function(e){return this._internalCheck?sa(this.options,Om(e||{})):e||this.options};var Nm=Sm,Rm=function(e){this.id=e.id,this.result=Yt.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function Bm(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(hn(Yt.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=Tm(e.matches))}function _m(e){if(e.length){var t=!1,n={};return e.forEach((function(e){var r=e.results.filter((function(e){return e}));n[e.type]=r,r.length&&(t=!0)})),t?n:null}}Bm.prototype.matches=function(){return!0},Bm.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="mark_gather_start_"+this.id,r="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&Of.mark(n);var i=Yf(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&Of.mark(a),i=i.filter((function(e){return zi(e)})),t.performanceTimer&&(Of.mark(o),Of.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(Of.mark(r),Of.measure("rule_"+this.id+"#gather",n,r)),i},Bm.prototype.runChecks=function(e,t,n,r,a,o){var i=this,u=yr();this[e].forEach((function(e){var a=i._audit.checks[e.id||e],o=Ld(a,i.id,n);u.defer((function(e,n){a.run(t,o,r,e,n)}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(o)},Bm.prototype.runChecksSync=function(e,t,n,r){var a=this,o=[];return this[e].forEach((function(e){var i=a._audit.checks[e.id||e],u=Ld(i,a.id,n);o.push(i.runSync(t,u,r))})),{type:e,results:o=o.filter((function(e){return e}))}},Bm.prototype.run=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o,i=yr(),u=new Rm(this);try{o=this.gatherAndMatchNodes(e,n)}catch(e){return void a(new d({cause:e,ruleId:this.id}))}n.performanceTimer&&this._logGatherPerformance(o),o.forEach((function(r){i.defer((function(a,o){var i=yr();["any","all","none"].forEach((function(a){i.defer((function(o,i){t.runChecks(a,r,n,e,o,i)}))})),i.then((function(e){var o=_m(e);o&&(o.node=new Yn(r,n),u.nodes.push(o),t.reviewOnFail&&(["any","all"].forEach((function(e){o[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),o.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),a()})).catch((function(e){return o(e)}))}))})),i.defer((function(e){return setTimeout(e,0)})),n.performanceTimer&&this._logRulePerformance(),i.then((function(){return r(u)})).catch((function(e){return a(e)}))},Bm.prototype.runSync=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var r,a=new Rm(this);try{r=this.gatherAndMatchNodes(e,n)}catch(e){throw new d({cause:e,ruleId:this.id})}return n.performanceTimer&&this._logGatherPerformance(r),r.forEach((function(r){var o=[];["any","all","none"].forEach((function(a){o.push(t.runChecksSync(a,r,n,e))}));var i=_m(o);i&&(i.node=r.actualNode?new Yn(r,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)}))))})),n.performanceTimer&&this._logRulePerformance(),a},Bm.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},Bm.prototype._logGatherPerformance=function(e){Qt("gather (",e.length,"):",Of.timeElapsed()+"ms"),Of.mark(this._markChecksStart)},Bm.prototype._logRulePerformance=function(){Of.mark(this._markChecksEnd),Of.mark(this._markEnd),Of.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Of.measure("rule_"+this.id,this._markStart,this._markEnd)},Bm.prototype.gatherAndMatchNodes=function(e,t){var n=this,r="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&Of.mark(r),o=o.filter((function(t){return n.matches(t.actualNode,t,e)})),t.performanceTimer&&(Of.mark(a),Of.measure("rule_"+this.id+"#matches",r,a)),o},Bm.prototype.after=function(e,t){var n,r=this,a=na(n=this).map((function(e){var t=n._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null})).filter(Boolean),o=this.id;return a.forEach((function(n){var a,i,u,s=(a=e.nodes,i=n.id,u=[],a.forEach((function(e){na(e).forEach((function(t){t.id===i&&(t.node=e.node,u.push(t))}))})),u),l=Ld(n,o,t),c=n.after(s,l);r.reviewOnFail&&c.forEach((function(e){var t=(r.any.includes(e.id)||r.all.includes(e.id))&&!1===e.result,n=r.none.includes(e.id)&&!0===e.result;(t||n)&&(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"],n=e.nodes.filter((function(e){var n=0;return t.forEach((function(t){e[t]=e[t].filter((function(e){return!0!==e.filtered})),n+=e[t].length})),n>0}));return e.pageLevel&&n.length&&(n=[n.reduce((function(e,n){if(e)return t.forEach((function(t){e[t].push.apply(e[t],n[t])})),e}))]),n}(e),e},Bm.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=Tm(e.matches)),e.impact&&(hn(Yt.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var Mm=Bm,Im=le(Ht()),Pm=/\{\{.+?\}\}/g;function Lm(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function jm(e,t,n){var r,a;for(r=0,a=e.length;r0&&void 0!==arguments[0]?arguments[0]:null,n=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(r){e.data.rules[r.id]||(e.data.rules[r.id]={});var a=e.data.rules[r.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===zm(t,r.id,n))&&(a.helpUrl=zm(e,r.id,n))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),e}();function Vm(e,t,n){return n.performanceTimer&&Of.mark("mark_rule_start_"+e.id),function(r,a){e.run(t,n,(function(e){r(e)}),(function(t){if(n.debug)a(t);else{var o=Object.assign(new Rm(e),{result:Yt.CANTTELL,description:"An error occured while running this rule",message:t.message,stack:t.stack,error:t,errorNode:t.errorNode});r(o)}}))}}function zm(e,t,n){var r=e.brand,a=e.application,o=e.lang;return Yt.helpUrlBase+r+"/"+(n||c.version.substring(0,c.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(o&&"en"!==o?"&lang="+encodeURIComponent(o):"")}var qm=$m;function Um(){Wn.get("globalDocumentSet")&&(Wn.set("globalDocumentSet",!1),s=null),Wn.get("globalWindowSet")&&(Wn.set("globalWindowSet",!1),i=null)}var Hm=function(){Um(),c._memoizedFns.forEach((function(e){return e.clear()})),Wn.clear(),c._tree=void 0,c._selectorData=void 0,c._selectCache=void 0},Zm=function(e,t,n,r){try{e=new nf(e),c._tree=e.flatTree,c._selectorData=_n(e.flatTree)}catch(e){return Hm(),r(e)}var a=yr(),o=c._audit;t.performanceTimer&&Of.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(n,r){ia(e,t,"rules",null,n,r)})),a.defer((function(n,r){o.run(e,t,n,r)})),a.then((function(a){try{t.performanceTimer&&Of.auditEnd();var i=oa(a.map((function(e){return{results:e}})));e.initiator&&((i=o.after(i,t)).forEach(Uf),i=i.map(ln));try{n(i,Hm)}catch(e){Hm(),Qt(e)}}catch(e){Hm(),r(e)}})).catch((function(e){Hm(),r(e)}))};i.top!==i&&(Qr.subscribe("axe.start",(function(e,t,n){var r=n,a=function(e){e instanceof Error==0&&(e=new Error(e)),n(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[s]);var i=e&&e.options||{};switch(e.command){case"rules":return Zm(o,i,(function(e,t){r(e),t()}),a);case"cleanup-plugin":return fp(r,a);default:if(c._audit&&c._audit.commands&&c._audit.commands[e.command])return c._audit.commands[e.command](e,n)}})),Qr.subscribe("axe.ping",(function(e,t,n){n({axe:!0})})));function Wm(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){c._audit.registerCommand(e)}))}Wm.prototype.run=function(){return this._run.apply(this,arguments)},Wm.prototype.collect=function(){return this._collect.apply(this,arguments)},Wm.prototype.cleanup=function(e){var t=c.utils.queue(),n=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){n._registry[e].cleanup(t)}))})),t.then(e)},Wm.prototype.add=function(e){this._registry[e.id]=e};function Km(e){var t,n,r,a,o=Q(e,3),i=o[0],u=o[1],d=o[2],f=new TypeError("axe.run arguments are invalid");if(!Hd(a=i)&&!Zd(a)){if(void 0!==d)throw f;d=u,u=i,i=s}if("object"!==l(u)){if(void 0!==d)throw f;d=u,u={}}if("function"!=typeof d&&void 0!==d)throw f;return(u=Xn(u)).reporter=null!==(t=null!==(n=u.reporter)&&void 0!==n?n:null===(r=c._audit)||void 0===r?void 0:r.reporter)&&void 0!==t?t:"v1",{context:i,options:u,callback:d}}var Gm=function(){};function Ym(e){var t=e.node,n=W(e,x);n.node=t.toJSON();for(var r=0,a=["any","all","none"];r2&&void 0!==arguments[2]?arguments[2]:{};n.reporter=n.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof Jt||(t=new dp(t));var r=af(e);if(!r)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(r=Object.create(r,{excludeHidden:{value:!1}})).runSync(a,n);Uf(o),ln(o);var i=fn([o]);return i.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=Sd(e)}))})),Y({},jd(),i,{toolOptions:n})},c.run=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};a=Xn(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(n=a.reporter)&&void 0!==n?n:null===(r=c._audit)||void 0===r?void 0:r.reporter)&&void 0!==t?t:"v1",function(e){var t,n=[],r=ae(e);try{for(r.s();!(t=r.n()).done;){var a=t.value,o=n.shift();if(a){a.frameSpec=null!=o?o:null;var i=Qm(a);n.unshift.apply(n,K(i))}}}catch(e){r.e(e)}finally{r.f()}}(e);var i=oa(e);return(i=c._audit.after(i,a)).forEach(Uf),function(e,t){return new Promise((function(n){mp(t.reporter)(e,t,n)}))}(i=i.map(ln),Y({environmentData:o},a))},c.commons=Kh,c.utils=en,c.addReporter("na",(function(e,t,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=W(r,k);n(Y({},jd(a),{toolOptions:o},Bd(e,t)))})),c.addReporter("no-passes",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=W(r,T);t.resultTypes=["violations"];var i=Bd(e,t).violations;n(Y({},jd(a),{toolOptions:o,violations:i}))})),c.addReporter("rawEnv",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=W(r,S);Xm(e,o,(function(e){var t=jd(a);n({raw:e,env:t})}))})),c.addReporter("raw",Xm),c.addReporter("v1",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=W(r,N),i=Bd(e,t),u=function(e){e.nodes.forEach((function(e){e.failureSummary=Sd(e)}))};i.incomplete.forEach(u),i.violations.forEach(u),n(Y({},jd(a),{toolOptions:o},i))})),c.addReporter("v2",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=W(r,R),i=Bd(e,t);n(Y({},jd(a),{toolOptions:o},i))}),!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensures elements of image maps have alternate text",help:"Active elements must have alternate text"},"aria-allowed-attr":{description:"Ensures ARIA attributes are allowed for an element's role",help:"Elements must only use allowed ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-dialog-name":{description:"Ensures 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:"Ensures 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:"Ensures 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:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures 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:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensures "role=text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures