@lmvz-ds/components 0.17.3 → 0.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/README.md +3 -0
- package/cjs/{aria-loader-W9Zvc9e-.js → aria-loader-CfFuAbJn.js} +2 -2
- package/cjs/icons-swqMn6s2.js +163 -0
- package/cjs/{index-BNm4PQrX.js → index--7IqZZqn.js} +12179 -516
- package/cjs/index.cjs.js +6 -85
- package/cjs/lmvz-action.cjs.entry.js +1 -1
- package/cjs/lmvz-button.cjs.entry.js +4 -4
- package/cjs/lmvz-card.cjs.entry.js +24 -4
- package/cjs/lmvz-chip.cjs.entry.js +1 -1
- package/cjs/lmvz-components.cjs.js +1 -1
- package/cjs/lmvz-header_2.cjs.entry.js +5 -5
- package/cjs/lmvz-icon.cjs.entry.js +24 -13
- package/cjs/lmvz-input.cjs.entry.js +5 -5
- package/cjs/lmvz-menuitem.cjs.entry.js +4 -4
- package/cjs/lmvz-select.cjs.entry.js +4 -4
- package/cjs/loader.cjs.js +1 -1
- package/cjs/logger-Bn2yoZGP.js +7189 -0
- package/cjs/{reactive-controller-host-B_davRfI.js → reactive-controller-host-CtaVAiYJ.js} +27 -23
- package/collection/api/ds.constants.js +0 -66
- package/collection/collection-manifest.json +1 -1
- package/collection/components/lmvz-action/lmvz-action.js +1 -1
- package/collection/components/lmvz-button/lmvz-button.css +2 -2
- package/collection/components/lmvz-button/lmvz-button.js +5 -5
- package/collection/components/lmvz-card/lmvz-card.css +5 -5
- package/collection/components/lmvz-card/lmvz-card.js +1 -1
- package/collection/components/lmvz-chip/lmvz-chip.js +1 -1
- package/collection/components/lmvz-header/lmvz-header.js +2 -2
- package/collection/components/lmvz-icon/lmvz-icon.css +13 -13
- package/collection/components/lmvz-icon/lmvz-icon.js +49 -18
- package/collection/components/lmvz-input/lmvz-input.css +1 -1
- package/collection/components/lmvz-input/lmvz-input.js +6 -6
- package/collection/components/lmvz-menuitem/lmvz-menuitem.css +2 -2
- package/collection/components/lmvz-menuitem/lmvz-menuitem.js +1 -1
- package/collection/components/lmvz-select/lmvz-select.css +3 -3
- package/collection/components/lmvz-select/lmvz-select.js +1 -1
- package/collection/index.js +1 -2
- package/collection/integration/header-integration/header-integration.js +51 -0
- package/collection/utils/aria/aria-validation-controller.js +27 -23
- package/collection/utils/http.js +10 -13
- package/collection/utils/icons/icons-registry.js +34 -0
- package/collection/utils/icons/icons.js +49 -0
- package/collection/utils/icons/icons.unit.js +73 -0
- package/collection/utils/icons/public.js +2 -0
- package/collection/utils/public.js +1 -1
- package/components/index.d.ts +9 -9
- package/components/index.d.ts.bak +10 -10
- package/components/index.js +1 -1
- package/components/lmvz-action.d.ts +1 -1
- package/components/lmvz-action.d.ts.bak +11 -0
- package/components/lmvz-action.js +1 -1
- package/components/lmvz-button.d.ts +1 -1
- package/components/lmvz-button.d.ts.bak +11 -0
- package/components/lmvz-button.js +1 -1
- package/components/lmvz-card.d.ts +1 -1
- package/components/lmvz-card.d.ts.bak +11 -0
- package/components/lmvz-card.js +1 -1
- package/components/lmvz-chip.d.ts +1 -1
- package/components/lmvz-chip.d.ts.bak +11 -0
- package/components/lmvz-chip.js +1 -1
- package/components/lmvz-header.d.ts +1 -1
- package/components/lmvz-header.d.ts.bak +11 -0
- package/components/lmvz-header.js +1 -1
- package/components/lmvz-icon.d.ts +1 -1
- package/components/lmvz-icon.d.ts.bak +11 -0
- package/components/lmvz-icon.js +1 -1
- package/components/lmvz-input.d.ts +1 -1
- package/components/lmvz-input.d.ts.bak +11 -0
- package/components/lmvz-input.js +1 -1
- package/components/lmvz-menuitem.d.ts +1 -1
- package/components/lmvz-menuitem.d.ts.bak +11 -0
- package/components/lmvz-menuitem.js +1 -1
- package/components/lmvz-select.d.ts +1 -1
- package/components/lmvz-select.d.ts.bak +11 -0
- package/components/lmvz-select.js +1 -1
- package/components/{p-Clo63DJF.js → p-CBLAeife.js} +1 -1
- package/components/p-DXOTa5VF.js +12 -0
- package/components/p-fiRXhuXK.js +1 -0
- package/esm/{aria-loader-D9aySMw6.js → aria-loader-BF_AYtbb.js} +2 -2
- package/esm/icons-Ca8oMiRa.js +157 -0
- package/esm/{index-n6jVNpyp.js → index-7Ru1khgk.js} +11972 -309
- package/esm/index.js +4 -80
- package/esm/lmvz-action.entry.js +1 -1
- package/esm/lmvz-button.entry.js +4 -4
- package/esm/lmvz-card.entry.js +23 -4
- package/esm/lmvz-chip.entry.js +1 -1
- package/esm/lmvz-components.js +1 -1
- package/esm/lmvz-header_2.entry.js +5 -5
- package/esm/lmvz-icon.entry.js +24 -13
- package/esm/lmvz-input.entry.js +5 -5
- package/esm/lmvz-menuitem.entry.js +4 -4
- package/esm/lmvz-select.entry.js +4 -4
- package/esm/loader.js +1 -1
- package/esm/logger-fiRXhuXK.js +6990 -0
- package/esm/{reactive-controller-host-ByKmPKq1.js → reactive-controller-host-sR2jJxNG.js} +27 -23
- package/hydrate/index.js +78 -3842
- package/hydrate/index.mjs +78 -3842
- package/lmvz-components/index.esm.js +1 -1
- package/lmvz-components/lmvz-components.esm.js +1 -1
- package/lmvz-components/p-0f645295.entry.js +1 -0
- package/lmvz-components/{p-986acfd0.entry.js → p-1506fa34.entry.js} +1 -1
- package/lmvz-components/p-658c5c34.entry.js +1 -0
- package/lmvz-components/{p-1bda378c.entry.js → p-80675ee5.entry.js} +1 -1
- package/lmvz-components/p-872e2106.entry.js +1 -0
- package/lmvz-components/p-93038c98.entry.js +1 -0
- package/lmvz-components/{p-CU4XwA2K.js → p-B3dnXEPG.js} +1 -1
- package/lmvz-components/p-Bh2Epkwf.js +1 -0
- package/lmvz-components/{p-DPHHQR5F.js → p-Bkfdgg0T.js} +1 -1
- package/lmvz-components/p-DXOTa5VF.js +12 -0
- package/lmvz-components/p-bbab5471.entry.js +1 -0
- package/lmvz-components/p-c7e368c4.entry.js +1 -0
- package/lmvz-components/{p-b704eca8.entry.js → p-ff6a0267.entry.js} +1 -1
- package/lmvz-components/p-fiRXhuXK.js +1 -0
- package/manifest.json +64 -283
- package/package.json +4 -2
- package/types/api/ds.constants.d.ts +22 -1
- package/types/api/ds.types.d.ts +3 -38
- package/types/api/index.d.ts +0 -1
- package/types/components/lmvz-action/lmvz-action.d.ts +1 -0
- package/types/components/lmvz-button/lmvz-button.d.ts +2 -2
- package/types/components/lmvz-card/lmvz-card.d.ts +1 -0
- package/types/components/lmvz-chip/lmvz-chip.d.ts +1 -0
- package/types/components/lmvz-header/lmvz-header.d.ts +1 -0
- package/types/components/lmvz-icon/lmvz-icon.d.ts +4 -1
- package/types/components/lmvz-input/lmvz-input.d.ts +1 -0
- package/types/components/lmvz-menuitem/lmvz-menuitem.d.ts +1 -0
- package/types/components/lmvz-select/lmvz-select.d.ts +1 -0
- package/types/components.d.ts +747 -931
- package/types/index.d.ts +2 -2
- package/types/utils/aria/aria-validation-controller.d.ts +1 -0
- package/types/utils/aria/element-activation-controller.d.ts +1 -0
- package/types/utils/aria/list-keyboard-controller.d.ts +1 -0
- package/types/utils/assets.d.ts +1 -0
- package/types/utils/component.d.ts +2 -4
- package/types/utils/environment.d.ts +1 -0
- package/types/utils/http.d.ts +11 -8
- package/types/utils/http.unit.d.ts +1 -0
- package/types/utils/icons/icons-registry.d.ts +13 -0
- package/types/utils/icons/icons.d.ts +8 -0
- package/types/utils/icons/icons.unit.d.ts +8 -0
- package/types/utils/icons/public.d.ts +4 -0
- package/types/utils/public.d.ts +2 -1
- package/types/utils/reactive-controller-host.d.ts +1 -0
- package/assets/.DS_Store +0 -0
- package/assets/icons/.DS_Store +0 -0
- package/assets/icons/actions.svg +0 -5
- package/assets/icons/adduser.svg +0 -3
- package/assets/icons/alert.svg +0 -3
- package/assets/icons/apple.svg +0 -3
- package/assets/icons/arrow-down.svg +0 -3
- package/assets/icons/arrow-left.svg +0 -3
- package/assets/icons/arrow-right.svg +0 -3
- package/assets/icons/arrow-up.svg +0 -3
- package/assets/icons/book.svg +0 -3
- package/assets/icons/bookmark.svg +0 -3
- package/assets/icons/checkmark.svg +0 -3
- package/assets/icons/chevron-left.svg +0 -3
- package/assets/icons/chevron-right.svg +0 -3
- package/assets/icons/chevron-up.svg +0 -3
- package/assets/icons/close-l.svg +0 -3
- package/assets/icons/close-sm.svg +0 -3
- package/assets/icons/cog.svg +0 -4
- package/assets/icons/computer.svg +0 -3
- package/assets/icons/dashboard.svg +0 -6
- package/assets/icons/delete.svg +0 -3
- package/assets/icons/download.svg +0 -3
- package/assets/icons/edit.svg +0 -3
- package/assets/icons/external.svg +0 -3
- package/assets/icons/facebook.svg +0 -3
- package/assets/icons/favorite.svg +0 -3
- package/assets/icons/filter.svg +0 -3
- package/assets/icons/group.svg +0 -3
- package/assets/icons/hide.svg +0 -3
- package/assets/icons/home.svg +0 -3
- package/assets/icons/info.svg +0 -3
- package/assets/icons/instagram.svg +0 -3
- package/assets/icons/letter.svg +0 -3
- package/assets/icons/linkedin.svg +0 -5
- package/assets/icons/logout.svg +0 -3
- package/assets/icons/map.svg +0 -3
- package/assets/icons/minus.svg +0 -3
- package/assets/icons/navigation.svg +0 -3
- package/assets/icons/plus.svg +0 -3
- package/assets/icons/qr-scan.svg +0 -3
- package/assets/icons/question.svg +0 -10
- package/assets/icons/reader.svg +0 -3
- package/assets/icons/reset.svg +0 -3
- package/assets/icons/school.svg +0 -3
- package/assets/icons/search.svg +0 -3
- package/assets/icons/send.svg +0 -3
- package/assets/icons/settings.svg +0 -3
- package/assets/icons/share.svg +0 -10
- package/assets/icons/shopping-cart.svg +0 -3
- package/assets/icons/show.svg +0 -3
- package/assets/icons/snapchat.svg +0 -3
- package/assets/icons/sort.svg +0 -3
- package/assets/icons/speech-bubble.svg +0 -3
- package/assets/icons/star.svg +0 -3
- package/assets/icons/student.svg +0 -3
- package/assets/icons/upload.svg +0 -3
- package/assets/icons/user.svg +0 -3
- package/assets/icons/warn-circle.svg +0 -3
- package/assets/icons/warn-triangle.svg +0 -3
- package/assets/icons/whatsapp.svg +0 -4
- package/assets/icons/world.svg +0 -10
- package/assets/icons/x.svg +0 -3
- package/assets/icons/youtube.svg +0 -3
- package/cjs/Effect-YVFLBEfy.js +0 -19037
- package/cjs/assets-DxYhun-q.js +0 -26
- package/cjs/icons-DgYgcKGK.js +0 -653
- package/collection/api/index.js +0 -1
- package/collection/assets/.DS_Store +0 -0
- package/collection/assets/icons/.DS_Store +0 -0
- package/collection/assets/icons/actions.svg +0 -5
- package/collection/assets/icons/adduser.svg +0 -3
- package/collection/assets/icons/alert.svg +0 -3
- package/collection/assets/icons/apple.svg +0 -3
- package/collection/assets/icons/arrow-down.svg +0 -3
- package/collection/assets/icons/arrow-left.svg +0 -3
- package/collection/assets/icons/arrow-right.svg +0 -3
- package/collection/assets/icons/arrow-up.svg +0 -3
- package/collection/assets/icons/book.svg +0 -3
- package/collection/assets/icons/bookmark.svg +0 -3
- package/collection/assets/icons/checkmark.svg +0 -3
- package/collection/assets/icons/chevron-left.svg +0 -3
- package/collection/assets/icons/chevron-right.svg +0 -3
- package/collection/assets/icons/chevron-up.svg +0 -3
- package/collection/assets/icons/close-l.svg +0 -3
- package/collection/assets/icons/close-sm.svg +0 -3
- package/collection/assets/icons/cog.svg +0 -4
- package/collection/assets/icons/computer.svg +0 -3
- package/collection/assets/icons/dashboard.svg +0 -6
- package/collection/assets/icons/delete.svg +0 -3
- package/collection/assets/icons/download.svg +0 -3
- package/collection/assets/icons/edit.svg +0 -3
- package/collection/assets/icons/external.svg +0 -3
- package/collection/assets/icons/facebook.svg +0 -3
- package/collection/assets/icons/favorite.svg +0 -3
- package/collection/assets/icons/filter.svg +0 -3
- package/collection/assets/icons/group.svg +0 -3
- package/collection/assets/icons/hide.svg +0 -3
- package/collection/assets/icons/home.svg +0 -3
- package/collection/assets/icons/info.svg +0 -3
- package/collection/assets/icons/instagram.svg +0 -3
- package/collection/assets/icons/letter.svg +0 -3
- package/collection/assets/icons/linkedin.svg +0 -5
- package/collection/assets/icons/logout.svg +0 -3
- package/collection/assets/icons/map.svg +0 -3
- package/collection/assets/icons/minus.svg +0 -3
- package/collection/assets/icons/navigation.svg +0 -3
- package/collection/assets/icons/plus.svg +0 -3
- package/collection/assets/icons/qr-scan.svg +0 -3
- package/collection/assets/icons/question.svg +0 -10
- package/collection/assets/icons/reader.svg +0 -3
- package/collection/assets/icons/reset.svg +0 -3
- package/collection/assets/icons/school.svg +0 -3
- package/collection/assets/icons/search.svg +0 -3
- package/collection/assets/icons/send.svg +0 -3
- package/collection/assets/icons/settings.svg +0 -3
- package/collection/assets/icons/share.svg +0 -10
- package/collection/assets/icons/shopping-cart.svg +0 -3
- package/collection/assets/icons/show.svg +0 -3
- package/collection/assets/icons/snapchat.svg +0 -3
- package/collection/assets/icons/sort.svg +0 -3
- package/collection/assets/icons/speech-bubble.svg +0 -3
- package/collection/assets/icons/star.svg +0 -3
- package/collection/assets/icons/student.svg +0 -3
- package/collection/assets/icons/upload.svg +0 -3
- package/collection/assets/icons/user.svg +0 -3
- package/collection/assets/icons/warn-circle.svg +0 -3
- package/collection/assets/icons/warn-triangle.svg +0 -3
- package/collection/assets/icons/whatsapp.svg +0 -4
- package/collection/assets/icons/world.svg +0 -10
- package/collection/assets/icons/x.svg +0 -3
- package/collection/assets/icons/youtube.svg +0 -3
- package/collection/components/lmvz-icon/icons.js +0 -36
- package/collection/components/lmvz-icon/public.js +0 -1
- package/collection/components/lmvz-icon/test/icons.unit.js +0 -98
- package/collection/integration/header-integration.js +0 -46
- package/collection/utils/effect.js +0 -6
- package/collection/utils/validation/svg.js +0 -24
- package/components/p-CYcWxAp5.js +0 -1
- package/components/p-DHtXOUVf.js +0 -1
- package/components/p-VkiNs_yz.js +0 -12
- package/esm/Effect-DkwJP3kx.js +0 -18828
- package/esm/assets-_WDisN-f.js +0 -23
- package/esm/icons-Crg18Lio.js +0 -649
- package/lmvz-components/p-121f74d8.entry.js +0 -1
- package/lmvz-components/p-373a9cbf.entry.js +0 -1
- package/lmvz-components/p-43e295ba.entry.js +0 -1
- package/lmvz-components/p-5f150890.entry.js +0 -1
- package/lmvz-components/p-6d5fa8c4.entry.js +0 -1
- package/lmvz-components/p-BT8PQPMJ.js +0 -1
- package/lmvz-components/p-BxiCs9Wn.js +0 -1
- package/lmvz-components/p-CXQcJLbG.js +0 -12
- package/lmvz-components/p-DkwJP3kx.js +0 -1
- package/lmvz-components/p-abbfa6aa.entry.js +0 -1
- package/types/components/lmvz-icon/icons.d.ts +0 -8
- package/types/components/lmvz-icon/public.d.ts +0 -1
- package/types/components/lmvz-icon/test/icons.unit.d.ts +0 -1
- package/types/utils/effect.d.ts +0 -3
- package/types/utils/validation/svg.d.ts +0 -11
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{d as e,h as t,e as n,f as r,j as a,p as i,N as o,s as u,k as s,n as l,o as c,q as d,u as f,v as h,w as p,x as m,y as v,z as b,A as g,B as y,C as D,D as w,E as F,F as E,G as x,H as A,I as C,J as k,K as R,L as S,M as T,O as M,P as O,S as N,Q as j,R as B,U as _,V as I,W as q,X as P,Y as $,Z as z,_ as L,$ as G,a0 as H,a1 as U,a2 as V,a3 as K,a4 as W,i as Y,a5 as Z,m as X,a6 as J,a7 as Q,a8 as ee,a9 as te,aa as ne,ab as re,ac as ae,ad as ie,ae as oe,af as ue,ag as se,ah as le,ai as ce,aj as de,ak as fe,al as he,am as pe,an as me,ao as ve,ap as be,aq as ge,ar as ye,as as De,at as we,au as Fe,av as Ee,aw as xe,ax as Ae,ay as Ce,az as ke,aA as Re,aB as Se,aC as Te,aD as Me,aE as Oe,aF as Ne,aG as je,aH as Be,aI as _e,aJ as Ie,aK as qe,aL as Pe,aM as $e,aN as ze,aO as Le,aP as Ge,aQ as He,aR as Ue,aS as Ve,aT as Ke,aU as We,r as Ye,l as Ze,aV as Xe,aW as Je,aX as Qe,aY as et,aZ as tt,a_ as nt,a$ as rt,b0 as at,b1 as it,b2 as ot,b3 as ut,b4 as st,b5 as lt,b6 as ct,b7 as dt,b8 as ft,b9 as ht,ba as pt,bb as mt,bc as vt,a as bt,bd as gt,be as yt,bf as Dt,bg as wt,bh as Ft,bi as Et,bj as xt,bk as At,bl as Ct,bm as kt,bn as Rt,bo as St,bp as Tt,bq as Mt,br as Ot,bs as Nt,bt as jt,bu as Bt,bv as _t,bw as It,bx as qt,by as Pt,bz as $t,bA as zt,bB as Lt,bC as Gt,bD as Ht,bE as Ut,bF as Vt,bG as Kt,bH as Wt,bI as Yt,bJ as Zt,bK as Xt,bL as Jt,bM as Qt,bN as en,bO as tn,bP as nn,bQ as rn,bR as an,bS as on,bT as un,bU as sn,bV as ln,bW as cn,bX as dn,bY as fn,bZ as hn,b_ as pn,b$ as mn,c0 as vn,c1 as bn,c2 as gn,c3 as yn,c4 as Dn,c5 as wn,c6 as Fn,c7 as En,c8 as xn,c9 as An,ca as Cn,cb as kn,cc as Rn,cd as Sn,ce as Tn,cf as Mn}from"./p-fiRXhuXK.js";const On=e=>(t,n)=>t===n?0:e(t,n),Nn=On(((e,t)=>e<t?-1:1)),jn=e(2,((e,t)=>On(((n,r)=>e(t(n),t(r)))))),Bn=t=>e(2,((e,n)=>1===t(e,n))),_n=Nn,In=Symbol.for("effect/Duration"),qn=BigInt(0),Pn=BigInt(24),$n=BigInt(60),zn=BigInt(1e3),Ln=BigInt(1e6),Gn=BigInt(1e9),Hn=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,Un=e=>{if(Zn(e))return e;if(n(e))return tr(e);if(r(e))return Qn(e);if(Array.isArray(e)&&2===e.length&&e.every(n))return e[0]===-1/0||e[1]===-1/0||Number.isNaN(e[0])||Number.isNaN(e[1])?Xn:e[0]===1/0||e[1]===1/0?Jn:Qn(BigInt(Math.round(1e9*e[0]))+BigInt(Math.round(e[1])));if(a(e)){const t=Hn.exec(e);if(t){const[e,n,r]=t,a=Number(n);switch(r){case"nano":case"nanos":return Qn(BigInt(n));case"micro":case"micros":return er(BigInt(n));case"milli":case"millis":return tr(a);case"second":case"seconds":return nr(a);case"minute":case"minutes":return rr(a);case"hour":case"hours":return ar(a);case"day":case"days":return ir(a);case"week":case"weeks":return or(a)}}}throw new Error("Invalid DurationInput")},Vn={_tag:"Millis",millis:0},Kn={_tag:"Infinity"},Wn={[In]:In,[s](){return l(this,c(this.value))},[u](e){return Zn(e)&&hr(this,e)},toString(){return`Duration(${pr(this)})`},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",hrtime:sr(this)};case"Infinity":return{_id:"Duration",_tag:"Infinity"}}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},Yn=e=>{const t=Object.create(Wn);return t.value=n(e)?isNaN(e)||e<=0?Vn:Number.isFinite(e)?Number.isInteger(e)?{_tag:"Millis",millis:e}:{_tag:"Nanos",nanos:BigInt(Math.round(1e6*e))}:Kn:e<=qn?Vn:{_tag:"Nanos",nanos:e},t},Zn=e=>t(e,In),Xn=Yn(0),Jn=Yn(1/0),Qn=e=>Yn(e),er=e=>Yn(e*zn),tr=e=>Yn(e),nr=e=>Yn(1e3*e),rr=e=>Yn(6e4*e),ar=e=>Yn(36e5*e),ir=e=>Yn(864e5*e),or=e=>Yn(6048e5*e),ur=e=>lr(e,{onMillis:e=>e,onNanos:e=>Number(e)/1e6}),sr=e=>{const t=Un(e);switch(t.value._tag){case"Infinity":return[1/0,0];case"Nanos":return[Number(t.value.nanos/Gn),Number(t.value.nanos%Gn)];case"Millis":return[Math.floor(t.value.millis/1e3),Math.round(t.value.millis%1e3*1e6)]}},lr=e(2,((e,t)=>{const n=Un(e);switch(n.value._tag){case"Nanos":return t.onNanos(n.value.nanos);case"Infinity":return t.onMillis(1/0);case"Millis":return t.onMillis(n.value.millis)}})),cr=e(3,((e,t,n)=>{const r=Un(e),a=Un(t);if("Infinity"===r.value._tag||"Infinity"===a.value._tag)return n.onMillis(ur(r),ur(a));if("Nanos"===r.value._tag||"Nanos"===a.value._tag){const e="Nanos"===r.value._tag?r.value.nanos:BigInt(Math.round(1e6*r.value.millis)),t="Nanos"===a.value._tag?a.value.nanos:BigInt(Math.round(1e6*a.value.millis));return n.onNanos(e,t)}return n.onMillis(r.value.millis,a.value.millis)})),dr=e(2,((e,t)=>cr(e,t,{onMillis:(e,t)=>e<=t,onNanos:(e,t)=>e<=t}))),fr=e(2,((e,t)=>cr(e,t,{onMillis:(e,t)=>e>=t,onNanos:(e,t)=>e>=t}))),hr=e(2,((e,t)=>((e,t)=>cr(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t}))(Un(e),Un(t)))),pr=e=>{const t=Un(e);if("Infinity"===t.value._tag)return"Infinity";if((e=>{switch(e.value._tag){case"Millis":return 0===e.value.millis;case"Nanos":return e.value.nanos===qn;case"Infinity":return!1}})(t))return"0";const n=(e=>{const t=Un(e);if("Infinity"===t.value._tag)return{days:1/0,hours:1/0,minutes:1/0,seconds:1/0,millis:1/0,nanos:1/0};const n=(e=>{const t=Un(e);switch(t.value._tag){case"Infinity":throw new Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return BigInt(Math.round(1e6*t.value.millis))}})(t),r=n/Ln,a=r/zn,i=a/$n,o=i/$n;return{days:Number(o/Pn),hours:Number(o%Pn),minutes:Number(i%$n),seconds:Number(a%$n),millis:Number(r%zn),nanos:Number(n%Ln)}})(t),r=[];return 0!==n.days&&r.push(`${n.days}d`),0!==n.hours&&r.push(`${n.hours}h`),0!==n.minutes&&r.push(`${n.minutes}m`),0!==n.seconds&&r.push(`${n.seconds}s`),0!==n.millis&&r.push(`${n.millis}ms`),0!==n.nanos&&r.push(`${n.nanos}ns`),r.join(" ")},mr=d,vr=f,br=m,gr=p,yr=h,Dr=v,wr=x,Fr=D,Er=y,xr=g,Ar=E,Cr=w,kr=F,Rr=b,Sr=Symbol.for("effect/List"),Tr=e=>R(e),Mr=(()=>S(M(O),Tr))(),Or={[Sr]:Sr,_tag:"Cons",toString(){return C(this.toJSON())},toJSON(){return{_id:"List",_tag:"Cons",values:Tr(this).map(T)}},[o](){return this.toJSON()},[u](e){return Ir(e)&&this._tag===e._tag&&Mr(this,e)},[s](){return l(this,k(Tr(this)))},[Symbol.iterator](){let e=!1,t=this;return{next(){if(e)return this.return();if("Nil"===t._tag)return e=!0,this.return();const n=t.head;return t=t.tail,{done:e,value:n}},return:t=>(e||(e=!0),{done:!0,value:t})}},pipe(){return i(this,arguments)}},Nr=(e,t)=>{const n=Object.create(Or);return n.head=e,n.tail=t,n},jr=A("Nil"),Br={[Sr]:Sr,_tag:"Nil",toString(){return C(this.toJSON())},toJSON:()=>({_id:"List",_tag:"Nil"}),[o](){return this.toJSON()},[s]:()=>jr,[u](e){return Ir(e)&&this._tag===e._tag},[Symbol.iterator]:()=>({next:()=>({done:!0,value:void 0})}),pipe(){return i(this,arguments)}},_r=Object.create(Br),Ir=e=>t(e,Sr),qr=e=>"Nil"===e._tag,Pr=e=>"Cons"===e._tag,$r=(e,t)=>Nr(e,t),zr=()=>_r,Lr=e=>Nr(e,_r),Gr=e(2,((e,t)=>Ur(t,e))),Hr=e(2,((e,t)=>$r(t,e))),Ur=e(2,((e,t)=>{if(qr(e))return t;if(qr(t))return e;{const n=Nr(t.head,e);let r=n,a=t.tail;for(;!qr(a);){const t=Nr(a.head,e);r.tail=t,r=t,a=a.tail}return n}})),Vr=e(3,((e,t,n)=>{let r=t,a=e;for(;!qr(a);)r=n(r,a.head),a=a.tail;return r})),Kr=e=>{let t=zr(),n=e;for(;!qr(n);)t=Hr(t,n.head),n=n.tail;return t},Wr=function(){function e(e){e&&Object.assign(this,e)}return e.prototype=N,e}(),Yr=Symbol.for("effect/DifferContextPatch");function Zr(e){return e}const Xr={...Wr.prototype,[Yr]:{_Value:Zr,_Patch:Zr}},Jr=Object.create(Object.assign(Object.create(Xr),{_tag:"Empty"})),Qr=()=>Jr,ea=Object.assign(Object.create(Xr),{_tag:"AndThen"}),ta=Object.assign(Object.create(Xr),{_tag:"AddService"}),na=(e,t)=>{const n=Object.create(ta);return n.key=e,n.service=t,n},ra=Object.assign(Object.create(Xr),{_tag:"RemoveService"}),aa=e=>{const t=Object.create(ra);return t.key=e,t},ia=Object.assign(Object.create(Xr),{_tag:"UpdateService"}),oa=(e,t)=>{const n=Object.create(ia);return n.key=e,n.update=t,n},ua=e(2,((e,t)=>((e,t)=>{const n=Object.create(ea);return n.first=e,n.second=t,n})(e,t))),sa=e(2,((e,t)=>{if("Empty"===e._tag)return t;let n=!1,r=j(e);const a=new Map(t.unsafeMap);for(;B(r);){const e=_(r),t=I(r);switch(e._tag){case"Empty":r=t;break;case"AddService":a.set(e.key,e.service),r=t;break;case"AndThen":r=q(q(t,e.second),e.first);break;case"RemoveService":a.delete(e.key),r=t;break;case"UpdateService":a.set(e.key,e.update(a.get(e.key))),n=!0,r=t}}if(!n)return P(a);const i=new Map;for(const[e]of t.unsafeMap)a.has(e)&&(i.set(e,a.get(e)),a.delete(e));for(const[e,t]of a)i.set(e,t);return P(i)})),la=Symbol.for("effect/DifferHashSetPatch");function ca(e){return e}const da={...Wr.prototype,[la]:{_Value:ca,_Key:ca,_Patch:ca}},fa=Object.create(Object.assign(Object.create(da),{_tag:"Empty"})),ha=()=>fa,pa=Object.assign(Object.create(da),{_tag:"AndThen"}),ma=Object.assign(Object.create(da),{_tag:"Add"}),va=e=>{const t=Object.create(ma);return t.value=e,t},ba=Object.assign(Object.create(da),{_tag:"Remove"}),ga=e(2,((e,t)=>((e,t)=>{const n=Object.create(pa);return n.first=e,n.second=t,n})(e,t))),ya=e(2,((e,t)=>{if("Empty"===e._tag)return t;let n=t,r=j(e);for(;B(r);){const e=_(r),t=I(r);switch(e._tag){case"Empty":r=t;break;case"AndThen":r=q(e.first)(q(e.second)(t));break;case"Add":n=G(e.value)(n),r=t;break;case"Remove":n=L(e.value)(n),r=t}}return n})),Da=Symbol.for("effect/DifferReadonlyArrayPatch");function wa(e){return e}const Fa={...Wr.prototype,[Da]:{_Value:wa,_Patch:wa}},Ea=Object.create(Object.assign(Object.create(Fa),{_tag:"Empty"})),xa=()=>Ea,Aa=Object.assign(Object.create(Fa),{_tag:"AndThen"}),Ca=Object.assign(Object.create(Fa),{_tag:"Append"}),ka=Object.assign(Object.create(Fa),{_tag:"Slice"}),Ra=Object.assign(Object.create(Fa),{_tag:"Update"}),Sa=(e,t)=>{const n=Object.create(Ra);return n.index=e,n.patch=t,n},Ta=e(2,((e,t)=>((e,t)=>{const n=Object.create(Aa);return n.first=e,n.second=t,n})(e,t))),Ma=e(3,((e,t,n)=>{if("Empty"===e._tag)return t;let r=t.slice(),a=V(e);for(;U(a);){const e=K(a),t=W(a);switch(e._tag){case"Empty":a=t;break;case"AndThen":t.unshift(e.first,e.second),a=t;break;case"Append":for(const t of e.values)r.push(t);a=t;break;case"Slice":r=r.slice(e.from,e.until),a=t;break;case"Update":r[e.index]=n.patch(e.patch,r[e.index]),a=t}}return r})),Oa=Symbol.for("effect/Differ"),Na={[Oa]:{_P:Y,_V:Y},pipe(){return i(this,arguments)}},ja=e=>{const t=Object.create(Na);return t.empty=e.empty,t.diff=e.diff,t.combine=e.combine,t.patch=e.patch,t},Ba=()=>_a(((e,t)=>t)),_a=e=>ja({empty:Y,combine:(e,t)=>e===Y?t:t===Y?e:n=>t(e(n)),diff:(e,t)=>O(e,t)?Y:Z(t),patch:(t,n)=>e(n,t(n))}),Ia=255,qa=e=>e&Ia,Pa=e=>e>>8&Ia,$a=(e,t)=>(e&Ia)+((t&e&Ia)<<8),za=$a(0,0),La=e(2,((e,t)=>$a(qa(e)&~t,Pa(e)))),Ga=e(2,((e,t)=>e|t)),Ha=e=>Wa(e,32),Ua=e(2,((e,t)=>e|t)),Va=e=>Ka(e)&&!Ja(e),Ka=e=>Wa(e,1),Wa=e(2,((e,t)=>!!(e&t))),Ya=(...e)=>e.reduce(((e,t)=>e|t),0),Za=Ya(0),Xa=e=>Wa(e,4),Ja=e=>Wa(e,16),Qa=e(2,((e,t)=>$a(e^t,t))),ei=e(2,((e,t)=>e&(~qa(t)>>>0&Ia|Pa(t))|qa(t)&Pa(t))),ti=ja({empty:za,diff:(e,t)=>Qa(e,t),combine:(e,t)=>Ga(t)(e),patch:(e,t)=>ei(t,e)}),ni=e=>$a(e,0),ri=La,ai=(e,t)=>({_tag:"Par",left:e,right:t}),ii=(e,t)=>({_tag:"Seq",left:e,right:t}),oi=e=>{let t=e,n=di(),r=zr(),a=zr();for(;;)switch(t._tag){case"Empty":if(qr(r))return[n,a];t=r.head,r=r.tail;break;case"Par":r=$r(t.right,r),t=t.left;break;case"Seq":{const e=t.left,n=t.right;switch(e._tag){case"Empty":t=n;break;case"Par":{const r=e.right;t=ai(ii(e.left,n),ii(r,n));break}case"Seq":t=ii(e.left,ii(e.right,n));break;case"Single":t=e,a=$r(n,a)}break}case"Single":if(n=fi(n,t),qr(r))return[n,a];t=r.head,r=r.tail}throw new Error("BUG: BlockedRequests.step - please report an issue at https://github.com/Effect-TS/effect/issues")},ui=(e,t)=>{if(qr(e))return Lr(vi(t));if(pi(t))return e;const n=Fi(e.head),r=mi(t);return 1===n.length&&1===r.length&&O(n[0],r[0])?$r(wi(e.head,vi(t)),e.tail):$r(vi(t),e)},si=Symbol.for("effect/RequestBlock/RequestBlockParallel"),li={_R:e=>e};class ci{map;[si]=li;constructor(e){this.map=e}}const di=()=>new ci(Dr()),fi=(e,t)=>new ci(Cr(e.map,t.dataSource,(e=>Q(ee(e,te(t.blockedRequest)),(()=>j(t.blockedRequest)))))),hi=(e,t)=>new ci(Rr(e.map,t.map,((e,t,n)=>xr(e,n,X(Er(e,n),{onNone:()=>t,onSome:e=>J(t,e)}))))),pi=e=>Fr(e.map),mi=e=>Array.from(Ar(e.map)),vi=e=>Di(kr(e.map,(e=>j(e)))),bi=Symbol.for("effect/RequestBlock/RequestBlockSequential"),gi={_R:e=>e};class yi{map;[bi]=gi;constructor(e){this.map=e}}const Di=e=>new yi(e),wi=(e,t)=>new yi(Rr(t.map,e.map,((e,t,n)=>xr(e,n,X(Er(e,n),{onNone:()=>ne(),onSome:e=>J(e,t)}))))),Fi=e=>Array.from(Ar(e.map)),Ei="Pending",xi="Done",Ai=Symbol.for("effect/Deferred"),Ci={_E:e=>e,_A:e=>e},ki=e=>({_tag:xi,effect:e});class Ri{self;called=!1;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}return(e){return{value:e,done:!0}}throw(e){throw e}[Symbol.iterator](){return new Ri(this.self)}}const Si=(e,t)=>{const n=new Oi("Blocked");return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n},Ti=Symbol.for("effect/Effect");class Mi{patch;op;_op=et;constructor(e,t){this.patch=e,this.op=t}}class Oi{_op;effect_instruction_i0=void 0;effect_instruction_i1=void 0;effect_instruction_i2=void 0;trace=void 0;[Ti]=ae;constructor(e){this._op=e}[u](e){return this===e}[s](){return l(this,ie(this))}pipe(){return i(this,arguments)}toJSON(){return{_id:"Effect",_op:this._op,effect_instruction_i0:T(this.effect_instruction_i0),effect_instruction_i1:T(this.effect_instruction_i1),effect_instruction_i2:T(this.effect_instruction_i2)}}toString(){return C(this.toJSON())}[o](){return this.toJSON()}[Symbol.iterator](){return new Ri(new oe(this))}}class Ni{_op;effect_instruction_i0=void 0;effect_instruction_i1=void 0;effect_instruction_i2=void 0;trace=void 0;[Ti]=ae;constructor(e){this._op=e,this._tag=e}[u](e){return ju(e)&&"Failure"===e._op&&O(this.effect_instruction_i0,e.effect_instruction_i0)}[s](){return be(A(this._tag),ge(ye(this.effect_instruction_i0)),l(this))}get cause(){return this.effect_instruction_i0}pipe(){return i(this,arguments)}toJSON(){return{_id:"Exit",_tag:this._op,cause:this.cause.toJSON()}}toString(){return C(this.toJSON())}[o](){return this.toJSON()}[Symbol.iterator](){return new Ri(new oe(this))}}class ji{_op;effect_instruction_i0=void 0;effect_instruction_i1=void 0;effect_instruction_i2=void 0;trace=void 0;[Ti]=ae;constructor(e){this._op=e,this._tag=e}[u](e){return ju(e)&&"Success"===e._op&&O(this.effect_instruction_i0,e.effect_instruction_i0)}[s](){return be(A(this._tag),ge(ye(this.effect_instruction_i0)),l(this))}get value(){return this.effect_instruction_i0}pipe(){return i(this,arguments)}toJSON(){return{_id:"Exit",_tag:this._op,value:T(this.value)}}toString(){return C(this.toJSON())}[o](){return this.toJSON()}[Symbol.iterator](){return new Ri(new oe(this))}}const Bi=e=>t(e,Ti),_i=e=>{const t=new Oi(me);return t.effect_instruction_i0=e,t},Ii=e(3,((e,t,n)=>Ro((r=>ao(e,(e=>ao(Xi(xo((()=>r(t(e))))),(t=>xo((()=>n(e,t))).pipe(so({onFailure:e=>{switch(t._tag){case ve:return eo(Ue(t.effect_instruction_i0,e));case we:return eo(e)}},onSuccess:()=>t})))))))))),qi=e(2,((e,t)=>ao(e,(()=>Eo(t))))),Pi=e=>qi(e,void 0),$i=function(){const e=new Oi(re);switch(arguments.length){case 2:e.effect_instruction_i0=arguments[0],e.commit=arguments[1];break;case 3:e.effect_instruction_i0=arguments[0],e.effect_instruction_i1=arguments[1],e.commit=arguments[2];break;case 4:e.effect_instruction_i0=arguments[0],e.effect_instruction_i1=arguments[1],e.effect_instruction_i2=arguments[2],e.commit=arguments[3];break;default:throw new Error(he("you're not supposed to end up here"))}return e},zi=(e,t=mr)=>{const n=new Oi(Pe);let r;return n.effect_instruction_i0=t=>{r=e(t)},n.effect_instruction_i1=t,wo(n,(()=>Bi(r)?r:So))},Li=(e,t=mr)=>xo((()=>zi(e,t))),Gi=(e,t=mr)=>$i(e,(function(){let e,n;function r(t){e?e(t):void 0===n&&(n=t)}const a=new Oi(Pe);let i,o;return a.effect_instruction_i0=t=>{e=t,n&&t(n)},a.effect_instruction_i1=t,1!==this.effect_instruction_i0.length?(o=new AbortController,i=Fe((()=>this.effect_instruction_i0(r,o.signal)))):i=Fe((()=>this.effect_instruction_i0(r))),i||o?wo(a,(()=>(o&&o.abort(),i??So))):a})),Hi=e(2,((e,t)=>{const n=new Oi(se);return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n})),Ui=e(2,((e,t)=>lo(e,{onFailure:t,onSuccess:Eo}))),Vi=Symbol.for("effect/OriginalAnnotation"),Ki=(e,t)=>nt(t)?new Proxy(e,{has:(e,t)=>t===ce||t===Vi||t in e,get:(n,r)=>r===ce?t.value:r===Vi?e:n[r]}):e,Wi=e=>le(e)&&!(ce in e)?_i((t=>eo(Qe(Ki(e,ds(t)))))):eo(Qe(e)),Yi=e=>to((()=>Qe(new Ru(e)))),Zi=e=>lo(e,{onFailure:e=>Eo(Ze(e)),onSuccess:e=>Eo(Ye(e))}),Xi=e=>uo(e,{onFailure:Pu,onSuccess:Gu}),Ji=e=>le(e)&&!(ce in e)?_i((t=>eo(de(Ki(e,ds(t)))))):eo(de(e)),Qi=e=>ao(Ao(e),Ji),eo=e=>{const t=new Ni(ve);return t.effect_instruction_i0=e,t},to=e=>ao(Ao(e),eo),no=_i((e=>Eo(e.id()))),ro=e=>_i((t=>e(t.id()))),ao=e(2,((e,t)=>{const n=new Oi(ue);return n.effect_instruction_i0=e,n.effect_instruction_i1=t,n})),io=e=>{const t=new Oi("OnStep");return t.effect_instruction_i0=e,t},oo=e=>ao(e,Y),uo=e(2,((e,t)=>so(e,{onFailure:e=>Eo(t.onFailure(e)),onSuccess:e=>Eo(t.onSuccess(e))}))),so=e(2,((e,t)=>{const n=new Oi(De);return n.effect_instruction_i0=e,n.effect_instruction_i1=t.onFailure,n.effect_instruction_i2=t.onSuccess,n})),lo=e(2,((e,t)=>so(e,{onFailure:e=>{if(Te(e).length>0)return eo(Me(e));const n=Oe(e);return n.length>0?t.onFailure(Ne(n)):eo(e)},onSuccess:t.onSuccess}))),co=e(2,((e,t)=>xo((()=>{const n=R(e),r=He(n.length);let a=0;return qi(Mo({while:()=>a<n.length,body:()=>t(n[a],a),step:e=>{r[a++]=e}}),r)})))),fo=e(2,((e,t)=>xo((()=>{const n=R(e);let r=0;return Mo({while:()=>r<n.length,body:()=>t(n[r],r),step:()=>{r++}})})))),ho=ao(no,(e=>po(e))),po=e=>eo(je(e)),mo=e=>{const t=new Oi(Se);return t.effect_instruction_i0=$a(n=1,n),t.effect_instruction_i1=()=>e,t;var n},vo=e(2,((e,t)=>Ro((n=>ao(Xi(n(e)),(e=>es(t,e))))))),bo=e(2,((e,t)=>ao(e,(e=>Ao((()=>t(e))))))),go=e(2,((e,t)=>lo(e,{onFailure:e=>Qi((()=>t.onFailure(e))),onSuccess:e=>Ao((()=>t.onSuccess(e)))}))),yo=e(2,((e,t)=>so(e,{onFailure:e=>{const n=fe(e);switch(n._tag){case"Left":return Qi((()=>t(n.left)));case"Right":return eo(n.right)}},onSuccess:Eo}))),Do=e(2,((e,t)=>Ro((n=>so(n(e),{onFailure:e=>{const n=Pu(e);return so(t(n),{onFailure:t=>Pu(Ue(e,t)),onSuccess:()=>n})},onSuccess:e=>{const n=Gu(e);return qo(t(n),n)}}))))),wo=e(2,((e,t)=>Do(e,zu({onFailure:e=>ke(e)?Pi(t(Re(e))):So,onSuccess:()=>So})))),Fo=e(2,((e,t)=>lo(e,{onFailure:e=>Wi(t(e)),onSuccess:Eo}))),Eo=e=>{const t=new ji(we);return t.effect_instruction_i0=e,t},xo=e=>{const t=new Oi(re);return t.commit=e,t},Ao=e=>{const t=new Oi(pe);return t.effect_instruction_i0=e,t},Co=e((e=>3===e.length||2===e.length&&!(le(e[1])&&"onlyEffect"in e[1])),((e,t)=>ao(e,(e=>{const n="function"==typeof t?t(e):t;return Bi(n)?qi(n,e):Ve(n)?zi((t=>{n.then((()=>t(Eo(e))),(e=>t(Ji(new Nu(e,"An unknown error occurred in Effect.tap")))))})):Eo(e)})))),ko=e=>{const t=new Oi(Se);return t.effect_instruction_i0=ni(1),t.effect_instruction_i1=()=>e,t},Ro=e=>$i(e,(function(){const e=new Oi(Se);return e.effect_instruction_i0=ni(1),e.effect_instruction_i1=e=>Ka(e)?Fe((()=>this.effect_instruction_i0(mo))):Fe((()=>this.effect_instruction_i0(ko))),e})),So=Eo(void 0),To=e(2,((e,t)=>ao(t,(t=>t?be(e,bo(Ee)):Eo(xe()))))),Mo=e=>{const t=new Oi(Ke);return t.effect_instruction_i0=e.while,t.effect_instruction_i1=e.body,t.effect_instruction_i2=e.step,t},Oo=e=>xo((()=>{const t=new Oi(at);return t.effect_instruction_i0=e(),t})),No=function(){const e=1===arguments.length?arguments[0]:arguments[1].bind(arguments[0]);return Oo((()=>e(be)))},jo=(e,...t)=>Object.defineProperty(0===t.length?function(...t){return Oo((()=>e.apply(this,t)))}:function(...n){let r=Oo((()=>e.apply(this,n)));for(const e of t)r=e(r,...n);return r},"length",{value:e.length,configurable:!0}),Bo=e=>{const t=new Oi(rt);return void 0!==e?.priority?du(t,e.priority):t},_o=e(2,((e,t)=>ao(e,(e=>bo(t,(t=>[e,t])))))),Io=e(2,((e,t)=>ao(e,(e=>qi(t,e))))),qo=e(2,((e,t)=>ao(e,(()=>t)))),Po=e(3,((e,t,n)=>ao(e,(e=>bo(t,(t=>n(e,t))))))),$o=e=>ao(no,(t=>be(e,zo(t)))),zo=e(2,((e,t)=>ao(e.interruptAsFork(t),(()=>e.await)))),Lo={_tag:"Warning",syslog:4,label:"WARN",ordinal:3e4,pipe(){return i(this,arguments)}},Go={_tag:"Info",syslog:6,label:"INFO",ordinal:2e4,pipe(){return i(this,arguments)}},Ho={_tag:"Debug",syslog:7,label:"DEBUG",ordinal:1e4,pipe(){return i(this,arguments)}},Uo=Symbol.for("effect/FiberRef"),Vo={_A:e=>e},Ko=e=>_i((t=>Gu(t.getFiberRef(e)))),Wo=e(2,((e,t)=>ao(Ko(e),t))),Yo=e(2,((e,t)=>Zo(e,(()=>[void 0,t])))),Zo=e(2,((e,t)=>_i((n=>{const[r,a]=t(n.getFiberRef(e));return n.setFiberRef(e,a),Eo(r)})))),Xo=e(3,((e,t,n)=>Ii(Io(Ko(t),Yo(t,n)),(()=>e),(e=>Yo(t,e))))),Jo=e(3,((e,t,n)=>Wo(t,(r=>Xo(e,t,n(r)))))),Qo=(e,t)=>ru(e,{differ:Ba(),fork:t?.fork??Y,join:t?.join}),eu=e=>{const t=ja({empty:ha(),combine:(e,t)=>ga(t)(e),diff:(e,t)=>((e,t)=>{const[n,r]=$([e,ha()],(([e,t],n)=>z(n)(e)?[L(n)(e),t]:[e,ga(va(n))(t)]))(t);return $(r,((e,t)=>ga((e=>{const t=Object.create(ba);return t.value=e,t})(t))(e)))(n)})(e,t),patch:(e,t)=>ya(t)(e)});return ru(e,{differ:t,fork:t.empty})},tu=e=>{const t=(e=>ja({empty:xa(),combine:(e,t)=>Ta(e,t),diff:(t,n)=>(e=>{let t=0,n=xa();for(;t<e.oldValue.length&&t<e.newValue.length;){const r=e.differ.diff(e.oldValue[t],e.newValue[t]);O(r,e.differ.empty)||(n=Ta(n,Sa(t,r))),t+=1}return t<e.oldValue.length&&(n=Ta(n,((e,t)=>{const n=Object.create(ka);return n.from=0,n.until=t,n})(0,t))),t<e.newValue.length&&(n=Ta(n,(e=>{const t=Object.create(Ca);return t.values=e,t})(H(t)(e.newValue)))),n})({oldValue:t,newValue:n,differ:e}),patch:(t,n)=>Ma(t,n,e)}))(Ba());return ru(e,{differ:t,fork:t.empty})},nu=e=>{const t=ja({empty:Qr(),combine:(e,t)=>ua(t)(e),diff:(e,t)=>((e,t)=>{const n=new Map(e.unsafeMap);let r=Qr();for(const[e,a]of t.unsafeMap.entries())if(n.has(e)){const t=n.get(e);n.delete(e),O(t,a)||(r=ua(oa(e,(()=>a)))(r))}else n.delete(e),r=ua(na(e,a))(r);for(const[e]of n.entries())r=ua(aa(e))(r);return r})(e,t),patch:(e,t)=>sa(t)(e)});return ru(e,{differ:t,fork:t.empty})},ru=(e,t)=>({...Ce,[Uo]:Vo,initial:e,commit(){return Ko(this)},diff:(e,n)=>t.differ.diff(e,n),combine:(e,n)=>t.differ.combine(e,n),patch:e=>n=>t.differ.patch(e,n),fork:t.fork,join:t.join??((e,t)=>t)}),au=e=>ru(e,{differ:ti,fork:ti.empty}),iu=Ie(Symbol.for("effect/FiberRef/currentContext"),(()=>nu(it()))),ou=Ie(Symbol.for("effect/FiberRef/currentSchedulingPriority"),(()=>Qo(0))),uu=Ie(Symbol.for("effect/FiberRef/currentMaxOpsBeforeYield"),(()=>Qo(2048))),su=Ie(Symbol.for("effect/FiberRef/currentLogAnnotation"),(()=>Qo(Dr()))),lu=Ie(Symbol.for("effect/FiberRef/currentLogLevel"),(()=>Qo(Go))),cu=Ie(Symbol.for("effect/FiberRef/currentLogSpan"),(()=>Qo(zr()))),du=e(2,((e,t)=>Xo(e,ou,t))),fu=Ie(Symbol.for("effect/FiberRef/currentConcurrency"),(()=>Qo("unbounded"))),hu=Ie(Symbol.for("effect/FiberRef/currentRequestBatching"),(()=>Qo(!0))),pu=Ie(Symbol.for("effect/FiberRef/currentUnhandledErrorLogLevel"),(()=>Qo(Ee(Ho)))),mu=Ie(Symbol.for("effect/FiberRef/versionMismatchErrorLogLevel"),(()=>Qo(Ee(Lo)))),vu=Ie(Symbol.for("effect/FiberRef/currentMetricLabels"),(()=>tu(ot()))),bu=Ie(Symbol.for("effect/FiberRef/currentForkScopeOverride"),(()=>Qo(xe(),{fork:()=>xe(),join:e=>e}))),gu=Ie(Symbol.for("effect/FiberRef/currentInterruptedCause"),(()=>Qo(Je,{fork:()=>Je,join:e=>e}))),yu=Symbol.for("effect/Scope"),Du=Symbol.for("effect/CloseableScope"),wu=(e,t)=>e.addFinalizer((()=>Pi(t))),Fu=(e,t)=>e.addFinalizer(t),Eu=(e,t)=>e.close(t),xu=(e,t)=>e.fork(t),Au=function(){class e extends globalThis.Error{commit(){return Ji(this)}toJSON(){const e={...this};return this.message&&(e.message=this.message),this.cause&&(e.cause=this.cause),e}[o](){return this.toString!==globalThis.Error.prototype.toString?this.stack?`${this.toString()}\n${this.stack.split("\n").slice(1).join("\n")}`:this.toString():"Bun"in globalThis?tt(de(this),{renderErrorCause:!0}):this}}return Object.assign(e.prototype,Xe),e}(),Cu=(e,t)=>{class n extends Au{_tag=t}return Object.assign(n.prototype,e),n.prototype.name=t,n},ku=Symbol.for("effect/Cause/errors/RuntimeException"),Ru=Cu({[ku]:ku},"RuntimeException"),Su=Symbol.for("effect/Cause/errors/InterruptedException"),Tu=Symbol.for("effect/Cause/errors/NoSuchElement"),Mu=Cu({[Tu]:Tu},"NoSuchElementException"),Ou=Symbol.for("effect/Cause/errors/UnknownException"),Nu=function(){class e extends Au{_tag="UnknownException";error;constructor(e,t){super(t??"An unknown error occurred",{cause:e}),this.error=e}}return Object.assign(e.prototype,{[Ou]:Ou,name:"UnknownException"}),e}(),ju=e=>Bi(e)&&"_tag"in e&&("Success"===e._tag||"Failure"===e._tag),Bu=e(2,((e,t)=>{switch(e._tag){case ve:return Pu(e.effect_instruction_i0);case we:return Gu(t)}})),_u=e=>Bu(e,void 0),Iu=(e,t)=>Wu(e,t?.parallel?ut:Ue),qu=e=>Pu(de(e)),Pu=e=>{const t=new Ni(ve);return t.effect_instruction_i0=e,t},$u=e(2,((e,t)=>{switch(e._tag){case ve:return Pu(e.effect_instruction_i0);case we:return Gu(t(e.effect_instruction_i0))}})),zu=e(2,((e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case ve:return t(e.effect_instruction_i0);case we:return n(e.effect_instruction_i0)}})),Lu=e(2,((e,{onFailure:t,onSuccess:n})=>{switch(e._tag){case ve:return t(e.effect_instruction_i0);case we:return n(e.effect_instruction_i0)}})),Gu=e=>{const t=new ji(we);return t.effect_instruction_i0=e,t},Hu=Gu(void 0),Uu=e(2,((e,t)=>Ku(e,t,{onSuccess:(e,t)=>[e,t],onFailure:Ue}))),Vu=e(2,((e,t)=>Ku(e,t,{onSuccess:(e,t)=>t,onFailure:Ue}))),Ku=e(3,((e,t,{onFailure:n,onSuccess:r})=>{switch(e._tag){case ve:switch(t._tag){case we:return Pu(e.effect_instruction_i0);case ve:return Pu(n(e.effect_instruction_i0,t.effect_instruction_i0))}case we:switch(t._tag){case we:return Gu(r(e.effect_instruction_i0,t.effect_instruction_i0));case ve:return Pu(t.effect_instruction_i0)}}})),Wu=(e,t)=>{const n=$e(e);return B(n)?be(I(n),Ge(be(_(n),$u(j)),((e,n)=>be(e,Ku(n,{onSuccess:(e,t)=>be(e,q(t)),onFailure:t})))),$u(Le),$u((e=>ze(e))),Ee):xe()},Yu=e=>{var t;return{...Ce,[Ai]:Ci,state:Ae((t=[],{_tag:Ei,joiners:t})),commit(){return Ju(this)},blockingOn:e}},Zu=()=>ao(no,(e=>Xu(e))),Xu=e=>Ao((()=>Yu(e))),Ju=e=>Li((t=>{const n=Be(e.state);switch(n._tag){case xi:return t(n.effect);case Ei:return n.joiners.push(t),is(e,t)}}),e.blockingOn),Qu=e(2,((e,t)=>Ao((()=>{const n=Be(e.state);switch(n._tag){case xi:return!1;case Ei:_e(e.state,ki(t));for(let e=0,r=n.joiners.length;e<r;e++)n.joiners[e](t);return!0}})))),es=e(2,((e,t)=>Qu(e,t))),ts=e(2,((e,t)=>Qu(e,eo(t)))),ns=e(2,((e,t)=>Qu(e,po(t)))),rs=e(2,((e,t)=>Qu(e,Eo(t)))),as=(e,t)=>{const n=Be(e.state);if(n._tag===Ei){_e(e.state,ki(t));for(let e=0,r=n.joiners.length;e<r;e++)n.joiners[e](t)}},is=(e,t)=>Ao((()=>{const n=Be(e.state);if(n._tag===Ei){const e=n.joiners.indexOf(t);e>=0&&n.joiners.splice(e,1)}})),os=_i((e=>Gu(e.currentContext))),us=e=>ao(os,e),ss=e(2,((e,t)=>Xo(iu,t)(e))),ls=e(2,((e,t)=>Jo(iu,(e=>We(e,t)))(e))),cs=e(2,((e,t)=>us((n=>ss(e,t(n)))))),ds=e=>{const t=e.currentSpan;return void 0!==t&&"Span"===t._tag?Ee(t):xe()},fs=Zu,hs=Ju,ps=ts,ms=e=>Ao((()=>Be(e.state)._tag===xi)),vs=rs,bs=e=>"Failure"===e._tag,gs=e=>"Success"===e._tag,ys=Iu,Ds=qu,ws=Pu,Fs=$u,Es=zu,xs=Gu,As=Hu,Cs=Uu,ks=Vu,Rs=Symbol.for("effect/MutableHashMap"),Ss={[Rs]:Rs,[Symbol.iterator](){return new Ts(this)},toString(){return C(this.toJSON())},toJSON(){return{_id:"MutableHashMap",values:Array.from(this).map(T)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}};class Ts{self;referentialIterator;bucketIterator;constructor(e){this.self=e,this.referentialIterator=e.referential[Symbol.iterator]()}next(){if(void 0!==this.bucketIterator)return this.bucketIterator.next();const e=this.referentialIterator.next();return e.done?(this.bucketIterator=new Ms(this.self.buckets.values()),this.next()):e}[Symbol.iterator](){return new Ts(this.self)}}class Ms{backing;constructor(e){this.backing=e}currentBucket;next(){if(void 0===this.currentBucket){const e=this.backing.next();if(e.done)return e;this.currentBucket=e.value[Symbol.iterator]()}const e=this.currentBucket.next();return e.done?(this.currentBucket=void 0,this.next()):e}}const Os=()=>{const e=Object.create(Ss);return e.referential=new Map,e.buckets=new Map,e.bucketsSize=0,e},Ns=e(2,((e,t)=>{if(!1===st(t))return e.referential.has(t)?Ee(e.referential.get(t)):xe();const n=t[s](),r=e.buckets.get(n);return void 0===r?xe():js(e,r,t)})),js=(e,t,n,r=!1)=>{for(let a=0,i=t.length;a<i;a++)if(n[u](t[a][0])){const n=t[a][1];return r&&(t.splice(a,1),e.bucketsSize--),Ee(n)}return xe()},Bs=e(2,((e,t)=>nt(Ns(e,t)))),_s=e(3,((e,t,n)=>{if(!1===st(t))return e.referential.set(t,n),e;const r=t[s](),a=e.buckets.get(r);return void 0===a?(e.buckets.set(r,[[t,n]]),e.bucketsSize++,e):(Is(e,a,t),a.push([t,n]),e.bucketsSize++,e)})),Is=(e,t,n)=>{for(let r=0,a=t.length;r<a;r++)if(n[u](t[r][0]))return t.splice(r,1),void e.bucketsSize--},qs=Symbol.for("effect/MutableList"),Ps={[qs]:qs,[Symbol.iterator](){let e=!1,t=this.head;return{next(){if(e)return this.return();if(null==t)return e=!0,this.return();const n=t.value;return t=t.next,{done:e,value:n}},return:t=>(e||(e=!0),{done:!0,value:t})}},toString(){return C(this.toJSON())},toJSON(){return{_id:"MutableList",values:Array.from(this).map(T)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},$s=e=>0===zs(e),zs=e=>e._length,Ls=e(2,((e,t)=>{const n=(e=>({value:e,removed:!1,prev:void 0,next:void 0}))(t);return void 0===e.head&&(e.head=n),void 0===e.tail||(e.tail.next=n,n.prev=e.tail),e.tail=n,e._length+=1,e})),Gs=Symbol.for("effect/MutableQueue"),Hs=Symbol.for("effect/mutable/MutableQueue/Empty"),Us={[Gs]:Gs,[Symbol.iterator](){return Array.from(this.queue)[Symbol.iterator]()},toString(){return C(this.toJSON())},toJSON(){return{_id:"MutableQueue",values:Array.from(this).map(T)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},Vs=e=>{const t=Object.create(Us);return t.queue=(()=>{const e=Object.create(Ps);return e.head=void 0,e.tail=void 0,e._length=0,e})(),t.capacity=e,t},Ks=()=>Vs(void 0),Ws=e=>zs(e.queue),Ys=e=>$s(e.queue),Zs=e(2,((e,t)=>{const n=zs(e.queue);return(void 0===e.capacity||n!==e.capacity)&&(Ls(t)(e.queue),!0)})),Xs=e(2,((e,t)=>{const n=t[Symbol.iterator]();let r,a=ne(),i=!0;for(;i&&(r=n.next())&&!r.done;)i=Zs(r.value)(e);for(;null!=r&&!r.done;)a=q(r.value)(a),r=n.next();return Le(a)})),Js=e(2,((e,t)=>$s(e.queue)?t:(e=>{const t=e.head;if(void 0!==t)return((e,t)=>{t.removed||(t.removed=!0,void 0!==t.prev&&void 0!==t.next?(t.prev.next=t.next,t.next.prev=t.prev):void 0!==t.prev?(e.tail=t.prev,t.prev.next=void 0):void 0!==t.next?(e.head=t.next,t.next.prev=void 0):(e.tail=void 0,e.head=void 0),e._length>0&&(e._length-=1))})(e,t),t.value})(e.queue))),Qs=e(2,((e,t)=>{let n=ne(),r=0;for(;r<t;){const t=Js(Hs)(e);if(t===Hs)break;n=q(t)(n),r+=1}return Le(n)})),el=Symbol.for("effect/Clock"),tl=lt("effect/Clock"),nl={unsafeSchedule(e,t){const n=ur(t);if(n>2147483647)return ct;let r=!1;const a=setTimeout((()=>{r=!0,e()}),n);return()=>(clearTimeout(a),!r)}},rl=function(){const e=BigInt(1e6);if("undefined"==typeof performance||"function"!=typeof performance.now)return()=>BigInt(Date.now())*e;let t;return()=>(void 0===t&&(t=BigInt(Date.now())*e-BigInt(Math.round(1e6*performance.now()))),t+BigInt(Math.round(1e6*performance.now())))}(),al=function(){const e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return rl;const t=rl()-e.bigint();return()=>t+e.bigint()}();class il{[el]=el;unsafeCurrentTimeMillis(){return Date.now()}unsafeCurrentTimeNanos(){return al()}currentTimeMillis=Ao((()=>this.unsafeCurrentTimeMillis()));currentTimeNanos=Ao((()=>this.unsafeCurrentTimeNanos()));scheduler(){return Eo(nl)}sleep(e){return Gi((t=>{const n=nl.unsafeSchedule((()=>t(So)),e);return Pi(Ao(n))}))}}const ol=()=>new il,ul="InvalidData",sl="MissingData",ll="SourceUnavailable",cl="Unsupported",dl=Symbol.for("effect/ConfigError"),fl={_tag:"ConfigError",[dl]:dl},hl=(e,t)=>{const n=Object.create(fl);return n._op="And",n.left=e,n.right=t,Object.defineProperty(n,"toString",{enumerable:!1,value(){return`${this.left} and ${this.right}`}}),Object.defineProperty(n,"message",{enumerable:!1,get(){return this.toString()}}),n},pl=(e,t)=>{const n=Object.create(fl);return n._op="Or",n.left=e,n.right=t,Object.defineProperty(n,"toString",{enumerable:!1,value(){return`${this.left} or ${this.right}`}}),Object.defineProperty(n,"message",{enumerable:!1,get(){return this.toString()}}),n},ml=(e,t,n={pathDelim:"."})=>{const r=Object.create(fl);return r._op=ul,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Invalid data at ${be(this.path,dt(n.pathDelim))}: "${this.message}")`}}),r},vl=(e,t,n={pathDelim:"."})=>{const r=Object.create(fl);return r._op=sl,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Missing data at ${be(this.path,dt(n.pathDelim))}: "${this.message}")`}}),r},bl=(e,t,n,r={pathDelim:"."})=>{const a=Object.create(fl);return a._op=ll,a.path=e,a.message=t,a.cause=n,Object.defineProperty(a,"toString",{enumerable:!1,value(){return`(Source unavailable at ${be(this.path,dt(r.pathDelim))}: "${this.message}")`}}),a},gl=(e,t,n={pathDelim:"."})=>{const r=Object.create(fl);return r._op=cl,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Unsupported operation at ${be(this.path,dt(n.pathDelim))}: "${this.message}")`}}),r},yl=e(2,((e,t)=>{switch(e._op){case"And":return hl(yl(e.left,t),yl(e.right,t));case"Or":return pl(yl(e.left,t),yl(e.right,t));case ul:return ml([...t,...e.path],e.message);case sl:return vl([...t,...e.path],e.message);case ll:return bl([...t,...e.path],e.message,e.cause);case cl:return gl([...t,...e.path],e.message)}})),Dl={_tag:"Empty"},wl=e(2,((e,t)=>{let n=Lr(t),r=e;for(;Pr(n);){const e=n.head;switch(e._tag){case"Empty":n=n.tail;break;case"AndThen":n=$r(e.first,$r(e.second,n.tail));break;case"MapName":r=mt(r,e.f),n=n.tail;break;case"Nested":r=pt(r,e.name),n=n.tail;break;case"Unnested":if(!be(ht(r),ft(e.name)))return Ze(vl(r,`Expected ${e.name} to be in path in ConfigProvider#unnested`));r=W(r),n=n.tail}}return Ye(r)})),Fl=(e,t)=>[...e,...t],El=Symbol.for("effect/ConfigProvider"),xl=lt("effect/ConfigProvider"),Al=Symbol.for("effect/ConfigProviderFlat"),Cl=e=>({[El]:El,pipe(){return i(this,arguments)},...e}),kl=e=>{const{pathDelim:t,seqDelim:n}=Object.assign({},{pathDelim:"_",seqDelim:","},e),r=()=>"undefined"!=typeof process&&"env"in process&&"object"==typeof process.env?process.env:{};return a=(e=>({[Al]:Al,patch:e.patch,load:(t,n,r=!0)=>e.load(t,n,r),enumerateChildren:e.enumerateChildren}))({load:(e,a,i=!0)=>{const o=(e=>be(e,dt(t)))(e),u=r(),s=o in u?Ee(u[o]):xe();return be(s,yo((()=>vl(e,`Expected ${o} to exist in the process context`))),ao((t=>Tl(t,e,a,n,i))))},enumerateChildren:e=>Ao((()=>{const n=r(),a=Object.keys(n).map((e=>e.toUpperCase().split(t))).filter((t=>{for(let n=0;n<e.length;n++){const r=be(e,Ct(n)),a=t[n];if(void 0===a||r!==a)return!1}return!0})).flatMap((t=>t.slice(e.length,e.length+1)));return kt(a)})),patch:Dl}),Cl({load:e=>ao(Rl(a,ot(),e,!1),(t=>X(ht(t),{onNone:()=>Ji(vl(ot(),`Expected a single value having structure: ${e}`)),onSome:Eo}))),flattened:a});var a},Rl=(e,t,n,r)=>{const a=n;switch(a._tag){case"Constant":return Eo(V(a.value));case"Described":return xo((()=>Rl(e,t,a.config,r)));case"Fail":return Ji(vl(t,a.message));case"Fallback":return be(xo((()=>Rl(e,t,a.first,r))),Ui((n=>a.condition(n)?be(Rl(e,t,a.second,r),Ui((e=>Ji(pl(n,e))))):Ji(n))));case"Lazy":return xo((()=>Rl(e,t,a.config(),r)));case"MapOrFail":return xo((()=>be(Rl(e,t,a.original,r),ao(co((e=>be(a.mapOrFail(e),yo(yl(((e,t)=>{let n=t;if("Nested"===n._tag){const t=e.slice();for(;"Nested"===n._tag;)t.push(n.name),n=n.config;return t}return e})(t,a.original))))))))));case"Nested":return xo((()=>Rl(e,Fl(t,V(a.name)),a.config,r)));case"Primitive":return be(wl(t,e.patch),ao((t=>be(e.load(t,a,r),ao((e=>{if(0===e.length){const e=be(wt(t),qe((()=>"<n/a>")));return Ji(vl([],`Expected ${a.description} with name ${e}`))}return Eo(e)}))))));case"Sequence":return be(wl(t,e.patch),ao((n=>be(e.enumerateChildren(n),ao(Ol),ao((n=>0===n.length?xo((()=>bo(Rl(e,t,a.config,!0),V))):be(co(n,(n=>Rl(e,yt(t,`[${n}]`),a.config,!0))),bo((e=>{const t=Dt(e);return V(0===t.length?ot():t)})))))))));case"HashMap":return xo((()=>be(wl(t,e.patch),ao((t=>be(e.enumerateChildren(t),ao((n=>be(n,co((n=>Rl(e,Fl(t,V(n)),a.valueConfig,r))),bo((e=>0===e.length?V(Dr()):be(Ml(e),mt((e=>wr(gt(R(n),e))))))))))))))));case"ZipWith":return xo((()=>be(Rl(e,t,a.left,r),Zi,ao((n=>be(Rl(e,t,a.right,r),Zi,ao((e=>{if(vt(n)&&vt(e))return Ji(hl(n.left,e.left));if(vt(n)&&bt(e))return Ji(n.left);if(bt(n)&&vt(e))return Ji(e.left);if(bt(n)&&bt(e)){const r=be(t,dt(".")),i=Sl(t,r),[o,u]=((e,t,n,r)=>{const a=Ft(n.length,(t=>t>=r.length?xe():Ee([e(t),t+1]))),i=Ft(r.length,(e=>e>=n.length?xe():Ee([t(e),e+1])));return[Fl(n,a),Fl(r,i)]})(i,i,be(n.right,mt(Ye)),be(e.right,mt(Ye)));return be(o,gt(u),co((([e,t])=>be(_o(e,t),bo((([e,t])=>a.zip(e,t)))))))}throw new Error("BUG: ConfigProvider.fromFlatLoop - please report an issue at https://github.com/Effect-TS/effect/issues")}))))))))}},Sl=(e,t)=>n=>Ze(vl(e,`The element at index ${n} in a sequence at path "${t}" was missing`)),Tl=(e,t,n,r,a)=>a?be(((e,t)=>{const n=e.split(new RegExp(`\\s*${(e=>e.replace(/[/\\^$*+?.()|[\]{}]/g,"\\$&"))(t)}\\s*`));return n})(e,r),co((e=>n.parse(e.trim()))),yo(yl(t))):be(n.parse(e),go({onFailure:yl(t),onSuccess:V})),Ml=e=>Object.keys(e[0]).map((t=>e.map((e=>e[t])))),Ol=e=>be(co(e,jl),go({onFailure:()=>ot(),onSuccess:xt(_n)}),Zi,bo(Et)),Nl=/^(\[(\d+)\])$/,jl=e=>{const t=e.match(Nl);if(null!==t){const e=t[2];return be(void 0!==e&&e.length>0?Ee(e):xe(),At(Bl))}return xe()},Bl=e=>{const t=Number.parseInt(e);return Number.isNaN(t)?xe():Ee(t)},_l=Symbol.for("effect/Console"),Il=lt("effect/Console"),ql={[_l]:_l,assert:(e,...t)=>Ao((()=>{console.assert(e,...t)})),clear:Ao((()=>{console.clear()})),count:e=>Ao((()=>{console.count(e)})),countReset:e=>Ao((()=>{console.countReset(e)})),debug:(...e)=>Ao((()=>{console.debug(...e)})),dir:(e,t)=>Ao((()=>{console.dir(e,t)})),dirxml:(...e)=>Ao((()=>{console.dirxml(...e)})),error:(...e)=>Ao((()=>{console.error(...e)})),group:e=>Ao(e?.collapsed?()=>console.groupCollapsed(e?.label):()=>console.group(e?.label)),groupEnd:Ao((()=>{console.groupEnd()})),info:(...e)=>Ao((()=>{console.info(...e)})),log:(...e)=>Ao((()=>{console.log(...e)})),table:(e,t)=>Ao((()=>{console.table(e,t)})),time:e=>Ao((()=>console.time(e))),timeEnd:e=>Ao((()=>console.timeEnd(e))),timeLog:(e,...t)=>Ao((()=>{console.timeLog(e,...t)})),trace:(...e)=>Ao((()=>{console.trace(...e)})),warn:(...e)=>Ao((()=>{console.warn(...e)})),unsafe:console},Pl=Symbol.for("effect/Random"),$l=lt("effect/Random");class zl{seed;[Pl]=Pl;PRNG;constructor(e){this.seed=e,this.PRNG=new Rt(e)}get next(){return Ao((()=>this.PRNG.number()))}get nextBoolean(){return bo(this.next,(e=>e>.5))}get nextInt(){return Ao((()=>this.PRNG.integer(Number.MAX_SAFE_INTEGER)))}nextRange(e,t){return bo(this.next,(n=>(t-e)*n+e))}nextIntBetween(e,t){return Ao((()=>this.PRNG.integer(t-e)+e))}shuffle(e){return Ll(e,(e=>this.nextIntBetween(0,e)))}}const Ll=(e,t)=>xo((()=>be(Ao((()=>Array.from(e))),ao((e=>{const n=[];for(let t=e.length;t>=2;t-=1)n.push(t);return be(n,fo((n=>be(t(n),bo((t=>Gl(e,n-1,t)))))),qi($e(e)))}))))),Gl=(e,t,n)=>{const r=e[t];return e[t]=e[n],e[n]=r,e},Hl=e=>new zl(ye(e)),Ul=Symbol.for("effect/Tracer"),Vl=e=>({[Ul]:Ul,...e}),Kl=lt("effect/Tracer"),Wl=lt("effect/ParentSpan"),Yl=function(){return function(e){let t="";for(let n=0;n<e;n++)t+="abcdef0123456789".charAt(Math.floor(16*Math.random()));return t}}();class Zl{name;parent;context;startTime;kind;_tag="Span";spanId;traceId="native";sampled=!0;status;attributes;events=[];links;constructor(e,t,n,r,a,i){this.name=e,this.parent=t,this.context=n,this.startTime=a,this.kind=i,this.status={_tag:"Started",startTime:a},this.attributes=new Map,this.traceId="Some"===t._tag?t.value.traceId:Yl(32),this.spanId=Yl(16),this.links=Array.from(r)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,n){this.events.push([e,t,n??{}])}addLinks(e){this.links.push(...e)}}const Xl=Vl({span:(e,t,n,r,a,i)=>new Zl(e,t,n,r,a,i),context:e=>e()}),Jl=St()("effect/Tracer/DisablePropagation",{defaultValue:ct}),Ql=be(it(),Tt(tl,ol()),Tt(Il,ql),Tt($l,Hl(Math.random())),Tt(xl,kl()),Tt(Kl,Xl)),ec=Ie(Symbol.for("effect/DefaultServices/currentServices"),(()=>nu(Ql))),tc=e=>(e=>_i((t=>e(t.currentDefaultServices))))((t=>e(t.unsafeMap.get(tl.key)))),nc=tc((e=>e.currentTimeMillis)),rc=Symbol.for("effect/FiberRefs");class ac{locals;[rc]=rc;constructor(e){this.locals=e}pipe(){return i(this,arguments)}}const ic=e(3,((e,t,n)=>{const r=new Map(e.locals);return n.locals.forEach(((e,n)=>{const a=e[0][1];if(!e[0][0][u](t)){if(!r.has(n)){if(O(a,n.initial))return;return void r.set(n,[[t,n.join(n.initial,a)]])}const i=r.get(n),[o,s]=((e,t,n,r=!1)=>{const a=e;let i,o=t,u=n,s=r;for(;void 0===i;)if(Mt(o)&&Mt(u)){const e=K(o)[0],t=W(o),n=K(u)[0],r=K(u)[1],a=W(u);e.startTimeMillis<n.startTimeMillis?(u=a,s=!0):e.startTimeMillis>n.startTimeMillis?o=t:e.id<n.id?(u=a,s=!0):e.id>n.id?o=t:i=[r,s]}else i=[a.initial,!0];return i})(n,i,e);if(s){const e=n.diff(o,a),s=i[0][1],l=n.join(s,n.patch(e)(s));if(!O(s,l)){let e;const a=i[0][0];e=a[u](t)?[[a,l],...i.slice(1)]:[[t,l],...i],r.set(n,e)}}}})),new ac(r)})),oc=e(2,((e,t)=>{const n=new Map;return uc(e,n,t),new ac(n)})),uc=(e,t,n)=>{e.locals.forEach(((e,r)=>{const a=e[0][1],i=r.patch(r.fork)(a);O(a,i)?t.set(r,e):t.set(r,[[n,i],...e])}))},sc=e(2,((e,t)=>{const n=new Map(e.locals);return n.delete(t),new ac(n)})),lc=e(2,((e,t)=>e.locals.has(t)?Ee(K(e.locals.get(t))[1]):xe())),cc=e(2,((e,t)=>be(lc(e,t),qe((()=>t.initial))))),dc=e(2,((e,{fiberId:t,fiberRef:n,value:r})=>{if(0===e.locals.size)return new ac(new Map([[n,[[t,r]]]]));const a=new Map(e.locals);return fc(a,t,n,r),new ac(a)})),fc=(e,t,n,r)=>{const a=e.get(n)??[];let i;if(Mt(a)){const[e,n]=K(a);if(e[u](t)){if(O(n,r))return;i=[[t,r],...a.slice(1)]}else i=[[t,r],...a]}else i=[[t,r]];e.set(n,i)},hc=e(2,((e,{entries:t,forkAs:n})=>{if(0===e.locals.size)return new ac(new Map(t));const r=new Map(e.locals);return void 0!==n&&uc(e,r,n),t.forEach((([e,t])=>{1===t.length?fc(r,t[0][0],e,t[0][1]):t.forEach((([t,n])=>{fc(r,t,e,n)}))})),new ac(r)})),pc=cc,mc=hc,vc=function(){return e=new Map,new ac(e);var e},bc=Go,gc=Bn(be(_n,jn((e=>e.ordinal)))),yc=Symbol.for("effect/Readable"),Dc=Symbol.for("effect/Ref"),wc={_A:e=>e};class Fc extends Ot{ref;commit(){return this.get}[Dc]=wc;[yc]=yc;constructor(e){super(),this.ref=e,this.get=Ao((()=>Be(this.ref)))}get;modify(e){return Ao((()=>{const t=Be(this.ref),[n,r]=e(t);return t!==r&&_e(r)(this.ref),n}))}}const Ec=e=>new Fc(Ae(e)),xc=e=>Ao((()=>Ec(e))),Ac=e=>e.get,Cc=e(2,((e,t)=>e.modify((()=>[void 0,t])))),kc=e(2,((e,t)=>e.modify(t))),Rc=e(2,((e,t)=>e.modify((e=>[void 0,t(e)])))),Sc=xc,Tc=Ac,Mc=kc,Oc=Rc,Nc="Empty",jc="Remove",Bc="Update",_c="AndThen",Ic={_tag:Nc},qc=(e,t)=>{const n=new Map(e.locals);let r=Ic;for(const[e,a]of t.locals.entries()){const t=K(a)[1],i=n.get(e);if(void 0!==i){const n=K(i)[1];O(n,t)||(r=Pc({_tag:Bc,fiberRef:e,patch:e.diff(n,t)})(r))}else r=Pc({_tag:"Add",fiberRef:e,value:t})(r);n.delete(e)}for(const[e]of n.entries())r=Pc({_tag:jc,fiberRef:e})(r);return r},Pc=e(2,((e,t)=>({_tag:_c,first:e,second:t}))),$c=e(3,((e,t,n)=>{let r=n,a=V(e);for(;Mt(a);){const e=K(a),n=W(a);switch(e._tag){case Nc:a=n;break;case"Add":r=dc(r,{fiberId:t,fiberRef:e.fiberRef,value:e.value}),a=n;break;case jc:r=sc(r,e.fiberRef),a=n;break;case Bc:{const i=cc(r,e.fiberRef);r=dc(r,{fiberId:t,fiberRef:e.fiberRef,value:e.fiberRef.patch(e.patch)(i)}),a=n;break}case _c:a=pt(e.first)(pt(e.second)(n))}}return r})),zc="effect/MetricLabel",Lc=Symbol.for(zc);class Gc{key;value;[Lc]=Lc;_hash;constructor(e,t){this.key=e,this.value=t,this._hash=A(zc+this.key+this.value)}[s](){return this._hash}[u](e){return Uc(e)&&this.key===e.key&&this.value===e.value}pipe(){return i(this,arguments)}}const Hc=(e,t)=>new Gc(e,t),Uc=e=>t(e,Lc),Vc=e(2,((e,t)=>so(e,{onFailure:e=>{const n=t(e);switch(n._tag){case"None":return eo(e);case"Some":return n.value}},onSuccess:Eo}))),Kc=e(2,((e,t)=>lo(e,{onFailure:e=>Eo(t.onFailure(e)),onSuccess:e=>Eo(t.onSuccess(e))}))),Wc=_i((e=>Eo(e.getFiberRefs()))),Yc=e(2,((e,t)=>so(e,{onFailure:e=>to((()=>t(e))),onSuccess:Eo}))),Zc=e(3,((e,t,n)=>us((r=>ss(e,Tt(r,t,n)))))),Xc=e(3,((e,t,n)=>us((r=>ao(n,(n=>ss(e,be(r,Tt(t,n))))))))),Jc=e=>{const t=Un(e);return tc((e=>e.sleep(t)))},Qc=Eo(xe()),ed=e(3,((e,t,n)=>ao(t,(r=>ao(e,(e=>bo(t,(t=>[n(r,t),e])))))))),td=e(2,((e,t)=>so(e,{onFailure:e=>qo(t(e),eo(e)),onSuccess:Eo}))),nd=e(2,((e,t)=>xo((()=>t()?bo(e,Ee):Eo(xe()))))),rd=At((e=>jt(e.context,Jl)?"Span"===e._tag?rd(e.parent):xe():Ee(e))),ad="Sequential",id="Parallel",od={_tag:ad},ud={_tag:id},sd=od,ld=ud,cd=e=>({_tag:"ParallelN",parallelism:e}),dd=qc,fd=$c,hd="effect/FiberStatus",pd=Symbol.for(hd),md="Done",vd="Running",bd="Suspended",gd=A(`${hd}-${md}`);let yd=class{[pd]=pd;_tag=md;[s](){return gd}[u](e){return Fd(e)&&e._tag===md}};class Dd{runtimeFlags;[pd]=pd;_tag=vd;constructor(e){this.runtimeFlags=e}[s](){return be(ye(hd),ge(ye(this._tag)),ge(ye(this.runtimeFlags)),l(this))}[u](e){return Fd(e)&&e._tag===vd&&this.runtimeFlags===e.runtimeFlags}}class wd{runtimeFlags;blockingOn;[pd]=pd;_tag=bd;constructor(e,t){this.runtimeFlags=e,this.blockingOn=t}[s](){return be(ye(hd),ge(ye(this._tag)),ge(ye(this.runtimeFlags)),ge(ye(this.blockingOn)),l(this))}[u](e){return Fd(e)&&e._tag===bd&&this.runtimeFlags===e.runtimeFlags&&O(this.blockingOn,e.blockingOn)}}const Fd=e=>t(e,pd),Ed=new yd,xd=e=>new Dd(e);class Ad{scheduleDrain;running=!1;tasks=new Cd;constructor(e){this.scheduleDrain=e}starveInternal=e=>{const t=this.tasks.buckets;this.tasks.buckets=[];for(const[e,n]of t)for(let e=0;e<n.length;e++)n[e]();0===this.tasks.buckets.length?this.running=!1:this.starve(e)};starve(e=0){this.scheduleDrain(e,this.starveInternal)}scheduleTask(e,t){this.tasks.scheduleTask(e,t),this.running||(this.running=!0,this.starve())}static cached(e){const t=new Ad(e),n=new WeakMap;return r=>{if(void 0===r)return t;let a=n.get(r);return void 0===a&&(a=new Ad(e),n.set(r,a)),a}}}class Cd{buckets=[];scheduleTask(e,t){const n=this.buckets.length;let r,a=0;for(;a<n&&this.buckets[a][0]<=t;a++)r=this.buckets[a];r&&r[0]===t?r[1].push(e):a===n?this.buckets.push([t,[e]]):this.buckets.splice(a,0,[t,[e]])}}class kd{maxNextTickBeforeTimer;getRunner=Ad.cached(((e,t)=>{e>=this.maxNextTickBeforeTimer?setTimeout((()=>t(0)),0):Promise.resolve(void 0).then((()=>t(e+1)))}));constructor(e){this.maxNextTickBeforeTimer=e}shouldYield(e){return e.currentOpCount>e.getFiberRef(uu)&&e.getFiberRef(ou)}scheduleTask(e,t,n){this.getRunner(n).scheduleTask(e,t)}}const Rd=Ie(Symbol.for("effect/Scheduler/defaultScheduler"),(()=>new kd(2048))),Sd=Ie(Symbol.for("effect/FiberRef/currentScheduler"),(()=>Qo(Rd))),Td=Ie(Symbol.for("effect/FiberRef/currentRequestMap"),(()=>Qo(new Map))),Md=(e,t,n,r)=>{switch(e){case void 0:return t();case"unbounded":return n();case"inherit":return Wo(fu,(e=>"unbounded"===e?n():e>1?r(e):t()));default:return e>1?r(e):t()}},Od="InterruptSignal",Nd="Stateful",jd="Resume",Bd="YieldNow",_d=e=>({_tag:Od,cause:e}),Id=e=>({_tag:Nd,onFiber:e}),qd=e=>({_tag:jd,effect:e}),Pd=Symbol.for("effect/FiberScope");class $d{[Pd]=Pd;fiberId=mr;roots=new Set;add(e,t){this.roots.add(t),t.addObserver((()=>{this.roots.delete(t)}))}}class zd{fiberId;parent;[Pd]=Pd;constructor(e,t){this.fiberId=e,this.parent=t}add(e,t){this.parent.tell(Id((e=>{e.addChild(t),t.addObserver((()=>{e.removeChild(t)}))})))}}const Ld=Ie(Symbol.for("effect/FiberScope/Global"),(()=>new $d)),Gd=Symbol.for("effect/Fiber"),Hd={_E:e=>e,_A:e=>e},Ud=Symbol.for("effect/Fiber"),Vd=e=>Io(oo(e.await),e.inheritAll),Kd="effect/FiberCurrent",Wd="effect/MetricBoundaries",Yd=Symbol.for(Wd);class Zd{values;[Yd]=Yd;constructor(e){this.values=e,this._hash=be(A(Wd),ge(k(this.values)))}_hash;[s](){return this._hash}[u](e){return Xd(e)&&O(this.values,e.values)}pipe(){return i(this,arguments)}}const Xd=e=>t(e,Yd),Jd=e=>{const t=be(e,qt(j(Number.POSITIVE_INFINITY)),It);return new Zd(t)},Qd=e=>be(_t(e.count-1,(t=>e.start*Math.pow(e.factor,t))),Bt,Jd),ef=Symbol.for("effect/MetricKeyType"),tf="effect/MetricKeyType/Counter",nf=Symbol.for(tf),rf=Symbol.for("effect/MetricKeyType/Frequency"),af=Symbol.for("effect/MetricKeyType/Gauge"),of="effect/MetricKeyType/Histogram",uf=Symbol.for(of),sf=Symbol.for("effect/MetricKeyType/Summary"),lf={_In:e=>e,_Out:e=>e};class cf{incremental;bigint;[ef]=lf;[nf]=nf;constructor(e,t){this.incremental=e,this.bigint=t,this._hash=A(tf)}_hash;[s](){return this._hash}[u](e){return ff(e)}pipe(){return i(this,arguments)}}class df{boundaries;[ef]=lf;[uf]=uf;constructor(e){this.boundaries=e,this._hash=be(A(of),ge(ye(this.boundaries)))}_hash;[s](){return this._hash}[u](e){return hf(e)&&O(this.boundaries,e.boundaries)}pipe(){return i(this,arguments)}}const ff=e=>t(e,nf),hf=e=>t(e,uf),pf=Symbol.for("effect/MetricKey"),mf={_Type:e=>e},vf=M(O);class bf{name;keyType;description;tags;[pf]=mf;constructor(e,t,n,r=[]){this.name=e,this.keyType=t,this.description=n,this.tags=r,this._hash=be(A(this.name+this.description),ge(ye(this.keyType)),ge(k(this.tags)))}_hash;[s](){return this._hash}[u](e){return gf(e)&&this.name===e.name&&O(this.keyType,e.keyType)&&O(this.description,e.description)&&vf(this.tags,e.tags)}pipe(){return i(this,arguments)}}const gf=e=>t(e,pf),yf=e(2,((e,t)=>0===t.length?e:new bf(e.name,e.keyType,e.description,$t(e.tags,t)))),Df=Symbol.for("effect/MetricState"),wf="effect/MetricState/Counter",Ff=Symbol.for(wf),Ef="effect/MetricState/Frequency",xf=Symbol.for(Ef),Af="effect/MetricState/Gauge",Cf=Symbol.for(Af),kf="effect/MetricState/Histogram",Rf=Symbol.for(kf),Sf="effect/MetricState/Summary",Tf=Symbol.for(Sf),Mf={_A:e=>e};class Of{count;[Df]=Mf;[Ff]=Ff;constructor(e){this.count=e}[s](){return be(ye(wf),ge(ye(this.count)),l(this))}[u](e){return qf(e)&&this.count===e.count}pipe(){return i(this,arguments)}}const Nf=M(O);class jf{occurrences;[Df]=Mf;[xf]=xf;constructor(e){this.occurrences=e}_hash;[s](){return be(A(Ef),ge(k(R(this.occurrences.entries()))),l(this))}[u](e){return Pf(e)&&Nf(R(this.occurrences.entries()),R(e.occurrences.entries()))}pipe(){return i(this,arguments)}}class Bf{value;[Df]=Mf;[Cf]=Cf;constructor(e){this.value=e}[s](){return be(ye(Af),ge(ye(this.value)),l(this))}[u](e){return $f(e)&&this.value===e.value}pipe(){return i(this,arguments)}}class _f{buckets;count;min;max;sum;[Df]=Mf;[Rf]=Rf;constructor(e,t,n,r,a){this.buckets=e,this.count=t,this.min=n,this.max=r,this.sum=a}[s](){return be(ye(kf),ge(ye(this.buckets)),ge(ye(this.count)),ge(ye(this.min)),ge(ye(this.max)),ge(ye(this.sum)),l(this))}[u](e){return zf(e)&&O(this.buckets,e.buckets)&&this.count===e.count&&this.min===e.min&&this.max===e.max&&this.sum===e.sum}pipe(){return i(this,arguments)}}class If{error;quantiles;count;min;max;sum;[Df]=Mf;[Tf]=Tf;constructor(e,t,n,r,a,i){this.error=e,this.quantiles=t,this.count=n,this.min=r,this.max=a,this.sum=i}[s](){return be(ye(Sf),ge(ye(this.error)),ge(ye(this.quantiles)),ge(ye(this.count)),ge(ye(this.min)),ge(ye(this.max)),ge(ye(this.sum)),l(this))}[u](e){return Lf(e)&&this.error===e.error&&O(this.quantiles,e.quantiles)&&this.count===e.count&&this.min===e.min&&this.max===e.max&&this.sum===e.sum}pipe(){return i(this,arguments)}}const qf=e=>t(e,Ff),Pf=e=>t(e,xf),$f=e=>t(e,Cf),zf=e=>t(e,Rf),Lf=e=>t(e,Tf),Gf=Symbol.for("effect/MetricHook"),Hf={_In:e=>e,_Out:e=>e},Uf=e=>({[Gf]:Hf,pipe(){return i(this,arguments)},...e}),Vf=BigInt(0),Kf=(e,t,n)=>{const r=n.length;if(!Mt(t))return ot();const a=t[0],i=t.slice(1),o=Wf(e,r,xe(),0,a,n),u=V(o);return i.forEach((t=>{u.push(Wf(e,r,o.value,o.consumed,t,o.rest))})),mt(u,(e=>[e.quantile,e.value]))},Wf=(e,t,n,r,a,i)=>{let o=e,u=t,s=n,l=r,c=a,d=i,f=e,h=t,p=n,m=r,v=a,b=i;for(;;){if(!Mt(d))return{quantile:c,value:xe(),consumed:l,rest:[]};if(1===c)return{quantile:c,value:Ee(zt(d)),consumed:l+d.length,rest:[]};const e=K(d),t=Lt(d,(t=>t===e)),n=c*u,r=o/2*n,a=l+t[0].length,i=Math.abs(a-n);if(a<n-r)f=o,h=u,p=ht(d),m=a,v=c,b=t[1],o=f,u=h,s=p,l=m,c=v,d=b;else{if(a>n+r)return{quantile:c,value:Gt(s)?Ee(e):s,consumed:l,rest:d};switch(s._tag){case"None":f=o,h=u,p=ht(d),m=a,v=c,b=t[1],o=f,u=h,s=p,l=m,c=v,d=b;continue;case"Some":if(i<Math.abs(n-s.value)){f=o,h=u,p=ht(d),m=a,v=c,b=t[1],o=f,u=h,s=p,l=m,c=v,d=b;continue}return{quantile:c,value:Ee(s.value),consumed:l,rest:d}}}}throw new Error("BUG: MetricHook.resolveQuantiles - please report an issue at https://github.com/Effect-TS/effect/issues")},Yf=Symbol.for("effect/MetricPair"),Zf={_Type:e=>e},Xf=(e,t)=>({[Yf]:Zf,metricKey:e,metricState:t,pipe(){return i(this,arguments)}}),Jf=Symbol.for("effect/MetricRegistry");class Qf{[Jf]=Jf;map=Os();snapshot(){const e=[];for(const[t,n]of this.map)e.push(Xf(t,n.get()));return e}get(e){const n=be(this.map,Ns(e),Ht);if(null==n){if(ff(e.keyType))return this.getCounter(e);if(t(e.keyType,af))return this.getGauge(e);if(t(e.keyType,rf))return this.getFrequency(e);if(hf(e.keyType))return this.getHistogram(e);if((e=>t(e,sf))(e.keyType))return this.getSummary(e);throw new Error("BUG: MetricRegistry.get - unknown MetricKeyType - please report an issue at https://github.com/Effect-TS/effect/issues")}return n}getCounter(e){let t=be(this.map,Ns(e),Ht);if(null==t){const n=(e=>{let t=e.keyType.bigint?Vf:0;const n=e.keyType.incremental?e.keyType.bigint?e=>e>=Vf:e=>e>=0:()=>!0,r=e=>{n(e)&&(t+=e)};return Uf({get:()=>new Of(t),update:r,modify:r})})(e);be(this.map,Bs(e))||be(this.map,_s(e,n)),t=n}return t}getFrequency(e){let t=be(this.map,Ns(e),Ht);if(null==t){const n=(e=>{const t=new Map;for(const n of e.keyType.preregisteredWords)t.set(n,0);const n=e=>{const n=t.get(e)??0;t.set(e,n+1)};return Uf({get:()=>new jf(t),update:n,modify:n})})(e);be(this.map,Bs(e))||be(this.map,_s(e,n)),t=n}return t}getGauge(e){let t=be(this.map,Ns(e),Ht);if(null==t){const n=((e,t)=>{let n=t;return Uf({get:()=>new Bf(n),update:e=>{n=e},modify:e=>{n+=e}})})(0,e.keyType.bigint?BigInt(0):0);be(this.map,Bs(e))||be(this.map,_s(e,n)),t=n}return t}getHistogram(e){let t=be(this.map,Ns(e),Ht);if(null==t){const n=(e=>{const t=e.keyType.boundaries.values,n=t.length,r=new Uint32Array(n+1),a=new Float64Array(n);let i=0,o=0,u=Number.MAX_VALUE,s=Number.MIN_VALUE;be(t,xt(_n),mt(((e,t)=>{a[t]=e})));const l=e=>{let t=0,l=n;for(;t!==l;){const n=Math.floor(t+(l-t)/2);e<=a[n]?l=n:t=n,l===t+1&&(e<=a[t]?l=t:t=l)}r[t]=r[t]+1,i+=1,o+=e,e<u&&(u=e),e>s&&(s=e)},c=()=>{const e=He(n);let t=0;for(let i=0;i<n;i++)t+=r[i],e[i]=[a[i],t];return e};return Uf({get:()=>{return e={buckets:c(),count:i,min:u,max:s,sum:o},new _f(e.buckets,e.count,e.min,e.max,e.sum);var e},update:l,modify:l})})(e);be(this.map,Bs(e))||be(this.map,_s(e,n)),t=n}return t}getSummary(e){let t=be(this.map,Ns(e),Ht);if(null==t){const n=(e=>{const{error:t,maxAge:n,maxSize:r,quantiles:a}=e.keyType,i=be(a,xt(_n)),o=He(r);let u=0,s=0,l=0,c=0,d=0;const f=e=>{const a=[];let u=0;for(;u!==r-1;){const t=o[u];if(null!=t){const[r,i]=t,o=tr(e-r);fr(o,Xn)&&dr(o,n)&&a.push(i)}u+=1}return Kf(t,i,xt(a,_n))},h=(e,t)=>{r>0&&(u+=1,o[u%r]=[t,e]),c=0===s?e:Math.min(c,e),d=0===s?e:Math.max(d,e),s+=1,l+=e};return Uf({get:()=>{return e={error:t,quantiles:f(Date.now()),count:s,min:c,max:d,sum:l},new If(e.error,e.quantiles,e.count,e.min,e.max,e.sum);var e},update:([e,t])=>h(e,t),modify:([e,t])=>h(e,t)})})(e);be(this.map,Bs(e))||be(this.map,_s(e,n)),t=n}return t}}const eh=Symbol.for("effect/Metric"),th={_Type:e=>e,_In:e=>e,_Out:e=>e},nh=Ie(Symbol.for("effect/Metric/globalMetricRegistry"),(()=>new Qf)),rh=function(e,t,n,r){const a=Object.assign((e=>Co(e,(e=>lh(a,e)))),{[eh]:th,keyType:e,unsafeUpdate:t,unsafeValue:n,unsafeModify:r,register(){return this.unsafeValue([]),this},pipe(){return i(this,arguments)}});return a},ah=(e,t)=>ih(((e,t)=>new bf(e,(e=>new cf(e?.incremental??!1,e?.bigint??!1))(t),Pt(t?.description)))(e,t)),ih=e=>{let t;const n=new WeakMap,r=r=>{if(0===r.length)return void 0!==t||(t=nh.get(e)),t;let a=n.get(r);return void 0!==a||(a=nh.get(yf(e,r)),n.set(r,a)),a};return rh(e.keyType,((e,t)=>r(t).update(e)),(e=>r(e).get()),((e,t)=>r(t).modify(e)))},oh=(e,t,n)=>ih(((e,t,n)=>new bf(e,(e=>new df(e))(t),Pt(n)))(e,t,n)),uh=e(3,((e,t,n)=>sh(e,[Hc(t,n)]))),sh=e(2,((e,t)=>rh(e.keyType,((n,r)=>e.unsafeUpdate(n,$t(t,r))),(n=>e.unsafeValue($t(t,n))),((n,r)=>e.unsafeModify(n,$t(t,r)))))),lh=e(2,((e,t)=>Wo(vu,(n=>Ao((()=>e.unsafeUpdate(t,n))))))),ch=e(2,((e,t)=>Wo(Td,(n=>Ao((()=>{if(n.has(e)){const r=n.get(e);r.state.completed||(r.state.completed=!0,as(r.result,t))}})))))),dh=Symbol.for("effect/Supervisor"),fh={_T:e=>e};class hh{underlying;value0;[dh]=fh;constructor(e,t){this.underlying=e,this.value0=t}get value(){return this.value0}onStart(e,t,n,r){this.underlying.onStart(e,t,n,r)}onEnd(e,t){this.underlying.onEnd(e,t)}onEffect(e,t){this.underlying.onEffect(e,t)}onSuspend(e){this.underlying.onSuspend(e)}onResume(e){this.underlying.onResume(e)}map(e){return new hh(this,be(this.value,bo(e)))}zip(e){return new ph(this,e)}}class ph{left;right;_tag="Zip";[dh]=fh;constructor(e,t){this.left=e,this.right=t}get value(){return _o(this.left.value,this.right.value)}onStart(e,t,n,r){this.left.onStart(e,t,n,r),this.right.onStart(e,t,n,r)}onEnd(e,t){this.left.onEnd(e,t),this.right.onEnd(e,t)}onEffect(e,t){this.left.onEffect(e,t),this.right.onEffect(e,t)}onSuspend(e){this.left.onSuspend(e),this.right.onSuspend(e)}onResume(e){this.left.onResume(e),this.right.onResume(e)}map(e){return new hh(this,be(this.value,bo(e)))}zip(e){return new ph(this,e)}}const mh=e=>t(e,dh)&&Ut(e,"Zip");class vh{effect;[dh]=fh;constructor(e){this.effect=e}get value(){return this.effect}onStart(e,t,n,r){}onEnd(e,t){}onEffect(e,t){}onSuspend(e){}onResume(e){}map(e){return new hh(this,be(this.value,bo(e)))}zip(e){return new ph(this,e)}onRun(e,t){return e()}}const bh=Ie("effect/Supervisor/none",(()=>new vh(So))),gh="Empty",yh="AddSupervisor",Dh="RemoveSupervisor",wh="AndThen",Fh={_tag:gh},Eh=(e,t)=>({_tag:wh,first:e,second:t}),xh=(e,t)=>O(e,t)?bh:mh(e)?xh(e.left,t).zip(xh(e.right,t)):e,Ah=e=>O(e,bh)?Kt():mh(e)?be(Ah(e.left),Wt(Ah(e.right))):Yt(e),Ch=ja({empty:Fh,patch:(e,t)=>((e,t)=>{let n=e,r=t;for(;B(r);){const e=_(r);switch(e._tag){case gh:r=I(r);break;case yh:n=n.zip(e.supervisor),r=I(r);break;case Dh:n=xh(n,e.supervisor),r=I(r);break;case wh:r=q(e.first)(q(e.second)(I(r)))}}return n})(t,j(e)),combine:Eh,diff:(e,t)=>{if(O(e,t))return Fh;const n=Ah(e),r=Ah(t),a=be(r,Vt(n),$(Fh,((e,t)=>Eh(e,{_tag:yh,supervisor:t})))),i=be(n,Vt(r),$(Fh,((e,t)=>Eh(e,{_tag:Dh,supervisor:t}))));return Eh(a,i)}}),kh=ah("effect_fiber_started",{incremental:!0}),Rh=ah("effect_fiber_active"),Sh=ah("effect_fiber_successes",{incremental:!0}),Th=ah("effect_fiber_failures",{incremental:!0}),Mh=uh(oh("effect_fiber_lifetimes",Qd({start:.5,factor:2,count:35})),"time_unit","milliseconds"),Oh="Continue",Nh="Yield",jh={_E:e=>e,_A:e=>e},Bh=e=>{throw new Error(`BUG: FiberRuntime - ${ln(e)} - please report an issue at https://github.com/Effect-TS/effect/issues`)},_h=Symbol.for("effect/internal/fiberRuntime/YieldedOp"),Ih=Ie("effect/internal/fiberRuntime/yieldedOpChannel",(()=>({currentOp:null}))),qh={[ue]:(e,t,n)=>Fe((()=>t.effect_instruction_i1(n))),OnStep:(e,t,n)=>Gu(Gu(n)),[De]:(e,t,n)=>Fe((()=>t.effect_instruction_i2(n))),[et]:(e,t,n)=>(e.patchRuntimeFlags(e.currentRuntimeFlags,t.patch),Va(e.currentRuntimeFlags)&&e.isInterrupted()?Pu(e.getInterruptedCause()):Gu(n)),[Ke]:(e,t,n)=>(Fe((()=>t.effect_instruction_i2(n))),Fe((()=>t.effect_instruction_i0()))?(e.pushStack(t),Fe((()=>t.effect_instruction_i1()))):So),[at]:(e,t,n)=>{for(;;){const r=Fe((()=>t.effect_instruction_i0.next(n)));if(r.done)return Gu(r.value);const a=cn(r.value);if(!ju(a))return e.pushStack(t),a;if("Failure"===a._tag)return a;n=a.value}}},Ph={[Od]:(e,t,n,r)=>(e.processNewInterruptSignal(r.cause),Va(t)?Pu(r.cause):n),[jd]:()=>{throw new Error("It is illegal to have multiple concurrent run loops in a single fiber")},[Nd]:(e,t,n,r)=>(r.onFiber(e,xd(t)),n),[Bd]:(e,t,n)=>ao(Bo(),(()=>n))},$h=sn();class zh extends Ot{[Gd]=Hd;[Ud]=jh;_fiberRefs;_fiberId;_queue=new Array;_children=null;_observers=new Array;_running=!1;_stack=[];_asyncInterruptor=null;_asyncBlockingOn=null;_exitValue=null;_steps=[];_isYielding=!1;currentRuntimeFlags;currentOpCount=0;currentSupervisor;currentScheduler;currentTracer;currentSpan;currentContext;currentDefaultServices;constructor(e,t,n){if(super(),this.currentRuntimeFlags=n,this._fiberId=e,this._fiberRefs=t,Xa(n)){const e=this.getFiberRef(vu);kh.unsafeUpdate(1,e),Rh.unsafeUpdate(1,e)}this.refreshRefCache()}commit(){return Vd(this)}id(){return this._fiberId}resume(e){this.tell(qd(e))}get status(){return this.ask(((e,t)=>t))}get runtimeFlags(){return this.ask(((e,t)=>(e=>e._tag===md)(t)?e.currentRuntimeFlags:t.runtimeFlags))}scope(){return new zd((e=this).id(),e);var e}get children(){return this.ask((e=>Array.from(e.getChildren())))}getChildren(){return null===this._children&&(this._children=new Set),this._children}getInterruptedCause(){return this.getFiberRef(gu)}fiberRefs(){return this.ask((e=>e.getFiberRefs()))}ask(e){return xo((()=>{const t=Yu(this._fiberId);return this.tell(Id(((n,r)=>{as(t,Ao((()=>e(n,r))))}))),Ju(t)}))}tell(e){this._queue.push(e),this._running||(this._running=!0,this.drainQueueLaterOnExecutor())}get await(){return Gi((e=>{const t=t=>e(Eo(t));if(null===this._exitValue)return this.tell(Id((e=>{null!==e._exitValue?t(this._exitValue):e.addObserver(t)}))),Ao((()=>this.tell(Id((e=>{e.removeObserver(t)})))));t(this._exitValue)}),this.id())}get inheritAll(){return _i(((e,t)=>{const n=e.id(),r=e.getFiberRefs(),a=t.runtimeFlags,i=this.getFiberRefs(),o=ic(r,n,i);e.setFiberRefs(o);const u=e.getFiberRef(gp);return(e=>{const t=new Oi(Se);return t.effect_instruction_i0=e,t.effect_instruction_i1=void 0,t})(be(Qa(a,u),ri(1),ri(16)))}))}get poll(){return Ao((()=>Pt(this._exitValue)))}unsafePoll(){return this._exitValue}interruptAsFork(e){return Ao((()=>this.tell(_d(je(e)))))}unsafeInterruptAsFork(e){this.tell(_d(je(e)))}addObserver(e){null!==this._exitValue?e(this._exitValue):this._observers.push(e)}removeObserver(e){this._observers=this._observers.filter((t=>t!==e))}getFiberRefs(){return this.setFiberRef(gp,this.currentRuntimeFlags),this._fiberRefs}unsafeDeleteFiberRef(e){this._fiberRefs=sc(this._fiberRefs,e)}getFiberRef(e){return this._fiberRefs.locals.has(e)?this._fiberRefs.locals.get(e)[0][1]:e.initial}setFiberRef(e,t){this._fiberRefs=dc(this._fiberRefs,{fiberId:this._fiberId,fiberRef:e,value:t}),this.refreshRefCache()}refreshRefCache(){this.currentDefaultServices=this.getFiberRef(ec),this.currentTracer=this.currentDefaultServices.unsafeMap.get(Kl.key),this.currentSupervisor=this.getFiberRef(yp),this.currentScheduler=this.getFiberRef(Sd),this.currentContext=this.getFiberRef(iu),this.currentSpan=this.currentContext.unsafeMap.get(Wl.key)}setFiberRefs(e){this._fiberRefs=e,this.refreshRefCache()}addChild(e){this.getChildren().add(e)}removeChild(e){this.getChildren().delete(e)}transferChildren(e){const t=this._children;if(this._children=null,null!==t&&t.size>0)for(const n of t)null===n._exitValue&&e.add(this.currentRuntimeFlags,n)}drainQueueOnCurrentThread(){let e=!0;for(;e;){let t=Oh;const n=globalThis[Kd];globalThis[Kd]=this;try{for(;t===Oh;)t=0===this._queue.length?"Done":this.evaluateMessageWhileSuspended(this._queue.splice(0,1)[0])}finally{this._running=!1,globalThis[Kd]=n}this._queue.length>0&&!this._running?(this._running=!0,t===Nh?(this.drainQueueLaterOnExecutor(),e=!1):e=!0):e=!1}}drainQueueLaterOnExecutor(){this.currentScheduler.scheduleTask(this.run,this.getFiberRef(ou),this)}drainQueueWhileRunning(e,t){let n=t;for(;this._queue.length>0;){const t=this._queue.splice(0,1)[0];n=Ph[t._tag](this,e,n,t)}return n}isInterrupted(){return!Qt(this.getFiberRef(gu))}addInterruptedCause(e){const t=this.getFiberRef(gu);this.setFiberRef(gu,Ue(t,e))}processNewInterruptSignal(e){this.addInterruptedCause(e),this.sendInterruptSignalToAllChildren()}sendInterruptSignalToAllChildren(){if(null===this._children||0===this._children.size)return!1;let e=!1;for(const t of this._children)t.tell(_d(je(this.id()))),e=!0;return e}interruptAllChildren(){if(this.sendInterruptSignalToAllChildren()){const e=this._children.values();this._children=null;let t=!1;return Mo({while:()=>!t,body:()=>{const n=e.next();return n.done?Ao((()=>{t=!0})):Pi(n.value.await)},step:()=>{}})}return null}reportExitValue(e){if(Xa(this.currentRuntimeFlags)){const t=this.getFiberRef(vu),n=this.id().startTimeMillis,r=Date.now();switch(Mh.unsafeUpdate(r-n,t),Rh.unsafeUpdate(-1,t),e._tag){case we:Sh.unsafeUpdate(1,t);break;case ve:Th.unsafeUpdate(1,t)}}if("Failure"===e._tag){const t=this.getFiberRef(pu);ke(e.cause)||"Some"!==t._tag||this.log("Fiber terminated with an unhandled error",e.cause,t)}}setExitValue(e){this._exitValue=e,this.reportExitValue(e);for(let t=this._observers.length-1;t>=0;t--)this._observers[t](e);this._observers=[]}getLoggers(){return this.getFiberRef(Uh)}log(e,t,n){const r=nt(n)?n.value:this.getFiberRef(lu),a=this.getFiberRef(Lh);if(gc(a,r))return;const i=this.getFiberRef(cu),o=this.getFiberRef(su),u=this.getLoggers(),s=this.getFiberRefs();if(en(u)>0){const n=jt(this.getFiberRef(ec),tl),a=new Date(n.unsafeCurrentTimeMillis());tn(s,(()=>{for(const n of u)n.log({fiberId:this.id(),logLevel:r,message:e,cause:t,context:s,spans:i,annotations:o,date:a})}))}}evaluateMessageWhileSuspended(e){switch(e._tag){case Bd:return Nh;case Od:return this.processNewInterruptSignal(e.cause),null!==this._asyncInterruptor&&(this._asyncInterruptor(Pu(e.cause)),this._asyncInterruptor=null),Oh;case jd:return this._asyncInterruptor=null,this._asyncBlockingOn=null,this.evaluateEffect(e.effect),Oh;case Nd:return e.onFiber(this,null!==this._exitValue?Ed:new wd(this.currentRuntimeFlags,this._asyncBlockingOn)),Oh;default:return Bh(e)}}evaluateEffect(e){this.currentSupervisor.onResume(this);try{let t=Va(this.currentRuntimeFlags)&&this.isInterrupted()?Pu(this.getInterruptedCause()):e;for(;null!==t;){const e=this.runLoop(t);if(e===_h){const e=Ih.currentOp;Ih.currentOp=null,e._op===rt?Ha(this.currentRuntimeFlags)?(this.tell({_tag:Bd}),this.tell(qd(Hu)),t=null):t=Hu:e._op===Pe&&(t=null)}else{this.currentRuntimeFlags=be(this.currentRuntimeFlags,Ua(16));const n=this.interruptAllChildren();null!==n?t=ao(n,(()=>e)):(0===this._queue.length?this.setExitValue(e):this.tell(qd(e)),t=null)}}}finally{this.currentSupervisor.onSuspend(this)}}start(e){if(this._running)this.tell(qd(e));else{this._running=!0;const t=globalThis[Kd];globalThis[Kd]=this;try{this.evaluateEffect(e)}finally{this._running=!1,globalThis[Kd]=t,this._queue.length>0&&this.drainQueueLaterOnExecutor()}}}startFork(e){this.tell(qd(e))}patchRuntimeFlags(e,t){const n=ei(e,t);return globalThis[Kd]=this,this.currentRuntimeFlags=n,n}initiateAsync(e,t){let n=!1;const r=e=>{n||(n=!0,this.tell(qd(e)))};Va(e)&&(this._asyncInterruptor=r);try{t(r)}catch(e){r(eo(Qe(e)))}}pushStack(e){this._stack.push(e),"OnStep"===e._op&&this._steps.push({refs:this.getFiberRefs(),flags:this.currentRuntimeFlags})}popStack(){const e=this._stack.pop();if(e)return"OnStep"===e._op&&this._steps.pop(),e}getNextSuccessCont(){let e=this.popStack();for(;e;){if(e._op!==se)return e;e=this.popStack()}}getNextFailCont(){let e=this.popStack();for(;e;){if(e._op!==ue&&e._op!==Ke&&e._op!==at)return e;e=this.popStack()}}[nn](e){return Ao((()=>rn(this.currentContext,e)))}Left(e){return Ji(e.left)}None(e){return Ji(new Mu)}Right(e){return Gu(e.right)}Some(e){return Gu(e.value)}Micro(e){return zi((t=>{let n=t;const r=an(on(e,this.currentContext));return r.addObserver((e=>{if("Success"===e._tag)return n(Gu(e.value));switch(e.cause._tag){case"Interrupt":return n(Pu(je(mr)));case"Fail":return n(Ji(e.cause.error));case"Die":return n(Wi(e.cause.defect))}})),zi((e=>{n=()=>{e(So)},r.unsafeInterrupt()}))}))}[pe](e){const t=Fe((()=>e.effect_instruction_i0())),n=this.getNextSuccessCont();return void 0!==n?(n._op in qh||Bh(n),qh[n._op](this,n,t)):(Ih.currentOp=Gu(t),_h)}[we](e){const t=e,n=this.getNextSuccessCont();return void 0!==n?(n._op in qh||Bh(n),qh[n._op](this,n,t.effect_instruction_i0)):(Ih.currentOp=t,_h)}[ve](e){const t=e.effect_instruction_i0,n=this.getNextFailCont();if(void 0===n)return Ih.currentOp=Pu(t),_h;switch(n._op){case se:case De:return Va(this.currentRuntimeFlags)&&this.isInterrupted()?Pu(un(t)):Fe((()=>n.effect_instruction_i1(t)));case"OnStep":return Va(this.currentRuntimeFlags)&&this.isInterrupted()?Pu(un(t)):Gu(Pu(t));case et:return this.patchRuntimeFlags(this.currentRuntimeFlags,n.patch),Va(this.currentRuntimeFlags)&&this.isInterrupted()?Pu(Ue(t,this.getInterruptedCause())):Pu(t);default:Bh(n)}}[me](e){return Fe((()=>e.effect_instruction_i0(this,xd(this.currentRuntimeFlags))))}Blocked(e){const t=this.getFiberRefs(),n=this.currentRuntimeFlags;if(this._steps.length>0){const r=[],a=this._steps[this._steps.length-1];let i=this.popStack();for(;i&&"OnStep"!==i._op;)r.push(i),i=this.popStack();this.setFiberRefs(a.refs),this.currentRuntimeFlags=a.flags;const o=dd(a.refs,t),u=Qa(a.flags,n);return Gu(Si(e.effect_instruction_i0,_i((t=>{for(;r.length>0;)t.pushStack(r.pop());return t.setFiberRefs(fd(t.id(),t.getFiberRefs())(o)),t.currentRuntimeFlags=ei(u)(t.currentRuntimeFlags),e.effect_instruction_i1}))))}return Ro((t=>ao(Xh((e=>{const t=new Oi("RunBlocked");return t.effect_instruction_i0=e,t})(e.effect_instruction_i0)),(()=>t(e.effect_instruction_i1)))))}RunBlocked(e){return(e=>fo((e=>{let t=Lr(e),n=zr();for(;;){const[e,r]=Vr(t,[di(),zr()],(([e,t],n)=>{const[r,a]=oi(n);return[hi(e,r),Gr(t,a)]}));if(n=ui(n,e),qr(r))return Kr(n);t=r}throw new Error("BUG: BlockedRequests.flatten - please report an issue at https://github.com/Effect-TS/effect/issues")})(e),(e=>Yh((e=>Array.from(e.map))(e),(([e,t])=>{const n=new Map,r=[];for(const e of t){r.push(ze(e));for(const t of e)n.set(t.request,t)}const a=r.flat();return Xo(Ap(e.runAll(r),a,(()=>a.forEach((e=>{e.listeners.interrupted=!0})))),Td,n)}),!1,!1))))(e.effect_instruction_i0)}[Se](e){const t=e.effect_instruction_i0,n=this.currentRuntimeFlags,r=ei(n,t);if(Va(r)&&this.isInterrupted())return Pu(this.getInterruptedCause());if(this.patchRuntimeFlags(this.currentRuntimeFlags,t),e.effect_instruction_i1){const t=Qa(r,n);return this.pushStack(new Mi(t,e)),Fe((()=>e.effect_instruction_i1(n)))}return Hu}[ue](e){return this.pushStack(e),e.effect_instruction_i0}OnStep(e){return this.pushStack(e),e.effect_instruction_i0}[se](e){return this.pushStack(e),e.effect_instruction_i0}[De](e){return this.pushStack(e),e.effect_instruction_i0}[Pe](e){return this._asyncBlockingOn=e.effect_instruction_i1,this.initiateAsync(this.currentRuntimeFlags,e.effect_instruction_i0),Ih.currentOp=e,_h}[rt](e){return this._isYielding=!1,Ih.currentOp=e,_h}[Ke](e){const t=e.effect_instruction_i1;return(0,e.effect_instruction_i0)()?(this.pushStack(e),t()):Hu}[at](e){return qh[at](this,e,void 0)}[re](e){return Fe((()=>e.commit()))}runLoop(e){let n=e;for(this.currentOpCount=0;;){if(2&this.currentRuntimeFlags&&this.currentSupervisor.onEffect(this,n),this._queue.length>0&&(n=this.drainQueueWhileRunning(this.currentRuntimeFlags,n)),!this._isYielding){this.currentOpCount+=1;const e=this.currentScheduler.shouldYield(this);if(!1!==e){this._isYielding=!0,this.currentOpCount=0;const t=n;n=ao(Bo({priority:e}),(()=>t))}}try{if(n=this.currentTracer.context((()=>{if($h!==n[Ti]._V){const e=this.getFiberRef(mu);"Some"===e._tag&&this.log(`Executing an Effect versioned ${n[Ti]._V} with a Runtime of version ${sn()}, you may want to dedupe the effect dependencies, you can use the language service plugin to detect this at compile time: https://github.com/Effect-TS/language-service`,Je,e)}return this[n._op](n)}),this),n===_h){const e=Ih.currentOp;return e._op===rt||e._op===Pe?_h:(Ih.currentOp=null,e._op===we||e._op===ve?e:Pu(Qe(e)))}}catch(e){n=n!==_h&&!t(n,"_op")||!(n._op in this)?Yi(`Not a valid effect: ${ln(n)}`):t(e,Su)?Pu(Ue(Qe(e),je(mr))):Wi(e)}}}run=()=>{this.drainQueueOnCurrentThread()}}const Lh=Ie("effect/FiberRef/currentMinimumLogLevel",(()=>Qo(bc))),Gh=Ie(Symbol.for("effect/Logger/defaultLogger"),(()=>(e=>fn((t=>{const n=pc(t.context,ec);jt(n,Il).unsafe.log(e.log(t))})))(hn))),Hh=Ie(Symbol.for("effect/Logger/tracerLogger"),(()=>fn((({annotations:e,cause:t,context:n,fiberId:r,logLevel:a,message:i})=>{const o=rd(dn(cc(n,iu),Wl));if("None"===o._tag||"ExternalSpan"===o.value._tag)return;const u=rn(cc(n,ec),tl),s={};for(const[t,n]of e)s[t]=n;s["effect.fiberId"]=gr(r),s["effect.logLevel"]=a.label,null!==t&&"Empty"!==t._tag&&(s["effect.cause"]=tt(t,{renderErrorCause:!0})),o.value.event(ln(Array.isArray(i)&&1===i.length?i[0]:i),u.unsafeCurrentTimeNanos(),s)})))),Uh=Ie(Symbol.for("effect/FiberRef/currentLoggers"),(()=>eu(Yt(Gh,Hh)))),Vh=(e,t)=>{const[n,r]=(e=>{if(Array.isArray(e)||Xt(e))return[e,xe()];const t=Object.keys(e),n=t.length;return[t.map((t=>e[t])),Ee((e=>{const r={};for(let a=0;a<n;a++)r[t[a]]=e[a];return r}))]})(e);return"validate"===t?.mode?((e,t,n)=>{const r=[];for(const t of e)r.push(Zi(t));return ao(Kh(r,Y,{concurrency:n?.concurrency,batching:n?.batching,concurrentFinalizers:n?.concurrentFinalizers}),(e=>{const r=xe(),a=e.length,i=new Array(a),o=new Array(a);let u=!1;for(let t=0;t<a;t++){const n=e[t];"Left"===n._tag?(i[t]=Ee(n.left),u=!0):(o[t]=n.right,i[t]=r)}return u?Ji("Some"===t._tag?t.value(i):i):n?.discard?So:Eo("Some"===t._tag?t.value(o):o)}))})(n,r,t):"either"===t?.mode?((e,t,n)=>{const r=[];for(const t of e)r.push(Zi(t));return n?.discard?Kh(r,Y,{concurrency:n?.concurrency,batching:n?.batching,discard:!0,concurrentFinalizers:n?.concurrentFinalizers}):bo(Kh(r,Y,{concurrency:n?.concurrency,batching:n?.batching,concurrentFinalizers:n?.concurrentFinalizers}),(e=>"Some"===t._tag?t.value(e):e))})(n,r,t):!0!==t?.discard&&"Some"===r._tag?bo(Kh(n,Y,t),r.value):Kh(n,Y,t)},Kh=e((e=>Xt(e[0])),((e,t,n)=>_i((r=>{const a=!0===n?.batching||"inherit"===n?.batching&&r.getFiberRef(hu);return n?.discard?Md(n.concurrency,(()=>ap(sd,n?.concurrentFinalizers)((n=>a?Yh(e,((e,r)=>n(t(e,r))),!0,!1,1):fo(e,((e,r)=>n(t(e,r))))))),(()=>ap(ld,n?.concurrentFinalizers)((n=>Yh(e,((e,r)=>n(t(e,r))),a,!1)))),(r=>ap(cd(r),n?.concurrentFinalizers)((n=>Yh(e,((e,r)=>n(t(e,r))),a,!1,r))))):Md(n?.concurrency,(()=>ap(sd,n?.concurrentFinalizers)((n=>a?Zh(e,1,((e,r)=>n(t(e,r))),!0):co(e,((e,r)=>n(t(e,r))))))),(()=>ap(ld,n?.concurrentFinalizers)((n=>Wh(e,((e,r)=>n(t(e,r))),a)))),(r=>ap(cd(r),n?.concurrentFinalizers)((n=>Zh(e,r,((e,r)=>n(t(e,r))),a)))))})))),Wh=(e,t,n)=>xo((()=>{const r=R(e),a=new Array(r.length);return qo(Yh(r,((e,n)=>ao(t(e,n),(e=>Ao((()=>a[n]=e))))),n,!1),Eo(a))})),Yh=(e,t,n,r,a)=>Ro((i=>(e=>_i((t=>{const n=t.getFiberRef(bu),r=be(n,qe((()=>t.scope())));return e(Xo(bu,Ee(r)))})))((o=>_i((u=>{let s=Array.from(e).reverse(),l=s.length;if(0===l)return So;let c=0,d=!1;const f=a?Math.min(s.length,a):s.length,h=new Set,p=new Array,m=new Array,v=new Array,b=new Array,g=()=>{const e=p.filter((({exit:e})=>"Failure"===e._tag)).sort(((e,t)=>e.index<t.index?-1:e.index===t.index?0:1)).map((({exit:e})=>e));return 0===e.length&&e.push(Hu),e},y=(e,t=!1)=>{const n=ko(o(e)),r=Qh(n,u,u.currentRuntimeFlags,Ld);return u.currentScheduler.scheduleTask((()=>{t&&r.unsafeInterruptAsFork(u.id()),r.resume(n)}),0,r),r},D=()=>{r||(l-=s.length,s=[]),d=!0,h.forEach((e=>{e.currentScheduler.scheduleTask((()=>{e.unsafeInterruptAsFork(u.id())}),0,e)}))},w=n?io:Xi,F=y(Gi((e=>{const r=(e,t)=>{"Blocked"===e._op?b.push(e):(p.push({index:t,exit:e}),"Failure"!==e._op||d||D())},o=()=>{if(s.length>0){const f=s.pop();let D=c++;const F=()=>{const e=s.pop();return D=c++,ao(Bo(),(()=>ao(w(i(t(e,D))),E)))},E=e=>s.length>0&&(r(e,D),s.length>0)?F():Eo(e),x=ao(w(i(t(f,D))),E),A=y(x);m.push(A),h.add(A),d&&A.currentScheduler.scheduleTask((()=>{A.unsafeInterruptAsFork(u.id())}),0,A),A.addObserver((t=>{let i;if(i="Failure"===t._op?t:t.effect_instruction_i0,v.push(A),h.delete(A),r(i,D),p.length===l)e(Eo(qe(Iu(g(),{parallel:!0}),(()=>Hu))));else if(b.length+p.length===l){const t=g(),r=b.map((e=>e.effect_instruction_i0)).reduce(ai);e(Eo(Si(r,Yh([qe(Iu(t,{parallel:!0}),(()=>Hu)),...b.map((e=>e.effect_instruction_i1))],(e=>e),n,!0,a))))}else o()}))}};for(let e=0;e<f;e++)o()})));return Pi(Do(oo(i(Vd(F))),zu({onFailure:e=>{D();const t=b.length+1,n=Math.min("number"==typeof a?a:b.length,b.length),r=Array.from(b);return Gi((a=>{let i=0;const o=(n,o)=>()=>{i++,i===t&&a(Gu(Pu(e))),r.length>0&&o&&u()},u=()=>{y(r.pop(),!0).addObserver(o(0,!0))};F.addObserver(o(0,!1));for(let e=0;e<n;e++)u()}))},onSuccess:()=>co(v,(e=>e.inheritAll))})))})))))),Zh=(e,t,n,r)=>xo((()=>{const a=R(e),i=new Array(a.length);return qo(Yh(a,((e,t)=>bo(n(e,t),(e=>i[t]=e))),r,!1,t),Eo(i))})),Xh=e=>tp(e,Ld),Jh=(e,t,n,r=null)=>{const a=ep(e,t,n,r);return a.resume(e),a},Qh=(e,t,n,r=null)=>ep(e,t,n,r),ep=(e,t,n,r=null)=>{const a=yr(),i=t.getFiberRefs(),o=oc(i,a),u=new zh(a,o,n),s=cc(o,iu),l=u.currentSupervisor;return l.onStart(s,e,Ee(t),u),u.addObserver((e=>l.onEnd(e,u))),(null!==r?r:be(t.getFiberRef(bu),qe((()=>t.scope())))).add(n,u),u},tp=(e,t)=>_i(((n,r)=>Eo(Jh(e,n,r.runtimeFlags,t)))),np=e=>us((t=>X(dn(t,dp),{onNone:()=>e,onSome:t=>{switch(t.strategy._tag){case"Parallel":return e;case"Sequential":case"ParallelN":return ao(xu(t,ld),(t=>vp(e,t)))}}}))),rp=e=>t=>us((n=>X(dn(n,dp),{onNone:()=>t,onSome:n=>"ParallelN"===n.strategy._tag&&n.strategy.parallelism===e?t:ao(xu(n,cd(e)),(e=>vp(t,e)))}))),ap=(e,t)=>n=>us((r=>X(dn(r,dp),{onNone:()=>n(Y),onSome:r=>{if(!0!==t)return n(Y);{const t="Parallel"===e._tag?np:"Sequential"===e._tag?op:rp(e.parallelism);switch(r.strategy._tag){case"Parallel":return t(n(np));case"Sequential":return t(n(op));case"ParallelN":return t(n(rp(r.strategy.parallelism)))}}}}))),ip=e=>ao(mp(),(t=>Do(e(t),(e=>t.close(e))))),op=e=>us((t=>X(dn(t,dp),{onNone:()=>e,onSome:t=>{switch(t.strategy._tag){case"Sequential":return e;case"Parallel":case"ParallelN":return ao(xu(t,sd),(t=>vp(e,t)))}}}))),up=e((e=>Bi(e[1])),((e,t,n)=>cp(e,t,((e,t)=>[e,t]),n))),sp=e((e=>Bi(e[1])),((e,t,n)=>!0===n?.concurrent||void 0!==n?.batching&&!1!==n.batching?cp(e,t,(e=>e),n):Io(e,t))),lp=e((e=>Bi(e[1])),((e,t,n)=>!0===n?.concurrent||void 0!==n?.batching&&!1!==n.batching?cp(e,t,((e,t)=>t),n):qo(e,t))),cp=e((e=>Bi(e[1])),((e,t,n,r)=>bo(Vh([e,t],{concurrency:r?.concurrent?2:1,batching:r?.batching,concurrentFinalizers:r?.concurrentFinalizers}),(([e,t])=>n(e,t))))),dp=lt("effect/Scope"),fp=dp,hp={[yu]:yu,[Du]:Du,pipe(){return i(this,arguments)},fork(e){return Ao((()=>{const t=pp(e);if("Closed"===this.state._tag)return t.state=this.state,t;const n={};return this.state.finalizers.set(n,(e=>t.close(e))),((e,t)=>{"Open"===e.state._tag&&e.state.finalizers.set({},t)})(t,(()=>Ao((()=>{"Open"===this.state._tag&&this.state.finalizers.delete(n)})))),t}))},close(e){return xo((()=>{if("Closed"===this.state._tag)return So;const t=Array.from(this.state.finalizers.values()).reverse();return this.state={_tag:"Closed",exit:e},0===t.length?So:(()=>this.strategy._tag===ad)()?be(co(t,(t=>Xi(t(e)))),ao((e=>be(Iu(e),ee(_u),qe((()=>Hu)))))):(()=>this.strategy._tag===id)()?be(Wh(t,(t=>Xi(t(e))),!1),ao((e=>be(Iu(e,{parallel:!0}),ee(_u),qe((()=>Hu)))))):be(Zh(t,this.strategy.parallelism,(t=>Xi(t(e))),!1),ao((e=>be(Iu(e,{parallel:!0}),ee(_u),qe((()=>Hu))))))}))},addFinalizer(e){return xo((()=>"Closed"===this.state._tag?e(this.state.exit):(this.state.finalizers.set({},e),So)))}},pp=(e=od)=>{const t=Object.create(hp);return t.strategy=e,t.state={_tag:"Open",finalizers:new Map},t},mp=(e=od)=>Ao((()=>pp(e))),vp=e(2,((e,t)=>cs(e,We(Zt(dp,t))))),bp=e=>ru(e,{differ:Ch,fork:Fh}),gp=au(Za),yp=bp(bh),Dp=e(3,((e,t,n)=>Fp(e,t,{onSelfWin:(e,t)=>ao(e.await,(r=>{switch(r._tag){case we:return ao(e.inheritAll,(()=>n.onSelfDone(r,t)));case ve:return n.onSelfDone(r,t)}})),onOtherWin:(e,t)=>ao(e.await,(r=>{switch(r._tag){case we:return ao(e.inheritAll,(()=>n.onOtherDone(r,t)));case ve:return n.onOtherDone(r,t)}}))}))),wp=e(2,((e,t)=>ro((n=>Dp(e,t,{onSelfDone:(e,t)=>Lu(e,{onFailure:e=>be(Vd(t),Yc((t=>ut(e,t)))),onSuccess:e=>be(t,zo(n),qi(e))}),onOtherDone:(e,t)=>Lu(e,{onFailure:e=>be(Vd(t),Yc((t=>ut(t,e)))),onSuccess:e=>be(t,zo(n),qi(e))})}))))),Fp=e(3,((e,t,n)=>_i(((r,a)=>{const i=a.runtimeFlags,o=Ae(!0),u=ep(e,r,i,n.selfScope),s=ep(t,r,i,n.otherScope);return Gi((r=>{u.addObserver((()=>Ep(u,s,n.onSelfWin,o,r))),s.addObserver((()=>Ep(s,u,n.onOtherWin,o,r))),u.startFork(e),s.startFork(t)}),vr(u.id(),s.id()))})))),Ep=(e,t,n,r,a)=>{Jt(!0,!1)(r)&&a(n(e,t))},xp=e(2,((e,t)=>Ro((n=>so(n(e),{onFailure:e=>so(t,{onFailure:t=>eo(Ue(e,t)),onSuccess:()=>eo(e)}),onSuccess:e=>qi(t,e)}))))),Ap=(e,t,n)=>ro((r=>xp(ao(Xh(mo(e)),(e=>Gi((r=>{const a=t.map((e=>e.listeners.count)),i=()=>{a.every((e=>0===e))&&t.every((e=>"Pending"===e.result.state.current._tag||!("Done"!==e.result.state.current._tag||!ju(e.result.state.current.effect)||"Failure"!==e.result.state.current.effect._tag||!pn(e.result.state.current.effect.cause))))&&(o.forEach((e=>e())),n?.(),r($o(e)))};e.addObserver((e=>{o.forEach((e=>e())),r(e)}));const o=t.map(((e,t)=>{const n=e=>{a[t]=e,i()};return e.listeners.addObserver(n),()=>e.listeners.removeObserver(n)}));return i(),Ao((()=>{o.forEach((e=>e()))}))})))),xo((()=>{const e=t.flatMap((e=>e.state.completed?[]:[e]));return fo(e,(e=>ch(e.request,(e=>Pu(je(e)))(r))))}))))),Cp=de,kp=Qe,Rp=je,Sp=bn,Tp=pn,Mp=ke,Op=Re,Np=fe,jp=mn,Bp=vn,_p=Symbol.for("effect/ScheduleInterval"),Ip={[_p]:_p,startMillis:0,endMillis:0},qp=(e,t)=>e>t?Ip:{[_p]:_p,startMillis:e,endMillis:t},Pp=e(2,((e,t)=>$p(e,t)===e)),$p=e(2,((e,t)=>e.endMillis<=t.startMillis?e:t.endMillis<=e.startMillis?t:e.startMillis<t.startMillis?e:t.startMillis<e.startMillis?t:e.endMillis<=t.endMillis?e:t)),zp=e(2,((e,t)=>{const n=Math.max(e.startMillis,t.startMillis),r=Math.min(e.endMillis,t.endMillis);return qp(n,r)})),Lp=Ip,Gp=Pp,Hp=e=>e.startMillis>=e.endMillis,Up=zp,Vp=Symbol.for("effect/ScheduleIntervals"),Kp=e=>({[Vp]:Vp,intervals:e}),Wp=e(2,((e,t)=>Yp(e.intervals,t.intervals,ne()))),Yp=(e,t,n)=>{let r=e,a=t,i=n;for(;B(r)&&B(a);){const e=be(_(r),Up(_(a))),t=Hp(e)?i:be(i,q(e));be(_(r),Gp(_(a)))?r=I(r):a=I(a),i=t}return Kp(Le(i))},Zp=e=>be(e.intervals,gn,qe((()=>Lp))).startMillis,Xp=e(2,((e,t)=>Zp(e)<Zp(t))),Jp=Kp,Qp=Wp,em=Zp,tm=e=>be(e.intervals,gn,qe((()=>Lp))).endMillis,nm=Xp,rm="Continue",am="Done",im={_tag:am},om=e=>e._tag===rm,um=e=>e._tag===am,sm=wu,lm=Fu,cm=Eu,dm=vp,fm=xu,hm=mp;class pm{permits;waiters=new Set;taken=0;constructor(e){this.permits=e}get free(){return this.permits-this.taken}take=e=>Li((t=>{if(this.free<e){const n=()=>{this.free<e||(this.waiters.delete(n),t(xo((()=>this.free<e?this.take(e):(this.taken+=e,Eo(e))))))};return this.waiters.add(n),Ao((()=>{this.waiters.delete(n)}))}t(xo((()=>this.free<e?this.take(e):(this.taken+=e,Eo(e)))))}));updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.getFiberRef(Sd).scheduleTask((()=>{const e=this.waiters.values();let t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()}),e.getFiberRef(ou),e),Eo(this.free)}updateTaken(e){return _i((t=>this.updateTakenUnsafe(t,e)))}resize=e=>Pi(_i((t=>(this.permits=e,this.free<0?So:this.updateTakenUnsafe(t,(e=>e))))));release=e=>this.updateTaken((t=>t-e));releaseAll=this.updateTaken((()=>0));withPermits=e=>t=>Ro((n=>ao(n(this.take(e)),(e=>xp(n(t),this.release(e))))));withPermitsIfAvailable=e=>t=>Ro((n=>xo((()=>this.free<e?Qc:(this.taken+=e,xp(n((e=>bo(e,Ee))(t)),this.release(e)))))))}const mm=e=>new pm(e),vm=e(2,((e,t)=>_i(((n,r)=>{const a=t,i=Jh(e,n,r.runtimeFlags,Ld);if("Open"===a.state._tag){const e=()=>ro((e=>O(e,i.id())?So:Pi($o(i)))),t={};a.state.finalizers.set(t,e),i.addObserver((()=>{"Closed"!==a.state._tag&&a.state.finalizers.delete(t)}))}else i.unsafeInterruptAsFork(n.id());return Eo(i)})))),bm=e(2,((e,t)=>be(Xi(e),wp(Xi(t)),(e=>oo(e))))),gm=Symbol.for("effect/Ref/SynchronizedRef"),ym={_A:e=>e};class Dm extends Ot{ref;withLock;[gm]=ym;[Dc]=wc;[yc]=yc;constructor(e,t){super(),this.ref=e,this.withLock=t,this.get=Ac(this.ref)}get;commit(){return this.get}modify(e){return this.modifyEffect((t=>Eo(e(t))))}modifyEffect(e){return this.withLock(be(ao(Ac(this.ref),e),ao((([e,t])=>qi(Cc(this.ref,t),e)))))}}const wm=e=>{const t=Ec(e),n=mm(1);return new Dm(t,n.withPermits(1))},Fm=Symbol.for("effect/ManagedRuntime"),Em=e=>e.await,xm=e=>e.inheritAll,Am=$o,Cm=zo,km=Vd,Rm=e=>function(){if(1===arguments.length){const t=arguments[0];return(n,...r)=>e(t,n,...r)}return e.apply(this,arguments)},Sm=Rm(((e,t,n)=>{const r=yr(),a=[[iu,[[r,e.context]]]];n?.scheduler&&a.push([Sd,[[r,n.scheduler]]]);let i=mc(e.fiberRefs,{entries:a,forkAs:r});n?.updateRefs&&(i=n.updateRefs(i,r));const o=new zh(r,i,e.runtimeFlags);let u=t;n?.scope&&(u=ao(fm(n.scope,od),(e=>qo(wu(e,ro((e=>O(e,o.id())?So:zo(o,e)))),Do(t,(t=>cm(e,t)))))));const s=o.currentSupervisor;return s!==bh&&(s.onStart(e.context,u,xe(),o),o.addObserver((e=>s.onEnd(e,o)))),Ld.add(e.runtimeFlags,o),!1===n?.immediate?o.resume(u):o.start(u),o})),Tm=Symbol.for("effect/Runtime/FiberFailure"),Mm=Symbol.for("effect/Runtime/FiberFailure/Cause");class Om extends Error{[Tm];[Mm];constructor(e){const t=yn(e)[0];super(t?.message||"An error has occurred"),this[Tm]=Tm,this[Mm]=e,this.name=t?`(FiberFailure) ${t.name}`:"FiberFailure",t?.stack&&(this.stack=t.stack)}toJSON(){return{_id:"FiberFailure",cause:this[Mm].toJSON()}}toString(){return"(FiberFailure) "+tt(this[Mm],{renderErrorCause:!0})}[o](){return this.toString()}}const Nm=Rm(((e,t,n)=>jm(e,t,n).then((e=>{switch(e._tag){case we:return e.effect_instruction_i0;case ve:throw(e=>{const t=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new Om(e);return Error.stackTraceLimit=t,n})(e.effect_instruction_i0)}})))),jm=Rm(((e,t,n)=>new Promise((r=>{const a=(e=>{const t=e;switch(t._op){case"Failure":case"Success":return t;case"Left":return qu(t.left);case"Right":return Gu(t.right);case"Some":return Gu(t.value);case"None":return qu(new Mu)}})(t);a&&r(a);const i=Sm(e)(t);i.addObserver((e=>{r(e)})),void 0!==n?.signal&&(n.signal.aborted?i.unsafeInterruptAsFork(i.id()):n.signal.addEventListener("abort",(()=>{i.unsafeInterruptAsFork(i.id())}),{once:!0}))}))));class Bm{context;runtimeFlags;fiberRefs;constructor(e,t,n){this.context=e,this.runtimeFlags=t,this.fiberRefs=n}pipe(){return i(this,arguments)}}const _m=e=>new Bm(e.context,e.runtimeFlags,e.fiberRefs),Im=Ya(1,32,4),qm=_m({context:it(),runtimeFlags:Im,fiberRefs:vc()}),Pm=Sm(qm),$m=Nm(qm),zm=e(2,((e,t)=>e.modifyEffect(t))),Lm=Symbol.for("effect/Layer"),Gm={[Lm]:{_RIn:e=>e,_E:e=>e,_ROut:e=>e},pipe(){return i(this,arguments)}},Hm=Symbol.for("effect/Layer/MemoMap"),Um=St()("effect/Layer/CurrentMemoMap",{defaultValue:()=>Ym()}),Vm=e=>"Fresh"===e._op_layer;class Km{ref;[Hm];constructor(e){this.ref=e,this[Hm]=Hm}getOrElseMemoize(e,t){return be(zm(this.ref,(n=>{const r=n.get(e);if(void 0!==r){const[e,a]=r,i=be(e,ao((([e,t])=>be((e=>{return t=(t,n)=>be(e,$c(t,n)),_i((e=>(e.setFiberRefs(t(e.id(),e.getFiberRefs())),So)));var t})(e),qi(t)))),Do(zu({onFailure:()=>So,onSuccess:()=>Fu(t,a)})));return Eo([i,n])}return be(xc(0),ao((r=>be(Zu(),ao((a=>be(xc((()=>So)),bo((i=>{const o=Ro((o=>be(mp(),ao((u=>be(o(ao(Jm(e,u,!0),(e=>(e=>ed(e,Wc,qc))(e(this))))),Xi,ao((o=>{switch(o._tag){case ve:return be(ts(a,o.effect_instruction_i0),qo(Eu(u,o)),qo(eo(o.effect_instruction_i0)));case we:return be(Cc(i,(e=>be(Eu(u,e),To(kc(r,(e=>[1===e,e-1]))),Pi))),qo(Rc(r,(e=>e+1))),qo(Fu(t,(t=>be(Ao((()=>n.delete(e))),qo(Ac(i)),ao((e=>e(t))))))),qo(rs(a,o.effect_instruction_i0)),qi(o.effect_instruction_i0[1]))}})))))))),u=[be(Ju(a),Do(Lu({onFailure:()=>So,onSuccess:()=>Rc(r,(e=>e+1))}))),e=>be(Ac(i),ao((t=>t(e))))];return[o,Vm(e)?n:n.set(e,u)]})))))))))})),oo)}}const Wm=xo((()=>{return bo((e=new Map,Ao((()=>wm(e)))),(e=>new Km(e)));var e})),Ym=()=>new Km(wm(new Map)),Zm=e(2,((e,t)=>ao(Wm,(n=>Xm(e,n,t))))),Xm=e(3,((e,t,n)=>ao(Jm(e,n),(e=>Zc(e(t),Um,t))))),Jm=(e,t,n=!1)=>{const r=e;switch(r._op_layer){case"Locally":return Ao((()=>e=>r.f(e.getOrElseMemoize(r.self,t))));case"ExtendScope":return Ao((()=>e=>{return t=t=>e.getOrElseMemoize(r.layer,t),ao(dp,t);var t}));case"Fold":return Ao((()=>e=>be(e.getOrElseMemoize(r.layer,t),so({onFailure:n=>e.getOrElseMemoize(r.failureK(n),t),onSuccess:n=>e.getOrElseMemoize(r.successK(n),t)}))));case"Fresh":return Ao((()=>()=>be(r.layer,Zm(t))));case"FromEffect":return Ao(n?()=>()=>r.effect:()=>n=>n.getOrElseMemoize(e,t));case"Provide":return Ao((()=>e=>be(e.getOrElseMemoize(r.first,t),ao((n=>be(e.getOrElseMemoize(r.second,t),ss(n)))))));case"Scoped":return Ao(n?()=>()=>vp(r.effect,t):()=>n=>n.getOrElseMemoize(e,t));case"Suspend":return Ao((()=>e=>e.getOrElseMemoize(r.evaluate(),t)));case"ProvideMerge":return Ao((()=>e=>be(e.getOrElseMemoize(r.first,t),Po(e.getOrElseMemoize(r.second,t),r.zipK))));case"ZipWith":return No((function*(){const e=yield*xu(t,ud),n=yield*xu(e,od),a=yield*xu(e,od);return e=>be(e.getOrElseMemoize(r.first,n),cp(e.getOrElseMemoize(r.second,a),r.zipK,{concurrent:!0}))}));case"MergeAll":{const e=r.layers;return bo(xu(t,ud),(t=>n=>{const r=new Array(e.length);return bo(Yh(e,jo((function*(e,a){const i=yield*xu(t,od),o=yield*n.getOrElseMemoize(e,i);r[a]=o})),!1,!1),(()=>wn(...r)))}))}}},Qm=e(2,((e,t)=>ip((n=>ao(Zm(t,n),(t=>ls(e,t))))))),ev=e(2,((e,t)=>{const n=dd(qm.fiberRefs,t.fiberRefs),r=Qa(qm.runtimeFlags,t.runtimeFlags);return Ro((a=>_i((i=>{const o=i.getFiberRef(iu),u=i.getFiberRefs(),s=fd(i.id(),u)(n),l=i.currentRuntimeFlags,c=ei(r)(l),d=dd(s,u),f=Qa(c,l);return i.setFiberRefs(s),i.currentRuntimeFlags=c,xp(ls(a(e),We(o,t.context)),_i((e=>(e.setFiberRefs(fd(e.id(),e.getFiberRefs())(d)),e.currentRuntimeFlags=ei(f)(e.currentRuntimeFlags),So))))}))))})),tv=e(2,((e,n)=>Array.isArray(n)?Qm(e,((...e)=>{const t=Object.create(Gm);return t._op_layer="MergeAll",t.layers=e,t})(...n)):t(n,Lm)?Qm(e,n):Dn(n)?ls(e,n):Fm in n?ao(n.runtimeEffect,(t=>ev(e,t))):ev(e,n))),nv=Symbol.for("effect/Schedule"),rv=Symbol.for("effect/ScheduleDriver"),av={start:0,now:0,input:void 0,output:void 0,elapsed:Xn,elapsedSincePrevious:Xn,recurrence:0},iv=St()("effect/Schedule/CurrentIterationMetadata",{defaultValue:()=>av}),ov={_Out:e=>e,_In:e=>e,_R:e=>e},uv={_Out:e=>e,_In:e=>e,_R:e=>e};class sv{initial;step;[nv]=ov;constructor(e,t){this.initial=e,this.step=t}pipe(){return i(this,arguments)}}const lv=(e,t,n,r)=>Rc(e,(e=>0===e.recurrence?{now:t,input:n,output:r,recurrence:e.recurrence+1,elapsed:Xn,elapsedSincePrevious:Xn,start:t}:{now:t,input:n,output:r,recurrence:e.recurrence+1,elapsed:tr(t-e.start),elapsedSincePrevious:tr(t-e.now),start:e.start}));class cv{schedule;ref;[rv]=uv;constructor(e,t){this.schedule=e,this.ref=t}get state(){return bo(Ac(this.ref),(e=>e[1]))}get last(){return ao(Ac(this.ref),(([e,t])=>{switch(e._tag){case"None":return Qi((()=>new Mu));case"Some":return Eo(e.value)}}))}iterationMeta=Ec(av);get reset(){return Cc(this.ref,[xe(),this.schedule.initial]).pipe(Io(Cc(this.iterationMeta,av)))}next(e){return be(bo(Ac(this.ref),(e=>e[1])),ao((t=>be(nc,ao((n=>be(xo((()=>this.schedule.step(n,e,t))),ao((([t,r,a])=>{const i=Cc(this.ref,[Ee(r),t]);if(um(a))return i.pipe(qo(Ji(xe())));const o=em(a.intervals)-n;if(o<=0)return i.pipe(qo(lv(this.iterationMeta,n,e,r)),qi(r));const u=tr(o);return be(i,qo(lv(this.iterationMeta,n,e,r)),qo(Jc(u)),qi(r))})))))))))}}const dv=(e,t)=>new sv(e,t),fv=e(2,((e,t)=>hv(e,((e,n)=>Ao((()=>t(e,n))))))),hv=e(2,((e,t)=>dv(e.initial,((n,r,a)=>ao(e.step(n,r,a),(([e,n,a])=>um(a)?Eo([e,n,im]):bo(t(r,n),(t=>t?[e,n,a]:[e,n,im])))))))),pv=e(2,((e,t)=>mv(e,t,Qp))),mv=e(3,((e,t,n)=>dv([e.initial,t.initial],((r,a,i)=>be(Po(e.step(r,a,i[0]),t.step(r,a,i[1]),((e,t)=>[e,t])),ao((([[r,i,o],[u,s,l]])=>om(o)&&om(l)?vv(e,t,a,r,i,o.intervals,u,s,l.intervals,n):Eo([[r,u],[i,s],im])))))))),vv=(e,t,n,r,a,i,o,u,s,l)=>{const c=l(i,s);return(e=>B(e.intervals))(c)?Eo([[r,o],[a,u],(d=c,{_tag:rm,intervals:d})]):be(i,nm(s))?ao(e.step(tm(i),n,r),(([r,a,i])=>um(i)?Eo([[r,o],[a,u],im]):vv(e,t,n,r,a,i.intervals,o,u,s,l))):ao(t.step(tm(s),n,o),(([o,u,s])=>um(s)?Eo([[r,o],[a,u],im]):vv(e,t,n,r,a,i,o,u,s.intervals,l)));var d},bv=e(2,((e,t)=>gv(e,(e=>Ao((()=>t(e))))))),gv=e(2,((e,t)=>dv(e.initial,((n,r,a)=>ao(e.step(n,r,a),(([e,n,r])=>bo(t(n),(t=>[e,t,r])))))))),yv=(e,t)=>dv(e,((e,n,r)=>Ao((()=>{return[t(r),r,(a=e,n=qp(a,Number.POSITIVE_INFINITY),{_tag:rm,intervals:Jp(j(n))})];var n,a})))),Dv=e(2,((e,t)=>hv(e,(e=>(e=>bo(e,(e=>!e)))(t(e)))))),wv=e(2,((e,t)=>hv(e,(e=>t(e))))),Fv=e(2,((e,t)=>fv(e,((e,n)=>t(n))))),Ev=Symbol.for("effect/Schedule/ScheduleDefect");class xv{error;[Ev];constructor(e){this.error=e,this[Ev]=Ev}}const Av=e=>Ui(e,(e=>Wi(new xv(e)))),Cv=e(2,((e,t)=>Rv(e,t,(e=>Ji(e))))),kv=e(2,((e,n)=>{if(t(n,nv))return Cv(e,n);const r=n.schedule??(e=>dv(e.initial,((t,n,r)=>be(e.step(t,n,r),bo((([e,t,r])=>[e,n,r]))))))(Tv),a=n.while?wv(r,(e=>{const t=n.while(e);return"boolean"==typeof t?Eo(t):Av(t)})):r,i=n.until?Dv(a,(e=>{const t=n.until(e);return"boolean"==typeof t?Eo(t):Av(t)})):a,o=n.times?pv(i,(u=n.times,Fv(Tv,(e=>e<u)))).pipe(bv((e=>e[0]))):i;var u,s;return s=Cv(e,o),Hi(s,(e=>eo((e=>X(Fn(e,(e=>bn(e)&&t(e.defect,Ev)?Ee(e.defect):xe())),{onNone:()=>e,onSome:e=>de(e.error)}))(e))))})),Rv=e(3,((e,t,n)=>ao((e=>be(xc([xe(),e.initial]),bo((t=>new cv(e,t)))))(t),(t=>lo(e,{onFailure:e=>n(e,xe()),onSuccess:r=>Sv(Xc(e,iv,Ac(t.iterationMeta)),t,((e,r)=>Xc(n(e,r),iv,Ac(t.iterationMeta))),r)}))))),Sv=(e,t,n,r)=>lo(t.next(r),{onFailure:()=>(e=>Fo(e,Y))(t.last),onSuccess:r=>lo(e,{onFailure:e=>n(e,Ee(r)),onSuccess:r=>Sv(e,t,n,r)})}),Tv=yv(0,(e=>e+1)),Mv=Bi,Ov=Vh,Nv=Kh,jv=Gi,Bv=_i,_v=Ji,Iv=eo,qv=Yi,Pv=No,$v=Eo,zv=xo,Lv=Ao,Gv=So,Hv=Ui,Uv=Hi,Vv=Vc,Kv=ho,Wv=mo,Yv=ko,Zv=Ro,Xv=qi,Jv=Pi,Qv=bo,eb=yo,tb=Ii,nb=xp,rb=fp,ab=ip,ib=ro,ob=Xh,ub=vm,sb=tv,lb=Xi,cb=vo,db=nd,fb=ao,hb=oo,pb=wp,mb=bm,vb=Dp,bb=Co,gb=td,yb=e=>{const t=ao(ao(e,(()=>Bo())),(()=>t));return t},Db=kv,wb=Kc,Fb=uo,Eb=so,xb=e=>Ao((()=>mm(e))),Ab=Pm,Cb=$m,kb=up,Rb=sp,Sb=lp,Tb=cp,Mb=Symbol.for("effect/QueueEnqueue"),Ob=Symbol.for("effect/QueueDequeue"),Nb=Symbol.for("effect/QueueStrategy"),jb=Symbol.for("effect/BackingQueue"),Bb={_A:e=>e},_b={_A:e=>e},Ib={_In:e=>e},qb={_Out:e=>e};class Pb extends Ot{queue;takers;shutdownHook;shutdownFlag;strategy;[Mb]=Ib;[Ob]=qb;constructor(e,t,n,r,a){super(),this.queue=e,this.takers=t,this.shutdownHook=n,this.shutdownFlag=r,this.strategy=a}pipe(){return i(this,arguments)}commit(){return this.take}capacity(){return this.queue.capacity()}get size(){return xo((()=>Ui(this.unsafeSize(),(()=>ho))))}unsafeSize(){return Be(this.shutdownFlag)?xe():Ee(this.queue.length()-Ws(this.takers)+this.strategy.surplusSize())}get isEmpty(){return bo(this.size,(e=>e<=0))}get isFull(){return bo(this.size,(e=>e>=this.capacity()))}get shutdown(){return ko(_i((e=>(be(this.shutdownFlag,_e(!0)),be(Yh(Jb(this.takers),(t=>ns(t,e.id())),!1,!1),qo(this.strategy.shutdown),To(rs(this.shutdownHook,void 0)),Pi)))))}get isShutdown(){return Ao((()=>Be(this.shutdownFlag)))}get awaitShutdown(){return Ju(this.shutdownHook)}isActive(){return!Be(this.shutdownFlag)}unsafeOffer(e){if(Be(this.shutdownFlag))return!1;let t;if(0===this.queue.length()){const n=be(this.takers,Js(Hs));n!==Hs?(Zb(n,e),t=!0):t=!1}else t=!1;if(t)return!0;const n=this.queue.offer(e);return tg(this.strategy,this.queue,this.takers),n}offer(e){return xo((()=>{if(Be(this.shutdownFlag))return ho;let t;if(0===this.queue.length()){const n=be(this.takers,Js(Hs));n!==Hs?(Zb(n,e),t=!0):t=!1}else t=!1;if(t)return Eo(!0);const n=this.queue.offer(e);return tg(this.strategy,this.queue,this.takers),n?Eo(!0):this.strategy.handleSurplus([e],this.queue,this.takers,this.shutdownFlag)}))}offerAll(e){return xo((()=>{if(Be(this.shutdownFlag))return ho;const t=R(e),n=0===this.queue.length()?R(Qb(this.takers,t.length)):ot,[r,a]=be(t,En(n.length));for(let e=0;e<n.length;e++)Zb(n[e],r[e]);if(0===a.length)return Eo(!0);const i=this.queue.offerAll(a);return tg(this.strategy,this.queue,this.takers),xn(i)?Eo(!0):this.strategy.handleSurplus(i,this.queue,this.takers,this.shutdownFlag)}))}get take(){return _i((e=>{if(Be(this.shutdownFlag))return ho;const t=this.queue.poll(Hs);if(t!==Hs)return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),Eo(t);{const t=Yu(e.id());return be(xo((()=>(be(this.takers,Zs(t)),tg(this.strategy,this.queue,this.takers),Be(this.shutdownFlag)?ho:Ju(t)))),wo((()=>Ao((()=>eg(this.takers,t))))))}}))}get takeAll(){return xo((()=>Be(this.shutdownFlag)?ho:Ao((()=>{const e=this.queue.pollUpTo(Number.POSITIVE_INFINITY);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),$e(e)}))))}takeUpTo(e){return xo((()=>Be(this.shutdownFlag)?ho:Ao((()=>{const t=this.queue.pollUpTo(e);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),$e(t)}))))}takeBetween(e,t){return xo((()=>$b(this,e,t,ne())))}}const $b=(e,t,n,r)=>n<t?Eo(r):be(Vb(e,n),ao((a=>{const i=t-a.length;return 1===i?be(Ub(e),bo((e=>be(r,J(a),te(e))))):i>1?be(Ub(e),ao((t=>$b(e,i-1,n-a.length-1,be(r,J(a),te(t)))))):Eo(be(r,J(a)))}))),zb=(e,t)=>be(Zu(),bo((n=>((e,t,n,r,a)=>new Pb(e,t,n,r,a))(e,Ks(),n,Ae(!1),t))));class Lb{mutable;[jb]=_b;constructor(e){this.mutable=e}poll(e){return Js(this.mutable,e)}pollUpTo(e){return Qs(this.mutable,e)}offerAll(e){return Xs(this.mutable,e)}offer(e){return Zs(this.mutable,e)}capacity(){return(e=>void 0===e.capacity?1/0:e.capacity)(this.mutable)}length(){return Ws(this.mutable)}}const Gb=e=>new Lb(e),Hb=e(2,((e,t)=>e.offer(t))),Ub=e=>e.take,Vb=e(2,((e,t)=>e.takeUpTo(t))),Kb=e(3,((e,t,n)=>e.takeBetween(t,n)));class Wb{[Nb]=Bb;putters=Ks();surplusSize(){return Ws(this.putters)}onCompleteTakersWithEmptyQueue(e){for(;!Ys(this.putters)&&!Ys(e);){const t=Js(e,void 0),n=Js(this.putters,void 0);n[2]&&Zb(n[1],!0),Zb(t,n[0])}}get shutdown(){return be(no,ao((e=>be(Ao((()=>Jb(this.putters))),ao((t=>Yh(t,(([t,n,r])=>r?be(ns(n,e),Pi):So),!1,!1)))))))}handleSurplus(e,t,n,r){return _i((a=>{const i=Yu(a.id());return be(xo((()=>(this.unsafeOffer(e,i),this.unsafeOnQueueEmptySpace(t,n),tg(this,t,n),Be(r)?ho:Ju(i)))),wo((()=>Ao((()=>this.unsafeRemove(i))))))}))}unsafeOnQueueEmptySpace(e,t){let n=!0;for(;n&&(e.capacity()===Number.POSITIVE_INFINITY||e.length()<e.capacity());){const r=be(this.putters,Js(Hs));if(r===Hs)n=!1;else{const n=e.offer(r[0]);n&&r[2]?Zb(r[1],!0):n||Xb(this.putters,be(Jb(this.putters),q(r))),tg(this,e,t)}}}unsafeOffer(e,t){const n=R(e);for(let e=0;e<n.length;e++){const r=n[e];be(this.putters,Zs(e===n.length-1?[r,t,!0]:[r,t,!1]))}}unsafeRemove(e){Xb(this.putters,be(Jb(this.putters),An((([,t])=>t!==e))))}}class Yb{[Nb]=Bb;surplusSize(){return 0}get shutdown(){return So}onCompleteTakersWithEmptyQueue(){}handleSurplus(e,t,n,r){return Eo(!1)}unsafeOnQueueEmptySpace(e,t){}}const Zb=(e,t)=>as(e,Eo(t)),Xb=(e,t)=>be(e,Xs(t)),Jb=e=>be(e,Qs(Number.POSITIVE_INFINITY)),Qb=(e,t)=>be(e,Qs(t)),eg=(e,t)=>{Xb(e,be(Jb(e),An((e=>t!==e))))},tg=(e,t,n)=>{let r=!0;for(;r&&0!==t.length();){const a=be(n,Js(Hs));if(a!==Hs){const i=t.poll(Hs);i!==Hs?(Zb(a,i),e.unsafeOnQueueEmptySpace(t,n)):Xb(n,be(Jb(n),q(a))),r=!0}else r=!1}r&&0===t.length()&&!Ys(n)&&e.onCompleteTakersWithEmptyQueue(n)},ng=e=>be(Ao((()=>Vs(e))),ao((e=>zb(Gb(e),new Wb)))),rg=()=>be(Ao((()=>Ks())),ao((e=>zb(Gb(e),new Yb)))),ag=e=>e.shutdown,ig=Hb,og=Ub,ug=Kb,sg="Continue",lg=Symbol.for("effect/ChannelChildExecutorDecision"),cg={[lg]:lg},dg=()=>{const e=Object.create(cg);return e._tag=sg,e},fg="ContinuationK",hg=Symbol.for("effect/ChannelContinuation"),pg={_Env:e=>e,_InErr:e=>e,_InElem:e=>e,_InDone:e=>e,_OutErr:e=>e,_OutDone:e=>e,_OutErr2:e=>e,_OutElem:e=>e,_OutDone2:e=>e};class mg{onSuccess;onHalt;_tag=fg;[hg]=pg;constructor(e,t){this.onSuccess=e,this.onHalt=t}onExit(e){return bs(e)?this.onHalt(e.cause):this.onSuccess(e.value)}}class vg{finalizer;_tag="ContinuationFinalizer";[hg]=pg;constructor(e){this.finalizer=e}}const bg="PullAfterNext",gg=Symbol.for("effect/ChannelUpstreamPullStrategy"),yg={[gg]:{_A:e=>e}},Dg=e=>{const t=Object.create(yg);return t._tag=bg,t.emitSeparator=e,t},wg="BracketOut",Fg="Bridge",Eg="ConcatAll",xg="Emit",Ag="Ensuring",Cg="Fail",kg="Fold",Rg="FromEffect",Sg="PipeTo",Tg="Read",Mg="Succeed",Og="SucceedNow",Ng="Suspend",jg=Symbol.for("effect/Channel"),Bg={[jg]:{_Env:e=>e,_InErr:e=>e,_InElem:e=>e,_InDone:e=>e,_OutErr:e=>e,_OutElem:e=>e,_OutDone:e=>e},pipe(){return i(this,arguments)}},_g=e=>t(e,jg)||Mv(e),Ig=e(2,((e,t)=>{const n=Object.create(Bg);return n._tag=wg,n.acquire=()=>e,n.finalizer=t,n})),qg=(e,t,n)=>{const r=Object.create(Bg);return r._tag=Eg,r.combineInners=t,r.combineAll=n,r.onPull=()=>Dg(xe()),r.onEmit=()=>dg,r.value=()=>e,r.k=Y,r},Pg=e(4,((e,t,n,r)=>{const a=Object.create(Bg);return a._tag=Eg,a.combineInners=n,a.combineAll=r,a.onPull=()=>Dg(xe()),a.onEmit=()=>dg,a.value=()=>e,a.k=t,a})),$g=e(2,((e,t)=>{const n=Object.create(Bg);return n._tag=Fg,n.input=t,n.channel=e,n})),zg=e(2,((e,t)=>{const n=Object.create(Bg);return n._tag=Ag,n.channel=e,n.finalizer=t,n})),Lg=e=>Gg(Cp(e)),Gg=e=>Hg((()=>e)),Hg=e=>{const t=Object.create(Bg);return t._tag=Cg,t.error=e,t},Ug=e(2,((e,t)=>{const n=Object.create(Bg);return n._tag=kg,n.channel=e,n.k=new mg(t,Gg),n})),Vg=e=>{const t=Object.create(Bg);return t._tag=Rg,t.effect=()=>e,t},Kg=e(2,((e,t)=>{const n=Object.create(Bg);return n._tag=Sg,n.left=()=>e,n.right=()=>t,n})),Wg=e=>Yg({onInput:e.onInput,onFailure:t=>Cn(Np(t),{onLeft:e.onFailure,onRight:Gg}),onDone:e.onDone}),Yg=e=>{const t=Object.create(Bg);return t._tag=Tg,t.more=e.onInput,t.done=new mg(e.onDone,e.onFailure),t},Zg=e=>Qg((()=>e)),Xg=e=>{const t=Object.create(Bg);return t._tag=Og,t.terminal=e,t},Jg=e=>{const t=Object.create(Bg);return t._tag=Ng,t.channel=e,t},Qg=e=>{const t=Object.create(Bg);return t._tag=Mg,t.evaluate=e,t},ey=Xg(void 0),ty=e=>{const t=Object.create(Bg);return t._tag=xg,t.out=e,t},ny="Done",ry="Emit",ay="FromEffect",iy="Read",oy=Symbol.for("effect/ChannelState"),uy={[oy]:{_E:e=>e,_R:e=>e}},sy=()=>{const e=Object.create(uy);return e._tag=ny,e},ly=()=>{const e=Object.create(uy);return e._tag=ry,e},cy=e=>{const t=Object.create(uy);return t._tag=ay,t.effect=e,t},dy=(e,t,n,r)=>{const a=Object.create(uy);return a._tag=iy,a.upstream=e,a.onEffect=t,a.onEmit=n,a.onDone=r,a},fy=e=>e._tag===ay,hy=e=>fy(e)?(e=>Kc(e,{onFailure:Nt,onSuccess:Nt}))(e.effect):void 0,py="PullFromChild",my="PullFromUpstream",vy="DrainChildExecutors",by="Emit";class gy{childExecutor;parentSubexecutor;onEmit;_tag=py;constructor(e,t,n){this.childExecutor=e,this.parentSubexecutor=t,this.onEmit=n}close(e){const t=this.childExecutor.close(e),n=this.parentSubexecutor.close(e);return void 0!==t&&void 0!==n?Tb(lb(t),lb(n),((e,t)=>be(e,ks(t)))):void 0!==t?t:void 0!==n?n:void 0}enqueuePullFromChild(e){return this}}class yy{upstreamExecutor;createChild;lastDone;activeChildExecutors;combineChildResults;combineWithChildResult;onPull;onEmit;_tag=my;constructor(e,t,n,r,a,i,o,u){this.upstreamExecutor=e,this.createChild=t,this.lastDone=n,this.activeChildExecutors=r,this.combineChildResults=a,this.combineWithChildResult=i,this.onPull=o,this.onEmit=u}close(e){const t=this.upstreamExecutor.close(e);return[...this.activeChildExecutors.map((t=>void 0!==t?t.childExecutor.close(e):void 0)),t].reduce(((e,t)=>void 0!==e&&void 0!==t?Tb(e,lb(t),((e,t)=>ks(e,t))):void 0!==e?e:void 0!==t?lb(t):void 0),void 0)}enqueuePullFromChild(e){return new yy(this.upstreamExecutor,this.createChild,this.lastDone,[...this.activeChildExecutors,e],this.combineChildResults,this.combineWithChildResult,this.onPull,this.onEmit)}}class Dy{upstreamExecutor;lastDone;activeChildExecutors;upstreamDone;combineChildResults;combineWithChildResult;onPull;_tag=vy;constructor(e,t,n,r,a,i,o){this.upstreamExecutor=e,this.lastDone=t,this.activeChildExecutors=n,this.upstreamDone=r,this.combineChildResults=a,this.combineWithChildResult=i,this.onPull=o}close(e){const t=this.upstreamExecutor.close(e);return[...this.activeChildExecutors.map((t=>void 0!==t?t.childExecutor.close(e):void 0)),t].reduce(((e,t)=>void 0!==e&&void 0!==t?Tb(e,lb(t),((e,t)=>ks(e,t))):void 0!==e?e:void 0!==t?lb(t):void 0),void 0)}enqueuePullFromChild(e){return new Dy(this.upstreamExecutor,this.lastDone,[...this.activeChildExecutors,e],this.upstreamDone,this.combineChildResults,this.combineWithChildResult,this.onPull)}}class wy{value;next;_tag=by;constructor(e,t){this.value=e,this.next=t}close(e){return this.next.close(e)}enqueuePullFromChild(e){return this}}const Fy=Symbol.for("effect/ChannelUpstreamPullRequest"),Ey={[Fy]:{_A:e=>e}},xy=e=>{const t=Object.create(Ey);return t._tag="Pulled",t.value=e,t};class Ay{_activeSubexecutor=void 0;_cancelled=void 0;_closeLastSubstream=void 0;_currentChannel;_done=void 0;_doneStack=[];_emitted=void 0;_executeCloseLastSubstream;_input=void 0;_inProgressFinalizer=void 0;_providedEnv;constructor(e,t,n){this._currentChannel=e,this._executeCloseLastSubstream=n,this._providedEnv=t}run(){let e;for(;void 0===e;)if(void 0!==this._cancelled)e=this.processCancellation();else if(void 0!==this._activeSubexecutor)e=this.runSubexecutor();else try{if(void 0===this._currentChannel)e=sy();else switch(Mv(this._currentChannel)&&(this._currentChannel=Vg(this._currentChannel)),this._currentChannel._tag){case wg:e=this.runBracketOut(this._currentChannel);break;case Fg:{const t=this._currentChannel.input;if(this._currentChannel=this._currentChannel.channel,void 0!==this._input){const n=this._input;this._input=void 0;const r=()=>fb(t.awaitRead(),(()=>zv((()=>{const e=n.run();switch(e._tag){case ny:return Es(n.getDone(),{onFailure:e=>t.error(e),onSuccess:e=>t.done(e)});case ry:return fb(t.emit(n.getEmit()),(()=>r()));case ay:return Eb(e.effect,{onFailure:e=>t.error(e),onSuccess:()=>r()});case iy:return Ry(e,(()=>r()),(e=>t.error(e)))}}))));e=cy(fb(ob(Wv(r())),(e=>Lv((()=>this.addFinalizer((t=>fb(Am(e),(()=>zv((()=>{const e=this.restorePipe(t,n);return void 0!==e?e:Gv})))))))))))}break}case Eg:{const e=new Ay(this._currentChannel.value(),this._providedEnv,(e=>Lv((()=>{this._closeLastSubstream=be(void 0===this._closeLastSubstream?Gv:this._closeLastSubstream,Sb(e))}))));e._input=this._input;const t=this._currentChannel;this._activeSubexecutor=new yy(e,(e=>t.k(e)),void 0,[],((e,n)=>t.combineInners(e,n)),((e,n)=>t.combineAll(e,n)),(e=>t.onPull(e)),(e=>t.onEmit(e))),this._closeLastSubstream=void 0,this._currentChannel=void 0;break}case xg:this._emitted=this._currentChannel.out,this._currentChannel=void 0!==this._activeSubexecutor?void 0:ey,e=ly();break;case Ag:this.runEnsuring(this._currentChannel);break;case Cg:e=this.doneHalt(this._currentChannel.error());break;case kg:this._doneStack.push(this._currentChannel.k),this._currentChannel=this._currentChannel.channel;break;case Rg:{const t=void 0===this._providedEnv?this._currentChannel.effect():be(this._currentChannel.effect(),sb(this._providedEnv));e=cy(Eb(t,{onFailure:e=>{const t=this.doneHalt(e);return void 0!==t&&fy(t)?t.effect:Gv},onSuccess:e=>{const t=this.doneSucceed(e);return void 0!==t&&fy(t)?t.effect:Gv}}));break}case Sg:{const e=this._input,t=new Ay(this._currentChannel.left(),this._providedEnv,(e=>this._executeCloseLastSubstream(e)));t._input=e,this._input=t,this.addFinalizer((t=>{const n=this.restorePipe(t,e);return void 0!==n?n:Gv})),this._currentChannel=this._currentChannel.right();break}case"Provide":{const e=this._providedEnv;this._providedEnv=this._currentChannel.context(),this._currentChannel=this._currentChannel.inner,this.addFinalizer((()=>Lv((()=>{this._providedEnv=e}))));break}case Tg:{const t=this._currentChannel;e=dy(this._input,Y,(e=>{try{this._currentChannel=t.more(e)}catch(e){this._currentChannel=t.done.onExit(Pu(Qe(e)))}}),(e=>{this._currentChannel=(e=>t.done.onExit(e))(e)}));break}case Mg:e=this.doneSucceed(this._currentChannel.evaluate());break;case Og:e=this.doneSucceed(this._currentChannel.terminal);break;case Ng:this._currentChannel=this._currentChannel.channel()}}catch(e){this._currentChannel=Gg(kp(e))}return e}getDone(){return this._done}getEmit(){return this._emitted}cancelWith(e){this._cancelled=e}clearInProgressFinalizer(){this._inProgressFinalizer=void 0}storeInProgressFinalizer(e){this._inProgressFinalizer=e}popAllFinalizers(e){const t=[];let n=this._doneStack.pop();for(;n;)"ContinuationFinalizer"===n._tag&&t.push(n.finalizer),n=this._doneStack.pop();const r=0===t.length?Gv:ky(t,e);return this.storeInProgressFinalizer(r),r}popNextFinalizers(){const e=[];for(;0!==this._doneStack.length;){const t=this._doneStack[this._doneStack.length-1];if(t._tag===fg)return e;e.push(t),this._doneStack.pop()}return e}restorePipe(e,t){const n=this._input;return this._input=t,void 0!==n?n.close(e):Gv}close(e){let t;const n=this._inProgressFinalizer;let r;void 0!==n&&(t=be(n,nb(Lv((()=>this.clearInProgressFinalizer())))));const a=this.popAllFinalizers(e);void 0!==a&&(r=be(a,nb(Lv((()=>this.clearInProgressFinalizer())))));const i=void 0===this._activeSubexecutor?void 0:this._activeSubexecutor.close(e);if(void 0!==i||void 0!==t||void 0!==r)return be(lb(Cy(i)),kb(lb(Cy(t))),kb(lb(Cy(r))),Qv((([[e,t],n])=>be(e,ks(t),ks(n)))),Yv,fb((e=>zv((()=>e)))))}doneSucceed(e){if(0===this._doneStack.length)return this._done=xs(e),this._currentChannel=void 0,sy();const t=this._doneStack[this._doneStack.length-1];if(t._tag===fg)return this._doneStack.pop(),void(this._currentChannel=t.onSuccess(e));const n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=xs(e),this._currentChannel=void 0,sy();const r=ky(n.map((e=>e.finalizer)),xs(e));this.storeInProgressFinalizer(r);const a=be(r,nb(Lv((()=>this.clearInProgressFinalizer()))),Yv,fb((()=>Lv((()=>this.doneSucceed(e))))));return cy(a)}doneHalt(e){if(0===this._doneStack.length)return this._done=ws(e),this._currentChannel=void 0,sy();const t=this._doneStack[this._doneStack.length-1];if(t._tag===fg){this._doneStack.pop();try{this._currentChannel=t.onHalt(e)}catch(e){this._currentChannel=Gg(kp(e))}return}const n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=ws(e),this._currentChannel=void 0,sy();const r=ky(n.map((e=>e.finalizer)),ws(e));this.storeInProgressFinalizer(r);const a=be(r,nb(Lv((()=>this.clearInProgressFinalizer()))),Yv,fb((()=>Lv((()=>this.doneHalt(e))))));return cy(a)}processCancellation(){return this._currentChannel=void 0,this._done=this._cancelled,this._cancelled=void 0,sy()}runBracketOut(e){const t=Yv(Eb(this.provide(e.acquire()),{onFailure:e=>Lv((()=>{this._currentChannel=Gg(e)})),onSuccess:t=>Lv((()=>{this.addFinalizer((n=>this.provide(e.finalizer(t,n)))),this._currentChannel=ty(t)}))}));return cy(t)}provide(e){return void 0===this._providedEnv?e:be(e,sb(this._providedEnv))}runEnsuring(e){this.addFinalizer(e.finalizer),this._currentChannel=e.channel}addFinalizer(e){this._doneStack.push(new vg(e))}runSubexecutor(){const e=this._activeSubexecutor;switch(e._tag){case py:return this.pullFromChild(e.childExecutor,e.parentSubexecutor,e.onEmit,e);case my:return this.pullFromUpstream(e);case vy:return this.drainChildExecutors(e);case by:return this._emitted=e.value,this._activeSubexecutor=e.next,ly()}}replaceSubexecutor(e){this._currentChannel=void 0,this._activeSubexecutor=e}finishWithExit(e){const t=Es(e,{onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)});return this._activeSubexecutor=void 0,void 0===t?Gv:(e=>fy(e)?e.effect:Gv)(t)}finishSubexecutorWithCloseEffect(e,...t){this.addFinalizer((()=>be(t,Nv((t=>be(Lv((()=>t(e))),fb((e=>void 0!==e?e:Gv)))),{discard:!0}))));const n=be(e,Es({onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)}));return this._activeSubexecutor=void 0,n}applyUpstreamPullStrategy(e,t,n){switch(n._tag){case bg:{const r=!e||t.some((e=>void 0!==e));return[n.emitSeparator,r?[void 0,...t]:t]}case"PullAfterAllEnqueued":{const r=!e||t.some((e=>void 0!==e));return[n.emitSeparator,r?[...t,void 0]:t]}}}pullFromChild(e,t,n,r){return dy(e,Y,(a=>{const i=n(a);switch(i._tag){case sg:break;case"Close":this.finishWithDoneValue(e,t,i.value);break;case"Yield":{const e=t.enqueuePullFromChild(r);this.replaceSubexecutor(e);break}}this._activeSubexecutor=new wy(a,this._activeSubexecutor)}),Es({onFailure:n=>{const r=this.handleSubexecutorFailure(e,t,n);return void 0===r?void 0:hy(r)},onSuccess:n=>{this.finishWithDoneValue(e,t,n)}}))}finishWithDoneValue(e,t,n){const r=t;switch(r._tag){case my:{const t=new yy(r.upstreamExecutor,r.createChild,void 0!==r.lastDone?r.combineChildResults(r.lastDone,n):n,r.activeChildExecutors,r.combineChildResults,r.combineWithChildResult,r.onPull,r.onEmit);this._closeLastSubstream=e.close(xs(n)),this.replaceSubexecutor(t);break}case vy:{const t=new Dy(r.upstreamExecutor,void 0!==r.lastDone?r.combineChildResults(r.lastDone,n):n,r.activeChildExecutors,r.upstreamDone,r.combineChildResults,r.combineWithChildResult,r.onPull);this._closeLastSubstream=e.close(xs(n)),this.replaceSubexecutor(t);break}}}handleSubexecutorFailure(e,t,n){return this.finishSubexecutorWithCloseEffect(ws(n),(e=>t.close(e)),(t=>e.close(t)))}pullFromUpstream(e){if(0===e.activeChildExecutors.length)return this.performPullFromUpstream(e);const t=e.activeChildExecutors[0],n=new yy(e.upstreamExecutor,e.createChild,e.lastDone,e.activeChildExecutors.slice(1),e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit);if(void 0===t)return this.performPullFromUpstream(n);this.replaceSubexecutor(new gy(t.childExecutor,n,t.onEmit))}performPullFromUpstream(e){return dy(e.upstreamExecutor,(e=>{const t=void 0===this._closeLastSubstream?Gv:this._closeLastSubstream;return this._closeLastSubstream=void 0,be(this._executeCloseLastSubstream(t),Sb(e))}),(t=>{if(void 0!==this._closeLastSubstream){const n=this._closeLastSubstream;return this._closeLastSubstream=void 0,be(this._executeCloseLastSubstream(n),Qv((()=>{const n=new Ay(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;const[r,a]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(xy(t)));this._activeSubexecutor=new gy(n,new yy(e.upstreamExecutor,e.createChild,e.lastDone,a,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),nt(r)&&(this._activeSubexecutor=new wy(r.value,this._activeSubexecutor))})))}const n=new Ay(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;const[r,a]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(xy(t)));this._activeSubexecutor=new gy(n,new yy(e.upstreamExecutor,e.createChild,e.lastDone,a,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),nt(r)&&(this._activeSubexecutor=new wy(r.value,this._activeSubexecutor))}),(t=>{if(e.activeChildExecutors.some((e=>void 0!==e))){const t=new Dy(e.upstreamExecutor,e.lastDone,[void 0,...e.activeChildExecutors],e.upstreamExecutor.getDone(),e.combineChildResults,e.combineWithChildResult,e.onPull);if(void 0!==this._closeLastSubstream){const e=this._closeLastSubstream;return this._closeLastSubstream=void 0,be(this._executeCloseLastSubstream(e),Qv((()=>this.replaceSubexecutor(t))))}return void this.replaceSubexecutor(t)}const n=this._closeLastSubstream,r=this.finishSubexecutorWithCloseEffect(be(t,Fs((t=>e.combineWithChildResult(e.lastDone,t)))),(()=>n),(t=>e.upstreamExecutor.close(t)));return void 0===r?void 0:hy(r)}))}drainChildExecutors(e){if(0===e.activeChildExecutors.length){const t=this._closeLastSubstream;return void 0!==t&&this.addFinalizer((()=>$v(t))),this.finishSubexecutorWithCloseEffect(e.upstreamDone,(()=>t),(t=>e.upstreamExecutor.close(t)))}const t=e.activeChildExecutors[0],n=e.activeChildExecutors.slice(1);if(void 0===t){const[t,r]=this.applyUpstreamPullStrategy(!0,n,e.onPull((e=>{const t=Object.create(Ey);return t._tag="NoUpstream",t.activeDownstreamCount=e,t})(n.reduce(((e,t)=>void 0!==t?e+1:e),0))));return this.replaceSubexecutor(new Dy(e.upstreamExecutor,e.lastDone,r,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull)),nt(t)?(this._emitted=t.value,ly()):void 0}const r=new Dy(e.upstreamExecutor,e.lastDone,n,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull);this.replaceSubexecutor(new gy(t.childExecutor,r,t.onEmit))}}const Cy=e=>void 0!==e?e:Gv,ky=(e,t)=>be(Nv(e,(e=>lb(e(t)))),Qv((e=>be(ys(e),qe((()=>As))))),fb((e=>zv((()=>e))))),Ry=(e,t,n)=>{const r=[e],a=()=>{const e=r.pop();if(void 0===e||void 0===e.upstream)return qv("Unexpected end of input for channel execution");const i=e.upstream.run();switch(i._tag){case ry:{const i=e.onEmit(e.upstream.getEmit());return 0===r.length?void 0===i?zv(t):be(i,Eb({onFailure:n,onSuccess:t})):void 0===i?zv((()=>a())):be(i,Eb({onFailure:n,onSuccess:()=>a()}))}case ny:{const i=e.onDone(e.upstream.getDone());return 0===r.length?void 0===i?zv(t):be(i,Eb({onFailure:n,onSuccess:t})):void 0===i?zv((()=>a())):be(i,Eb({onFailure:n,onSuccess:()=>a()}))}case ay:return r.push(e),be(e.onEffect(i.effect),Uv((t=>zv((()=>{const n=e.onDone(ws(t));return void 0===n?Gv:n})))),Eb({onFailure:n,onSuccess:()=>a()}));case iy:return r.push(e),r.push(i),zv((()=>a()))}};return a()},Sy=e(2,((e,t)=>Zv((n=>Ov([fm(t,sd),fs(),fs()]).pipe(fb((([r,a,i])=>n(((t,n,r)=>tb(Lv((()=>new Ay(e,void 0,Y))),(e=>zv((()=>Ty(e.run(),e).pipe(cb(t),Sb(hs(t)),Rb(hs(n)))))),((e,t)=>{const n=e.close(t);return void 0===n?Gv:gb(n,(e=>sm(r,Iv(e))))})))(a,i,r)).pipe(ub(t),fb((e=>t.addFinalizer((t=>{const n=bs(t)?Op(t.cause):void 0;return ms(a).pipe(fb((t=>t?vs(i,void 0).pipe(Sb(Em(e)),Sb(xm(e))):vs(i,void 0).pipe(Sb(n&&en(n)>0?Cm(e,br(n)):Am(e)),Sb(xm(e))))))})).pipe(Sb(n(hs(a)))))))))))))),Ty=(e,t)=>{const n=e;switch(n._tag){case ay:return be(n.effect,fb((()=>Ty(t.run(),t))));case ry:return Ty(t.run(),t);case ny:return zv((()=>t.getDone()));case iy:return Ry(n,(()=>Ty(t.run(),t)),Iv)}},My=Symbol.for("effect/ChannelMergeDecision"),Oy={[My]:{_R:e=>e,_E0:e=>e,_Z0:e=>e,_E:e=>e,_Z:e=>e}},Ny=e=>{const t=Object.create(Oy);return t._tag="Await",t.f=e,t},jy="BothRunning",By="LeftDone",_y="RightDone",Iy=Symbol.for("effect/ChannelMergeState"),qy={[Iy]:Iy},Py=(e,t)=>{const n=Object.create(qy);return n._tag=jy,n.left=e,n.right=t,n},$y=e=>{const t=Object.create(qy);return t._tag=By,t.f=e,t},zy=e=>{const t=Object.create(qy);return t._tag=_y,t.f=e,t},Ly="BackPressure",Gy="BufferSliding",Hy=Symbol.for("effect/ChannelMergeStrategy"),Uy={[Hy]:Hy},Vy=()=>{const e=Object.create(Uy);return e._tag=Ly,e},Ky=()=>{const e=Object.create(Uy);return e._tag=Gy,e},Wy=e(2,((e,{onBackPressure:t,onBufferSliding:n})=>{switch(e._tag){case Ly:return t();case Gy:return n()}})),Yy="Empty",Zy="Emit",Xy="Error",Jy="Done",Qy=e=>({_tag:Yy,notifyProducer:e}),eD=e=>({_tag:Zy,notifyConsumers:e}),tD=e=>({_tag:Xy,cause:e}),nD=e=>({_tag:Jy,done:e});class rD{ref;constructor(e){this.ref=e}awaitRead(){return hb(Mc(this.ref,(e=>e._tag===Yy?[hs(e.notifyProducer),e]:[Gv,e])))}get close(){return ib((e=>this.error(Rp(e))))}done(e){return hb(Mc(this.ref,(t=>{switch(t._tag){case Yy:return[hs(t.notifyProducer),t];case Zy:return[Nv(t.notifyConsumers,(t=>vs(t,Ze(e))),{discard:!0}),nD(e)];case Xy:case Jy:return[Kv,t]}})))}emit(e){return fb(fs(),(t=>hb(Mc(this.ref,(n=>{switch(n._tag){case Yy:return[hs(n.notifyProducer),n];case Zy:{const r=n.notifyConsumers[0],a=n.notifyConsumers.slice(1);if(void 0!==r)return[vs(r,Ye(e)),0===a.length?Qy(t):eD(a)];throw new Error("Bug: Channel.SingleProducerAsyncInput.emit - Queue was empty! please report an issue at https://github.com/Effect-TS/effect/issues")}case Xy:case Jy:return[Kv,n]}})))))}error(e){return hb(Mc(this.ref,(t=>{switch(t._tag){case Yy:return[hs(t.notifyProducer),t];case Zy:return[Nv(t.notifyConsumers,(t=>ps(t,e)),{discard:!0}),tD(e)];case Xy:case Jy:return[Kv,t]}})))}get take(){return this.takeWith((e=>ws(Bp(e,Ze))),(e=>xs(e)),(e=>Ds(Ye(e))))}takeWith(e,t,n){return fb(fs(),(r=>hb(Mc(this.ref,(a=>{switch(a._tag){case Yy:return[Sb(vs(a.notifyProducer,void 0),Fb(hs(r),{onFailure:e,onSuccess:Cn({onLeft:n,onRight:t})})),eD([r])];case Zy:return[Fb(hs(r),{onFailure:e,onSuccess:Cn({onLeft:n,onRight:t})}),eD([...a.notifyConsumers,r])];case Xy:return[$v(e(a.cause)),a];case Jy:return[$v(n(a.done)),a]}})))))}}const aD=()=>be(fs(),fb((e=>Sc(Qy(e)))),Qv((e=>new rD(e)))),iD=e(2,((e,t)=>Pg(e,t,(()=>{}),(()=>{})))),oD=e=>{const t=Yg({onInput:()=>t,onFailure:Gg,onDone:Zg});return Kg(e,t)},uD=e(2,((e,t)=>zg(e,(()=>t)))),sD=e=>DD(e.takeWith(Gg,(t=>Ug(ty(t),(()=>sD(e)))),Zg)),lD=()=>Wg({onInput:e=>Ug(ty(e),(()=>lD())),onFailure:Lg,onDone:Xg}),cD=e(2,((e,t)=>Ug(e,(e=>Qg((()=>t(e))))))),dD=e(2,((e,t)=>{const n=Wg({onInput:e=>Ug(ty(t(e)),(()=>n)),onFailure:Lg,onDone:Xg});return Kg(e,n)})),fD=e(3,((e,t,n)=>FD((r=>Pv((function*(){const a=yield*aD(),i=sD(a),o=yield*ng(n);yield*sm(r,ag(o));const u=yield*fs(),s=n===Number.POSITIVE_INFINITY?()=>Y:(yield*xb(n)).withPermits,l=yield*i.pipe(Kg(e),gD(r));yield*l.pipe(Eb({onFailure:e=>ig(o,Iv(e)),onSuccess:Cn({onLeft:e=>Sb(Wv(s(n)(Gv)),Jv(ig(o,$v(Ze(e))))),onRight:e=>Pv((function*(){const n=yield*fs(),a=yield*fs();yield*ig(o,Qv(hs(n),Ye)),yield*vs(a,void 0).pipe(Sb(Zv((n=>lb(n(hs(u))).pipe(mb(lb(n(t(e)))),fb(Y)))).pipe(gb((e=>ps(u,e))),cb(n))),s(1),ub(r)),yield*hs(a)}))})}),yb,Wv,ub(r));const c=DD(Fb(hb(og(o)),{onFailure:Gg,onSuccess:Cn({onLeft:Xg,onRight:e=>Ug(ty(e),(()=>c))})}));return $g(c,a)})))))),hD=e(3,((e,t,n)=>(e=>t=>(({bufferSize:e=16,concurrency:t,mergeStrategy:n=Vy()})=>(r,a)=>FD((i=>Pv((function*(){const o="unbounded"===t?Number.MAX_SAFE_INTEGER:t,u=yield*aD(),s=sD(u),l=yield*ng(e);yield*sm(i,ag(l));const c=yield*rg();yield*sm(i,ag(c));const d=yield*Sc(xe()),f=yield*fs(),h=(yield*xb(o)).withPermits,p=yield*gD(Kg(s,r),i);function m(e){return e.pipe(fb(Cn({onLeft:e=>$v(Ee(e)),onRight:e=>Xv(ig(l,$v(Ye(e))),xe())})),Db({until:e=>nt(e)}),fb((e=>Oc(d,X({onNone:()=>Ee(e.value),onSome:t=>Ee(a(t,e.value))})))),Uv((e=>Tp(e)?Iv(e):ig(l,Iv(e)).pipe(Sb(vs(f,void 0)),Jv))))}yield*p.pipe(Eb({onFailure:e=>ig(l,Iv(e)).pipe(Sb($v(!1))),onSuccess:Cn({onLeft:e=>vb(Wv(hs(f)),Wv(h(o)(Gv)),{onSelfDone:(e,t)=>Xv(Am(t),!1),onOtherDone:(t,n)=>Sb(Am(n),Tc(d).pipe(fb(X({onNone:()=>ig(l,$v(Ze(e))),onSome:t=>ig(l,$v(Ze(a(t,e))))})),Xv(!1)))}),onRight:e=>Wy(n,{onBackPressure:()=>Pv((function*(){const t=yield*fs(),n=ab((t=>gD(Kg(s,e),t).pipe(fb((e=>pb(lb(m(e)),lb(Wv(hs(f)))))),fb(Y))));return yield*vs(t,void 0).pipe(Sb(n),h(1),ub(i)),yield*hs(t),!(yield*ms(f))})),onBufferSliding:()=>Pv((function*(){const t=yield*fs(),n=yield*fs(),r=yield*(e=>e.size)(c);yield*og(c).pipe(fb((e=>vs(e,void 0))),db((()=>r>=o))),yield*ig(c,t);const a=ab((n=>gD(Kg(s,e),n).pipe(fb((e=>lb(m(e)).pipe(pb(lb(Wv(hs(f)))),pb(lb(Wv(hs(t))))))),fb(Y))));return yield*vs(n,void 0).pipe(Sb(a),h(1),ub(i)),yield*hs(n),!(yield*ms(f))}))})})}),Db({while:e=>e}),ub(i));const v=be(og(l),hb,Fb({onFailure:Gg,onSuccess:Cn({onLeft:Xg,onRight:e=>Ug(ty(e),(()=>v))})}),DD);return $g(v,u)})))))(e)(t,Nt))(n)(dD(e,t)))),pD=e(2,((e,t)=>FD((function(n){return Pv((function*(){const r=yield*aD(),a=sD(r),i=yield*gD(Kg(a,e),n),o=yield*gD(Kg(a,t.other),n);function u(e,t,r){return(a,i,o)=>{function u(e){const n=e;return"Done"===n._tag?$v(Vg(Sb(Am(t),n.effect))):Qv(Em(t),Es({onFailure:e=>Vg(n.f(ws(e))),onSuccess:Cn({onLeft:e=>Vg(n.f(xs(e))),onRight:e=>CD(ty(e),s(o(n.f)))})}))}return Es(e,{onFailure:e=>u(a(ws(e))),onSuccess:Cn({onLeft:e=>u(a(xs(e))),onRight:e=>$v(Ug(ty(e),(()=>Ug(Vg(ub(Wv(r),n)),(e=>s(i(e,t)))))))})})}}function s(e){switch(e._tag){case jy:{const n=Wv(km(e.left)),r=Wv(km(e.right));return DD(vb(n,r,{onSelfDone:(n,r)=>Sb(Am(r),u(n,e.right,i)(t.onSelfDone,Py,(e=>$y(e)))),onOtherDone:(n,r)=>Sb(Am(r),u(n,e.left,o)(t.onOtherDone,((e,t)=>Py(t,e)),(e=>zy(e))))}))}case By:return DD(Qv(lb(o),Es({onFailure:t=>Vg(e.f(ws(t))),onSuccess:Cn({onLeft:t=>Vg(e.f(xs(t))),onRight:t=>Ug(ty(t),(()=>s($y(e.f))))})})));case _y:return DD(Qv(lb(i),Es({onFailure:t=>Vg(e.f(ws(t))),onSuccess:Cn({onLeft:t=>Vg(e.f(xs(t))),onRight:t=>Ug(ty(t),(()=>s(zy(e.f))))})})))}}return Vg(Bv((e=>{const t=Bv((t=>(t.transferChildren(e.scope()),Gv))),r=Wv(i).pipe(nb(t),ub(n)),a=Wv(o).pipe(nb(t),ub(n));return Tb(r,a,((e,t)=>Py(e,t)))}))).pipe(Ug(s),$g(r))}))})))),mD=e(2,((e,t)=>Jg((()=>{let n;const r=Wg({onInput:e=>Ug(ty(e),(()=>r)),onFailure:e=>(n=RD(e),Gg(kp(n))),onDone:Xg}),a=Yg({onInput:e=>be(ty(e),Ug((()=>a))),onFailure:e=>Sp(e)&&SD(e.defect)&&O(e.defect,n)?Lg(e.defect.error):Gg(e),onDone:Xg});return Kg(Kg(Kg(e,r),t),a)})))),vD=e=>(e=>ab((t=>Sy(e,t))))(oD(e)),bD=e=>wD(Qv(rb,(t=>Ug(Vg(e(t)),ty)))),gD=e(2,((e,t)=>kb(Lv((()=>new Ay(e,void 0,Y))),_i(((e,t)=>Eo(new Bm(e.getFiberRef(iu),t.runtimeFlags,e.getFiberRefs()))))).pipe(bb((([e,n])=>lm(t,(t=>{const r=e.close(t);return void 0!==r?sb(r,n):Gv})))),Yv,Qv((([e])=>zv((()=>yD(e.run(),e)))))))),yD=(e,t)=>{const n=e;switch(n._tag){case ny:return Es(t.getDone(),{onFailure:Iv,onSuccess:e=>$v(Ze(e))});case ry:return $v(Ye(t.getEmit()));case ay:return be(n.effect,fb((()=>yD(t.run(),t))));case iy:return Ry(n,(()=>yD(t.run(),t)),(e=>Iv(e)))}},DD=e=>(e=>Ug(e,Y))(Vg(e)),wD=e=>{return qg((t=e,DD(Zv((e=>Qv(hm(),(n=>Ig(gb(e(dm(t,n)),(e=>cm(n,ws(e)))),((e,t)=>cm(n,t))))))))),(e=>e),(e=>e));var t},FD=e=>qg(bD(e),(e=>e),(e=>e)),ED=e=>xD(0,e.length,e),xD=(e,t,n)=>e===t?ey:be(ty(be(n,kn(e))),Ug((()=>xD(e+1,t,n)))),AD=e((e=>_g(e[1])),((e,t,n)=>n?.concurrent?pD(e,{other:t,onSelfDone:e=>Ny((t=>zv((()=>Cs(e,t))))),onOtherDone:e=>Ny((t=>zv((()=>Cs(t,e)))))}):Ug(e,(e=>cD(t,(t=>[e,t])))))),CD=e((e=>_g(e[1])),((e,t,n)=>n?.concurrent?cD(AD(e,t,{concurrent:!0}),(e=>e[1])):Ug(e,(()=>t)))),kD=Symbol.for("effect/Channel/ChannelException"),RD=e=>({_tag:"ChannelException",[kD]:kD,error:e}),SD=e=>t(e,kD),TD=Symbol.for("effect/Sink"),MD={_A:e=>e,_In:e=>e,_L:e=>e,_E:e=>e,_R:e=>e};class OD{channel;[TD]=MD;constructor(e){this.channel=e}pipe(){return i(this,arguments)}}const ND=new OD(oD(lD())),jD=e=>Mv(e)?jD(new OD(Vg(e))):e.channel,BD=Symbol.for("effect/Take"),_D={_A:e=>e,_E:e=>e};class ID{exit;[BD]=_D;constructor(e){this.exit=e}pipe(){return i(this,arguments)}}const qD=e=>new ID(xs(e)),PD=new ID(Ds(xe())),$D=Symbol.for("effect/Stream"),zD={_R:e=>e,_E:e=>e,_A:e=>e};class LD{channel;[$D]=zD;constructor(e){this.channel=e}pipe(){return i(this,arguments)}}const GD=e=>t(e,$D)||Mv(e),HD=e(2,((e,t)=>new LD(be(ZD(e),uD(t))))),UD=e((e=>GD(e[0])),((e,t,n)=>{const r=n?.bufferSize??16;return n?.switch?VD(n?.concurrency,(()=>KD(e,1,r,t)),(n=>KD(e,n,r,t))):VD(n?.concurrency,(()=>new LD(iD(ZD(e),(e=>be(e,Sn((e=>ZD(t(e)))),Rn(ey,((e,t)=>be(e,CD(t))))))))),(()=>new LD(be(ZD(e),iD(ED),hD((e=>ZD(t(e))),n)))))})),VD=(e,t,n)=>{switch(e){case void 0:return t();case"unbounded":return n(Number.MAX_SAFE_INTEGER);default:return e>1?n(e):t()}},KD=e(4,((e,t,n,r)=>new LD(be(ZD(e),iD(ED),hD((e=>ZD(r(e))),{concurrency:t,mergeStrategy:Ky(),bufferSize:n}))))),WD=e((e=>GD(e[0])),((e,t)=>UD(e,Y,t))),YD=e=>(e=>{const t=Yg({onInput:e=>Ug(ED(e),(()=>t)),onFailure:Gg,onDone:()=>ey});return new LD(be(ZD(e),Kg(t)))})((e=>{const t=Yg({onInput:e=>((e,t)=>{const[n,r]=be(e,Tn((e=>!gs(e)))),a=be(gn(r),X({onNone:()=>t,onSome:Es({onFailure:e=>X(jp(e),{onNone:()=>ey,onSome:Gg}),onSuccess:()=>ey})}));return be(ty(be(n,Mn((e=>gs(e)?Ee(e.value):xe())))),Ug((()=>a)))})(e,t),onFailure:e=>Gg(e),onDone:()=>ey});return new LD(be(ZD(e),Kg(t)))})(be(e,ew((e=>e.exit))))),ZD=e=>{if("channel"in e)return e.channel;if(Mv(e))return ZD(XD(e));throw new TypeError("Expected a Stream.")},XD=e=>be(e,eb(Ee),JD),JD=e=>new LD(DD(wb(e,{onFailure:X({onNone:()=>ey,onSome:Lg}),onSuccess:e=>ty(j(e))}))),QD=(e,t)=>be(ug(e,1,t?.maxChunkSize??4096),Uv((t=>be((e=>e.isShutdown)(e),fb((e=>e&&Tp(t)?_v(xe()):(e=>eb(Iv(e),Ee))(t)))))),rw,t?.shutdown?HD(ag(e)):Y),ew=e(2,((e,t)=>new LD(be(ZD(e),dD(Sn(t)))))),tw=e(2,((e,t)=>{const n=e=>{const r=e.next();return r.done?Yg({onInput:e=>n(e[Symbol.iterator]()),onFailure:Gg,onDone:Zg}):DD(Qv(t(r.value),(t=>Ug(ty(j(t)),(()=>n(e))))))};return new LD(be(ZD(e),Kg(Jg((()=>n(ne()[Symbol.iterator]()))))))})),nw=e(3,((e,t,n)=>new LD(be(ZD(e),iD(ED),fD(n,t),dD(j))))),rw=e=>iw(e,(e=>be(Qv(e,(t=>Ee([t,e]))),Hv(X({onNone:()=>$v(xe()),onSome:_v}))))),aw=e(2,((e,t)=>ZD(e).pipe(mD(jD(t)),vD))),iw=(e,t)=>{return n=()=>{const n=e=>DD(Qv(t(e),X({onNone:()=>ey,onSome:([e,t])=>Ug(ty(e),(()=>n(t)))})));return new LD(n(e))},new LD(Jg((()=>ZD(n()))));var n},ow=Symbol.for("effect/GroupBy"),uw={_R:e=>e,_E:e=>e,_K:e=>e,_V:e=>e},sw=e((e=>t(e[0],ow)),((e,t,n)=>UD(e.grouped,(([e,n])=>t(e,YD(QD(n,{shutdown:!0})))),{concurrency:"unbounded",bufferSize:n?.bufferSize??16}))),lw=e=>({[ow]:uw,pipe(){return i(this,arguments)},grouped:e}),cw=e((e=>"function"!=typeof e[0]),((e,t,n)=>n?.key?sw(dw(e,n.key,{bufferSize:n.bufferSize}),((e,n)=>tw(n,t))):VD(n?.concurrency,(()=>tw(e,t)),(r=>n?.unordered?UD(e,(e=>XD(t(e))),{concurrency:r}):nw(e,r,t))))),dw=e((e=>"function"!=typeof e[0]),((e,t,n)=>{const r=(e,a)=>Yg({onInput:i=>Ug(Vg(Nv(fw(i,t),(([t,r])=>{const i=e.get(t);return void 0===i?be(ng(n?.bufferSize??16),fb((n=>be(Lv((()=>{e.set(t,n)})),Sb(ig(a,new ID(xs(j([t,n]))))),Sb(be(ig(n,qD(r)),Vv((e=>Mp(e)?Ee(Gv):xe())))))))):Vv(ig(i,qD(r)),(e=>Mp(e)?Ee(Gv):xe()))}),{discard:!0})),(()=>r(e,a))),onFailure:e=>Vg(ig(a,(e=>new ID(ws(be(e,Bp(Ee)))))(e))),onDone:()=>Vg(be(Nv(e.entries(),(([e,t])=>be(ig(t,PD),Vv((e=>Mp(e)?Ee(Gv):xe())))),{discard:!0}),Sb(ig(a,PD))))});return lw((e=>WD((e=>new LD(bD((t=>e(t).pipe(Qv(j))))))((t=>e(t)))))((t=>Pv((function*(){const n=new Map,a=yield*rg();return yield*sm(t,ag(a)),yield*ZD(e).pipe(Kg(r(n,a)),oD,Sy(t),ub(t),Xv(YD(QD(a,{shutdown:!0}))))})))))})),fw=e(2,((e,t)=>{const n=[],r=e[Symbol.iterator](),a=new Map;let i;for(;(i=r.next())&&!i.done;){const e=i.value,r=t(e);if(a.has(r))a.get(r).push(e);else{const t=[e];n.push([r,t]),a.set(r,t)}}return Bt(n.map((e=>[e[0],Bt(e[1])])))})),hw=QD,pw=cw;var mw,vw,bw={exports:{}},gw=(mw||(mw=1,vw=bw,function e(t){var n=t,r=t.document;function a(e){return a="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},a(e)}var i=i||{};i.version="4.11.3","object"===a(vw)&&vw.exports&&"function"==typeof e.toString&&(i.source="("+e.toString()+')(typeof window === "object" ? window : this);',vw.exports=i),"function"==typeof t.getComputedStyle&&(t.axe=i);var o=["precision","format","inGamut"],u=["space"],s=["algorithm"],l=["method"],c=["maxDeltaE","deltaEMethod","steps","maxSteps"],d=["node"],f=["relatedNodes"],h=["node"],p=["variant"],m=["matches"],v=["chromium"],b=["noImplicit"],g=["noPresentational"],y=["node"],D=["environmentData"],w=["environmentData"],F=["environmentData"],E=["environmentData"],x=["environmentData"];function A(e){var t="function"==typeof Map?new Map:void 0;return A=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return k(e,arguments,M(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),N(n,e)},A(e)}function C(e,t,n){return(t=Y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function k(e,t,n){if(T())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&N(a,n.prototype),a}function R(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)-1===t.indexOf(n=i[r])&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function S(e,t,n){return t=M(t),function(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,T()?Reflect.construct(t,n||[],M(e).constructor):t.apply(e,n))}function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(T=function(){return!!e})()}function M(e){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},M(e)}function O(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&&N(e,t)}function N(e,t){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},N(e,t)}function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},j.apply(null,arguments)}function B(e){return function(e){if(Array.isArray(e))return J(e)}(e)||_(e)||X(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 _(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function I(e,t,n){P(e,t),t.set(e,n)}function q(e,t){P(e,t),t.add(e)}function P(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $(e,t){return e.get(L(e,t))}function z(e,t,n){return e.set(L(e,t),n),n}function L(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}function G(e,t){return U(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i,o,u=[],s=!0,l=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw a}}return u}}(e,t)||X(e,t)||H()}function H(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function U(e){if(Array.isArray(e))return e}function V(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Y(r.key),r)}}function W(e,t,n){return t&&K(e.prototype,t),n&&K(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Y(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t);if("object"!=a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==a(t)?t:t+""}function Z(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=X(e))||t){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=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 i,o=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){u=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(u)throw i}}}}function X(e,t){if(e){if("string"==typeof e)return J(e,t);var n={}.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)?J(e,t):void 0}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return a="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},a(e)}!function(e,T,M,N,P,K,Y,Q,ee,te,ne){var re=Object.create,ae=Object.defineProperty,ie=Object.getPrototypeOf,oe=Object.prototype.hasOwnProperty,ue=Object.getOwnPropertyNames,se=Object.getOwnPropertyDescriptor,le=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},ce=function(e,t){for(var n in t)ae(e,n,{get:t[n],enumerable:!0})},de=function(e){return function(e,t,n){if(t&&"object"===a(t)||"function"==typeof t){var r,i=Z(ue(t));try{var o=function(){var a=r.value;oe.call(e,a)||"default"===a||ae(e,a,{get:function(){return t[a]},enumerable:!(n=se(t,a))||n.enumerable})};for(i.s();!(r=i.n()).done;)o()}catch(e){i.e(e)}finally{i.f()}}return e}((t=ae(null!=e?re(ie(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),ae(t,"__esModule",{value:!0})),e);var t},fe=function(e,t,n){return function(e,t,n){t in e?ae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==a(t)?t+"":t,n),n},he=le((function(e,i){var o,u;o=e,u=function(){function e(e){return"function"==typeof e}var i=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,u=void 0,s=void 0,l=function(e,t){v[o]=e,v[o+1]=t,2===(o+=2)&&(s?s(b):F())},c=void 0!==t?t:void 0,d=c||{},f=d.MutationObserver||d.WebKitMutationObserver,h="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var e=setTimeout;return function(){return e(b,1)}}var v=new Array(1e3);function b(){for(var e=0;e<o;e+=2)(0,v[e])(v[e+1]),v[e]=void 0,v[e+1]=void 0;o=0}var g,y,D,w,F=void 0;function E(e,t){var n=this,r=new this.constructor(C);void 0===r[A]&&P(r);var a=n._state;if(a){var i=arguments[a-1];l((function(){return I(a,r,i,n._result)}))}else B(n,r,e,t);return r}function x(e){if(e&&"object"===a(e)&&e.constructor===this)return e;var t=new this(C);return M(t,e),t}h?F=function(){return process.nextTick(b)}:f?(y=0,D=new f(b),w=r.createTextNode(""),D.observe(w,{characterData:!0}),F=function(){w.data=y=++y%2}):p?((g=new MessageChannel).port1.onmessage=b,F=function(){return g.port2.postMessage(0)}):F=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(u=e.runOnLoop||e.runOnContext)?function(){u(b)}:m()}catch(e){return m()}}():m();var A=Math.random().toString(36).substring(2);function C(){}var k=void 0,R=1,S=2;function T(t,n,r){n.constructor===t.constructor&&r===E&&n.constructor.resolve===x?function(e,t){t._state===R?N(e,t._result):t._state===S?j(e,t._result):B(t,void 0,(function(t){return M(e,t)}),(function(t){return j(e,t)}))}(t,n):void 0===r?N(t,n):e(r)?function(e,t,n){l((function(e){var r=!1,a=function(n,a){try{n.call(a,(function(n){r||(r=!0,t!==n?M(e,n):N(e,n))}),(function(t){r||(r=!0,j(e,t))}))}catch(e){return e}}(n,t);!r&&a&&(r=!0,j(e,a))}),e)}(t,n,r):N(t,n)}function M(e,t){if(e===t)j(e,new TypeError("You cannot resolve a promise with itself"));else if(i=a(r=t),null===r||"object"!==i&&"function"!==i)N(e,t);else{var n=void 0;try{n=t.then}catch(t){return void j(e,t)}T(e,t,n)}var r,i}function O(e){e._onerror&&e._onerror(e._result),_(e)}function N(e,t){e._state===k&&(e._result=t,e._state=R,0!==e._subscribers.length&&l(_,e))}function j(e,t){e._state===k&&(e._state=S,e._result=t,l(O,e))}function B(e,t,n,r){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+R]=n,a[i+S]=r,0===i&&e._state&&l(_,e)}function _(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,a=void 0,i=e._result,o=0;o<t.length;o+=3)a=t[o+n],(r=t[o])?I(n,r,a,i):a(i);e._subscribers.length=0}}function I(t,n,r,a){var i=e(r),o=void 0,u=void 0,s=!0;if(i){try{o=r(a)}catch(e){s=!1,u=e}if(n===o)return void j(n,new TypeError("A promises callback cannot return that same promise."))}else o=a;n._state!==k||(i&&s?M(n,o):!1===s?j(n,u):t===R?N(n,o):t===S&&j(n,o))}var q=0;function P(e){e[A]=q++,e._state=void 0,e._result=void 0,e._subscribers=[]}var $=function(){function e(e,t){this._instanceConstructor=e,this.promise=new e(C),this.promise[A]||P(this.promise),i(t)?(this.length=t.length,this._remaining=t.length,this._result=new Array(this.length),0===this.length?N(this.promise,this._result):(this.length=this.length||0,this._enumerate(t),0===this._remaining&&N(this.promise,this._result))):j(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===x){var a=void 0,i=void 0,o=!1;try{a=e.then}catch(e){o=!0,i=e}if(a===E&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(n===z){var u=new n(C);o?j(u,i):T(u,e,a),this._willSettleAt(u,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===k&&(this._remaining--,e===S?j(r,n):this._result[t]=n),0===this._remaining&&N(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;B(e,void 0,(function(e){return n._settledAt(R,t,e)}),(function(e){return n._settledAt(S,t,e)}))},e}(),z=function(){function t(e){this[A]=q++,this._result=this._state=void 0,this._subscribers=[],C!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){M(e,t)}),(function(t){j(e,t)}))}catch(t){j(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this,r=n.constructor;return e(t)?n.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):n.then(t,t)},t}();return z.prototype.then=E,z.all=function(e){return new $(this,e).promise},z.race=function(e){var t=this;return i(e)?new t((function(n,r){for(var a=e.length,i=0;i<a;i++)t.resolve(e[i]).then(n,r)})):new t((function(e,t){return t(new TypeError("You must pass an array to race."))}))},z.resolve=x,z.reject=function(e){var t=new this(C);return j(t,e),t},z._setScheduler=function(e){s=e},z._setAsap=function(e){l=e},z._asap=l,z.polyfill=function(){var e=void 0;if(void 0!==n)e=n;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=z},z.Promise=z,z},"object"===a(e)&&void 0!==i?i.exports=u():o.ES6Promise=u()})),pe=le((function(e){var t,n,r=(t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return n.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),i=Math.LN2,o=Math.abs,u=Math.floor,s=Math.log,l=Math.min,c=Math.pow,d=Math.round;function f(e,t,n){return e<t?t:e>n?n:e}var h,p=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(p&&h){var t,n=p(e);for(t=0;t<n.length;t+=1)h(e,n[t],{value:e[n[t]],writable:!1,enumerable:!1,configurable:!1})}}function v(e,t){var n=32-t;return e<<n>>n}function b(e,t){var n=32-t;return e<<n>>>n}function g(e){return[255&e]}function y(e){return v(e[0],8)}function D(e){return[255&e]}function w(e){return b(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 x(e){return v(e[0]<<8|e[1],16)}function A(e){return[e>>8&255,255&e]}function C(e){return b(e[0]<<8|e[1],16)}function k(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function R(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function S(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function T(e){return b(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function M(e,t,n){var r,a,d,f,h,p,m,v=(1<<t-1)-1;function b(e){var t=u(e),n=e-t;return n<.5?t:n>.5||t%2?t+1:t}for(e!=e?(a=(1<<t)-1,d=c(2,n-1),r=0):e===1/0||e===-1/0?(a=(1<<t)-1,d=0,r=e<0?1:0):0===e?(a=0,d=0,r=1/e==-1/0?1:0):(r=e<0,(e=o(e))>=c(2,1-v)?(a=l(u(s(e)/i),1023),(d=b(e/c(2,a)*c(2,n)))/c(2,n)>=2&&(a+=1,d=1),a>v?(a=(1<<t)-1,d=0):(a+=v,d-=c(2,n))):(a=0,d=b(e/c(2,1-v-n)))),h=[],f=n;f;f-=1)h.push(d%2?1:0),d=u(d/2);for(f=t;f;f-=1)h.push(a%2?1:0),a=u(a/2);for(h.push(r?1:0),h.reverse(),p=h.join(""),m=[];p.length;)m.push(parseInt(p.substring(0,8),2)),p=p.substring(8);return m}function O(e,t,n){var r,a,i,o,u,s,l,d,f=[];for(r=e.length;r;r-=1)for(i=e[r-1],a=8;a;a-=1)f.push(i%2?1:0),i>>=1;return f.reverse(),o=f.join(""),u=(1<<t-1)-1,s=parseInt(o.substring(0,1),2)?-1:1,l=parseInt(o.substring(1,1+t),2),d=parseInt(o.substring(1+t),2),l===(1<<t)-1?0===d?s*(1/0):NaN:l>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 N(e){return O(e,11,52)}function j(e){return M(e,11,52)}function B(e){return O(e,8,23)}function _(e){return M(e,8,23)}h=Object.defineProperty&&function(){try{return!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;t<this.byteLength;t+=1)this._bytes[t]=0;m(this)}function n(){}function i(e,i,o){var u;return u=function(e,n,i){var o,s,l;if(arguments.length&&"number"!=typeof arguments[0])if("object"===a(arguments[0])&&arguments[0].constructor===u)for(this.length=(o=arguments[0]).length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)this._setter(l,o._getter(l));else if("object"!==a(arguments[0])||arguments[0]instanceof t||"ArrayBuffer"===r.Class(arguments[0])){if("object"!==a(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===r.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=r.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=r.ToUint32(i),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(this.length=r.ToUint32((s=arguments[0]).length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)this._setter(l,Number(s[l]));else{if(this.length=r.ToInt32(arguments[0]),i<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=u,m(this),function(e){if(h){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)n(t)}function n(t){h(e,t,{get:function(){return e._getter(t)},set:function(n){e._setter(t,n)},enumerable:!0,configurable:!1})}}(this)},u.prototype=new n,u.prototype.BYTES_PER_ELEMENT=e,u.prototype._pack=i,u.prototype._unpack=o,u.BYTES_PER_ELEMENT=e,u.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=r.ToUint32(e))>=this.length)){for(var t=[],n=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},u.prototype.get=u.prototype._getter,u.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=r.ToUint32(e))<this.length){var n,a,i=this._pack(t);for(n=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,a+=1)this.buffer._bytes[a]=i[n]}},u.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var n,i,o,u,s,l,c,d,f,h;if("object"===a(arguments[0])&&arguments[0].constructor===this.constructor){if(n=arguments[0],(o=r.ToUint32(arguments[1]))+n.length>this.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(h=[],s=0,l=n.byteOffset;s<f;s+=1,l+=1)h[s]=n.buffer._bytes[l];for(s=0,c=d;s<f;s+=1,c+=1)this.buffer._bytes[c]=h[s]}else for(s=0,l=n.byteOffset,c=d;s<f;s+=1,l+=1,c+=1)this.buffer._bytes[c]=n.buffer._bytes[l]}else{if("object"!==a(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(u=r.ToUint32((i=arguments[0]).length),(o=r.ToUint32(arguments[1]))+u>this.length)throw new RangeError("Offset plus length of array is out of range");for(s=0;s<u;s+=1)l=i[s],this._setter(o+s,Number(l))}},u.prototype.subarray=function(e,t){e=r.ToInt32(e),t=r.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=f(e,0,this.length);var n=(t=f(t,0,this.length))-e;return n<0&&(n=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,n)},u}e.ArrayBuffer=e.ArrayBuffer||t;var o=i(1,g,y),u=i(1,D,w),s=i(1,F,w),l=i(2,E,x),c=i(2,A,C),d=i(4,k,R),p=i(4,S,T),v=i(4,_,B),b=i(8,j,N);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||u,e.Uint8ClampedArray=e.Uint8ClampedArray||s,e.Int16Array=e.Int16Array||l,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||p,e.Float32Array=e.Float32Array||v,e.Float64Array=e.Float64Array||b}(),function(){function t(e,t){return r.IsCallable(e.get)?e.get(t):e[t]}var n,a=(n=new e.Uint16Array([4660]),18===t(new e.Uint8Array(n.buffer),0));function i(t,n,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===r.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(n),this.byteOffset>this.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 o(n){return function(i,o){if((i=r.ToUint32(i))+n.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var u,s=new e.Uint8Array(this.buffer,i+=this.byteOffset,n.BYTES_PER_ELEMENT),l=[];for(u=0;u<n.BYTES_PER_ELEMENT;u+=1)l.push(t(s,u));return Boolean(o)===Boolean(a)&&l.reverse(),t(new n(new e.Uint8Array(l).buffer),0)}}function u(n){return function(i,o,u){if((i=r.ToUint32(i))+n.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var s,l=new n([o]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s<n.BYTES_PER_ELEMENT;s+=1)d.push(t(c,s));Boolean(u)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,i,n.BYTES_PER_ELEMENT).set(d)}}i.prototype.getUint8=o(e.Uint8Array),i.prototype.getInt8=o(e.Int8Array),i.prototype.getUint16=o(e.Uint16Array),i.prototype.getInt16=o(e.Int16Array),i.prototype.getUint32=o(e.Uint32Array),i.prototype.getInt32=o(e.Int32Array),i.prototype.getFloat32=o(e.Float32Array),i.prototype.getFloat64=o(e.Float64Array),i.prototype.setUint8=u(e.Uint8Array),i.prototype.setInt8=u(e.Int8Array),i.prototype.setUint16=u(e.Uint16Array),i.prototype.setInt16=u(e.Int16Array),i.prototype.setUint32=u(e.Uint32Array),i.prototype.setInt32=u(e.Int32Array),i.prototype.setFloat32=u(e.Float32Array),i.prototype.setFloat64=u(e.Float64Array),e.DataView=e.DataView||i}()})),me=le((function(e){!function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(e,n){if(!i(e)||!t.call(e,"_id"))throw new TypeError(n+" method called on incompatible receiver "+a(e))}function o(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",(function(e){if(n(this,"delete"),!i(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"),i(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"),!i(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),r(e.prototype,"set",(function(e,t){if(n(this,"set"),!i(e))throw new TypeError("Invalid value used as weak map key");var a=e[this._id];return a&&a[0]===e?(a[1]=t,this):(r(e,this._id,[e,t]),this)})),r(e,"_polyfill",!0),e}()}function i(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==t?t:void 0!==n?n:e)})),ve=le((function(e,r){var i=function(e){return e&&e.Math===Math&&e};r.exports=i("object"==("undefined"==typeof globalThis?"undefined":a(globalThis))&&globalThis)||i("object"==(void 0===t?"undefined":a(t))&&t)||i("object"==("undefined"==typeof self?"undefined":a(self))&&self)||i("object"==(void 0===n?"undefined":a(n))&&n)||i("object"==a(e)&&e)||function(){return this}()||Function("return this")()})),be=le((function(e,t){t.exports=function(e){try{return!!e()}catch(e){return!0}}})),ge=le((function(e,t){var n=be();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),ye=le((function(e,t){var n=ge(),r=Function.prototype,i=r.apply,o=r.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":a(Reflect))&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})})),De=le((function(e,t){var n=ge(),r=Function.prototype,a=r.call,i=n&&r.bind.bind(a,a);t.exports=n?i:function(e){return function(){return a.apply(e,arguments)}}})),we=le((function(e,t){var n=De(),r=n({}.toString),a=n("".slice);t.exports=function(e){return a(r(e),8,-1)}})),Fe=le((function(e,t){var n=we(),r=De();t.exports=function(e){if("Function"===n(e))return r(e)}})),Ee=le((function(e,t){var n="object"==(void 0===r?"undefined":a(r))&&r.all;t.exports=void 0===n&&void 0!==n?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),xe=le((function(e,t){var n=be();t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),Ae=le((function(e,t){var n=ge(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),Ce=le((function(e){var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),ke=le((function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),Re=le((function(e,t){var n=De(),r=be(),a=we(),i=Object,o=n("".split);t.exports=r((function(){return!i("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?o(e,""):i(e)}:i})),Se=le((function(e,t){t.exports=function(e){return null==e}})),Te=le((function(e,t){var n=Se(),r=TypeError;t.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}})),Me=le((function(e,t){var n=Re(),r=Te();t.exports=function(e){return n(r(e))}})),Oe=le((function(e,t){var n=Ee();t.exports=function(e){return"object"==a(e)?null!==e:n(e)}})),Ne=le((function(e,t){t.exports={}})),je=le((function(e,t){var n=Ne(),r=ve(),a=Ee(),i=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?i(n[e])||i(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}})),Be=le((function(e,t){var n=De();t.exports=n({}.isPrototypeOf)})),_e=le((function(e,t){var n=ve().navigator,r=n&&n.userAgent;t.exports=r?String(r):""})),Ie=le((function(e,t){var n,r,a=ve(),i=_e(),o=a.process,u=a.Deno,s=o&&o.versions||u&&u.version,l=s&&s.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&i&&(!(n=i.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=i.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r})),qe=le((function(e,t){var n=Ie(),r=be(),a=ve().String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),Pe=le((function(e,t){var n=qe();t.exports=n&&!Symbol.sham&&"symbol"==a(Symbol.iterator)})),$e=le((function(e,t){var n=je(),r=Ee(),i=Be(),o=Pe(),u=Object;t.exports=o?function(e){return"symbol"==a(e)}:function(e){var t=n("Symbol");return r(t)&&i(t.prototype,u(e))}})),ze=le((function(e,t){var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}})),Le=le((function(e,t){var n=Ee(),r=ze(),a=TypeError;t.exports=function(e){if(n(e))return e;throw new a(r(e)+" is not a function")}})),Ge=le((function(e,t){var n=Le(),r=Se();t.exports=function(e,t){var a=e[t];return r(a)?void 0:n(a)}})),He=le((function(e,t){var n=Ae(),r=Ee(),a=Oe(),i=TypeError;t.exports=function(e,t){var o,u;if("string"===t&&r(o=e.toString)&&!a(u=n(o,e)))return u;if(r(o=e.valueOf)&&!a(u=n(o,e)))return u;if("string"!==t&&r(o=e.toString)&&!a(u=n(o,e)))return u;throw new i("Can't convert object to primitive value")}})),Ue=le((function(e,t){t.exports=!0})),Ve=le((function(e,t){var n=ve(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}})),Ke=le((function(e,t){var n=Ue(),r=ve(),a=Ve(),i="__core-js_shared__",o=t.exports=r[i]||a(i,{});(o.versions||(o.versions=[])).push({version:"3.48.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),We=le((function(e,t){var n=Ke();t.exports=function(e,t){return n[e]||(n[e]=t||{})}})),Ye=le((function(e,t){var n=Te(),r=Object;t.exports=function(e){return r(n(e))}})),Ze=le((function(e,t){var n=De(),r=Ye(),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(r(e),t)}})),Xe=le((function(e,t){var n=De(),r=0,a=Math.random(),i=n(1.1.toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++r+a,36)}})),Je=le((function(e,t){var n=ve(),r=We(),a=Ze(),i=Xe(),o=qe(),u=Pe(),s=n.Symbol,l=r("wks"),c=u?s.for||s:s&&s.withoutSetter||i;t.exports=function(e){return a(l,e)||(l[e]=o&&a(s,e)?s[e]:c("Symbol."+e)),l[e]}})),Qe=le((function(e,t){var n=Ae(),r=Oe(),a=$e(),i=Ge(),o=He(),u=Je(),s=TypeError,l=u("toPrimitive");t.exports=function(e,t){if(!r(e)||a(e))return e;var u,c=i(e,l);if(c){if(void 0===t&&(t="default"),u=n(c,e,t),!r(u)||a(u))return u;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),o(e,t)}})),et=le((function(e,t){var n=Qe(),r=$e();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),tt=le((function(e,t){var n=ve(),r=Oe(),a=n.document,i=r(a)&&r(a.createElement);t.exports=function(e){return i?a.createElement(e):{}}})),nt=le((function(e,t){var n=xe(),r=be(),a=tt();t.exports=!n&&!r((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),rt=le((function(e){var t=xe(),n=Ae(),r=Ce(),a=ke(),i=Me(),o=et(),u=Ze(),s=nt(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=i(e),t=o(t),s)try{return l(e,t)}catch(e){}if(u(e,t))return a(!n(r.f,e,t),e[t])}})),at=le((function(e,t){var n=be(),r=Ee(),a=/#|\.prototype\./,i=function(e,t){var a=u[o(e)];return a===l||a!==s&&(r(t)?n(t):!!t)},o=i.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i})),it=le((function(e,t){var n=Fe(),r=Le(),a=ge(),i=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:a?i(e,t):function(){return e.apply(t,arguments)}}})),ot=le((function(e,t){var n=xe(),r=be();t.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),ut=le((function(e,t){var n=Oe(),r=String,a=TypeError;t.exports=function(e){if(n(e))return e;throw new a(r(e)+" is not an object")}})),st=le((function(e){var t=xe(),n=nt(),r=ot(),a=ut(),i=et(),o=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?r?function(e,t,n){if(a(e),t=i(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=s(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:c in n?n[c]:r[c],enumerable:l in n?n[l]:r[l],writable:!1})}return u(e,t,n)}:u:function(e,t,r){if(a(e),t=i(t),a(r),n)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new o("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),lt=le((function(e,t){var n=xe(),r=st(),a=ke();t.exports=n?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}})),ct=le((function(e,t){var n=ve(),r=ye(),i=Fe(),o=Ee(),u=rt().f,s=at(),l=Ne(),c=it(),d=lt(),f=Ze();Ke();var h=function(e){var t=function(n,a,i){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,a)}return new e(n,a,i)}return r(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var r,p,m,v,b,g,y,D,w,F=e.target,E=e.global,x=e.stat,A=e.proto,C=E?n:x?n[F]:n[F]&&n[F].prototype,k=E?l:l[F]||d(l,F,{})[F],R=k.prototype;for(v in t)p=!(r=s(E?v:F+(x?".":"#")+v,e.forced))&&C&&f(C,v),g=k[v],p&&(y=e.dontCallGetSet?(w=u(C,v))&&w.value:C[v]),b=p&&y?y:t[v],(r||A||a(g)!=a(b))&&(D=e.bind&&p?c(b,n):e.wrap&&p?h(b):A&&o(b)?i(b):b,(e.sham||b&&b.sham||g&&g.sham)&&d(D,"sham",!0),d(k,v,D),A&&(f(l,m=F+"Prototype")||d(l,m,{}),d(l[m],v,b),e.real&&R&&(r||!R[v])&&d(R,v,b)))}})),dt=le((function(){ct()({target:"Object",stat:!0},{hasOwn:Ze()})})),ft=le((function(e,t){dt();var n=Ne();t.exports=n.Object.hasOwn})),ht=le((function(e,t){var n=ft();t.exports=n})),pt=le((function(e,t){var n=ht();t.exports=n})),mt=le((function(e,t){var n=We(),r=Xe(),a=n("keys");t.exports=function(e){return a[e]||(a[e]=r(e))}})),vt=le((function(e,t){var n=be();t.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))})),bt=le((function(e,t){var n=Ze(),r=Ee(),a=Ye(),i=mt(),o=vt(),u=i("IE_PROTO"),s=Object,l=s.prototype;t.exports=o?s.getPrototypeOf:function(e){var t=a(e);if(n(t,u))return t[u];var i=t.constructor;return r(i)&&t instanceof i?i.prototype:t instanceof s?l:null}})),gt=le((function(e,t){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),yt=le((function(e,t){var n=gt();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}})),Dt=le((function(e,t){var n=yt(),r=Math.max,a=Math.min;t.exports=function(e,t){var i=n(e);return i<0?r(i+t,0):a(i,t)}})),wt=le((function(e,t){var n=yt(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),Ft=le((function(e,t){var n=wt();t.exports=function(e){return n(e.length)}})),Et=le((function(e,t){var n=Me(),r=Dt(),a=Ft(),i=function(e){return function(t,i,o){var u=n(t),s=a(u);if(0===s)return!e&&-1;var l,c=r(o,s);if(e&&i!=i){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===i)return e||c||0;return!e&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}})),xt=le((function(e,t){t.exports={}})),At=le((function(e,t){var n=De(),r=Ze(),a=Me(),i=Et().indexOf,o=xt(),u=n([].push);t.exports=function(e,t){var n,s=a(e),l=0,c=[];for(n in s)!r(o,n)&&r(s,n)&&u(c,n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||u(c,n));return c}})),Ct=le((function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),kt=le((function(e,t){var n=At(),r=Ct();t.exports=Object.keys||function(e){return n(e,r)}})),Rt=le((function(e,t){var n=xe(),r=be(),a=De(),i=bt(),o=kt(),u=Me(),s=a(Ce().f),l=a([].push),c=n&&r((function(){var e=Object.create(null);return e[2]=2,!s(e,2)})),d=function(e){return function(t){for(var r,a=u(t),d=o(a),f=c&&null===i(a),h=d.length,p=0,m=[];h>p;)r=d[p++],n&&!(f?r in a:s(a,r))||l(m,e?[r,a[r]]:a[r]);return m}};t.exports={entries:d(!0),values:d(!1)}})),St=le((function(){var e=ct(),t=Rt().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})})),Tt=le((function(e,t){St();var n=Ne();t.exports=n.Object.values})),Mt=le((function(e,t){var n=Tt();t.exports=n})),Ot=le((function(e,t){var n=Mt();t.exports=n})),Nt=le((function(e,t){var n={};n[Je()("toStringTag")]="z",t.exports="[object z]"===String(n)})),jt=le((function(e,t){var n=Nt(),r=Ee(),a=we(),i=Je()("toStringTag"),o=Object,u="Arguments"===a(function(){return arguments}());t.exports=n?a:function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=o(e),i))?n:u?a(t):"Object"===(s=a(t))&&r(t.callee)?"Arguments":s}})),Bt=le((function(e,t){var n=jt(),r=String;t.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return r(e)}})),_t=le((function(e,t){var n=De(),r=yt(),a=Bt(),i=Te(),o=n("".charAt),u=n("".charCodeAt),s=n("".slice),l=function(e){return function(t,n){var l,c,d=a(i(t)),f=r(n),h=d.length;return f<0||f>=h?e?"":void 0:(l=u(d,f))<55296||l>56319||f+1===h||(c=u(d,f+1))<56320||c>57343?e?o(d,f):l:e?s(d,f,f+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}})),It=le((function(e,t){var n=ve(),r=Ee(),a=n.WeakMap;t.exports=r(a)&&/native code/.test(String(a))})),qt=le((function(e,t){var n,r,a,i,o,u=It(),s=ve(),l=Oe(),c=lt(),d=Ze(),f=Ke(),h=mt(),p=xt(),m="Object already initialized",v=s.TypeError;u||f.state?((i=f.state||(f.state=new(0,s.WeakMap))).get=i.get,i.has=i.has,i.set=i.set,n=function(e,t){if(i.has(e))throw new v(m);return t.facade=e,i.set(e,t),t},r=function(e){return i.get(e)||{}},a=function(e){return i.has(e)}):(p[o=h("state")]=!0,n=function(e,t){if(d(e,o))throw new v(m);return t.facade=e,c(e,o,t),t},r=function(e){return d(e,o)?e[o]:{}},a=function(e){return d(e,o)}),t.exports={set:n,get:r,has:a,enforce:function(e){return a(e)?r(e):n(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=r(t)).type!==e)throw new v("Incompatible receiver, "+e+" required");return n}}}})),Pt=le((function(e,t){var n=xe(),r=Ze(),a=Function.prototype,i=n&&Object.getOwnPropertyDescriptor,o=r(a,"name"),u=o&&"something"===function(){}.name,s=o&&(!n||n&&i(a,"name").configurable);t.exports={EXISTS:o,PROPER:u,CONFIGURABLE:s}})),$t=le((function(e){var t=xe(),n=ot(),r=st(),a=ut(),i=Me(),o=kt();e.f=t&&!n?Object.defineProperties:function(e,t){a(e);for(var n,u=i(t),s=o(t),l=s.length,c=0;l>c;)r.f(e,n=s[c++],u[n]);return e}})),zt=le((function(e,t){var n=je();t.exports=n("document","documentElement")})),Lt=le((function(e,t){var n,a=ut(),i=$t(),o=Ct(),u=xt(),s=zt(),l=tt(),c=mt(),d="prototype",f="script",h=c("IE_PROTO"),p=function(){},m=function(e){return"<"+f+">"+e+"</"+f+">"},v=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},b=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,a;b=void 0!==r?r.domain&&n?v(n):(t=l("iframe"),a="java"+f+":",t.style.display="none",s.appendChild(t),t.src=String(a),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):v(n);for(var i=o.length;i--;)delete b[d][o[i]];return b()};u[h]=!0,t.exports=Object.create||function(e,t){var n;return null!==e?(p[d]=a(e),n=new p,p[d]=null,n[h]=e):n=b(),void 0===t?n:i.f(n,t)}})),Gt=le((function(e,t){var n=lt();t.exports=function(e,t,r,a){return a&&a.enumerable?e[t]=r:n(e,t,r),e}})),Ht=le((function(e,t){var n,r,a,i=be(),o=Ee(),u=Oe(),s=Lt(),l=bt(),c=Gt(),d=Je(),f=Ue(),h=d("iterator"),p=!1;[].keys&&("next"in(a=[].keys())?(r=l(l(a)))!==Object.prototype&&(n=r):p=!0),!u(n)||i((function(){var e={};return n[h].call(e)!==e}))?n={}:f&&(n=s(n)),o(n[h])||c(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}})),Ut=le((function(e,t){var n=Nt(),r=jt();t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}})),Vt=le((function(e,t){var n=Nt(),r=st().f,a=lt(),i=Ze(),o=Ut(),u=Je()("toStringTag");t.exports=function(e,t,s,l){var c=s?e:e&&e.prototype;c&&(i(c,u)||r(c,u,{configurable:!0,value:t}),l&&!n&&a(c,"toString",o))}})),Kt=le((function(e,t){t.exports={}})),Wt=le((function(e,t){var n=Ht().IteratorPrototype,r=Lt(),a=ke(),i=Vt(),o=Kt(),u=function(){return this};t.exports=function(e,t,s,l){var c=t+" Iterator";return e.prototype=r(n,{next:a(+!l,s)}),i(e,c,!1,!0),o[c]=u,e}})),Yt=le((function(e,t){var n=De(),r=Le();t.exports=function(e,t,a){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}})),Zt=le((function(e,t){var n=Oe();t.exports=function(e){return n(e)||null===e}})),Xt=le((function(e,t){var n=Zt(),r=String,a=TypeError;t.exports=function(e){if(n(e))return e;throw new a("Can't set "+r(e)+" as a prototype")}})),Jt=le((function(e,t){var n=Yt(),r=Oe(),a=Te(),i=Xt();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,o={};try{(e=n(Object.prototype,"__proto__","set"))(o,[]),t=o instanceof Array}catch(e){}return function(n,o){return a(n),i(o),r(n)?(t?e(n,o):n.__proto__=o,n):n}}():void 0)})),Qt=le((function(e,t){var n=ct(),r=Ae(),a=Ue(),i=Pt(),o=Ee(),u=Wt(),s=bt(),l=Jt(),c=Vt(),d=lt(),f=Gt(),h=Je(),p=Kt(),m=Ht(),v=i.PROPER,b=i.CONFIGURABLE,g=m.IteratorPrototype,y=m.BUGGY_SAFARI_ITERATORS,D=h("iterator"),w="keys",F="values",E="entries",x=function(){return this};t.exports=function(e,t,i,h,m,A,C){u(i,t,h);var k,R,S,T=function(e){if(e===m&&B)return B;if(!y&&e&&e in N)return N[e];switch(e){case w:case F:case E:return function(){return new i(this,e)}}return function(){return new i(this)}},M=t+" Iterator",O=!1,N=e.prototype,j=N[D]||N["@@iterator"]||m&&N[m],B=!y&&j||T(m),_="Array"===t&&N.entries||j;if(_&&(k=s(_.call(new e)))!==Object.prototype&&k.next&&(a||s(k)===g||(l?l(k,g):o(k[D])||f(k,D,x)),c(k,M,!0,!0),a&&(p[M]=x)),v&&m===F&&j&&j.name!==F&&(!a&&b?d(N,"name",F):(O=!0,B=function(){return r(j,this)})),m)if(R={values:T(F),keys:A?B:T(w),entries:T(E)},C)for(S in R)(y||O||!(S in N))&&f(N,S,R[S]);else n({target:t,proto:!0,forced:y||O},R);return a&&!C||N[D]===B||f(N,D,B,{name:m}),p[t]=B,R}})),en=le((function(e,t){t.exports=function(e,t){return{value:e,done:t}}})),tn=le((function(){var e=_t().charAt,t=Bt(),n=qt(),r=Qt(),a=en(),i="String Iterator",o=n.set,u=n.getterFor(i);r(String,"String",(function(e){o(this,{type:i,string:t(e),index:0})}),(function(){var t,n=u(this),r=n.string,i=n.index;return i>=r.length?a(void 0,!0):(t=e(r,i),n.index+=t.length,a(t,!1))}))})),nn=le((function(e,t){var n=Ae(),r=ut(),a=Ge();t.exports=function(e,t,i){var o,u;r(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw i;return i}o=n(o,e)}catch(e){u=!0,o=e}if("throw"===t)throw i;if(u)throw o;return r(o),i}})),rn=le((function(e,t){var n=ut(),r=nn();t.exports=function(e,t,a,i){try{return i?t(n(a)[0],a[1]):t(a)}catch(t){r(e,"throw",t)}}})),an=le((function(e,t){var n=Je(),r=Kt(),a=n("iterator"),i=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}})),on=le((function(e,t){var n=De(),r=Ee(),a=Ke(),i=n(Function.toString);r(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),t.exports=a.inspectSource})),un=le((function(e,t){var n=De(),r=be(),a=Ee(),i=jt(),o=je(),u=on(),s=function(){},l=o("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=n(c.exec),f=!c.test(s),h=function(e){if(!a(e))return!1;try{return l(s,[],e),!0}catch(e){return!1}},p=function(e){if(!a(e))return!1;switch(i(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return f||!!d(c,u(e))}catch(e){return!0}};p.sham=!0,t.exports=!l||r((function(){var e;return h(h.call)||!h(Object)||!h((function(){e=!0}))||e}))?p:h})),sn=le((function(e,t){var n=xe(),r=st(),a=ke();t.exports=function(e,t,i){n?r.f(e,t,a(0,i)):e[t]=i}})),ln=le((function(e,t){var n=we();t.exports=Array.isArray||function(e){return"Array"===n(e)}})),cn=le((function(e,t){var n=xe(),r=ln(),a=TypeError,i=Object.getOwnPropertyDescriptor,o=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();t.exports=o?function(e,t){if(r(e)&&!i(e,"length").writable)throw new a("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}})),dn=le((function(e,t){var n=jt(),r=Ge(),a=Se(),i=Kt(),o=Je()("iterator");t.exports=function(e){if(!a(e))return r(e,o)||r(e,"@@iterator")||i[n(e)]}})),fn=le((function(e,t){var n=Ae(),r=Le(),a=ut(),i=ze(),o=dn(),u=TypeError;t.exports=function(e,t){var s=arguments.length<2?o(e):t;if(r(s))return a(n(s,e));throw new u(i(e)+" is not iterable")}})),hn=le((function(e,t){var n=it(),r=Ae(),a=Ye(),i=rn(),o=an(),u=un(),s=Ft(),l=sn(),c=cn(),d=fn(),f=dn(),h=Array;t.exports=function(e){var t=a(e),p=u(this),m=arguments.length,v=m>1?arguments[1]:void 0,b=void 0!==v;b&&(v=n(v,m>2?arguments[2]:void 0));var g,y,D,w,F,E,x=f(t),A=0;if(!x||this===h&&o(x))for(g=s(t),y=p?new this(g):h(g);g>A;A++)E=b?v(t[A],A):t[A],l(y,A,E);else for(y=p?new this:[],F=(w=d(t,x)).next;!(D=r(F,w)).done;A++)E=b?i(w,v,[D.value,A],!0):D.value,l(y,A,E);return c(y,A),y}})),pn=le((function(e,t){var n,r,a=Je()("iterator"),i=!1;try{n=0,(r={next:function(){return{done:!!n++}},return:function(){i=!0}})[a]=function(){return this},Array.from(r,(function(){throw 2}))}catch(e){}t.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var n=!1;try{var r={};r[a]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}})),mn=le((function(){var e=ct(),t=hn();e({target:"Array",stat:!0,forced:!pn()((function(e){Array.from(e)}))},{from:t})})),vn=le((function(e,t){tn(),mn();var n=Ne();t.exports=n.Array.from})),bn=le((function(e,t){var n=vn();t.exports=n})),gn=le((function(e,t){var n=bn();t.exports=n})),yn=le((function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var n=t.length,r="",a=0;a<n;){var i=t.charAt(a);if(e.identSpecialChars[i])r+="\\"+i;else if("_"===i||"-"===i||i>="A"&&i<="Z"||i>="a"&&i<="z"||0!==a&&i>="0"&&i<="9")r+=i;else{var o=i.charCodeAt(0);if(55296==(63488&o)){var u=t.charCodeAt(a++);if(55296!=(64512&o)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");o=((1023&o)<<10)+(1023&u)+65536}r+="\\"+o.toString(16)+" "}a++}return r},e.escapeStr=function(t){for(var n,r=t.length,a="",i=0;i<r;){var o=t.charAt(i);'"'===o?o='\\"':"\\"===o?o="\\\\":void 0!==(n=e.strReplacementsRev[o])&&(o=n),a+=o,i++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!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","\\":"\\",'"':'"'}})),Dn=le((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=yn();e.parseCssSelector=function(e,n,r,a,i,o){var u=e.length,s="";function l(r,a){var i="";for(n++,s=e.charAt(n);n<u;){if(s===r)return n++,i;if("\\"===s){n++;var o=void 0;if((s=e.charAt(n))===r)i+=r;else if(void 0!==(o=a[s]))i+=o;else{if(t.isHex(s)){var l=s;for(n++,s=e.charAt(n);t.isHex(s);)l+=s,n++,s=e.charAt(n);" "===s&&(n++,s=e.charAt(n)),i+=String.fromCharCode(parseInt(l,16));continue}i+=s}}else i+=s;n++,s=e.charAt(n)}return i}function c(){var r="";for(s=e.charAt(n);n<u;){if(t.isIdent(s))r+=s;else{if("\\"!==s)return r;if(++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=h();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=h()))throw Error('Rule expected after ",".');r.selectors.push(t)}return r}function h(){d();var t={type:"ruleSet"},r=p();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(i[s]){var o=s;if(n++,d(),!(r=p()))throw Error('Rule expected after "'+o+'".');r.nestingOperator=o}else(r=p())&&(r.nestingOperator=null);return t}function p(){for(var i=null;n<u;)if("*"===(s=e.charAt(n)))n++,(i=i||{}).tagName="*";else if(t.isIdentStart(s)||"\\"===s)(i=i||{}).tagName=c();else if("."===s)n++,((i=i||{}).classNames=i.classNames||[]).push(c());else if("#"===s)n++,(i=i||{}).id=c();else if("["===s){n++,d();var h={name:c()};if(d(),"]"===s)n++;else{var p="";if(a[s]&&(p=s,n++,s=e.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');h.operator=p+"=",n++,d();var m="";if(h.valueType="string",'"'===s)m=l('"',t.doubleQuotesEscapeChars);else if("'"===s)m=l("'",t.singleQuoteEscapeChars);else if(o&&"$"===s)n++,m=c(),h.valueType="substitute";else{for(;n<u&&"]"!==s;)m+=s,n++,s=e.charAt(n);m=m.trim()}if(d(),n>=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');n++,h.value=m}((i=i||{}).attrs=i.attrs||[]).push(h)}else{if(":"!==s)break;n++;var v=c(),b={name:v};if("("===s){n++;var g="";if(d(),"selector"===r[v])b.valueType="selector",g=f();else{if(b.valueType=r[v]||"string",'"'===s)g=l('"',t.doubleQuotesEscapeChars);else if("'"===s)g=l("'",t.singleQuoteEscapeChars);else if(o&&"$"===s)n++,g=c(),b.valueType="substitute";else{for(;n<u&&")"!==s;)g+=s,n++,s=e.charAt(n);g=g.trim()}d()}if(n>=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');n++,b.value=g}((i=i||{}).pseudos=i.pseudos||[]).push(b)}return i}return function(){var t=f();if(n<u)throw Error('Rule expected but "'+e.charAt(n)+'" found.');return t}()}})),wn=le((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=yn();e.renderEntity=function e(n){var r="";switch(n.type){case"ruleSet":for(var a=n.rule,i=[];a;)a.nestingOperator&&i.push(a.nestingOperator),i.push(e(a)),a=a.rule;r=i.join(" ");break;case"selectors":r=n.selectors.map(e).join(", ");break;case"rule":n.tagName&&(r="*"===n.tagName?"*":t.escapeIdentifier(n.tagName)),n.id&&(r+="#"+t.escapeIdentifier(n.id)),n.classNames&&(r+=n.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),n.attrs&&(r+=n.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),n.pseudos&&(r+=n.pseudos.map((function(n){return n.valueType?"selector"===n.valueType?":"+t.escapeIdentifier(n.name)+"("+e(n.value)+")":"substitute"===n.valueType?":"+t.escapeIdentifier(n.name)+"($"+n.value+")":"numeric"===n.valueType?":"+t.escapeIdentifier(n.name)+"("+n.value+")":":"+t.escapeIdentifier(n.name)+"("+t.escapeIdentifier(n.value)+")":":"+t.escapeIdentifier(n.name)})).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return r}})),Fn=le((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Dn(),n=wn(),r=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.pseudos[r[n]]="selector";return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.pseudos[r[n]];return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.pseudos[r[n]]="numeric";return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.pseudos[r[n]];return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.ruleNestingOperators[r[n]]=!0;return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.ruleNestingOperators[r[n]];return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)this.attrEqualityMods[r[n]]=!0;return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++)delete this.attrEqualityMods[r[n]];return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return n.renderEntity(e).trim()},e}();e.CssSelectorParser=r})),En=le((function(e,r){!function(){var e={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":a(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){t.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==t)return t;if(void 0!==n)return n;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),e.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!==r&&r.exports?r.exports=e:globalThis.doT=e;var i={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},o=/$^/;function u(e,t,n){return("string"==typeof t?t:t.toString()).replace(e.define||o,(function(t,r,a,i){return 0===r.indexOf("def.")&&(r=r.substring(4)),r in n||(":"===a?(e.defineParams&&i.replace(e.defineParams,(function(e,t,a){n[r]={arg:t,text:a}})),r in n||(n[r]=i)):new Function("def","def['"+r+"']="+i)(n)),""})).replace(e.use||o,(function(t,r){e.useParams&&(r=r.replace(e.useParams,(function(e,t,r,a){if(n[r]&&n[r].arg&&a){var i=(r+":"+a).replace(/'|\\/g,"_");return n.__exp=n.__exp||{},n.__exp[i]=n[r].text.replace(new RegExp("(^|[^\\w$])"+n[r].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+i+"']"}})));var a=new Function("def","return "+r)(n);return a?u(e,a,n):a}))}function s(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}e.template=function(t,n,r){var a,l,c=(n=n||e.templateSettings).append?i.append:i.split,d=0,f=n.use||n.define?u(n,t,r||{}):t;f=("var out='"+(n.strip?f.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):f).replace(/'|\\/g,"\\$&").replace(n.interpolate||o,(function(e,t){return c.start+s(t)+c.end})).replace(n.encode||o,(function(e,t){return a=!0,c.startencode+s(t)+c.end})).replace(n.conditional||o,(function(e,t,n){return t?n?"';}else if("+s(n)+"){out+='":"';}else{out+='":n?"';if("+s(n)+"){out+='":"';}out+='"})).replace(n.iterate||o,(function(e,t,n,r){return t?(d+=1,l=r||"i"+d,t=s(t),"';var arr"+d+"="+t+";if(arr"+d+"){var "+n+","+l+"=-1,l"+d+"=arr"+d+".length-1;while("+l+"<l"+d+"){"+n+"=arr"+d+"["+l+"+=1];out+='"):"';} } out+='"})).replace(n.evaluate||o,(function(e,t){return"';"+s(t)+"out+='"}))+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(n.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=e.encodeHTMLSource(n.doNotSkipEncoded)),f="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+e.encodeHTMLSource.toString()+"("+(n.doNotSkipEncoded||"")+"));"+f);try{return new Function(n.varname,f)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+f),e}},e.compile=function(t,n){return e.template(t,null,n)}}()})),xn=le((function(e,t){t.exports=function(){}})),An=le((function(e,t){var n=xn()();t.exports=function(e){return e!==n&&null!==e}})),Cn=le((function(e,t){var n=An(),r=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return r.call(arguments,(function(e){n(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)})),t}})),kn=le((function(e,t){t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}})),Rn=le((function(e,t){t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}})),Sn=le((function(e,t){t.exports=kn()()?Math.sign:Rn()})),Tn=le((function(e,t){var n=Sn(),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}})),Mn=le((function(e,t){var n=Tn(),r=Math.max;t.exports=function(e){return r(0,n(e))}})),On=le((function(e,t){var n=Mn();t.exports=function(e,t,r){var a;return isNaN(e)?(a=t)>=0?r&&a?a-1:a:1:!1!==e&&n(e)}})),Nn=le((function(e,t){t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),jn=le((function(e,t){var n=An();t.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}})),Bn=le((function(e,t){var n=Nn(),r=jn(),a=Function.prototype.bind,i=Function.prototype.call,o=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=o(s),f&&c.sort("function"==typeof f?a.call(f,s):void 0),"function"!=typeof e&&(e=c[e]),i.call(e,c,(function(e,n){return u.call(s,e)?i.call(l,d,s[e],e,s,n):t}))}}})),_n=le((function(e,t){t.exports=Bn()("forEach")})),In=le((function(){})),qn=le((function(e,t){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")}})),Pn=le((function(e,t){t.exports=function(){try{return!0}catch(e){return!1}}})),$n=le((function(e,t){var n=An(),r=Object.keys;t.exports=function(e){return r(n(e)?Object(e):e)}})),zn=le((function(e,t){t.exports=Pn()()?Object.keys:$n()})),Ln=le((function(e,t){var n=zn(),r=jn(),a=Math.max;t.exports=function(e,t){var i,o,u,s=a(arguments.length,2);for(e=Object(r(e)),u=function(n){try{e[n]=t[n]}catch(e){i||(i=e)}},o=1;o<s;++o)n(t=arguments[o]).forEach(u);if(void 0!==i)throw i;return e}})),Gn=le((function(e,t){t.exports=qn()()?Object.assign:Ln()})),Hn=le((function(e,t){var n=An(),r={function:!0,object:!0};t.exports=function(e){return n(e)&&r[a(e)]||!1}})),Un=le((function(e,t){var n=Gn(),r=Hn(),a=An(),i=Error.captureStackTrace;t.exports=function(e){var o=new Error(e),u=arguments[1],s=arguments[2];return a(s)||r(u)&&(s=u,u=null),a(s)&&n(o,s),a(u)&&(o.code=u),i&&i(o,t.exports),o}})),Vn=le((function(e,t){var n=jn(),r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols;t.exports=function(e,t){var u,s=Object(n(t));if(e=Object(n(e)),i(s).forEach((function(n){try{r(e,n,a(t,n))}catch(e){u=e}})),"function"==typeof o&&o(s).forEach((function(n){try{r(e,n,a(t,n))}catch(e){u=e}})),void 0!==u)throw u;return e}})),Kn=le((function(e,t){var n,r,a,i,o,u=Mn(),s=function(e,t){return t};try{Object.defineProperty(s,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===s.length?(n={configurable:!0,writable:!1,enumerable:!1},r=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(n.value=t,r(e,"length",n))}):(i=Vn(),o=[],a=function(e){var t,n=0;if(o[e])return o[e];for(t=[];e--;)t.push("a"+(++n).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var n;if(t=u(t),e.length===t)return e;n=a(t)(e);try{i(n,e)}catch(e){}return n})})),Wn=le((function(e,t){t.exports=function(e){return null!=e}})),Yn=le((function(e,t){var n=Wn(),r={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!n(e)&&hasOwnProperty.call(r,a(e))}})),Zn=le((function(e,t){var n=Yn();t.exports=function(e){if(!n(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),Xn=le((function(e,t){var n=Zn();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!n(e)}})),Jn=le((function(e,t){var n=Xn(),r=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!n(e)&&!r.test(a.call(e))}})),Qn=le((function(e,t){var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&!0===n.contains("dwa")&&!1===n.contains("foo")}})),er=le((function(e,t){var n=String.prototype.indexOf;t.exports=function(e){return n.call(this,e,arguments[1])>-1}})),tr=le((function(e,t){t.exports=Qn()()?String.prototype.contains:er()})),nr=le((function(e,t){var n=Wn(),r=Jn(),a=Gn(),i=Cn(),o=tr(),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=o.call(e,"c"),u=o.call(e,"e"),s=o.call(e,"w")):(r=s=!0,u=!1),c={value:t,configurable:r,enumerable:u,writable:s},l?a(i(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=o.call(e,"c"),l=o.call(e,"e")):(s=!0,l=!1),d={get:t,set:u,configurable:s,enumerable:l},c?a(i(c),d):d}})),rr=le((function(e,t){var n,r,i,o,u,s,l,c=nr(),d=Nn(),f=Function.prototype.apply,h=Function.prototype.call,p=Object.create,m=Object.defineProperty,v=Object.defineProperties,b=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var r,a;return d(t),a=this,n.call(this,e,r=function(){i.call(a,e,r),f.call(t,this,arguments)}),r.__eeOnceListener__=t,this},i=function(e,t){var n,r,i,o;if(d(t),!b.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"===a(r=n[e]))for(o=0;i=r[o];++o)i!==t&&i.__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,i,o;if(b.call(this,"__ee__")&&(i=this.__ee__[e]))if("object"===a(i)){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(i=i.slice(),t=0;r=i[t];++t)f.call(r,this,o)}else switch(arguments.length){case 1:h.call(i,this);break;case 2:h.call(i,this,arguments[1]);break;case 3:h.call(i,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];f.call(i,this,o)}},u={on:n=function(e,t){var n;return d(t),b.call(this,"__ee__")?n=this.__ee__:(n=g.value=p(null),m(this,"__ee__",g),g.value=null),n[e]?"object"===a(n[e])?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:r,off:i,emit:o},s={on:c(n),once:c(r),off:c(i),emit:c(o)},l=v({},s),t.exports=e=function(e){return null==e?p(l):v(Object(e),s)},e.methods=u})),ar=le((function(e,t){t.exports=function(){var e,t,n=Array.from;return"function"==typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),ir=le((function(e,t){t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":a(globalThis))&&!!globalThis&&globalThis.Array===Array}})),or=le((function(e,n){var r=function(){if("object"===("undefined"==typeof self?"undefined":a(self))&&self)return self;if("object"===(void 0===t?"undefined":a(t))&&t)return t;throw new Error("Unable to resolve global `this`")};n.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()})),ur=le((function(e,t){t.exports=ir()()?globalThis:or()})),sr=le((function(e,t){var n=ur(),r={object:!0,symbol:!0};t.exports=function(){var e=n.Symbol;return"function"==typeof e&&(e("test symbol"),!!r[a(e.iterator)]&&!!r[a(e.toPrimitive)]&&!!r[a(e.toStringTag)])}})),lr=le((function(e,t){t.exports=function(e){return!!e&&("symbol"===a(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}})),cr=le((function(e,t){var n=lr();t.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}})),dr=le((function(e,t){var n=nr(),r=Object.defineProperty,a=Object.prototype,i=(0,Object.create)(null);t.exports=function(e){for(var t,o,u=0;i[e+(u||"")];)++u;return i[e+=u||""]=!0,r(a,t="@@"+e,n.gs(null,(function(e){o||(o=!0,r(this,t,n(e)),o=!1)}))),t}})),fr=le((function(e,t){var n=nr(),r=ur().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:n("",r&&r.hasInstance||e("hasInstance")),isConcatSpreadable:n("",r&&r.isConcatSpreadable||e("isConcatSpreadable")),iterator:n("",r&&r.iterator||e("iterator")),match:n("",r&&r.match||e("match")),replace:n("",r&&r.replace||e("replace")),search:n("",r&&r.search||e("search")),species:n("",r&&r.species||e("species")),split:n("",r&&r.split||e("split")),toPrimitive:n("",r&&r.toPrimitive||e("toPrimitive")),toStringTag:n("",r&&r.toStringTag||e("toStringTag")),unscopables:n("",r&&r.unscopables||e("unscopables"))})}})),hr=le((function(e,t){var n=nr(),r=cr(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:n((function(t){return a[t]?a[t]:a[t]=e(String(t))})),keyFor:n((function(e){var t;for(t in r(e),a)if(a[t]===e)return t}))})}})),pr=le((function(e,t){var n,r,i,o=nr(),u=cr(),s=ur().Symbol,l=dr(),c=fr(),d=hr(),f=Object.create,h=Object.defineProperties,p=Object.defineProperty;if("function"==typeof s)try{String(s()),i=!0}catch(e){}else s=null;r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return n(e)},t.exports=n=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return i?s(t):(n=f(r.prototype),t=void 0===t?"":String(t),h(n,{__description__:o("",t),__name__:o("",l(t))}))},c(n),d(n),h(r.prototype,{constructor:o(n),toString:o("",(function(){return this.__name__}))}),h(n.prototype,{toString:o((function(){return"Symbol ("+u(this).__description__+")"})),valueOf:o((function(){return u(this)}))}),p(n.prototype,n.toPrimitive,o("",(function(){var e=u(this);return"symbol"===a(e)?e:e.toString()}))),p(n.prototype,n.toStringTag,o("c","Symbol")),p(r.prototype,n.toStringTag,o("c",n.prototype[n.toStringTag])),p(r.prototype,n.toPrimitive,o("c",n.prototype[n.toPrimitive]))})),mr=le((function(e,t){t.exports=sr()()?ur().Symbol:pr()})),vr=le((function(e,t){var n=Object.prototype.toString,r=n.call(function(){return arguments}());t.exports=function(e){return n.call(e)===r}})),br=le((function(e,t){var n=Object.prototype.toString,r=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&r(n.call(e))}})),gr=le((function(e,t){var n=Object.prototype.toString,r=n.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===a(e)&&(e instanceof String||n.call(e)===r)||!1}})),yr=le((function(e,t){var n=mr().iterator,r=vr(),a=br(),i=Mn(),o=Nn(),u=jn(),s=An(),l=gr(),c=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},h=Object.defineProperty;t.exports=function(e){var t,p,m,v,b,g,y,D,w,F,E=arguments[1],x=arguments[2];if(e=Object(u(e)),s(E)&&o(E),this&&this!==Array&&a(this))t=this;else{if(!E){if(r(e))return 1!==(b=e.length)?Array.apply(null,e):((v=new Array(1))[0]=e[0],v);if(c(e)){for(v=new Array(b=e.length),p=0;p<b;++p)v[p]=e[p];return v}}v=[]}if(!c(e))if(void 0!==(w=e[n])){for(y=o(w).call(e),t&&(v=new t),D=y.next(),p=0;!D.done;)F=E?d.call(E,x,D.value,p):D.value,t?(f.value=F,h(v,p,f)):v[p]=F,D=y.next(),++p;b=p}else if(l(e)){for(b=e.length,t&&(v=new t),p=0,m=0;p<b;++p)F=e[p],p+1<b&&(g=F.charCodeAt(0))>=55296&&g<=56319&&(F+=e[++p]),F=E?d.call(E,x,F,m):F,t?(f.value=F,h(v,m,f)):v[m]=F,++m;b=m}if(void 0===b)for(b=i(e.length),t&&(v=new t(b)),p=0;p<b;++p)F=E?d.call(E,x,e[p],p):e[p],t?(f.value=F,h(v,p,f)):v[p]=F;return t&&(f.value=null,v.length=b),v}})),Dr=le((function(e,t){t.exports=ar()()?Array.from:yr()})),wr=le((function(e,t){var n=Dr(),r=Array.isArray;t.exports=function(e){return r(e)?e:n(e)}})),Fr=le((function(e,t){var n,r=wr(),a=An(),i=Nn(),o=Array.prototype.slice;n=function(e){return this.map((function(t,n){return t?t(e[n]):e[n]})).concat(o.call(e,this.length))},t.exports=function(e){return(e=r(e)).forEach((function(e){a(e)&&i(e)})),n.bind(e)}})),Er=le((function(e,t){var n=Nn();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:n(e.get)},void 0!==e.set?(t.set=n(e.set),e.delete&&(t.delete=n(e.delete)),e.clear&&(t.clear=n(e.clear)),t):(t.set=t.get,t))}})),xr=le((function(e,t){var n=Un(),r=Kn(),a=nr(),i=rr().methods,o=Fr(),u=Er(),s=Function.prototype.apply,l=Function.prototype.call,c=Object.create,d=Object.defineProperties,f=i.on,h=i.emit;t.exports=function(e,t,i){var p,m,v,b,g,y,D,w,F,E,x,A,C,k,R,S=c(null);return m=!1!==t?t:isNaN(e.length)?1:e.length,i.normalizer&&(E=u(i.normalizer),v=E.get,b=E.set,g=E.delete,y=E.clear),null!=i.resolvers&&(R=o(i.resolvers)),k=v?r((function(t){var r,a,i=arguments;if(R&&(i=R(i)),null!==(r=v(i))&&hasOwnProperty.call(S,r))return x&&p.emit("get",r,i,this),S[r];if(a=1===i.length?l.call(e,this,i[0]):s.call(e,this,i),null===r){if(null!==(r=v(i)))throw n("Circular invocation","CIRCULAR_INVOCATION");r=b(i)}else if(hasOwnProperty.call(S,r))throw n("Circular invocation","CIRCULAR_INVOCATION");return S[r]=a,A&&p.emit("set",r,null,a),a}),m):0===t?function(){var t;if(hasOwnProperty.call(S,"data"))return x&&p.emit("get","data",arguments,this),S.data;if(t=arguments.length?s.call(e,this,arguments):l.call(e,this),hasOwnProperty.call(S,"data"))throw n("Circular invocation","CIRCULAR_INVOCATION");return S.data=t,A&&p.emit("set","data",null,t),t}:function(t){var r,a,i=arguments;if(R&&(i=R(arguments)),a=String(i[0]),hasOwnProperty.call(S,a))return x&&p.emit("get",a,i,this),S[a];if(r=1===i.length?l.call(e,this,i[0]):s.call(e,this,i),hasOwnProperty.call(S,a))throw n("Circular invocation","CIRCULAR_INVOCATION");return S[a]=r,A&&p.emit("set",a,null,r),r},p={original:e,memoized:k,profileName:i.profileName,get:function(e){return R&&(e=R(e)),v?v(e):String(e[0])},has:function(e){return hasOwnProperty.call(S,e)},delete:function(e){var t;hasOwnProperty.call(S,e)&&(g&&g(e),t=S[e],delete S[e],C&&p.emit("delete",e,t))},clear:function(){var e=S;y&&y(),S=c(null),p.emit("clear",e)},on:function(e,t){return"get"===e?x=!0:"set"===e?A=!0:"delete"===e&&(C=!0),f.call(this,e,t)},emit:h,updateEnv:function(){e=p.original}},D=v?r((function(e){var t,n=arguments;R&&(n=R(n)),null!==(t=v(n))&&p.delete(t)}),m):0===t?function(){return p.delete("data")}:function(e){return R&&(e=R(arguments)[0]),p.delete(e)},w=r((function(){var e,n=arguments;return 0===t?S.data:(R&&(n=R(n)),e=v?v(n):String(n[0]),S[e])})),F=r((function(){var e,n=arguments;return 0===t?p.has("data"):(R&&(n=R(n)),null!==(e=v?v(n):String(n[0]))&&p.has(e))})),d(k,{__memoized__:a(!0),delete:a(D),clear:a(p.clear),_get:a(w),_has:a(F)}),p}})),Ar=le((function(e,t){var n=Nn(),r=_n(),a=In(),i=xr(),o=On();t.exports=function e(t){var u,s,l;if(n(t),(u=Object(arguments[1])).async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!u.force?t:(s=o(u.length,t.length,u.async&&a.async),l=i(t,s,u),r(a,(function(e,t){u[t]&&e(u[t],l,u)})),e.__profiler__&&e.__profiler__(l),l.updateEnv(),l.memoized)}})),Cr=le((function(e,t){t.exports=function(e){var t,n,r=e.length;if(!r)return"";for(t=String(e[n=0]);--r;)t+=""+e[++n];return t}})),kr=le((function(e,t){t.exports=function(e){return e?function(t){for(var n=String(t[0]),r=0,a=e;--a;)n+=""+t[++r];return n}:function(){return""}}})),Rr=le((function(e,t){t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}})),Sr=le((function(e,t){t.exports=function(e){return e!=e}})),Tr=le((function(e,t){t.exports=Rr()()?Number.isNaN:Sr()})),Mr=le((function(e,t){var n=Tr(),r=Mn(),a=jn(),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,u=Math.abs,s=Math.floor;t.exports=function(e){var t,l,c;if(!n(e))return i.apply(this,arguments);for(l=r(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?s(c):r(this.length)-s(u(c));t<l;++t)if(o.call(this,t)&&n(this[t]))return t;return-1}})),Or=le((function(e,t){var n=Mr(),r=Object.create;t.exports=function(){var e=0,t=[],a=r(null);return{get:function(e){var r,a=0,i=t,o=e.length;if(0===o)return i[o]||null;if(i=i[o]){for(;a<o-1;){if(-1===(r=n.call(i[0],e[a])))return null;i=i[1][r],++a}return-1===(r=n.call(i[0],e[a]))?null:i[1][r]||null}return null},set:function(r){var i,o=0,u=t,s=r.length;if(0===s)u[s]=++e;else{for(u[s]||(u[s]=[[],[]]),u=u[s];o<s-1;)-1===(i=n.call(u[0],r[o]))&&(i=u[0].push(r[o])-1,u[1].push([[],[]])),u=u[1][i],++o;-1===(i=n.call(u[0],r[o]))&&(i=u[0].push(r[o])-1),u[1][i]=++e}return a[e]=r,e},delete:function(e){var r,i=0,o=t,u=a[e],s=u.length,l=[];if(0===s)delete o[s];else if(o=o[s]){for(;i<s-1;){if(-1===(r=n.call(o[0],u[i])))return;l.push(o,r),o=o[1][r],++i}if(-1===(r=n.call(o[0],u[i])))return;for(e=o[1][r],o[0].splice(r,1),o[1].splice(r,1);!o[0].length&&l.length;)r=l.pop(),(o=l.pop())[0].splice(r,1),o[1].splice(r,1)}delete a[e]},clear:function(){t=[],a=r(null)}}}})),Nr=le((function(e,t){var n=Mr();t.exports=function(){var e=0,t=[],r=[];return{get:function(e){var a=n.call(t,e[0]);return-1===a?null:r[a]},set:function(n){return t.push(n[0]),r.push(++e),e},delete:function(e){var a=n.call(r,e);-1!==a&&(t.splice(a,1),r.splice(a,1))},clear:function(){t=[],r=[]}}}})),jr=le((function(e,t){var n=Mr(),r=Object.create;t.exports=function(e){var t=0,a=[[],[]],i=r(null);return{get:function(t){for(var r,i=0,o=a;i<e-1;){if(-1===(r=n.call(o[0],t[i])))return null;o=o[1][r],++i}return-1===(r=n.call(o[0],t[i]))?null:o[1][r]||null},set:function(r){for(var o,u=0,s=a;u<e-1;)-1===(o=n.call(s[0],r[u]))&&(o=s[0].push(r[u])-1,s[1].push([[],[]])),s=s[1][o],++u;return-1===(o=n.call(s[0],r[u]))&&(o=s[0].push(r[u])-1),s[1][o]=++t,i[t]=r,t},delete:function(t){for(var r,o=0,u=a,s=[],l=i[t];o<e-1;){if(-1===(r=n.call(u[0],l[o])))return;s.push(u,r),u=u[1][r],++o}if(-1!==(r=n.call(u[0],l[o]))){for(t=u[1][r],u[0].splice(r,1),u[1].splice(r,1);!u[0].length&&s.length;)r=s.pop(),(u=s.pop())[0].splice(r,1),u[1].splice(r,1);delete i[t]}},clear:function(){a=[[],[]],i=r(null)}}}})),Br=le((function(e,t){var n=Nn(),r=_n(),a=Function.prototype.call;t.exports=function(e,t){var i={},o=arguments[2];return n(t),r(e,(function(e,n,r,u){i[n]=a.call(t,o,e,n,r,u)})),i}})),_r=le((function(e,t){var n=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},i=function(e){var t,a,i=r.createTextNode(""),o=0;return new e((function(){var e;if(t)a&&(t=a.concat(t));else{if(!a)return;t=a}if(a=t,t=null,"function"==typeof a)return e=a,a=null,void e();for(i.data=o=++o%2;a;)e=a.shift(),a.length||(a=null),e()})).observe(i,{characterData:!0}),function(e){n(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,i.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":a(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(n(e))};if("object"===(void 0===r?"undefined":a(r))&&r){if("function"==typeof MutationObserver)return i(MutationObserver);if("function"==typeof WebKitMutationObserver)return i(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(n(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":a(setTimeout))?function(e){setTimeout(n(e),0)}:null}()})),Ir=le((function(){var e=Dr(),t=Br(),n=Vn(),r=Kn(),a=_r(),i=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;In().async=function(s,l){var c,d,f,h=u(null),p=u(null),m=l.memoized,v=l.original;l.memoized=r((function(e){var t=arguments,n=t[t.length-1];return"function"==typeof n&&(c=n,t=i.call(t,0,-1)),m.apply(d=this,f=t)}),m);try{n(l.memoized,m)}catch(e){}l.on("get",(function(e){var t,n,r;if(c){if(h[e])return"function"==typeof h[e]?h[e]=[h[e],c]:h[e].push(c),void(c=null);t=c,n=d,r=f,c=d=f=null,a((function(){var a;hasOwnProperty.call(p,e)?(a=p[e],l.emit("getasync",e,r,n),o.call(t,a.context,a.args)):(c=t,d=n,f=r,m.apply(n,r))}))}})),l.original=function(){var t,n,r,i;return c?(t=e(arguments),n=function t(n){var r,u,s=t.id;if(null!=s){if(delete t.id,r=h[s],delete h[s],r)return u=e(arguments),l.has(s)&&(n?l.delete(s):(p[s]={context:this,args:u},l.emit("setasync",s,"function"==typeof r?1:r.length))),"function"==typeof r?i=o.call(r,this,u):r.forEach((function(e){i=o.call(e,this,u)}),this),i}else a(o.bind(t,this,arguments))},r=c,c=d=f=null,t.push(n),i=o.call(v,this,t),n.cb=r,c=n,i):o.call(v,this,arguments)},l.on("set",(function(e){c?(h[e]?"function"==typeof h[e]?h[e]=[h[e],c.cb]:h[e].push(c.cb):h[e]=c.cb,delete c.cb,c.id=e,c=null):l.delete(e)})),l.on("delete",(function(e){var t;hasOwnProperty.call(h,e)||p[e]&&(t=p[e],delete p[e],l.emit("deleteasync",e,i.call(t.args,1)))})),l.on("clear",(function(){var e=p;p=u(null),l.emit("clearasync",t(e,(function(e){return i.call(e.args,1)})))}))}})),qr=le((function(e,t){var n=Array.prototype.forEach,r=Object.create;t.exports=function(e){var t=r(null);return n.call(arguments,(function(e){t[e]=!0})),t}})),Pr=le((function(e,t){t.exports=function(e){return"function"==typeof e}})),$r=le((function(e,t){var n=Pr();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),zr=le((function(e,t){var n=jn(),r=$r();t.exports=function(e){return r(n(e))}})),Lr=le((function(e,t){var n=Pr();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),Gr=le((function(e,t){var n=Lr(),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)}))}})),Hr=le((function(e,t){function n(e){return!!e&&("object"===a(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=n,t.exports.default=n})),Ur=le((function(){var e=Br(),t=qr(),n=zr(),r=Gr(),a=Hr(),i=_r(),o=Object.create,u=t("then","then:finally","done","done:finally");In().promise=function(t,s){var l=o(null),c=o(null),d=o(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 o=!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(o)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(){o=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},h=t;if(h||(h="then"),"then"===h){var p=function(){i(f)};"function"==typeof(r=r.then((function(e){i(u.bind(this,e))}),p)).finally&&r.finally(p)}else if("done"===h){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"===h){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{var o=function(){s.emit("getasync",e,t,n)};a(r=d[e])?"function"==typeof r.done?r.done(o):r.then((function(){i(o)})):o()}})),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=o(null),l=o(null),d=o(null),s.emit("clearasync",e(t,(function(e){return[e]})))}))}})),Vr=le((function(){var e=Nn(),t=_n(),n=In(),r=Function.prototype.apply;n.dispose=function(a,i,o){var u;if(e(a),o.async&&n.async||o.promise&&n.promise)return i.on("deleteasync",u=function(e,t){r.call(a,null,t)}),void i.on("clearasync",(function(e){t(e,(function(e,t){u(t,e)}))}));i.on("delete",u=function(e,t){a(t)}),i.on("clear",(function(e){t(e,(function(e,t){u(t,e)}))}))}})),Kr=le((function(e,t){t.exports=2147483647})),Wr=le((function(e,t){var n=Mn(),r=Kr();t.exports=function(e){if((e=n(e))>r)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),Yr=le((function(){var e=Dr(),t=_n(),n=_r(),r=Hr(),a=Wr(),i=In(),o=Function.prototype,u=Math.max,s=Math.min,l=Object.create;i.maxAge=function(c,d,f){var h,p,m,v;(c=a(c))&&(h=l(null),d.on("set"+(p=f.async&&i.async||f.promise&&i.promise?"async":""),(function(e){h[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof h[e].unref&&h[e].unref(),v&&(v[e]&&"nextTick"!==v[e]&&clearTimeout(v[e]),v[e]=setTimeout((function(){delete v[e]}),m),"function"==typeof v[e].unref&&v[e].unref())})),d.on("delete"+p,(function(e){clearTimeout(h[e]),delete h[e],v&&("nextTick"!==v[e]&&clearTimeout(v[e]),delete v[e])})),f.preFetch&&(m=!0===f.preFetch||isNaN(f.preFetch)?.333:u(s(Number(f.preFetch),1),0))&&(v={},m=(1-m)*c,d.on("get"+p,(function(t,a,i){v[t]||(v[t]="nextTick",n((function(){var n;"nextTick"===v[t]&&(delete v[t],d.delete(t),f.async&&(a=e(a)).push(o),n=d.memoized.apply(i,a),f.promise&&r(n)&&("function"==typeof n.done?n.done(o,o):n.then(o,o)))})))}))),d.on("clear"+p,(function(){t(h,(function(e){clearTimeout(e)})),h={},v&&(t(v,(function(e){"nextTick"!==e&&clearTimeout(e)})),v={})})))}})),Zr=le((function(e,t){var n=Mn(),r=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,i=0,o=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(++i<=e)return;return t(n=u[o]),n}if(delete u[r],o===r)for(;!a.call(u,++o););},delete:t=function(e){var t=s[e];if(t&&(delete u[t],delete s[e],--i,o===t)){if(!i)return l=0,void(o=1);for(;!a.call(u,++o););}},clear:function(){i=0,o=1,u=r(null),s=r(null),l=0}}}})),Xr=le((function(){var e=Mn(),t=Zr(),n=In();n.max=function(r,a,i){var o,u,s;(r=e(r))&&(u=t(r),a.on("set"+(o=i.async&&n.async||i.promise&&n.promise?"async":""),s=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+o,s),a.on("delete"+o,u.delete),a.on("clear"+o,u.clear))}})),Jr=le((function(){var e=nr(),t=In(),n=Object.create,r=Object.defineProperties;t.refCounter=function(a,i,o){var u,s;u=n(null),i.on("set"+(s=o.async&&t.async||o.promise&&t.promise?"async":""),(function(e,t){u[e]=t||1})),i.on("get"+s,(function(e){++u[e]})),i.on("delete"+s,(function(e){delete u[e]})),i.on("clear"+s,(function(){u={}})),r(i.memoized,{deleteRef:e((function(){var e=i.get(arguments);return null===e?null:u[e]?! --u[e]&&(i.delete(e),!0):null})),getRefCount:e((function(){var e=i.get(arguments);return null===e?0:u[e]?u[e]:0}))})}})),Qr=le((function(e,t){var n=Cn(),r=On(),a=Ar();t.exports=function(e){var t,i=n(arguments[1]);return i.normalizer||0!==(t=i.length=r(i.length,e.length,i.async))&&(i.primitive?!1===t?i.normalizer=Cr():t>1&&(i.normalizer=kr()(t)):i.normalizer=!1===t?Or()():1===t?Nr()():jr()(t)),i.async&&Ir(),i.promise&&Ur(),i.dispose&&Vr(),i.maxAge&&Yr(),i.max&&Xr(),i.refCounter&&Jr(),a(e,i)}})),ea={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};[{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;ea[t]=n,ea[t+"_PRIO"]=r,ea[t+"_GROUP"]=a,ea.results[r]=n,ea.resultGroups[r]=a,ea.resultGroupMap[n]=a})),Object.freeze(ea.results),Object.freeze(ea.resultGroups),Object.freeze(ea.resultGroupMap),Object.freeze(ea);var ta=ea,na=function(){"object"===("undefined"==typeof console?"undefined":a(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},ra=/[\t\r\n\f]/g,aa=W((function e(){V(this,e),this.parent=void 0}),[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var n=" "+e+" ";return(" "+t+" ").replace(ra," ").indexOf(n)>=0}}]),ia={};ce(ia,{DqElement:function(){return fs},RuleError:function(){return Em},aggregate:function(){return oa},aggregateChecks:function(){return fa},aggregateNodeResults:function(){return pa},aggregateResult:function(){return va},areStylesSet:function(){return ba},assert:function(){return ga},checkHelper:function(){return hs},clone:function(){return ps},closest:function(){return Ts},collectResultsFromFrames:function(){return Cl},contains:function(){return kl},convertSelector:function(){return ks},cssParser:function(){return bs},deepMerge:function(){return Rl},escapeSelector:function(){return Da},extendMetaData:function(){return Sl},filterHtmlAttrs:function(){return bm},finalizeRuleResult:function(){return ha},findBy:function(){return El},getAllChecks:function(){return Fl},getAncestry:function(){return ns},getBaseLang:function(){return np},getCheckMessage:function(){return dp},getCheckOption:function(){return fp},getElementSource:function(){return ss},getEnvironmentData:function(){return hp},getFlattenedTree:function(){return Jh},getFrameContexts:function(){return Ap},getFriendlyUriEnd:function(){return xa},getNodeAttributes:function(){return Aa},getNodeFromTree:function(){return us},getPreloadConfig:function(){return fm},getRootNode:function(){return Nl},getRule:function(){return Cp},getScroll:function(){return Rp},getScrollState:function(){return Tp},getSelector:function(){return Qu},getSelectorData:function(){return Ku},getShadowSelector:function(){return qu},getStandards:function(){return Mp},getStyleSheetFactory:function(){return Np},getXpath:function(){return as},injectStyle:function(){return jp},isArrayLike:function(){return Bp},isContextObject:function(){return qp},isContextProp:function(){return Pp},isContextSpec:function(){return Ip},isHidden:function(){return Lp},isHtmlElement:function(){return Gp},isLabelledFramesSelector:function(){return $p},isLabelledShadowDomSelector:function(){return zp},isNodeInContext:function(){return Hp},isShadowRoot:function(){return Ml},isValidLang:function(){return Om},isXHTML:function(){return Iu},matchAncestry:function(){return Vp},matches:function(){return gs},matchesExpression:function(){return Ss},matchesSelector:function(){return Ca},memoize:function(){return _u},mergeResults:function(){return Al},nodeLookup:function(){return Wp},nodeSerializer:function(){return wl},nodeSorter:function(){return Kp},objectHasOwn:function(){return _p},parseCrossOriginStylesheet:function(){return Xp},parseSameOriginStylesheet:function(){return Yp},parseStylesheet:function(){return Zp},parseTabindex:function(){return Jp},performanceTimer:function(){return em},pollyfillElementsFromPoint:function(){return tm},preload:function(){return cm},preloadCssom:function(){return im},preloadMedia:function(){return lm},processMessage:function(){return cp},publishMetaData:function(){return hm},querySelectorAll:function(){return mm},querySelectorAllFilter:function(){return am},queue:function(){return Bs},respondable:function(){return pl},ruleShouldRun:function(){return vm},select:function(){return ym},sendCommandToFrame:function(){return vl},serializeError:function(){return wm},setScrollState:function(){return xm},shadowSelect:function(){return Am},shadowSelectAll:function(){return km},shouldPreload:function(){return dm},toArray:function(){return ya},tokenList:function(){return Uh},uniqueArray:function(){return nm},uuid:function(){return Xs},validInputTypes:function(){return Sm},validLangs:function(){return Mm}});var oa=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()]},ua=ta.CANTTELL_PRIO,sa=ta.FAIL_PRIO,la=[];la[ta.PASS_PRIO]=!0,la[ta.CANTTELL_PRIO]=null,la[ta.FAIL_PRIO]=!1;var ca=["any","all","none"];function da(e,t){return ca.reduce((function(n,r){return n[r]=(e[r]||[]).map((function(e){return t(e,r)})),n}),{})}var fa=function(e){var t=Object.assign({},e);da(t,(function(e,t){var n=void 0===e.result?-1:la.indexOf(e.result);e.priority=-1!==n?n:ta.CANTTELL_PRIO,"none"===t&&(e.priority===ta.PASS_PRIO?e.priority=ta.FAIL_PRIO:e.priority===ta.FAIL_PRIO&&(e.priority=ta.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 ca.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)}))})),t.impact=[ua,sa].includes(t.priority)?oa(ta.impact,r):null,da(t,(function(e){delete e.result,delete e.priority})),t.result=ta.results[t.priority],delete t.priority,t};function ha(e){var t=i._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,pa(e.nodes)),delete e.nodes,e}var pa=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return fa(e);if(Array.isArray(e.node))return ha(e);throw new TypeError("Invalid Result type")})))&&e.length){var n=e.map((function(e){return e.result}));t.result=oa(ta.results,n,t.result)}else t.result="inapplicable";ta.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){t[ta.resultGroupMap[e.result]].push(e)}));var r=ta.FAIL_GROUP;if(0===t[r].length&&(r=ta.CANTTELL_GROUP),t[r].length>0){var a=t[r].map((function(e){return e.impact}));t.impact=oa(ta.impact,a)||null}else t.impact=null;return t};function ma(e,t,n){var r=Object.assign({},t);r.nodes=(r[n]||[]).concat(),ta.resultGroups.forEach((function(e){delete r[e]})),e[n].push(r)}var va=function(e){var t={};return ta.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?ma(t,e,ta.CANTTELL_GROUP):e.result===ta.NA?ma(t,e,ta.NA_GROUP):ta.resultGroups.forEach((function(n){Array.isArray(e[n])&&e[n].length>0&&ma(t,e,n)}))})),t},ba=function e(n,r,a){var i=t.getComputedStyle(n,null);if(!i)return!1;for(var o=0;o<r.length;++o){var u=r[o];if(i.getPropertyValue(u.property)===u.value)return!0}return!(!n.parentNode||n.nodeName.toUpperCase()===a.toUpperCase())&&e(n.parentNode,r,a)},ga=function(e,t){if(!e)throw new Error(t)},ya=function(e){return Array.prototype.slice.call(e)},Da=function(e){for(var t,n=String(e),r=n.length,a=-1,i="",o=n.charCodeAt(0);++a<r;)0!=(t=n.charCodeAt(a))?i+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==o?"\\"+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):i+="�";return i};function wa(e,t){return[e.substring(0,t),e.substring(t)]}function Fa(e){return e.replace(/\s+$/,"")}var Ea,xa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var n=t.currentDomain,r=t.maxLength,a=void 0===r?25:r,i=function(e){var t=e,n="",r="",a="",i="",o="";if(e.includes("#")){var u=G(wa(e,e.indexOf("#")),2);e=u[0],o=u[1]}if(e.includes("?")){var s=G(wa(e,e.indexOf("?")),2);e=s[0],i=s[1]}if(e.includes("://")){var l=G(e.split("://"),2);n=l[0];var c=G(wa(e=l[1],e.indexOf("/")),2);r=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=G(wa(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=G(wa(r,r.indexOf(":")),2);r=f[0],a=f[1]}return{original:t,protocol:n,domain:r,port:a,path:e,query:i,hash:o}}(e),o=i.path,u=i.domain,s=i.hash,l=o.substr(o.substr(0,o.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=a?Fa(l+s):l.length<2&&s.length>2&&s.length<=a?Fa(s):void 0;if(u&&u.length<a&&o.length<=1)return Fa(u+o);if(o==="/"+l&&u&&n&&u!==n&&(u+o).length<=a)return Fa(u+o);var c=l.lastIndexOf(".");return(-1===c||c>1)&&(-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)?Fa(l):void 0}},Aa=function(e){return e.attributes instanceof t.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Ca=function(e,t){return Ea&&e[Ea]||(Ea=function(e){var t,n,r=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=r.length;for(t=0;t<a;t++)if(e[n=r[t]])return n}(e)),!!e[Ea]&&e[Ea](t)},ka={};ce(ka,{ArrayFrom:function(){return Bu.default},Colorjs:function(){return Tu},CssSelectorParser:function(){return Na.CssSelectorParser},doT:function(){return ja.default},emojiRegexText:function(){return Ba},memoize:function(){return _a.default}});var Ra=de(he()),Sa=de(pe());de(me());var Ta=de(pt()),Ma=de(Ot()),Oa=de(gn());"hasOwn"in Object||(Object.hasOwn=Ta.default),"values"in Object||(Object.values=Ma.default),"Promise"in t||Ra.default.polyfill(),"Uint32Array"in t||(t.Uint32Array=Sa.Uint32Array),t.Uint32Array&&("some"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,a=arguments[1],i=0;i<r;i++)if(e.call(a,t=n[i],i,n))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n=Object(this),r=n.length>>>0,a=0;a<r;a++)if(e.call(t,n[a],a,n))return a;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),n=parseInt(t.length,10)||0;if(0===n)return!1;var r,a,i=parseInt(arguments[1],10)||0;for(i>=0?r=i:(r=n+i)<0&&(r=0);r<n;){if(e===(a=t[r])||e!=e&&a!=a)return!0;r++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),n=t.length>>>0,r=arguments.length>=2?arguments[1]:void 0,a=0;a<n;a++)if(a in t&&e.call(r,t[a],a,t))return!0;return!1}}),Array.from||(Array.from=Oa.default),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.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}),t.Node&&!("isConnected"in t.Node.prototype)&&Object.defineProperty(t.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Na=de(Fn()),ja=de(En()),Ba=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},_a=de(Qr());function Ia(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]}))})),i=e.map((function(e){return a.map((function(t){var n=0;if(!Array.isArray(e)){var r,a=Z(t);try{for(a.s();!(r=a.n()).done;)n+=e*r.value}catch(e){a.e(e)}finally{a.f()}return n}for(var i=0;i<e.length;i++)n+=e[i]*(t[i]||0);return n}))}));return 1===n&&(i=i[0]),1===r?i.map((function(e){return e[0]})):i}function qa(e){return"string"===Pa(e)}function Pa(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function $a(e,t){e=+e,t=+t;var n=(Math.floor(e)+"").length;if(t>n)return+e.toFixed(t-n);var r=Math.pow(10,n-t);return Math.round(e/r)*r}function za(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="<percentage>":/deg$/.test(n)?((n=new Number(+n.slice(0,-3))).type="<angle>",n.unit="deg"):t.test(n)&&((n=new Number(n)).type="<number>"),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 La(e){return e[e.length-1]}function Ga(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function Ha(e,t,n){return(n-e)/(t-e)}function Ua(e,t,n){return Ga(t[0],t[1],Ha(e[0],e[1],n))}function Va(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 Ka=Object.freeze({__proto__:null,isString:qa,type:Pa,toPrecision:$a,parseFunction:za,last:La,interpolate:Ga,interpolateInv:Ha,mapRange:Ua,parseCoordGrammar:Va,multiplyMatrices:Ia}),Wa=W((function e(){V(this,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)}))}}]),Ya=new Wa,Za={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Xa={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function Ja(e){return Array.isArray(e)?e:Xa[e]}function Qa(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=Ja(e),t=Ja(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(Ya.run("chromatic-adaptation-start",a),a.M||(a.W1===Xa.D65&&a.W2===Xa.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Xa.D50&&a.W2===Xa.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Ya.run("chromatic-adaptation-end",a),a.M)return Ia(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var ei=(e=new WeakSet,T=new WeakMap,W((function t(n){var r,a,i,o,u,s,l;V(this,t),q(this,e),I(this,T,void 0),this.id=n.id,this.name=n.name,this.base=n.base?ei.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var c=null!==(r=n.coords)&&void 0!==r?r:this.base.coords;this.coords=c;var d=null!==(a=null!==(i=n.white)&&void 0!==i?i:this.base.white)&&void 0!==a?a:"D65";for(var f in this.white=Ja(d),this.formats=null!==(o=n.formats)&&void 0!==o?o:{},this.formats){var h=this.formats[f];h.type||(h.type="function"),h.name||(h.name=f)}!n.cssId||null!==(u=this.formats.functions)&&void 0!==u&&u.color?null===(s=this.formats)||void 0===s||!s.color||null!==(l=this.formats)&&void 0!==l&&l.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,z(T,this,L(e,this,ni).call(this).reverse()),Ya.run("colorspace-init-end",this)}),[{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 i=G(a.range,2),o=i[0],u=i[1];return(void 0===o||e>=o-n)&&(void 0===u||e<=u+n)}return!0}))}},{key:"cssId",get:function(){var e;return(null===(e=this.formats.functions)||void 0===e||null===(e=e.color)||void 0===e?void 0:e.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===a(t)?t=L(e,this,ti).call(this,t):(n="default"===t?Object.values(this.formats)[0]:this.formats[t])?n=L(e,this,ti).call(this,n):null;var n}},{key:"to",value:function(e,t){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],t=n[1]}if(this===(e=ei.get(e)))return t;t=t.map((function(e){return Number.isNaN(e)?0:e}));for(var r,a,i=$(T,this),o=$(T,e),u=0;u<i.length&&i[u]===o[u];u++)r=i[u],a=u;if(!r)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var s=i.length-1;s>a;s--)t=i[s].toBase(t);for(var l=a+1;l<o.length;l++)t=o[l].fromBase(t);return t}},{key:"from",value:function(e,t){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],t=n[1]}return(e=ei.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var n,r=this.coords[t],a=r.range||r.refRange;e.push(null!==(n=null==a?void 0:a.min)&&void 0!==n?n:0)}return e}}],[{key:"all",get:function(){return B(new Set(Object.values(ei.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var n,r=Z(t.aliases);try{for(r.s();!(n=r.n()).done;)this.register(n.value,t)}catch(e){r.e(e)}finally{r.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof ei)return e;if("string"===Pa(e)){var t=ei.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];if(r.length)return ei.get.apply(ei,r);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var n,r,a=Pa(e);if("string"===a)if(e.includes(".")){var i=G(e.split("."),2);n=i[0],r=i[1]}else n=void 0,r=e;else if(Array.isArray(e)){var o=G(e,2);n=o[0],r=o[1]}else n=e.space,r=e.coordId;if((n=ei.get(n))||(n=t),!n)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(a=Pa(r))||"string"===a&&r>=0){var u=Object.entries(n.coords)[r];if(u)return j({space:n,id:u[0],index:r},u[1])}n=ei.get(n);var s=r.toLowerCase(),l=0;for(var c in n.coords){var d,f=n.coords[c];if(c.toLowerCase()===s||(null===(d=f.name)||void 0===d?void 0:d.toLowerCase())===s)return j({space:n,id:c,index:l},f);l++}throw new TypeError('No "'.concat(r,'" coordinate found in ').concat(n.name,". Its coordinates are: ").concat(Object.keys(n.coords).join(", ")))}}]));function ti(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Va(e.coords);var t=Object.entries(this.coords).map((function(t,n){var r=G(t,2)[1],a=e.coordGrammar[n][0],i=a.range,o="";return"<percentage>"==a?(i=[0,100],o="%"):"<angle>"==a&&(o="deg"),{fromRange:r.range||r.refRange,toRange:i,suffix:o}}));e.serializeCoords=function(e,n){return e.map((function(e,r){var a=t[r],i=a.fromRange,o=a.toRange,u=a.suffix;return i&&o&&(e=Ua(i,o,e)),e=$a(e,n),u&&(e+=u),e}))}}return e}function ni(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var ri=ei;fe(ri,"registry",{}),fe(ri,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ai=new ri({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"]}),ii=function(e){function t(e){var n,r,a,i;return V(this,t),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=ai),e.toXYZ_M&&e.fromXYZ_M&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var n=Ia(e.toXYZ_M,t);return r.white!==r.base.white&&(n=Qa(r.white,r.base.white,n)),n}),null!==(i=e.fromBase)&&void 0!==i||(e.fromBase=function(t){return t=Qa(r.base.white,r.white,t),Ia(e.fromXYZ_M,t)})),null!==(n=e.referred)&&void 0!==n||(e.referred="display"),r=S(this,t,[e])}return O(t,e),W(t)}(ri);function oi(e){var t,n={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Ya.run("parse-start",n),n.color)return n.color;if(n.parsed=za(n.str),n.parsed){var r=n.parsed.name;if("color"===r){var a,i=n.parsed.args.shift(),o=n.parsed.rawArgs.indexOf("/")>0?n.parsed.args.pop():1,u=Z(ri.all);try{var s,l=function(){var e,t=a.value,r=t.getFormat("color");if(r&&(i===r.id||null!==(e=r.ids)&&void 0!==e&&e.includes(i))){var u=Object.keys(t.coords).length,s=Array(u).fill(0);return s.forEach((function(e,t){return s[t]=n.parsed.args[t]||0})),{v:{spaceId:t.id,coords:s,alpha:o}}}};for(u.s();!(a=u.n()).done;)if(s=l())return s.v}catch(e){u.e(e)}finally{u.f()}var c="";if(i in ri.registry){var d,f=null===(d=ri.registry[i].formats)||void 0===d||null===(d=d.functions)||void 0===d||null===(d=d.color)||void 0===d?void 0:d.id;f&&(c="Did you mean color(".concat(f,")?"))}throw new TypeError("Cannot parse color(".concat(i,"). ")+(c||"Missing a plugin?"))}var h,p=Z(ri.all);try{var m,v=function(){var e=h.value,t=e.getFormat(r);if(t&&"function"===t.type){var a=1;(t.lastAlpha||La(n.parsed.args).alpha)&&(a=n.parsed.args.pop());var i=n.parsed.args;return t.coordGrammar&&Object.entries(e.coords).forEach((function(e,n){var a,o=G(e,2),u=o[0],s=o[1],l=t.coordGrammar[n],c=null===(a=i[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(r,"()"))}var f=l.range;"<percentage>"===c&&(f||(f=[0,1]));var h=s.range||s.refRange;f&&h&&(i[n]=Ua(f,h,i[n]))})),{v:{spaceId:e.id,coords:i,alpha:a}}}};for(p.s();!(h=p.n()).done;)if(m=v())return m.v}catch(e){p.e(e)}finally{p.f()}}else{var b,g=Z(ri.all);try{for(g.s();!(b=g.n()).done;){var y=b.value;for(var D in y.formats){var w=y.formats[D];if("custom"===w.type&&(!w.test||w.test(n.str))){var F,E=w.parse(n.str);if(E)return null!==(F=E.alpha)&&void 0!==F||(E.alpha=1),E}}}}catch(e){g.e(e)}finally{g.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function ui(e){if(!e)throw new TypeError("Empty color reference");qa(e)&&(e=oi(e));var t=e.space||e.spaceId;return t instanceof ri||(e.space=ri.get(t)),void 0===e.alpha&&(e.alpha=1),e}function si(e,t){return(t=ri.get(t)).from(e)}function li(e,t){var n=ri.resolveCoord(t,e.space),r=n.index;return si(e,n.space)[r]}function ci(e,t,n){return t=ri.get(t),e.coords=t.to(e.space,n),e}function di(e,t,n){if(e=ui(e),2===arguments.length&&"object"===Pa(arguments[1])){var r=arguments[1];for(var a in r)di(e,a,r[a])}else{"function"==typeof n&&(n=n(li(e,t)));var i=ri.resolveCoord(t,e.space),o=i.space,u=i.index,s=si(e,o);s[u]=n,ci(e,o,s)}return e}var fi=new ri({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ai,fromBase:function(e){return Qa(ai.white,"D50",e)},toBase:function(e){return Qa("D50",ai.white,e)},formats:{color:{}}}),hi=216/24389,pi=24/116,mi=24389/27,vi=Xa.D50,bi=new ri({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:vi,base:fi,fromBase:function(e){var t=e.map((function(e,t){return e/vi[t]})),n=t.map((function(e){return e>hi?Math.cbrt(e):(mi*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]>pi?Math.pow(t[0],3):(116*t[0]-16)/mi,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/mi,t[2]>pi?Math.pow(t[2],3):(116*t[2]-16)/mi].map((function(e,t){return e*vi[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function gi(e){return(e%360+360)%360}var yi=new ri({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:bi,fromBase:function(e){var t,n=G(e,3),r=n[0],a=n[1],i=n[2];return t=Math.abs(a)<.02&&Math.abs(i)<.02?NaN:180*Math.atan2(i,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),gi(t)]},toBase:function(e){var t=G(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:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Di=Math.pow(25,7),wi=Math.PI,Fi=180/wi,Ei=wi/180;function xi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.kL,a=void 0===r?1:r,i=n.kC,o=void 0===i?1:i,u=n.kH,s=void 0===u?1:u,l=G(bi.from(e),3),c=l[0],d=l[1],f=l[2],h=yi.from(bi,[c,d,f])[1],p=G(bi.from(t),3),m=p[0],v=p[1],b=p[2],g=yi.from(bi,[m,v,b])[1];h<0&&(h=0),g<0&&(g=0);var y=Math.pow((h+g)/2,7),D=.5*(1-Math.sqrt(y/(y+Di))),w=(1+D)*d,F=(1+D)*v,E=Math.sqrt(Math.pow(w,2)+Math.pow(f,2)),x=Math.sqrt(Math.pow(F,2)+Math.pow(b,2)),A=0===w&&0===f?0:Math.atan2(f,w),C=0===F&&0===b?0:Math.atan2(b,F);A<0&&(A+=2*wi),C<0&&(C+=2*wi);var k,R=m-c,S=x-E,T=(C*=Fi)-(A*=Fi),M=A+C,O=Math.abs(T);E*x==0?k=0:O<=180?k=T:T>180?k=T-360:T<-180?k=T+360:console.log("the unthinkable has happened");var N,j=2*Math.sqrt(x*E)*Math.sin(k*Ei/2),B=(c+m)/2,_=(E+x)/2,I=Math.pow(_,7);N=E*x==0?M:O<=180?M/2:M<360?(M+360)/2:(M-360)/2;var q=Math.pow(B-50,2),P=1+.015*q/Math.sqrt(20+q),$=1+.045*_,z=1;z-=.17*Math.cos((N-30)*Ei),z+=.24*Math.cos(2*N*Ei),z+=.32*Math.cos((3*N+6)*Ei);var L=1+.015*_*(z-=.2*Math.cos((4*N-63)*Ei)),H=30*Math.exp(-1*Math.pow((N-275)/25,2)),U=2*Math.sqrt(I/(I+Di)),V=-1*Math.sin(2*H*Ei)*U,K=Math.pow(R/(a*P),2);return K+=Math.pow(S/(o*$),2),K+=Math.pow(j/(s*L),2),K+=V*(S/(o*$))*(j/(s*L)),Math.sqrt(K)}function Ai(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?75e-6:n;e=ui(e),t=ri.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:r})}function Ci(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function ki(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.method,r=void 0===n?Za.gamut_mapping:n,a=t.space,i=void 0===a?e.space:a;if(qa(arguments[1])&&(i=arguments[1]),Ai(e,i=ri.get(i),{epsilon:0}))return e;var o=Ri(e,i);if("clip"!==r&&!Ai(e,i)){var u=ki(Ci(o),{method:"clip",space:i});if(xi(e,u)>2){for(var s=ri.resolveCoord(r),l=s.id,c=Ri(o,s.space),d=(s.range||s.refRange)[0],f=li(c,l);f-d>.01;){var h=Ci(c);xi(c,h=ki(h,{space:i,method:"clip"}))-2<.01?d=li(c,l):f=li(c,l),di(c,l,(d+f)/2)}o=Ri(c,i)}else o=u}if("clip"===r||!Ai(o,i,{epsilon:0})){var p=Object.values(i.coords).map((function(e){return e.range||[]}));o.coords=o.coords.map((function(e,t){var n=G(p[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 i!==e.space&&(o=Ri(o,e.space)),e.coords=o.coords,e}function Ri(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=ui(e);var r=(t=ri.get(t)).from(e),a={space:t,coords:r,alpha:e.alpha};return n&&(a=ki(a)),a}function Si(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=a.precision,u=void 0===i?Za.precision:i,s=a.format,l=void 0===s?"default":s,c=a.inGamut,d=void 0===c||c,f=R(a,o),h=l;l=null!==(t=null!==(n=(e=ui(e)).space.getFormat(l))&&void 0!==n?n:e.space.getFormat("default"))&&void 0!==t?t:ri.DEFAULT_FORMAT,d||(d=l.toGamut);var p=e.coords;if(p=p.map((function(e){return e||0})),d&&!Ai(e)&&(p=ki(Ci(e),!0===d?void 0:d).coords),"custom"===l.type){if(f.precision=u,!l.serialize)throw new TypeError("format ".concat(h," can only be used to parse colors, not for serialization"));r=l.serialize(p,e.alpha,f)}else{var m=l.name||"color";l.serializeCoords?p=l.serializeCoords(p,u):null!==u&&(p=p.map((function(e){return $a(e,u)})));var v=B(p);if("color"===m){var b,g=l.id||(null===(b=l.ids)||void 0===b?void 0:b[0])||e.space.id;v.unshift(g)}var y=e.alpha;null!==u&&(y=$a(y,u));var D=e.alpha<1&&!l.noAlpha?"".concat(l.commas?",":" /"," ").concat(y):"";r="".concat(m,"(").concat(v.join(l.commas?", ":" ")).concat(D,")")}return r}ki.returns="color",Ri.returns="color";var Ti=new ii({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:{}}}),Mi=1.09929682680944,Oi=.018053968510807,Ni=new ii({id:"rec2020",name:"REC.2020",base:Ti,toBase:function(e){return e.map((function(e){return e<4.5*Oi?e/4.5:Math.pow((e+Mi-1)/Mi,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=Oi?Mi*Math.pow(e,.45)-(Mi-1):4.5*e}))},formats:{color:{}}}),ji=new ii({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]]}),Bi=new ii({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:{}}}),_i={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]},Ii=Array(3).fill("<percentage> | <number>[0, 255]"),qi=Array(3).fill("<number>[0, 255]"),Pi=new ii({id:"srgb",name:"sRGB",base:Bi,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:Ii},rgb_number:{name:"rgb",commas:!0,coords:qi,noAlpha:!0},color:{},rgba:{coords:Ii,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:qi},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=_i.black,t.alpha=0):t.coords=_i[e],t.coords)return t}}}}),$i=new ii({id:"p3",name:"P3",base:ji,fromBase:Pi.fromBase,toBase:Pi.toBase,formats:{color:{id:"display-p3"}}});if(Za.display_space=Pi,"undefined"!=typeof CSS&&null!==(M=CSS)&&void 0!==M&&M.supports)for(var zi=0,Li=[bi,Ni,$i];zi<Li.length;zi++){var Gi=Li[zi],Hi=Gi.getMinCoords(),Ui=Si({space:Gi,coords:Hi,alpha:1});if(CSS.supports("color",Ui)){Za.display_space=Gi;break}}function Vi(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.space,a=void 0===r?Za.display_space:r,i=R(n,u),o=Si(e,i);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",o)||!Za.display_space)(o=new String(o)).color=e;else{var s=Ri(e,a);(o=new String(Si(s,i))).color=s}return o}function Ki(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",r=(n=ri.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 Wi(e){return li(e,[ai,"y"])}function Yi(e,t){di(e,[ai,"y"],t)}var Zi=Object.freeze({__proto__:null,getLuminance:Wi,setLuminance:Yi,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Wi(this)},set:function(e){Yi(this,e)}})}});function Xi(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function Ji(e){var t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}var Qi=216/24389,eo=24/116,to=24389/27,no=Xa.D65,ro=new ri({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:no,base:ai,fromBase:function(e){var t=e.map((function(e,t){return e/no[t]})),n=t.map((function(e){return e>Qi?Math.cbrt(e):(to*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]>eo?Math.pow(t[0],3):(116*t[0]-16)/to,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/to,t[2]>eo?Math.pow(t[2],3):(116*t[2]-16)/to].map((function(e,t){return e*no[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ao=.5*Math.pow(5,.5)+.5,io=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=ui(e),t=ui(t);var n=Math.max(Wi(e),0),r=Math.max(Wi(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;t=ui(t),e=ui(e);var i=G((t=Ri(t,"srgb")).coords,3);r=i[1],a=i[2];var o=.2126729*Ji(i[0])+.7151522*Ji(r)+.072175*Ji(a),u=G((e=Ri(e,"srgb")).coords,3);r=u[1],a=u[2];var s=.2126729*Ji(u[0])+.7151522*Ji(r)+.072175*Ji(a),l=Xi(o),c=Xi(s),d=c>l;return n=Math.abs(c-l)<5e-4?0:d?1.14*(Math.pow(c,.56)-Math.pow(l,.57)):1.14*(Math.pow(c,.65)-Math.pow(l,.62)),100*(Math.abs(n)<.1?0:n>0?n-.027:n+.027)},contrastMichelson:function(e,t){e=ui(e),t=ui(t);var n=Math.max(Wi(e),0),r=Math.max(Wi(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}var i=n+r;return 0===i?0:(n-r)/i},contrastWeber:function(e,t){e=ui(e),t=ui(t);var n=Math.max(Wi(e),0),r=Math.max(Wi(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=ui(e),t=ui(t);var n=li(e,[bi,"l"]),r=li(t,[bi,"l"]);return Math.abs(n-r)},contrastDeltaPhi:function(e,t){e=ui(e),t=ui(t);var n=li(e,[ro,"l"]),r=li(t,[ro,"l"]),a=Math.abs(Math.pow(n,ao)-Math.pow(r,ao)),i=Math.pow(a,1/ao)*Math.SQRT2-40;return i<7.5?0:i}});function oo(e){var t=G(si(e,ai),3),n=t[0],r=t[1],a=n+15*r+3*t[2];return[4*n/a,9*r/a]}function uo(e){var t=G(si(e,ai),3),n=t[0],r=t[1],a=n+r+t[2];return[n/a,r/a]}var so=Object.freeze({__proto__:null,uv:oo,xy:uo,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return oo(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return uo(this)}})}}),lo=Math.PI/180,co=new ri({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:ai,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)}))}}),fo=1.15,ho=.66,po=2610/Math.pow(2,14),mo=Math.pow(2,14)/2610,vo=3424/Math.pow(2,12),bo=2413/Math.pow(2,7),go=2392/Math.pow(2,7),yo=1.7*2523/Math.pow(2,5),Do=Math.pow(2,5)/(1.7*2523),wo=-.56,Fo=16295499532821565e-27,Eo=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],xo=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Ao=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Co=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],ko=new ri({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:co,fromBase:function(e){var t=G(e,3),n=t[0],r=t[2],a=Ia(Eo,[fo*n-(fo-1)*r,ho*t[1]-(ho-1)*n,r]).map((function(e){var t=vo+bo*Math.pow(e/1e4,po),n=1+go*Math.pow(e/1e4,po);return Math.pow(t/n,yo)})),i=G(Ia(Ao,a),3),o=i[0];return[(1+wo)*o/(1+wo*o)-Fo,i[1],i[2]]},toBase:function(e){var t=G(e,3),n=t[0],r=Ia(Co,[(n+Fo)/(1+wo-wo*(n+Fo)),t[1],t[2]]).map((function(e){var t=vo-Math.pow(e,Do),n=go*Math.pow(e,Do)-bo;return 1e4*Math.pow(t/n,mo)})),a=G(Ia(xo,r),3),i=a[2],o=(a[0]+(fo-1)*i)/fo;return[o,(a[1]+(ho-1)*o)/ho,i]},formats:{color:{}}}),Ro=new ri({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:ko,fromBase:function(e){var t,n=G(e,3),r=n[0],a=n[1],i=n[2],o=2e-4;return t=Math.abs(a)<o&&Math.abs(i)<o?NaN:180*Math.atan2(i,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),gi(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}}),So=.8359375,To=2413/128,Mo=18.6875,Oo=2610/16384,No=16384/2610,jo=32/2523,Bo=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],_o=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Io=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],qo=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],Po=new ri({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:co,fromBase:function(e){return t=Ia(Bo,e),n=t.map((function(e){var t=So+To*Math.pow(e/1e4,Oo),n=1+Mo*Math.pow(e/1e4,Oo);return Math.pow(t/n,78.84375)})),Ia(_o,n);var t,n},toBase:function(e){var t=function(e){return Ia(Io,e).map((function(e){var t=Math.max(Math.pow(e,jo)-So,0),n=To-Mo*Math.pow(e,jo);return 1e4*Math.pow(t/n,No)}))}(e);return Ia(qo,t)},formats:{color:{}}}),$o=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],zo=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],Lo=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],Go=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],Ho=new ri({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:ai,fromBase:function(e){var t=Ia($o,e).map((function(e){return Math.cbrt(e)}));return Ia(Lo,t)},toBase:function(e){var t=Ia(Go,e).map((function(e){return Math.pow(e,3)}));return Ia(zo,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}}),Uo=Object.freeze({__proto__:null,deltaE76:function(e,t){return Ki(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,i=n.c,o=void 0===i?1:i,u=G(bi.from(e),3),s=u[0],l=u[1],c=u[2],d=G(yi.from(bi,[s,l,c]),3),f=d[1],h=d[2],p=G(bi.from(t),3),m=p[0],v=p[1],b=p[2],g=yi.from(bi,[m,v,b])[1];f<0&&(f=0),g<0&&(g=0);var y=s-m,D=f-g,w=c-b,F=Math.pow(l-v,2)+Math.pow(w,2)-Math.pow(D,2),E=.511;s>=16&&(E=.040975*s/(1+.01765*s));var x,A=.0638*f/(1+.0131*f)+.638;Number.isNaN(h)&&(h=0),x=h>=164&&h<=345?.56+Math.abs(.2*Math.cos((h+168)*lo)):.36+Math.abs(.4*Math.cos((h+35)*lo));var C=Math.pow(f,4),k=Math.sqrt(C/(C+1900)),R=A*(k*x+1-k),S=Math.pow(y/(a*E),2);return S+=Math.pow(D/(o*A),2),S+=F/Math.pow(R,2),Math.sqrt(S)},deltaE2000:xi,deltaEJz:function(e,t){var n=G(Ro.from(e),3),r=n[0],a=n[1],i=n[2],o=G(Ro.from(t),3),u=o[1],s=o[2],l=r-o[0],c=a-u;Number.isNaN(i)&&Number.isNaN(s)?(i=0,s=0):Number.isNaN(i)?i=s:Number.isNaN(s)&&(s=i);var d=i-s,f=2*Math.sqrt(a*u)*Math.sin(d/2*(Math.PI/180));return Math.sqrt(Math.pow(l,2)+Math.pow(c,2)+Math.pow(f,2))},deltaEITP:function(e,t){var n=G(Po.from(e),3),r=n[0],a=n[1],i=n[2],o=G(Po.from(t),3),u=o[1],s=o[2];return 720*Math.sqrt(Math.pow(r-o[0],2)+.25*Math.pow(a-u,2)+Math.pow(i-s,2))},deltaEOK:function(e,t){var n=G(Ho.from(e),3),r=n[0],a=n[1],i=n[2],o=G(Ho.from(t),3),u=a-o[1],s=i-o[2];return Math.sqrt(Math.pow(r-o[0],2)+Math.pow(u,2)+Math.pow(s,2))}});function Vo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qa(n)&&(n={method:n});var r=n.method,a=void 0===r?Za.deltaE:r,i=R(n,l);for(var o in e=ui(e),t=ui(t),Uo)if("deltae"+a.toLowerCase()===o.toLowerCase())return Uo[o](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(a))}var Ko=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return di(e,[ri.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 di(e,[ri.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function Wo(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=[ui(e),ui(t)];if(e=a[0],t=a[1],"object"===Pa(n)){var i=[.5,n];n=i[0],r=i[1]}return Zo(e,t,{space:r.space,outputSpace:r.outputSpace,premultiplied:r.premultiplied})(n)}function Yo(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Xo(e)){r=t;var a=G((n=e).rangeArgs.colors,2);e=a[0],t=a[1]}var i=r.maxDeltaE,o=r.deltaEMethod,u=r.steps,s=void 0===u?2:u,l=r.maxSteps,d=void 0===l?1e3:l,f=R(r,c);if(!n){var h=[ui(e),ui(t)];n=Zo(e=h[0],t=h[1],f)}var p=Vo(e,t),m=i>0?Math.max(s,Math.ceil(p/i)+1):s,v=[];if(void 0!==d&&(m=Math.min(m,d)),1===m)v=[{p:.5,color:n(.5)}];else{var b=1/(m-1);v=Array.from({length:m},(function(e,t){var r=t*b;return{p:r,color:n(r)}}))}if(i>0)for(var g=v.reduce((function(e,t,n){if(0===n)return 0;var r=Vo(t.color,v[n-1].color,o);return Math.max(e,r)}),0);g>i;){g=0;for(var y=1;y<v.length&&v.length<d;y++){var D=v[y-1],w=v[y],F=(w.p+D.p)/2,E=n(F);g=Math.max(g,Vo(E,D.color),Vo(E,w.color)),v.splice(y,0,{p:F,color:n(F)}),y++}}return v=v.map((function(e){return e.color}))}function Zo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Xo(e)){var r=e,a=t;return Zo.apply(void 0,B(r.rangeArgs.colors).concat([j({},r.rangeArgs.options,a)]))}var i=n.space,o=n.outputSpace,u=n.progression,s=n.premultiplied;e=ui(e),t=ui(t),e=Ci(e),t=Ci(t);var l={colors:[e,t],options:n};if(i=i?ri.get(i):ri.registry[Za.interpolationSpace]||e.space,o=o?ri.get(o):i,e=Ri(e,i),t=Ri(t,i),e=ki(e),t=ki(t),i.coords.h&&"angle"===i.coords.h.type){var c=n.hue=n.hue||"shorter",d=[i,"h"],f=[li(e,d),li(t,d)],h=f[0],p=f[1],m=function(e,t){if("raw"===e)return t;var n=G(t.map(gi),2),r=n[0],a=n[1],i=a-r;return"increasing"===e?i<0&&(a+=360):"decreasing"===e?i>0&&(r+=360):"longer"===e?-180<i&&i<180&&(i>0?a+=360:r+=360):"shorter"===e&&(i>180?r+=360:i<-180&&(a+=360)),[r,a]}(c,[h,p]),v=G(m,2);p=v[1],di(e,d,h=v[0]),di(t,d,p)}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 Ga(e,t.coords[r],n)})),a=Ga(e.alpha,t.alpha,n),l={space:i,coords:r,alpha:a};return s&&(l.coords=l.coords.map((function(e){return e/a}))),o!==i&&(l=Ri(l,o)),l}),{rangeArgs:l})}function Xo(e){return"function"===Pa(e)&&!!e.rangeArgs}Za.interpolationSpace="lab";var Jo=Object.freeze({__proto__:null,mix:Wo,steps:Yo,range:Zo,isRange:Xo,register:function(e){e.defineFunction("mix",Wo,{returns:"color"}),e.defineFunction("range",Zo,{returns:"function<color>"}),e.defineFunction("steps",Yo,{returns:"array<color>"})}}),Qo=new ri({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:Pi,fromBase:function(e){var t=Math.max.apply(Math,B(e)),n=Math.min.apply(Math,B(e)),r=G(e,3),a=r[0],i=r[1],o=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=(i-o)/c+(i<o?6:0);break;case i:u=(o-a)/c+2;break;case o:u=(a-i)/c+4}u*=60}return[u,100*s,100*l]},toBase:function(e){var t=G(e,3),n=t[0],r=t[1],a=t[2];function i(e){var t=(e+n/30)%12,i=r*Math.min(a,1-a);return a-i*Math.max(-1,Math.min(t-3,9-t,1))}return(n%=360)<0&&(n+=360),r/=100,a/=100,[i(0),i(8),i(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),eu=new ri({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:Qo,fromBase:function(e){var t=G(e,3),n=t[0],r=t[1],a=t[2],i=(a/=100)+(r/=100)*Math.min(a,1-a);return[n,0===i?0:200*(1-a/i),100*i]},toBase:function(e){var t=G(e,3),n=t[1],r=t[2],a=(r/=100)*(1-(n/=100)/2);return[t[0],0===a||1===a?0:(r-a)/Math.min(a,1-a)*100,100*a]},formats:{color:{toGamut:!0}}}),tu=new ri({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:eu,fromBase:function(e){var t=G(e,3),n=t[2];return[t[0],n*(100-t[1])/100,100-n]},toBase:function(e){var t=G(e,3),n=t[0],r=t[1],a=t[2],i=(r/=100)+(a/=100);if(i>=1)return[n,0,r/i*100];var o=1-a;return[n,100*(0===o?0:1-r/o),100*o]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),nu=new ii({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]]}),ru=new ii({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:nu,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"}}}),au=new ii({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:fi,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]]}),iu=1/512,ou=new ii({id:"prophoto",name:"ProPhoto",base:au,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>=iu?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),uu=new ri({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:Ho,fromBase:function(e){var t,n=G(e,3),r=n[0],a=n[1],i=n[2],o=2e-4;return t=Math.abs(a)<o&&Math.abs(i)<o?NaN:180*Math.atan2(i,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(i,2)),gi(t)]},toBase:function(e){var t,n,r=G(e,3),a=r[0],i=r[1],o=r[2];return isNaN(o)?(t=0,n=0):(t=i*Math.cos(o*Math.PI/180),n=i*Math.sin(o*Math.PI/180)),[a,t,n]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),su=2610/Math.pow(2,14),lu=Math.pow(2,14)/2610,cu=2523/Math.pow(2,5),du=Math.pow(2,5)/2523,fu=3424/Math.pow(2,12),hu=2413/Math.pow(2,7),pu=2392/Math.pow(2,7),mu=new ii({id:"rec2100pq",name:"REC.2100-PQ",base:Ti,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,du)-fu,0)/(hu-pu*Math.pow(e,du)),lu)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),n=fu+hu*Math.pow(t,su),r=1+pu*Math.pow(t,su);return Math.pow(n/r,cu)}))},formats:{color:{id:"rec2100-pq"}}}),vu=.17883277,bu=.28466892,gu=.55991073,yu=3.7743,Du=new ii({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Ti,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*yu:Math.exp((e-gu)/vu+bu)/12*yu}))},fromBase:function(e){return e.map((function(e){return(e/=yu)<=1/12?Math.sqrt(3*e):vu*Math.log(12*e-bu)+gu}))},formats:{color:{id:"rec2100-hlg"}}}),wu={};function Fu(e){wu[e.id]=arguments[0]}function Eu(e,t){var n=wu[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],r=G(Ia(n.toCone_M,e),3),a=r[0],i=r[1],o=r[2],u=G(Ia(n.toCone_M,t),3),s=Ia([[u[0]/a,0,0],[0,u[1]/i,0],[0,0,u[2]/o]],n.toCone_M);return Ia(n.fromCone_M,s)}Ya.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=Eu(e.W1,e.W2,e.options.method))})),Ya.add("chromatic-adaptation-end",(function(e){e.M||(e.M=Eu(e.W1,e.W2,e.options.method))})),Fu({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]]}),Fu({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]]}),Fu({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]]}),Fu({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(Xa,{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]}),Xa.ACES=[.32168/.33767,1,.34065/.33767];var xu=new ii({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:Xa.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:{}}}),Au=Math.pow(2,-16),Cu=-.35828683,ku=(Math.log2(65504)+9.72)/17.52,Ru=new ii({id:"acescc",name:"ACEScc",coords:{r:{range:[Cu,ku],name:"Red"},g:{range:[Cu,ku],name:"Green"},b:{range:[Cu,ku],name:"Blue"}},referred:"scene",base:xu,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-Au):e<ku?Math.pow(2,17.52*e-9.72):65504}))},fromBase:function(e){return e.map((function(e){return e<=0?(Math.log2(Au)+9.72)/17.52:e<Au?(Math.log2(Au+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52}))},formats:{color:{}}}),Su=Object.freeze({__proto__:null,XYZ_D65:ai,XYZ_D50:fi,XYZ_ABS_D65:co,Lab_D65:ro,Lab:bi,LCH:yi,sRGB_Linear:Bi,sRGB:Pi,HSL:Qo,HWB:tu,HSV:eu,P3_Linear:ji,P3:$i,A98RGB_Linear:nu,A98RGB:ru,ProPhoto_Linear:au,ProPhoto:ou,REC_2020_Linear:Ti,REC_2020:Ni,OKLab:Ho,OKLCH:uu,Jzazbz:ko,JzCzHz:Ro,ICTCP:Po,REC_2100_PQ:mu,REC_2100_HLG:Du,ACEScg:xu,ACEScc:Ru}),Tu=(N=new WeakMap,W((function e(){var t,n,r,a,i=this;V(this,e),I(this,N,void 0);for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];1===u.length&&(t=ui(u[0])),t?(n=t.space||t.spaceId,r=t.coords,a=t.alpha):(n=u[0],r=u[1],a=u[2]),z(N,this,ri.get(n)),this.coords=r?r.slice():[0,0,0],this.alpha=a<1?a:1;for(var l=0;l<this.coords.length;l++)"NaN"===this.coords[l]&&(this.coords[l]=NaN);var c=function(e){Object.defineProperty(i,e,{get:function(){return i.get(e)},set:function(t){return i.set(e,t)}})};for(var d in $(N,this).coords)c(d)}),[{key:"space",get:function(){return $(N,this)}},{key:"spaceId",get:function(){return $(N,this).id}},{key:"clone",value:function(){return new Tu(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Vi.apply(void 0,[this].concat(t));return r.color=new Tu(r.color),r}}],[{key:"get",value:function(e){if(e instanceof Tu)return e;for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return k(Tu,[e].concat(n))}},{key:"defineFunction",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=n.instance,a=void 0===r||r,i=n.returns,o=function(){var e=t.apply(void 0,arguments);if("color"===i)e=Tu.get(e);else if("function<color>"===i){var n=e;e=function(){var e=n.apply(void 0,arguments);return Tu.get(e)},Object.assign(e,n)}else"array<color>"===i&&(e=e.map((function(e){return Tu.get(e)})));return e};e in Tu||(Tu[e]=o),a&&(Tu.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(e){for(var t in e)Tu.defineFunction(t,e[t],e[t])}},{key:"extend",value:function(e){if(e.register)e.register(Tu);else for(var t in e)Tu.defineFunction(t,e[t])}}]));Tu.defineFunctions({get:li,getAll:si,set:di,setAll:ci,to:Ri,equals:function(e,t){return e=ui(e),t=ui(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((function(e,n){return e===t.coords[n]}))},inGamut:Ai,toGamut:ki,distance:Ki,toString:Si}),Object.assign(Tu,{util:Ka,hooks:Ya,WHITES:Xa,Space:ri,spaces:ri.registry,parse:oi,defaults:Za});for(var Mu=0,Ou=Object.keys(Su);Mu<Ou.length;Mu++)ri.register(Su[Ou[Mu]]);for(var Nu in ri.registry)ju(Nu,ri.registry[Nu]);function ju(e,t){Object.values(t.coords).map((function(e){return e.name}));var n=e.replace(/-/g,"_");Object.defineProperty(Tu.prototype,n,{get:function(){var n=this,r=this.getAll(e);return"undefined"==typeof Proxy?r:new Proxy(r,{has:function(e,n){try{return ri.resolveCoord([t,n]),!0}catch(e){}return Reflect.has(e,n)},get:function(e,n,r){if(n&&"symbol"!==a(n)&&!(n in e)){var i=ri.resolveCoord([t,n]).index;if(i>=0)return e[i]}return Reflect.get(e,n,r)},set:function(r,i,o,u){if(i&&"symbol"!==a(i)&&!(i in r)||i>=0){var s=ri.resolveCoord([t,i]).index;if(s>=0)return r[s]=o,n.setAll(e,r),!0}return Reflect.set(r,i,o,u)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}Ya.add("colorspace-init-end",(function(e){var t;ju(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){ju(t,e)}))})),Tu.extend(Uo),Tu.extend({deltaE:Vo}),Tu.extend(Ko),Tu.extend({contrast:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qa(n)&&(n={algorithm:n});var r=n.algorithm,a=R(n,s);if(!r){var i=Object.keys(io).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 o in e=ui(e),t=ui(t),io)if("contrast"+r.toLowerCase()===o.toLowerCase())return io[o](e,t,a);throw new TypeError("Unknown contrast algorithm: ".concat(r))}}),Tu.extend(so),Tu.extend(Zi),Tu.extend(Jo),Tu.extend(io);var Bu=de(gn());ja.default.templateSettings.strip=!1,i._memoizedFns=[];var _u=function(e){var t=(0,_a.default)(e);return i._memoizedFns.push(t),t},Iu=_u((function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName}));function qu(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var a=t.getRootNode&&t.getRootNode()||r;if(11!==a.nodeType)return e(t,n,a);for(var i=[];11===a.nodeType;){if(!a.host)return"";i.unshift({elm:t,doc:a}),a=(t=a.host).getRootNode()}return i.unshift({elm:t,doc:a}),i.map((function(t){return e(t.elm,n,t.doc)}))}var Pu=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],$u=31,zu=/([\\"])/g,Lu=/(\r\n|\r|\n)/g;function Gu(e){return e.replace(zu,"\\$1").replace(Lu,"\\a ")}function Hu(e,t){var n,r=t.name;if(-1!==r.indexOf("href")||-1!==r.indexOf("src")){var a=xa(e.getAttribute(r));n=a?Da(t.name)+'$="'+Gu(a)+'"':Da(t.name)+'="'+Gu(e.getAttribute(r))+'"'}else n=Da(r)+'="'+Gu(t.value)+'"';return n}function Uu(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Vu(e){return!Pu.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<$u)}function Ku(e){for(var t={classes:{},tags:{},attributes:{}},n=(e=Array.isArray(e)?e:[e]).slice(),r=[],a=function(){var e=n.pop(),a=e.actualNode;if(a.querySelectorAll){var i=a.nodeName;t.tags[i]?t.tags[i]++:t.tags[i]=1,a.classList&&Array.from(a.classList).forEach((function(e){var n=Da(e);t.classes[n]?t.classes[n]++:t.classes[n]=1})),a.hasAttributes()&&Array.from(Aa(a)).filter(Vu).forEach((function(e){var n=Hu(a,e);n&&(t.attributes[n]?t.attributes[n]++:t.attributes[n]=1)}))}for(e.children.length&&(r.push(n),n=e.children.slice());!n.length&&r.length;)n=r.pop()};n.length;)a();return t}function Wu(e,t){var n=e.parentNode&&Array.from(e.parentNode.children||"")||[];return n.find((function(n){return n!==e&&Ca(n,t)}))?":nth-child("+(1+n.indexOf(e))+")":""}function Yu(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||r,n="#"+Da(e.getAttribute("id")||"");return n.match(/player_uid_/)||1!==t.querySelectorAll(n).length?void 0:n}}function Zu(e){var t=Iu(r);return Da(t?e.localName:e.nodeName.toLowerCase())}function Xu(e,t){var n,r="",a=function(e,t){var n=[],r=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach((function(t){var i=Da(t);r[i]<a[e.nodeName]&&n.push({name:i,count:r[i],species:"class"})})),n.sort(Uu)}(e,t),i=function(e,t){var n=[],r=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(Aa(e)).filter(Vu).forEach((function(t){var i=Hu(e,t);i&&r[i]<a[e.nodeName]&&n.push({name:i,count:r[i],species:"attribute"})})),n.sort(Uu)}(e,t);return a.length&&1===a[0].count?n=[a[0]]:i.length&&1===i[0].count?(n=[i[0]],r=Zu(e)):((n=a.concat(i)).sort(Uu),(n=n.slice(0,3)).some((function(e){return"class"===e.species}))?n.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):r=Zu(e)),r+n.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function Ju(e,t,n){if(!i._selectorData)throw new Error("Expect axe._selectorData to be set up");var r,a,o=t.toRoot,u=void 0!==o&&o;do{var s=Yu(e);s||(s=Xu(e,i._selectorData),s+=Wu(e,s)),r=r?s+" > "+r:s,a=!a||a.length>ta.selectorSimilarFilterLimit?es(n,r):a.filter((function(e){return Ca(e,r)})),e=e.parentElement}while((a.length>1||u)&&e&&11!==e.nodeType);return 1===a.length?r:-1!==r.indexOf(" > ")?":root"+r.substring(r.indexOf(" > ")):":root"}var Qu=_u((function(e,t){return qu(Ju,e,t)})),es=_u((function(e,t){return Array.from(e.querySelectorAll(t))}));function ts(e){var t=e.nodeName.toLowerCase(),n=e.parentElement,r=e.parentNode,a="";if("head"!==t&&"body"!==t&&(null==r?void 0:r.children.length)>1){var i=Array.prototype.indexOf.call(r.children,e)+1;a=":nth-child(".concat(i,")")}return n?ts(n)+" > "+t+a:t+a}function ns(e,t){return qu(ts,e,t)}function rs(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=rs(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 i=e.getAttribute&&Da(e.getAttribute("id"));i&&1===e.ownerDocument.querySelectorAll("#"+i).length&&(a.id=e.getAttribute("id")),r>1&&(a.count=r),t.push(a)}return t}var as=function(e){return rs(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,"]"):"")}),"")},is={},os={set:function(e,t){!function(e){ga("string"==typeof e,"key must be a string, "+a(e)+" given"),ga(""!==e,"key must not be empty")}(e),is[e]=t},get:function(e,t){if(function(e){ga("function"==typeof e||void 0===e,"creator must be a function or undefined, "+a(e)+" given")}(t),e in is)return is[e];if("function"==typeof t){var n=t();return ga(void 0!==n,"Cache creator function should not return undefined"),this.set(e,n),is[e]}},clear:function(){is={}}},us=function(e,t){var n=t||e;return os.get("nodeMap")?os.get("nodeMap").get(n):null};function ss(e){var n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=a.maxLength,o=void 0===i?300:i,u=a.attrLimit,s=void 0===u?20:u;if(!e)return"";if(1!==e.nodeType)return ls(null!==(n=e.nodeValue)&&void 0!==n?n:"",o);var l,c,d=((c=(l=e).outerHTML)||"function"!=typeof t.XMLSerializer||(c=(new t.XMLSerializer).serializeToString(l)),c||"");return d.length>o?function(e,t){var n=t.maxLength,a=t.attrLimit,i=Iu(e.ownerDocument||r)?e.nodeName:e.nodeName.toLowerCase(),o=Array.from(Aa(e)).map((function(e){return{name:e.name,value:e.value}})),u=o.reduce((function(e,t){return e+t.name.length+t.value.length+4}),0);2+i.length+u>n&&o.forEach((function(e){e.name=ls(e.name,a),e.value=ls(e.value,a)}));var s,l="<".concat(i),c=">",d=" ...>",f=Z(o);try{for(f.s();!(s=f.n()).done;){var h=s.value,p=" ".concat(h.name,'="').concat(h.value,'"');l.length+p.length>n-5?c=d:l+=p}}catch(e){f.e(e)}finally{f.f()}return l+c}(e,{maxLength:o,attrLimit:s}):d}function ls(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var cs="DqElm.RunOptions",ds=_u((function(e,t,n){var r,a,o,u;return null!=t||(t=null),null!=n||(n={}),t||(t=null!==(o=os.get(cs))&&void 0!==o?o:{}),this.spec=n,e instanceof aa?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=us(e)),this.fromFrame=(null===(r=this.spec.selector)||void 0===r?void 0:r.length)>1,this._includeElementInJson=t.elementRef,t.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(a=this._virtualNode)||void 0===a?void 0:a.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,i._audit.noHtml||(this.source=null!==(u=this.spec.source)&&void 0!==u?u:ss(this._element)),this}));ds.prototype={get selector(){return this.spec.selector||[Qu(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[ns(this.element)]},get xpath(){return this.spec.xpath||[as(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},ds.fromFrame=function(e,t,n){var r=ds.mergeSpecs(e,n);return new ds(n.element,t,r)},ds.mergeSpecs=function(e,t){return j({},e,{selector:[].concat(B(t.selector),B(e.selector)),ancestry:[].concat(B(t.ancestry),B(e.ancestry)),xpath:[].concat(B(t.xpath),B(e.xpath)),nodeIndexes:[].concat(B(t.nodeIndexes),B(e.nodeIndexes)),fromFrame:!0})},ds.setRunOptions=function(e){os.set(cs,{elementRef:e.elementRef,absolutePaths:e.absolutePaths})};var fs=ds,hs=function(e,n,r,a){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,r(e)):a(t)}},data:function(t){e.data=t},relatedNodes:function(n){t.Node&&(n=n instanceof t.Node||n instanceof aa?[n]:ya(n),e.relatedNodes=[],n.forEach((function(n){if(n instanceof aa&&(n=n.actualNode),n instanceof t.Node){var r=new fs(n);e.relatedNodes.push(r)}})))}}};function ps(e){return ms(e,new Map)}function ms(e,n){var r,i;if(null===e||"object"!==a(e))return e;if(null!==(r=t)&&void 0!==r&&r.Node&&e instanceof t.Node||null!==(i=t)&&void 0!==i&&i.HTMLCollection&&e instanceof t.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(n.has(e))return n.get(e);if(Array.isArray(e)){var o=[];return n.set(e,o),e.forEach((function(e){o.push(ms(e,n))})),o}var u={};for(var s in n.set(e,u),e)u[s]=ms(e[s],n);return u}var vs=new Na.CssSelectorParser;vs.registerSelectorPseudos("not"),vs.registerSelectorPseudos("is"),vs.registerNestingOperators(">"),vs.registerAttrEqualityMods("^","$","*","~");var bs=vs;function gs(e,t){return ks(t).some((function(t){return Ss(e,t)}))}function ys(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 Ss(n,e)}));if("is"===e.name)return e.expressions.some((function(e){return Ss(n,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var n,r}var Ds,ws=(Ds=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(Ds,"\\")}),Fs=/\\/g;function Es(e){if(e)return e.map((function(e){var t,n,r=e.name.replace(Fs,""),a=(e.value||"").replace(Fs,"");switch(e.operator){case"^=":n=new RegExp("^"+ws(a));break;case"$=":n=new RegExp(ws(a)+"$");break;case"~=":n=new RegExp("(^|\\s)"+ws(a)+"(\\s|$)");break;case"|=":n=new RegExp("^"+ws(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 xs(e){if(e)return e.map((function(e){return{value:e=e.replace(Fs,""),regexp:new RegExp("(^|\\s)"+ws(e)+"(\\s|$)")}}))}function As(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=Cs(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function Cs(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:Es(n.attrs),classes:xs(n.classNames),pseudos:As(n.pseudos)}),n=n.rule;return t}))}function ks(e){var t=bs.parse(e);return Cs(t=t.selectors?t.selectors:[t])}function Rs(e,t,n,r){if(!e)return!1;for(var a=Array.isArray(t)?t[n]:t,i=ys(e,a);!i&&r&&e.parent;)i=ys(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);i=i&&Rs(e.parent,t,n-1," "===a.combinator)}return i}function Ss(e,t,n){return Rs(e,t,t.length-1,n)}var Ts=function(e,t){for(;e;){if(gs(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 Ms(){}function Os(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Ns,js,Bs=function(){var e,t=[],n=0,r=0,i=Ms,o=!1,u=function(t){e=t,setTimeout((function(){null!=e&&na("Uncaught error (of queue)",e)}),1)},s=u;function l(e){return function(n){t[e]=n,(r-=1)||i===Ms||(o=!0,i(t))}}function c(e){return i=Ms,s(e),t}var d={defer:function(i){if("object"===a(i)&&i.then&&i.catch){var u=i;i=function(e,t){u.then(e).catch(t)}}if(Os(i),void 0===e){if(o)throw new Error("Queue already completed");return t.push(i),++r,function(){for(var e=t.length;n<e;n++){var r=t[n];try{r.call(null,l(n),c)}catch(e){c(e)}}}(),d}},then:function(n){if(Os(n),i!==Ms)throw new Error("queue `then` already set");return e||(i=n,r||(o=!0,i(t))),d},catch:function(t){if(Os(t),s!==u)throw new Error("queue `catch` already set");return e?(t(e),e=null):s=t,d},abort:c};return d},_s=t.crypto||t.msCrypto;if(!js&&_s&&_s.getRandomValues){var Is=new Uint8Array(16);js=function(){return _s.getRandomValues(Is),Is}}if(!js){var qs=new Array(16);js=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),qs[t]=e>>>((3&t)<<3)&255;return qs}}for(var Ps="function"==typeof t.Buffer?t.Buffer:Array,$s=[],zs={},Ls=0;Ls<256;Ls++)$s[Ls]=(Ls+256).toString(16).substr(1),zs[$s[Ls]]=Ls;function Gs(e,t){var n=t||0;return $s[e[n++]]+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]+"-"+$s[e[n++]]+$s[e[n++]]+"-"+$s[e[n++]]+$s[e[n++]]+"-"+$s[e[n++]]+$s[e[n++]]+"-"+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]+$s[e[n++]]}var Hs=js(),Us=[1|Hs[0],Hs[1],Hs[2],Hs[3],Hs[4],Hs[5]],Vs=16383&(Hs[6]<<8|Hs[7]),Ks=0,Ws=0;function Ys(e,t,n){var r=t&&n||0,a=t||[],i=null!=(e=e||{}).clockseq?e.clockseq:Vs,o=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:Ws+1,s=o-Ks+(u-Ws)/1e4;if(s<0&&null==e.clockseq&&(i=i+1&16383),(s<0||o>Ks)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ks=o,Ws=u,Vs=i;var l=(1e4*(268435455&(o+=122192928e5))+u)%4294967296;a[r++]=l>>>24&255,a[r++]=l>>>16&255,a[r++]=l>>>8&255,a[r++]=255&l;var c=o/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++]=i>>>8|128,a[r++]=255&i;for(var d=e.node||Us,f=0;f<6;f++)a[r+f]=d[f];return t||Gs(a)}function Zs(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Ps(16):null,e=null);var a=(e=e||{}).random||(e.rng||js)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var i=0;i<16;i++)t[r+i]=a[i];return t||Gs(a)}(Ns=Zs).v1=Ys,Ns.v4=Zs,Ns.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++]=zs[e])}));a<16;)t[r+a++]=0;return t},Ns.unparse=Gs,Ns.BufferClass=Ps,i._uuid=Ys();var Xs=Zs,Js=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Qs(){var e="axeAPI",t="";return void 0!==i&&i._audit&&i._audit.application&&(e=i._audit.application),void 0!==i&&(t=i.version),e+"."+t}function el(e){nl(e),ga(t.parent===e,"Source of the response must be the parent window.")}function tl(e){nl(e),ga(e.parent===t,"Respondable target must be a frame in the current window")}function nl(e){ga(t!==e,"Messages can not be sent to the same window.")}var rl={},al=[];function il(){var e="".concat(Zs(),":").concat(Zs());return al.includes(e)?il():(al.push(e),e)}function ol(e,t,n,r){if(n?el(e):tl(e),t.message instanceof Error&&!n)return i.log(t.message),!1;var a=function(e){var t=e.message,n={channelId:e.channelId,topic:e.topic,messageId:e.messageId,keepalive:!!e.keepalive,source:Qs()};return t instanceof Error?n.error={name:t.name,message:t.message,stack:t.stack}:n.payload=t,JSON.stringify(n)}(j({messageId:il()},t)),o=i._audit.allowedOrigins;return!(!o||!o.length||("function"==typeof r&&function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];ga(!Object.prototype.hasOwnProperty.call(rl,e),"A replyHandler already exists for this message channel."),rl[e]={replyHandler:t,sendToParent:n}}(t.channelId,r,n),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 ul(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r,a,i){ol(e,{channelId:t,message:r,keepalive:a},n,i)}}function sl(e,n){var r,o=e.origin,u=e.data,s=e.source;try{var l=function(e){var n,r,i,o,u;try{n=JSON.parse(e)}catch(e){return}if(null!==(s=n)&&"object"===a(s)&&"string"==typeof s.channelId&&s.source===Qs()){var s,l=n.channelId,c=n.messageId,d=n.keepalive;return{topic:n.topic,message:"object"===a(n.error)?(r=n.error,i=r.message||"Unknown error occurred",o=Js.includes(r.name)?r.name:"Error",u=t[o]||Error,r.stack&&(i+="\n"+r.stack.replace(r.message,"")),new u(i)):n.payload,messageId:c,channelId:l,keepalive:!!d}}}(u)||{},c=l.channelId,d=l.message,f=l.messageId;if(!function(e){var t=i._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(o)||al.includes(r=f)||(al.push(r),0))return;if(d instanceof Error&&s.parent!==t)return i.log(d),!1;try{if(l.topic){var h=ul(s,c);el(s),n(l,h)}else!function(e,t){var n=t.channelId,r=t.message,a=t.keepalive,o=function(e){return Object.prototype.hasOwnProperty.call(rl,e)?rl[e]:void 0}(n)||{},u=o.replyHandler,s=o.sendToParent;if(u){s?el(e):tl(e);var l=ul(e,n,s);!a&&n&&function(e){delete rl[e]}(n);try{u(r,a,l)}catch(e){i.log(e),l(e,a)}}}(s,l)}catch(e){!function(e,n,r){if(!e.parent!==t)return i.log(n);try{ol(e,{topic:null,channelId:r,message:n,messageId:il(),keepalive:!0},!0)}catch(e){return i.log(e)}}(s,e,c)}}catch(e){return i.log(e),!1}}var ll,cl,dl={open:function(e){if("function"==typeof t.addEventListener){var n=function(t){sl(t,e)};return t.addEventListener("message",n,!1),function(){t.removeEventListener("message",n,!1)}}},post:function(e,n,r){return"function"==typeof t.addEventListener&&ol(e,n,!1,r)}};function fl(e){e.updateMessenger(dl)}var hl={};function pl(e,t,n,r,a){var i={topic:t,message:n,channelId:"".concat(Zs(),":").concat(Zs()),keepalive:r};return cl(e,i,a)}function ml(e,t){var n=e.topic,r=e.message,a=e.keepalive,o=Object.prototype.hasOwnProperty.call(hl,n)?hl[n]:void 0;if(o)try{o(r,a,t)}catch(e){i.log(e),t(e,a)}}function vl(e,t,n,r){var a,i,o=e.contentWindow,u=null!==(a=null===(i=t.options)||void 0===i?void 0:i.pingWaitTime)&&void 0!==a?a:500;if(!o)return na("Frame does not have a content window",e),void n(null);if(0!==u){var s=setTimeout((function(){s=setTimeout((function(){t.debug?r(gl("No response from frame",e)):n(null)}),0)}),u);pl(o,"axe.ping",null,void 0,(function(){clearTimeout(s),bl(e,t,n,r)}))}else bl(e,t,n,r)}function bl(e,t,n,r){var a,i,o=null!==(a=null===(i=t.options)||void 0===i?void 0:i.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,s=setTimeout((function(){r(gl("Axe in frame timed out",e))}),o);pl(u,"axe.start",t,void 0,(function(e){clearTimeout(s),e instanceof Error==0?n(e):r(e)}))}function gl(e,t){var n;return i._tree&&(n=Qu(t)),new Error(e+": "+(n||t))}pl.updateMessenger=function(e){var t=e.open,n=e.post;ga("function"==typeof t,"open callback must be a function"),ga("function"==typeof n,"post callback must be a function"),ll&&ll();var r=t(ml);r?(ga("function"==typeof r,"open callback must return a cleanup function"),ll=r):ll=null,cl=n},pl.subscribe=function(e,t){ga("function"==typeof t,"Subscriber callback must be a function"),ga(!Object.prototype.hasOwnProperty.call(hl,e),"Topic ".concat(e," is already registered to.")),hl[e]=t},pl.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:t).frameElement},fl(pl);var yl=null,Dl={update:function(e){ga("object"===a(e),"serializer must be an object"),yl=e},toSpec:function(e){return Dl.dqElmToSpec(new fs(e))},dqElmToSpec:function(e,t){var n;return e instanceof fs==0?e:(t&&(e=function(e,t){var n=e.fromFrame;return(e=new fs(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:!1!==t.selectors||n?e.selector:[":root"],ancestry:t.ancestry?e.ancestry:[":root"],xpath:t.xpath?e.xpath:"/"})).fromFrame=n,e}(e,t)),"function"==typeof(null===(n=yl)||void 0===n?void 0:n.toSpec)?yl.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var n;return"function"==typeof(null===(n=yl)||void 0===n?void 0:n.mergeSpecs)?yl.mergeSpecs(e,t):fs.mergeSpecs(e,t)},mapRawResults:function(e){return e.map((function(e){return j({},e,{nodes:Dl.mapRawNodeResults(e.nodes)})}))},mapRawNodeResults:function(e){return null==e?void 0:e.map((function(e){var t=e.node,n=R(e,d);n.node=Dl.dqElmToSpec(t);for(var r=0,a=["any","all","none"];r<a.length;r++){var i=a[r];n[i]=n[i].map((function(e){var t=e.relatedNodes,n=R(e,f);return n.relatedNodes=t.map(Dl.dqElmToSpec),n}))}return n}))}},wl=Dl,Fl=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},El=function(e,t,n){if(Array.isArray(e))return e.find((function(e){return null!==e&&"object"===a(e)&&Object.hasOwn(e,t)&&e[t]===n}))};function xl(){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;r<n;r++){var a=null==e?void 0:e[r],i=null==t?void 0:t[r];if("number"!=typeof a||isNaN(a))return 0===r?1:-1;if("number"!=typeof i||isNaN(i))return 0===r?-1:1;if(a!==i)return a-i}return 0}var Al=function(e){var t=[];return e.forEach((function(e){var n,r=(n=e)&&n.results?Array.isArray(n.results)?n.results.length?n.results:null:[n.results]:null;if(r&&r.length){var a=function(e){return e.frameElement?wl.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}(e);r.forEach((function(e){e.nodes&&a&&function(e,t,n){e.forEach((function(e){e.node=wl.mergeSpecs(e.node,n),Fl(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return wl.mergeSpecs(e,n)}))}))}))}(e.nodes,0,a);var n,r=El(t,"id",e.id);r?(e.nodes.length&&function(e,t){for(var n,r=t[0].node,a=0;a<e.length;a++){var i=xl((n=e[a].node).nodeIndexes,r.nodeIndexes);if(i>0||0===i&&r.selector.length<n.selector.length)return void e.splice.apply(e,[a,0].concat(B(t)))}e.push.apply(e,B(t))}(r.nodes,e.nodes),e.error&&(null!==(n=r.error)&&void 0!==n||(r.error=e.error))):t.push(e)}))}})),t.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return xl(e.node.nodeIndexes,t.node.nodeIndexes)}))})),t};function Cl(e,t,n,r,a,i){t=j({},t,{elementRef:!1});var o=Bs();e.frames.forEach((function(e){var a=e.node,i=R(e,h);o.defer((function(e,o){vl(a,{options:t,command:n,parameter:r,context:i},(function(t){return e(t?{results:t,frameElement:a}:null)}),o)}))})),o.then((function(e){a(Al(e,t))})).catch(i)}function kl(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var Rl=function e(){for(var t={},n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return r.forEach((function(n){if(n&&"object"===a(n)&&!Array.isArray(n))for(var r=0,i=Object.keys(n);r<i.length;r++){var o=i[r];t[o]=!t.hasOwnProperty(o)||"object"!==a(n[o])||Array.isArray(t[o])?n[o]:e(t[o],n[o])}})),t},Sl=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(n){e[n]=null;try{e[n]=t[n](e)}catch(e){}}))},Tl=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],Ml=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Tl.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1},Ol={};ce(Ol,{createGrid:function(){return jc},findElmsInContext:function(){return Bl},findNearbyElms:function(){return Hc},findUp:function(){return Il},findUpVirtual:function(){return _l},focusDisabled:function(){return Zc},getComposedParent:function(){return ac},getElementByReference:function(){return ed},getElementCoordinates:function(){return oc},getElementStack:function(){return id},getModalDialog:function(){return Uc},getNodeGrid:function(){return Gc},getOverflowHiddenAncestors:function(){return $l},getRootNode:function(){return jl},getScrollOffset:function(){return ic},getTabbableElements:function(){return od},getTargetRects:function(){return cd},getTargetSize:function(){return dd},getTextElementStack:function(){return Yf},getViewportSize:function(){return uc},getVisibleChildTextRects:function(){return Kf},hasContent:function(){return th},hasContentVirtual:function(){return eh},hasLangText:function(){return nh},idrefs:function(){return hd},insertedIntoFocusOrder:function(){return rh},isCurrentPageLink:function(){return Qc},isFixedPosition:function(){return sc},isFocusable:function(){return sd},isHTML5:function(){return uh},isHiddenForEveryone:function(){return tc},isHiddenWithCSS:function(){return oh},isInTabOrder:function(){return ld},isInTextBlock:function(){return dh},isInert:function(){return Vc},isModalOpen:function(){return ph},isMultiline:function(){return mh},isNativelyFocusable:function(){return ud},isNode:function(){return vh},isOffscreen:function(){return dc},isOpaque:function(){return kh},isSkipLink:function(){return Rh},isVisible:function(){return Oh},isVisibleOnScreen:function(){return hc},isVisibleToScreenReaders:function(){return cf},isVisualContent:function(){return Xf},reduceToElementsBelowFloating:function(){return Nh},shadowElementsFromPoint:function(){return Ih},urlPropsFromAttribute:function(){return zh},visuallyContains:function(){return jh},visuallyOverlaps:function(){return Lh},visuallySort:function(){return td}});var Nl=function(e){var t=e.getRootNode&&e.getRootNode()||r;return t===e&&(t=r),t},jl=Nl,Bl=function(e){var t,n=e.context,r=e.attr,a=e.elm,i=void 0===a?"":a,o=Da(e.value);return t=9===n.nodeType||11===n.nodeType?n:jl(n),Array.from(t.querySelectorAll(i+"["+r+"="+o+"]"))},_l=function(e,t){var n;if(n=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest)return e.actualNode.closest(t)||null;do{(n=n.assignedSlot?n.assignedSlot:n.parentNode)&&11===n.nodeType&&(n=n.host)}while(n&&!Ca(n,t)&&n!==r.documentElement);return n&&Ca(n,t)?n:null},Il=function(e,t){return _l(us(e),t)};function ql(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var Pl=_u((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Pl(e.parent))):t})),$l=Pl,zl=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Ll=/(\w+)\((\d+)/;function Gl(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Hl(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Ul(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Vl(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Kl(e){return"true"===e.attr("aria-hidden")}function Wl(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Yl(e){var t=Rp(e.actualNode),n=parseInt(e.getComputedStylePropertyValue("height")),r=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===n||0===r)}function Zl(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.getComputedStylePropertyValue("position");if("fixed"===t)return!1;var n=$l(e);if(!n.length)return!1;var r=e.boundingClientRect;return n.some((function(n){if("absolute"===t&&!function(e,t){for(var n=e.parent;n&&n!==t;){if(["relative","sticky"].includes(n.getComputedStylePropertyValue("position")))return!0;n=n.parent}return!1}(e,n)&&"static"===n.getComputedStylePropertyValue("position"))return!1;var a=n.boundingClientRect;return a.width<2||a.height<2||!ql(r,a)}))}function Xl(e){var t=e.getComputedStylePropertyValue("clip").match(zl),n=e.getComputedStylePropertyValue("clip-path").match(Ll);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],i=parseInt(n[2],10);switch(a){case"inset":return i>=50;case"circle":return 0===i}}return!1}function Jl(e,t){var n=Ts(e,"map");if(!n)return!0;var r=n.attr("name");if(!r)return!0;var a=Nl(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=mm(i._tree,'img[usemap="#'.concat(Da(r),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function Ql(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 ec=[Hl,Ul,Vl,Ql];function tc(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=Wp(e).vNode,n?nc(e,a):rc(e,a)}var nc=_u((function(e,t){return!(!Gl(e)&&(!e.actualNode||!ec.some((function(n){return n(e,{isAncestor:t})}))&&e.actualNode.isConnected))})),rc=_u((function(e,t){return!!nc(e,t)||!!e.parent&&rc(e.parent,!0)})),ac=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},ic=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}},oc=function(e){var t=ic(r),n=t.left,a=t.top,i=e.getBoundingClientRect();return{top:i.top+a,right:i.right+n,bottom:i.bottom+a,left:i.left+n,width:i.right-i.left,height:i.bottom-i.top}},uc=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}};function sc(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipAncestors,n=Wp(e).vNode;return!!n&&(t?lc(n):cc(n))}var lc=_u((function(e){return"fixed"===e.getComputedStylePropertyValue("position")})),cc=_u((function(e){return!!lc(e)||!!e.parent&&cc(e.parent)})),dc=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var n=Wp(e).domNode;if(n){var a=r.documentElement,i=t.getComputedStyle(n),o=t.getComputedStyle(r.body||a).getPropertyValue("direction"),u=sc(n),s=u?n.getBoundingClientRect():oc(n);if(0===s.top&&0===s.bottom)return!1;if(0===s.left&&0===s.right)return!1;if(s.bottom<=0&&(function(e,t){for(e=ac(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=ac(e)}return!0}(n,s.bottom)||"absolute"===i.position))return!0;var l=uc(t);if(u&&s.top>=l.height)return!0;var c=Math.max(a.scrollWidth,l.width);return!(!u&&"rtl"!==o||!(s.left>=c))||!(!u&&"ltr"!==o||!(s.right<=0))}},fc=[Wl,Yl,Zl,Xl,dc];function hc(e){return e=Wp(e).vNode,pc(e)}var pc=_u((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Jl(e,pc):!tc(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!fc.some((function(n){return n(e,{isAncestor:t})})))&&(!e.parent||pc(e.parent,!0))}));function mc(e,n){var r=Math.min(e.top,n.top),a=Math.max(e.right,n.right),i=Math.max(e.bottom,n.bottom),o=Math.min(e.left,n.left);return new t.DOMRect(o,r,a-o,i-r)}function vc(e,t){var n=e.x,r=e.y;return r>=t.top&&n<=t.right&&r<=t.bottom&&n>=t.left}var bc={};function gc(e,n){var r=Math.max(e.left,n.left),a=Math.min(e.right,n.right),i=Math.max(e.top,n.top),o=Math.min(e.bottom,n.bottom);return r>=a||i>=o?null:new t.DOMRect(r,i,a-r,o-i)}function yc(e){return new t.DOMPoint(e.left+e.width/2,e.top+e.height/2)}ce(bc,{getBoundingRect:function(){return mc},getIntersectionRect:function(){return gc},getOffset:function(){return Fc},getRectCenter:function(){return yc},hasVisualOverlap:function(){return Ac},isPointInRect:function(){return vc},rectHasMinimumSize:function(){return wc},rectsOverlap:function(){return ql},splitRects:function(){return Cc}});var Dc=.05;function wc(e,t){return t.width+Dc>=e&&t.height+Dc>=e}function Fc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,r=cd(e),a=cd(t);return r.length&&a.length?r.reduce((function(e,r){var i,o=yc(r),u=Z(a);try{for(u.s();!(i=u.n()).done;){var s=i.value;if(vc(o,s))return 0;var l=xc(o,Ec(o,s));e=Math.min(e,l)}}catch(e){u.e(e)}finally{u.f()}var c=dd(t);if(wc(2*n,c))return e;var d=xc(o,yc(a.reduce(mc)))-n;return Math.max(0,Math.min(e,d))}),1/0):null}function Ec(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function xc(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Ac(e,t){var n=e.boundingClientRect,r=t.boundingClientRect;return!(n.left>=r.right||n.right<=r.left||n.top>=r.bottom||n.bottom<=r.top)&&td(e,t)>0}function Cc(e,t){var n,r=Array.isArray(e)?e:[e],a=Z(t);try{var i=function(){var e=n.value;if(r=r.reduce((function(t,n){return t.concat(function(e,t){var n,r,a=e.top,i=e.left,o=e.bottom,u=e.right,s=a<t.bottom&&o>t.top,l=i<t.right&&u>t.left,c=[];if(kc(t.top,a,o)&&l&&c.push({top:a,left:i,bottom:t.top,right:u}),kc(t.right,i,u)&&s&&c.push({top:a,left:t.right,bottom:o,right:u}),kc(t.bottom,a,o)&&l&&c.push({top:t.bottom,right:u,bottom:o,left:i}),kc(t.left,i,u)&&s&&c.push({top:a,left:i,bottom:o,right:t.left}),0===c.length){if((n=e).top>=(r=t).top&&n.left>=r.left&&n.bottom<=r.bottom&&n.right<=r.right)return[];c.push(e)}return c.map(Rc)}(n,e))}),[]),r.length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(n=a.n()).done;)i()}catch(e){a.e(e)}finally{a.f()}return r}var kc=function(e,t,n){return e>t&&e<n};function Rc(e){return new t.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var Sc=0,Tc=.1,Mc=.2,Oc=.3,Nc=0;function jc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.body,n=arguments.length>1?arguments[1]:void 0,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(os.get("gridCreated")&&!a)return ta.gridSize;if(os.set("gridCreated",!0),!a){var o=us(r.documentElement);if(o||(o=new Hh(r.documentElement)),Nc=0,o._stackingOrder=[qc(Sc,Nc++,null)],null!=n||(n=new zc),$c(n,o),Rp(o.actualNode)){var u=new zc(o);o._subGrid=u}}for(var s=r.createTreeWalker(e,t.NodeFilter.SHOW_ELEMENT,null,!1),l=a?s.nextNode():s.currentNode;l;){var c=us(l);c&&c.parent?a=c.parent:l.assignedSlot?a=us(l.assignedSlot):l.parentElement?a=us(l.parentElement):l.parentNode&&us(l.parentNode)&&(a=us(l.parentNode)),c||(c=new i.VirtualNode(l,a)),c._stackingOrder=Ic(c,a,Nc++);var d=Pc(c,a),f=d?d._subGrid:n;if(Rp(c.actualNode)){var h=new zc(c);c._subGrid=h}var p=c.boundingClientRect;0!==p.width&&0!==p.height&&hc(l)&&$c(f,c),Ml(l)&&jc(l.shadowRoot,f,c),l=s.nextNode()}return ta.gridSize}function Bc(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 i=e.getComputedStylePropertyValue("filter");if(i&&"none"!==i)return!0;var o=e.getComputedStylePropertyValue("perspective");if(o&&"none"!==o)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||!_c(t))}function _c(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function Ic(e,t,n){var r=t._stackingOrder.slice();if(Bc(e,t)){var a=r.findIndex((function(e){return[Sc,Mc,Oc].includes(e.stackLevel)}));-1!==a&&r.splice(a,r.length-a)}var i=function(e,t){var n=function(e,t){return"static"!==e.getComputedStylePropertyValue("position")||_c(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);return["auto","0"].includes(n)?"static"!==e.getComputedStylePropertyValue("position")?Oc:"none"!==e.getComputedStylePropertyValue("float")?Mc:Bc(e,t)?Tc:null:parseInt(n)}(e,t);return null!==i&&r.push(qc(i,n,e)),r}function qc(e,t,n){return{stackLevel:e,treeOrder:t,vNode:n}}function Pc(e,t){for(var n=null,r=[e];t;){if(Rp(t.actualNode)){n=t;break}if(t._scrollRegionParent){n=t._scrollRegionParent;break}r.push(t),t=us(t.actualNode.parentElement||t.actualNode.parentNode)}return r.forEach((function(e){return e._scrollRegionParent=n})),n}function $c(e,t){var n=$l(t);t.clientRects.forEach((function(r){var a,i=n.reduce((function(e,t){return e&&gc(e,t.boundingClientRect)}),r);if(i){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var o=e.getGridPositionOfRect(i);e.loopGridPosition(o,(function(e){e.includes(t)||e.push(t)}))}}))}var zc=W((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;V(this,e),this.container=t,this.cells=[]}),[{key:"toGridIndex",value:function(e){return Math.floor(e/ta.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,n,r=e.x,a=e.y;ga(this.boundaries,"Grid does not have cells added");var i=this.toGridIndex(a),o=this.toGridIndex(r);ga(vc({y:i,x:o},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[i-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(n=u[o-u._negativeIndex])&&void 0!==n?n:[]}},{key:"loopGridPosition",value:function(e,t){var n=e.left,r=e.right,a=e.top,i=e.bottom;this.boundaries&&(e=mc(this.boundaries,e)),this.boundaries=e,Lc(this.cells,a,i,(function(e,a){Lc(e,n,r,(function(e,n){t(e,{row:a,col:n})}))}))}},{key:"getGridPositionOfRect",value:function(e){var n=e.top,r=e.right,a=e.bottom,i=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return n=this.toGridIndex(n-o),r=this.toGridIndex(r+o-1),a=this.toGridIndex(a+o-1),i=this.toGridIndex(i-o),new t.DOMRect(i,n,r-i,a-n)}}]);function Lc(e,t,n,r){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var i=0;i<e._negativeIndex-t;i++)e.splice(0,0,[]);e._negativeIndex=t}for(var o=n-e._negativeIndex,u=t-e._negativeIndex;u<=o;u++){var s,l;null!==(l=e[s=u])&&void 0!==l||(e[s]=[]),r(e[u],u+e._negativeIndex)}}function Gc(e){return jc(),Wp(e).vNode._grid}function Hc(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=Gc(e);if(null==r||null===(t=r.cells)||void 0===t||!t.length)return[];var a=e.boundingClientRect,i=sc(e),o=r.getGridPositionOfRect(a,n),u=[];return r.loopGridPosition(o,(function(t){var n,r=Z(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;a&&a!==e&&!u.includes(a)&&i===sc(a)&&u.push(a)}}catch(e){r.e(e)}finally{r.f()}})),u}var Uc=_u((function(){var e;if(!i._tree)return null;var n=am(i._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return r.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&hc(e)}));return n.length?n.find((function(e){var t=e.boundingClientRect;return r.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)}))||(null!==(e=n.find((function(e){var n,a=null!==(n=function(e){jc();var n=i._tree[0]._grid,r=new t.DOMRect(0,0,t.innerWidth,t.innerHeight);if(n)for(var a=0;a<n.cells.length;a++){var o=n.cells[a];if(o)for(var u=0;u<o.length;u++){var s=o[u];if(s)for(var l=0;l<s.length;l++){var c=s[l],d=gc(c.boundingClientRect,r);if("html"!==c.props.nodeName&&c!==e&&"none"!==c.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:c,rect:d}}}}}(e))&&void 0!==n?n:{},o=a.vNode,u=a.rect;return!!o&&!r.elementsFromPoint(u.left+1,u.top+1).includes(o.actualNode)})))&&void 0!==e?e:null):null}));function Vc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isAncestor;return t.skipAncestors?Kc(e,n):Wc(e,n)}var Kc=_u((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var n=Uc();if(n&&!kl(n,e))return!0}return!1})),Wc=_u((function(e,t){return!!Kc(e,t)||!!e.parent&&Wc(e.parent,!0)})),Yc=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],Zc=function(e){var t=Wp(e).vNode;if(Yc.includes(t.props.nodeName)&&t.hasAttr("disabled")||Vc(t))return!0;for(var n=t.parent,r=[],a=!1;n&&n.shadowId===t.shadowId&&!a&&(r.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){a=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(a=!0),n=n.parent}return r.forEach((function(e){return e._inDisabledFieldset=a})),!!a||"area"!==t.props.nodeName&&!!t.actualNode&&tc(t)},Xc=/^\/\#/,Jc=/^#[!/]/;function Qc(e){var n,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(Xc.test(r))return!0;var a=e.protocol,i=e.hostname,o=e.port,u=e.pathname;if(Jc.test(e.hash))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(n=t.location)||void 0===n?void 0:n.origin)||-1===t.location.origin.indexOf("://"))return null;var s,l=t.location.origin+t.location.pathname;return s=i?"".concat(a,"//").concat(i).concat(o?":".concat(o):""):t.location.origin,(s+=u?("/"!==u[0]?"/":"")+u:t.location.pathname)===l}var ed=function(e,t){var n=e.getAttribute(t);if(!n)return null;if("href"===t&&!Qc(e))return null;-1!==n.indexOf("#")&&(n=decodeURIComponent(n.substr(n.indexOf("#")+1)));var a=r.getElementById(n);return a||((a=r.getElementsByName(n)).length?a[0]:null)};function td(e,n){jc();for(var r=Math.max(e._stackingOrder.length,n._stackingOrder.length),a=0;a<r;a++){if(void 0===n._stackingOrder[a])return-1;if(void 0===e._stackingOrder[a])return 1;if(n._stackingOrder[a].stackLevel>e._stackingOrder[a].stackLevel)return 1;if(n._stackingOrder[a].stackLevel<e._stackingOrder[a].stackLevel)return-1;if(n._stackingOrder[a].treeOrder!==e._stackingOrder[a].treeOrder)return n._stackingOrder[a].treeOrder-e._stackingOrder[a].treeOrder}var i=e.actualNode,o=n.actualNode;if(i.getRootNode&&i.getRootNode()!==o.getRootNode()){for(var u=[];i;)u.push({root:i.getRootNode(),node:i}),i=i.getRootNode().host;for(;o&&!u.find((function(e){return e.root===o.getRootNode()}));)o=o.getRootNode().host;if((i=u.find((function(e){return e.root===o.getRootNode()})).node)===o)return e.actualNode.getRootNode()!==i.getRootNode()?-1:1}var s=t.Node,l=s.DOCUMENT_POSITION_FOLLOWING,c=s.DOCUMENT_POSITION_CONTAINS,d=s.DOCUMENT_POSITION_CONTAINED_BY,f=i.compareDocumentPosition(o),h=f&l?1:-1,p=f&c||f&d,m=nd(e),v=nd(n);return m===v||p?h:v-m}function nd(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:rd(e)?1:0}function rd(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=rd(e.parent);return e._isFloated=t,t}function ad(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=yc(t),i=e.getCellFromPoint(a)||[],o=Math.floor(a.x),u=Math.floor(a.y),s=i.filter((function(e){return e.clientRects.some((function(e){var t=e.left,n=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&u<Math.floor(n+e.height)&&u>=Math.floor(n)}))})),l=e.container;return l&&(s=ad(l._grid,l.boundingClientRect,!0).concat(s)),n||(s=s.sort(td).map((function(e){return e.actualNode})).concat(r.documentElement).filter((function(e,t,n){return n.indexOf(e)===t}))),s}var id=function(e){var t=Gc(e);return t?ad(t,us(e).boundingClientRect):[]},od=function(e){return mm(e,"*").filter((function(e){var t=e.isFocusable,n=Jp(e.actualNode.getAttribute("tabindex"));return null!==n?t&&n>=0:t}))},ud=function(e){var t=Wp(e).vNode;if(!t||Zc(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!mm(t,"summary").length}return!1};function sd(e){var t=Wp(e).vNode;return!(1!==t.props.nodeType||Zc(t)||!ud(t)&&null===Jp(t.attr("tabindex")))}function ld(e){var t=Wp(e).vNode;return 1===t.props.nodeType&&!(Jp(t.attr("tabindex"))<=-1)&&sd(t)}var cd=_u((function(e){var t="inline"===e.getComputedStylePropertyValue("display")?e.clientRects:[e.boundingClientRect],n=Hc(e).filter((function(t){return Ac(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return kl(e,t)&&!ld(t)}(e,t)}));return n.length?Cc(t,n.map((function(e){return"inline"===e.getComputedStylePropertyValue("display")?e.clientRects:e.boundingClientRect})).flat(1/0)):t})),dd=_u((function(e,t){return function(e,t){return e.reduce((function(e,n){var r=wc(t,e);return r!==wc(t,n)?r?e:n:e.width*e.height>n.width*n.height?e:n}))}(cd(e),t)})),fd={};ce(fd,{accessibleText:function(){return pd},accessibleTextVirtual:function(){return Bf},autocomplete:function(){return Pf},formControlValue:function(){return xf},formControlValueMethods:function(){return Ff},hasUnicode:function(){return Nf},isHumanInterpretable:function(){return qf},isIconLigature:function(){return jf},isValidAutocomplete:function(){return $f},label:function(){return Hf},labelText:function(){return kf},labelVirtual:function(){return Gf},nativeElementType:function(){return Uf},nativeTextAlternative:function(){return Of},nativeTextMethods:function(){return Mf},removeUnicode:function(){return If},sanitize:function(){return Od},subtreeText:function(){return Cf},titleText:function(){return of},unsupported:function(){return lf},visible:function(){return Lf},visibleTextNodes:function(){return Vf},visibleVirtual:function(){return ff}});var hd=function(e,t){e=e.actualNode||e;try{var n=jl(e),r=[],a=e.getAttribute(t);if(a){a=Uh(a);for(var i=0;i<a.length;i++)r.push(n.getElementById(a[i]))}return r}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}},pd=function(e,t){return Bf(us(e),t)},md=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Wp(e).vNode;return 1!==(null==n?void 0:n.props.nodeType)||1!==n.props.nodeType||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby")?"":hd(n,"aria-labelledby").filter((function(e){return e})).reduce((function(e,r){var a=pd(r,j({inLabelledByContext:!0,startNode:t.startNode||n},t));return e?"".concat(e," ").concat(a):a}),"")};function vd(e){var t=Wp(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var bd={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},gd={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},yd={ariaAttrs:bd,ariaRoles:j({},gd,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:{a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"],allowedAriaAttrs:["aria-hidden"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],allowedAriaAttrs:["aria-hidden"]}},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]}},Dd=j({},yd),wd=Dd,Fd=function(e){var t=wd.ariaRoles[e];return!!t&&!!t.unsupported},Ed=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.allowAbstract,r=t.flagUnsupported,a=void 0!==r&&r,i=wd.ariaRoles[e],o=Fd(e);return!(!i||a&&o||!n&&"abstract"===i.type)},xd=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 aa?e:us(e)).props.nodeType)return null;var i=(e.attr("role")||"").trim().toLowerCase();return(n?Uh(i):[i]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&Ed(e,{allowAbstract:r})}))||null},Ad=function(e){return Object.keys(wd.htmlElms).filter((function(t){var n=wd.htmlElms[t];return n.contentTypes?n.contentTypes.includes(e):!!n.variant&&!(!n.variant.default||!n.variant.default.contentTypes)&&n.variant.default.contentTypes.includes(e)}))},Cd=function(){return os.get("globalAriaAttrs",(function(){return Object.keys(wd.ariaAttrs).filter((function(e){return wd.ariaAttrs[e].global}))}))},kd=_u((function(e){for(var t=[],n=e.rows,r=0,a=n.length;r<a;r++){var i=n[r].cells;t[r]=t[r]||[];for(var o=0,u=0,s=i.length;u<s;u++)for(var l=0;l<i[u].colSpan;l++){for(var c=i[u].getAttribute("rowspan"),d=0===parseInt(c)||0===i[u].rowspan?n.length:i[u].rowSpan,f=0;f<d;f++){for(t[r+f]=t[r+f]||[];t[r+f][o];)o++;t[r+f][o]=i[u]}o++}}return t})),Rd=_u((function(e,t){var n,r;for(t||(t=kd(Il(e,"table"))),n=0;n<t.length;n++)if(t[n]&&-1!==(r=t[n].indexOf(e)))return{x:r,y:n}}));function Sd(e){var t=Wp(e),n=t.vNode,r=t.domNode,a=n.attr("scope"),i=xd(n);if(!["td","th"].includes(n.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===i)return"col";if("rowheader"===i)return"row";if("col"===a||"row"===a)return a;if("th"!==n.props.nodeName)return!1;if(!n.actualNode)return"auto";var o=kd(Il(r,"table")),u=Rd(r,o);return o[u.y].every((function(e){return"TH"===e.nodeName.toUpperCase()}))?"col":o.map((function(e){return e[u.x]})).every((function(e){return e&&"TH"===e.nodeName.toUpperCase()}))?"row":"auto"}var Td=function(e){return-1!==["col","auto"].indexOf(Sd(e))},Md=function(e){return["row","auto"].includes(Sd(e))},Od=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},Nd=function(){return os.get("sectioningContentSelector",(function(){return Ad("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"}))},jd=function(){return os.get("sectioningContentPlusMainSelector",(function(){return Nd()+" , main:not([role]), [role=main]"}))};function Bd(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,n=void 0!==t&&t;return!!(Od(md(e))||Od(vd(e))||n&&1===(null==e?void 0:e.props.nodeType)&&Od(e.attr("title")))}var _d={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Ts(e.parent,Nd())&&!Bd(e,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return Ts(e,jd())?null:"contentinfo"},form:function(e){return Bd(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Ts(e,jd())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),n=Cd().find((function(t){return e.hasAttr(t)}));return!t||n||sd(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var n=hd(e.actualNode,"list").filter((function(e){return!!e}))[0];t=n&&"datalist"===n.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return Bd(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=Ts(e,"table"),n=xd(t);return["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return Td(e)?"columnheader":Md(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},Id=function(e,t){var n=a(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},qd=function(e,t){return Id(!!Bf(e),t)},Pd=function(e,t){if("object"!==a(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(n){return Id(e(n),t[n])}))},$d=function(e,t){return e=Wp(e).vNode,Pd((function(t){return e.attr(t)}),t)};function zd(e,t){return!!t(e)}var Ld=function(e,t){return Id(xd(e),t)},Gd=function(e,t){return Id(Jd(e),t)},Hd=function(e,t){return e=Wp(e).vNode,Id(e.props.nodeName,t)},Ud=function(e,t){return e=Wp(e).vNode,Pd((function(t){return e.props[t]}),t)},Vd=function(e,t){return Id(rf(e),t)},Kd={hasAccessibleName:qd,attributes:$d,condition:zd,explicitRole:Ld,implicitRole:Gd,nodeName:Hd,properties:Ud,semanticRole:Vd},Wd=function e(t,n){return t=Wp(t).vNode,Array.isArray(n)?n.some((function(n){return e(t,n)})):"string"==typeof n?gs(t,n):Object.keys(n).every((function(e){if(!Kd[e])throw new Error('Unknown matcher type "'.concat(e,'"'));return(0,Kd[e])(t,n[e])}))},Yd=function(e,t){return Wd(e,t)};Yd.hasAccessibleName=qd,Yd.attributes=$d,Yd.condition=zd,Yd.explicitRole=Ld,Yd.fromDefinition=Wd,Yd.fromFunction=Pd,Yd.fromPrimative=Id,Yd.implicitRole=Gd,Yd.nodeName=Hd,Yd.properties=Ud,Yd.semanticRole=Vd;var Zd=Yd,Xd=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,n=void 0!==t&&t,r=wd.htmlElms[e.props.nodeName];if(!r)return{};if(!r.variant)return r;var a=r.variant,i=R(r,p);for(var o in a)if(a.hasOwnProperty(o)&&"default"!==o){for(var u=a[o],s=u.matches,l=R(u,m),c=Array.isArray(s)?s:[s],d=0;d<c.length&&n;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return r;if(Zd(e,s))for(var f in l)l.hasOwnProperty(f)&&(i[f]=l[f])}for(var h in a.default)a.default.hasOwnProperty(h)&&void 0===i[h]&&(i[h]=a.default[h]);return i},Jd=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,n=e instanceof aa?e:us(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var r=_d[n.props.nodeName];return!r&&t?Xd(n).chromiumRole||null:"function"==typeof r?r(n):r||null},Qd={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 ef(e,t){var n=Qd[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=xd(e.parent,t);return["none","presentation"].includes(r)&&!nf(e.parent)?r:r?null:ef(e.parent,t)}function tf(e,t){var n=t.chromium,r=R(t,v),a=Jd(e,{chromium:n});return a?ef(e,r)||a:null}function nf(e){return Cd().some((function(t){return e.hasAttr(t)}))||sd(e)}var rf=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=R(t,b),a=Wp(e).vNode;if(1!==a.props.nodeType)return null;var i=xd(a,r);return i?["presentation","none"].includes(i)&&nf(a)?n?null:tf(a,r):i:n?null:tf(a,r)}(e,R(t,g));return n&&["presentation","none"].includes(r)?null:r},af=["iframe"],of=function(e){var t=Wp(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Yd(t,af)&&["none","presentation"].includes(rf(t))?"":t.attr("title"):""},uf=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof aa?e:us(e)).props.nodeType)return!1;var n=rf(e),r=wd.ariaRoles[n];return!(!r||!r.nameFromContent)||!t&&(!r||["presentation","none"].includes(n))},sf=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=hd(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return i.utils.getNodeFromTree(e)})),a=r.filter((function(e,t){return r.indexOf(e)===t})),o=n.filter((function(e){return!a.includes(e)}));return[].concat(B(o),B(a))}return B(n)},lf={accessibleNameFromFieldValue:["progressbar"]};function cf(e){return e=Wp(e).vNode,df(e)}var df=_u((function(e,t){return!Kl(e)&&!Vc(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Jl(e,df):!tc(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||df(e.parent,!0)))})),ff=function e(t,n,r){var a=Wp(t).vNode,i=!t.actualNode||t.actualNode&&(n?cf:hc)(t),o=a.children.map((function(t){var a=t.props,o=a.nodeValue;if(3===a.nodeType){if(o&&i)return o}else if(!r)return e(t,n)})).join("");return Od(o)},hf=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],pf=function(e){var t=(e=e instanceof aa?e:us(e)).props.nodeName;return"textarea"===t||"input"===t&&!hf.includes((e.attr("type")||"").toLowerCase())},mf=function(e){return"select"===(e=e instanceof aa?e:us(e)).props.nodeName},vf=function(e){return"textbox"===xd(e)},bf=function(e){return"listbox"===xd(e)},gf=function(e){return"combobox"===xd(e)},yf=["progressbar","scrollbar","slider","spinbutton"],Df=function(e){var t=xd(e);return yf.includes(t)},wf=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Ff={nativeTextboxValue:function(e){var t=Wp(e).vNode;return pf(t)&&t.props.value||""},nativeSelectValue:function(e){var t=Wp(e).vNode;if(!mf(t))return"";var n=mm(t,"option"),r=n.filter((function(e){return e.props.selected}));return r.length||r.push(n[0]),r.map((function(e){return ff(e)})).join(" ")||""},ariaTextboxValue:function(e){var t=Wp(e),n=t.vNode,r=t.domNode;return vf(n)?!r||r&&!tc(r)?ff(n,!0):r.textContent:""},ariaListboxValue:Ef,ariaComboboxValue:function(e,t){var n=Wp(e).vNode;if(!gf(n))return"";var r=sf(n).filter((function(e){return"listbox"===rf(e)}))[0];return r?Ef(r,t):""},ariaRangeValue:function(e){var t=Wp(e).vNode;if(!Df(t)||!t.hasAttr("aria-valuenow"))return"";var n=+t.attr("aria-valuenow");return isNaN(n)?"0":String(n)}};function Ef(e,t){var n=Wp(e).vNode;if(!bf(n))return"";var r=sf(n).filter((function(e){return"option"===rf(e)&&"true"===e.attr("aria-selected")}));return 0===r.length?"":Bf(r[0],t)}var xf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode,r=lf.accessibleNameFromFieldValue||[],a=rf(e);if(t.startNode===e||!wf.includes(a)||r.includes(a))return"";var i=Object.keys(Ff).map((function(e){return Ff[e]})).reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&na(i||"{empty-value}",n,t),i},Af=Ad("phrasing").concat(["#text"]),Cf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Bf.alreadyProcessed;t.startNode=t.startNode||e;var r=t.strict,a=t.inControlContext,i=t.inLabelledByContext,o=rf(e),u=Xd(e,{noMatchAccessibleName:!0}).contentTypes;return n(e,t)||1!==e.props.nodeType||null!=u&&u.includes("embedded")||wf.includes(o)?"":t.subtreeDescendant||t.inLabelledByContext||uf(e,{strict:r})?(r||(t=j({subtreeDescendant:!a&&!i},t)),sf(e).reduce((function(e,n){return function(e,t,n){var r=t.props.nodeName,a=Bf(t,n);return a?(Af.includes(r)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,n,t)}),"")):""},kf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.inControlContext||t.inLabelledByContext||(0,Bf.alreadyProcessed)(e,t))return"";t.startNode||(t.startNode=e);var n,r=j({inControlContext:!0},t),a=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Bl({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Ts(e,"label");return i?(n=[].concat(B(a),[i.actualNode])).sort(Kp):n=a,n.map((function(e){return pd(e,r)})).filter((function(e){return""!==e})).join(" ")},Rf={submit:"Submit",image:"Submit",reset:"Reset",button:""};function Sf(e,t){return t.attr(e)||""}function Tf(e,t,n){var r=t.actualNode,a=[e=e.toLowerCase(),r.nodeName.toLowerCase()].join(","),i=r.querySelector(a);return i&&i.nodeName.toLowerCase()===e?pd(i,n):""}var Mf={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return Rf[e.props.type]||""},tableCaptionText:Tf.bind(null,"caption"),figureText:Tf.bind(null,"figcaption"),svgTitleText:Tf.bind(null,"title"),fieldsetLegendText:Tf.bind(null,"legend"),altText:Sf.bind(null,"alt"),tableSummaryText:Sf.bind(null,"summary"),titleText:of,subtreeText:Cf,labelText:kf,singleSpace:function(){return" "},placeholderText:Sf.bind(null,"placeholder")};function Of(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(rf(e)))return"";var r=function(e){return(Xd(e,{noMatchAccessibleName:!0}).namingMethods||[]).map((function(e){return Mf[e]}))}(e),a=r.reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&i.log(a||"{empty-value}",n,t),a}var Nf=function(e,t){var n=t.nonBmp,r=t.punctuations,a=!1;return t.emoji&&(a||(a=Ba().test(e))),n&&(a||(a=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),r&&(a||(a=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),a};function jf(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,i=e.actualNode.nodeValue.trim();if(!Od(i)||Nf(i,{emoji:!0,nonBmp:!0}))return!1;var o=os.get("canvasContext",(function(){return r.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),u=o.canvas,s=os.get("fonts",(function(){return{}})),l=t.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");s[l]||(s[l]={occurrences:0,numLigatures:0});var c=s[l];if(c.occurrences>=a){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);o.font=f;var h=i.charAt(0),p=o.measureText(h).width;if(0===p)return c.numLigatures++,!0;if(p<30){var m=30/p;p*=m,f="".concat(d*=m,"px ").concat(l)}u.width=p,u.height=d,o.font=f,o.textAlign="left",o.textBaseline="top",o.fillText(h,0,0);var v=new Uint32Array(o.getImageData(0,0,p,d).data.buffer);if(!v.some((function(e){return e})))return c.numLigatures++,!0;o.clearRect(0,0,p,d),o.fillText(i,0,0);var b=new Uint32Array(o.getImageData(0,0,p,d).data.buffer),g=v.reduce((function(e,t,n){return 0===t&&0===b[n]||0!==t&&0!==b[n]?e:++e}),0),y=i.split("").reduce((function(e,t){return e+o.measureText(t).width}),0),D=o.measureText(i).width;return g/v.length>=n&&1-D/y>=n&&(c.numLigatures++,!0)}function Bf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=j({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=j({includeHidden:!cf(e)},t)),t}(e,t),function(e,t){return!!e&&1===e.props.nodeType&&!t.includeHidden&&!cf(e)}(e,t))return"";if(function(e,t){var n,r=null!==(n=t.occurrenceThreshold)&&void 0!==n?n:t.occuranceThreshold;return!(3!==e.props.nodeType||!t.ignoreIconLigature)&&jf(e,t.pixelThreshold,r)}(e,t))return"";var n=[md,vd,Of,xf,Cf,_f,of].reduce((function(n,r){return t.startNode===e&&(n=Od(n)),""!==n?n:r(e,t)}),"");return t.debug&&i.log(n||"{empty-value}",e.actualNode,t),n}function _f(e){return 3!==e.props.nodeType?"":e.props.nodeValue}Bf.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var If=function(e,t){var n=t.nonBmp,r=t.punctuations;return t.emoji&&(e=e.replace(Ba(),"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),r&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e},qf=function(e){return function(e){return 0===Od(e).length}(e)||function(e){return 1===e.length&&e.match(/\D/)}(e)||function(e){return["aa","abc"].includes(e.toLowerCase())}(e)||function(e){var t=If(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!Od(t)}(e)?0:1},Pf={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"]},$f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.looseTyped,r=void 0!==n&&n,a=t.stateTerms,i=void 0===a?[]:a,o=t.locations,u=void 0===o?[]:o,s=t.qualifiers,l=void 0===s?[]:s,c=t.standaloneTerms,d=void 0===c?[]:c,f=t.qualifiedTerms,h=void 0===f?[]:f,p=t.ignoredValues,m=void 0===p?[]:p;if(e=e.toLowerCase().trim(),(i=i.concat(Pf.stateTerms)).includes(e)||""===e)return!0;l=l.concat(Pf.qualifiers),u=u.concat(Pf.locations),d=d.concat(Pf.standaloneTerms),h=h.concat(Pf.qualifiedTerms);var v=e.split(/\s+/g);if("webauthn"===v[v.length-1]&&(v.pop(),0===v.length))return!1;if(!r&&(v[0].length>8&&"section-"===v[0].substr(0,8)&&v.shift(),u.includes(v[0])&&v.shift(),l.includes(v[0])&&(v.shift(),d=[]),1!==v.length))return!1;var b=v[v.length-1];return m.includes(b)?void 0:d.includes(b)||h.includes(b)},zf=function(e){var t;return e.attr("aria-labelledby")&&(t=hd(e.actualNode,"aria-labelledby").map((function(e){var t=us(e);return t?ff(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=Od(t))?t:null},Lf=function(e,t,n){return e=us(e),ff(e,t,n)},Gf=function(e){var t,n;if(n=zf(e))return n;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var r=Da(e.attr("id"));if(n=(t=jl(e.actualNode).querySelector('label[for="'+r+'"]'))&&Lf(t,!0))return n}return(n=(t=Ts(e,"label"))&&ff(t,!0))||null},Hf=function(e){return e=us(e),Gf(e)},Uf=[{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"]}],Vf=function e(t){var n=hc(t),r=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?n&&r.push(t):r=r.concat(e(t))})),r},Kf=_u((function(e){var t=us(e),n=t.boundingClientRect,a=[],i=$l(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==Od(e.nodeValue)){var t=function(e){var t=r.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some((function(e){return!vc(yc(e),t)}))})(t,n)||a.push.apply(a,B(Wf(t,i)))}})),a.length?a:Wf([n],i)}));function Wf(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&&gc(e,t.boundingClientRect)}),e);r&&n.push(r)}})),n}var Yf=function(e){var t=Gc(e);return t?Kf(e).map((function(e){return ad(t,e)})):[]},Zf=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],Xf=function(e){var t=Wp(e).vNode,n=i.commons.aria.getExplicitRole(t);if(n)return-1!==Zf.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}},Jf=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Qf(e){return!Jf.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var eh=function e(t,n,r){return Qf(t)||Xf(t.actualNode)||!r&&!!zf(t)||!n&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))},th=function(e,t,n){return e=us(e),eh(e,t,n)};function nh(e){return!(void 0!==e.children&&!Qf(e))||(1===e.props.nodeType&&Xf(e)?!!i.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&nh(e)&&!tc(e)})))}var rh=function(e){return Jp(e.getAttribute("tabindex"))>-1&&sd(e)&&!ud(e)};function ah(e,t){var n=Wp(e),r=n.vNode,a=n.domNode;return r?(void 0===r._isHiddenWithCSS&&(r._isHiddenWithCSS=ih(a,t)),r._isHiddenWithCSS):ih(a,t)}function ih(e,n){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=t.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var a=["hidden","collapse"],i=r.getPropertyValue("visibility");if(a.includes(i)&&!n)return!0;if(a.includes(i)&&n&&a.includes(n))return!0;var o=ac(e);return!(!o||a.includes(i))&&ah(o,i)}var oh=ah,uh=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId},sh=function(e){var n;(e instanceof aa||null!==(n=t)&&void 0!==n&&n.Node&&e instanceof t.Node)&&(e=i.commons.aria.getRole(e));var r=wd.ariaRoles[e];return(null==r?void 0:r.type)||null},lh=["block","list-item","table","flex","grid"],ch=["inline-block","inline-flex","inline-grid"],dh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noLengthCompare,r=t.includeInlineBlock,a=void 0!==r&&r,i=Wp(e),o=i.vNode,u=i.domNode;if(fh(u)||!a&&function(e){var t=e.getComputedStylePropertyValue("display");return ch.includes(t)}(o))return!1;var s=function(e){for(var t=ac(e);t&&!fh(t);)t=ac(t);return us(t)}(u),l="",c="",d=0;return hh(s,(function(e){if(e===s.actualNode)return!0;if(2===d)return!1;if(3===e.nodeType&&(l+=e.nodeValue),1===e.nodeType){var t=(e.nodeName||"").toUpperCase();e===u&&(d=1);var n=fh(e);return(n||["BR","HR"].includes(t))&&(0===d?(l="",c=""):d=2),!(n||"none"===e.style.display||"hidden"===e.style.overflow||!["",null,"none"].includes(e.style.float)||!["",null,"relative"].includes(e.style.position))&&("widget"===sh(e)?(c+=e.textContent,!1):void 0)}})),l=Od(l),n?0!==l.length:(c=Od(c),l.length>c.length)};function fh(e){var t=Wp(e).vNode.getComputedStylePropertyValue("display");return lh.includes(t)||"table-"===t.substr(0,6)}function hh(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return hh(e,t)}))}var ph=function(e){var n=(e=e||{}).modalPercent||.75;if(os.get("isModalOpen"))return os.get("isModalOpen");if(am(i._tree[0],"dialog, [role=dialog], [aria-modal=true]",hc).length)return os.set("isModalOpen",!0),!0;for(var a,o=uc(t),u=o.width*n,s=o.height*n,l=(o.width-u)/2,c=(o.height-s)/2,d=[{x:l,y:c},{x:o.width-l,y:c},{x:o.width/2,y:o.height/2},{x:l,y:o.height-c},{x:o.width-l,y:o.height-c}].map((function(e){return Array.from(r.elementsFromPoint(e.x,e.y))})),f=function(){var e=d[h].find((function(e){var n=t.getComputedStyle(e);return parseInt(n.width,10)>=u&&parseInt(n.height,10)>=s&&"none"!==n.getPropertyValue("pointer-events")&&("absolute"===n.position||"fixed"===n.position)}));if(e&&d.every((function(t){return t.includes(e)})))return os.set("isModalOpen",!0),{v:!0}},h=0;h<d.length;h++)if(a=f())return a.v;os.set("isModalOpen",void 0)};function mh(e){var t=arguments.length>1&&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,i=0,o=Z(n.getClientRects());try{for(o.s();!(r=o.n()).done;){var u=r.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==i)return!0;a=u.bottom,i++}}}catch(e){o.e(e)}finally{o.f()}return!1}var vh=function(e){return e instanceof t.Node},bh="color.incompleteData",gh={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var n=os.get(bh,(function(){return{}}));return t&&(n[e]=t),n[e]},get:function(e){var t=os.get(bh);return null==t?void 0:t[e]},clear:function(){os.set(bh,{})}},yh=function(e,n){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return gh.set("bgColor","imgNode"),!0;var a=(n=n||t.getComputedStyle(e)).getPropertyValue("background-image"),i="none"!==a;if(i){var o=/gradient/.test(a);gh.set("bgColor",o?"bgGradient":"bgImage")}return i},Dh=/^#[0-9a-f]{3,8}$/i,wh=/hsl\(\s*([-\d.]+)(rad|turn)/,Fh=(P=new WeakMap,K=new WeakMap,Y=new WeakMap,Q=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakSet,W((function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(V(this,e),q(this,ne),I(this,P,void 0),I(this,K,void 0),I(this,Y,void 0),I(this,Q,void 0),I(this,ee,void 0),I(this,te,void 0),t instanceof Fh){var i=t.g,o=t.b;return this.r=t.r,this.g=i,this.b=o,void(this.alpha=t.alpha)}this.red=t,this.green=n,this.blue=r,this.alpha=a}),[{key:"r",get:function(){return $(P,this)},set:function(e){z(P,this,e),z(Q,this,Math.round(255*Ah(e,0,1)))}},{key:"g",get:function(){return $(K,this)},set:function(e){z(K,this,e),z(ee,this,Math.round(255*Ah(e,0,1)))}},{key:"b",get:function(){return $(Y,this)},set:function(e){z(Y,this,e),z(te,this,Math.round(255*Ah(e,0,1)))}},{key:"red",get:function(){return $(Q,this)},set:function(e){z(P,this,e/255),z(Q,this,Ah(e,0,255))}},{key:"green",get:function(){return $(ee,this)},set:function(e){z(K,this,e/255),z(ee,this,Ah(e,0,255))}},{key:"blue",get:function(){return $(te,this)},set:function(e){z(Y,this,e/255),z(te,this,Ah(e,0,255))}},{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(wh,(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 n;"Prototype"in t&&"Version"in t.Prototype&&(n=Array.from,Array.from=Bu.default);var r=new Tu(e).toGamut({space:"srgb",method:"clip"}).to("srgb");n&&(Array.from=n,n=null),this.r=r.r,this.g=r.g,this.b=r.b,this.alpha=+r.alpha}catch(t){throw gh.set("colorParse",e),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(Dh)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.r,t=this.g,n=this.b;return.2126*(e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.04045?n/12.92:Math.pow((n+.055)/1.055,2.4))}},{key:"getLuminosity",value:function(){return.3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(e){var t=e-this.getLuminosity();return L(ne,this,Eh).call(this,t).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(e){var t=new Fh(this),n=G([{name:"r",value:t.r},{name:"g",value:t.g},{name:"b",value:t.b}].sort((function(e,t){return e.value-t.value})),3),r=n[0],a=n[1],i=n[2];return i.value>r.value?(a.value=(a.value-r.value)*e/(i.value-r.value),i.value=e):a.value=i.value=0,r.value=0,t[i.name]=i.value,t[r.name]=r.value,t[a.name]=a.value,t}},{key:"clip",value:function(){var e=new Fh(this),t=e.getLuminosity(),n=Math.min(e.r,e.g,e.b),r=Math.max(e.r,e.g,e.b);return n<0&&(e.r=t+(e.r-t)*t/(t-n),e.g=t+(e.g-t)*t/(t-n),e.b=t+(e.b-t)*t/(t-n)),r>1&&(e.r=t+(e.r-t)*(1-t)/(r-t),e.g=t+(e.g-t)*(1-t)/(r-t),e.b=t+(e.b-t)*(1-t)/(r-t)),e}}]));function Eh(e){var t=new Fh(this);return t.r+=e,t.g+=e,t.b+=e,t}var xh=Fh;function Ah(e,t,n){return Math.min(Math.max(t,e),n)}var Ch=function(e){var t=new xh;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var n=e.getPropertyValue("opacity");t.alpha=t.alpha*n}return t},kh=function(e){var n=t.getComputedStyle(e);return yh(e,n)||1===Ch(n).alpha};function Rh(e){if(!e.href)return!1;var t=os.get("firstPageLink",Sh);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function Sh(){return(t.location.origin?mm(i._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!Qc(e.actualNode)})):mm(i._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var Th=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Mh=/(\w+)\((\d+)/;var Oh=function e(n,r,a){var o;if(!n)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var u=n instanceof aa?n:us(n);n=u?u.actualNode:n;var s="_isVisible"+(r?"ScreenReader":""),l=null!==(o=t.Node)&&void 0!==o?o:{},c=l.DOCUMENT_NODE,d=l.DOCUMENT_FRAGMENT_NODE,f=u?u.props.nodeType:n.nodeType,h=u?u.props.nodeName:n.nodeName.toLowerCase();if(u&&void 0!==u[s])return u[s];if(f===c)return!0;if(["style","script","noscript","template"].includes(h))return!1;if(n&&f===d&&(n=n.host),r&&"true"===(u?u.attr("aria-hidden"):n.getAttribute("aria-hidden")))return!1;if(!n){var p=u.parent,m=!0;return p&&(m=e(p,r,!0)),u&&(u[s]=m),m}var v=t.getComputedStyle(n,null);if(null===v)return!1;if("area"===h)return function(t,n,r){var a=Il(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var u=jl(t);if(!u||9!==u.nodeType)return!1;var s=mm(i._tree,'img[usemap="#'.concat(Da(o),'"]'));return!(!s||!s.length)&&s.some((function(t){return e(t.actualNode,n,r)}))}(n,r,a);if("none"===v.getPropertyValue("display"))return!1;var b=parseInt(v.getPropertyValue("height")),g=parseInt(v.getPropertyValue("width")),y=Rp(n),D=y&&0===b,w=y&&0===g,F="absolute"===v.getPropertyValue("position")&&(b<2||g<2)&&"hidden"===v.getPropertyValue("overflow");if(!r&&(function(e){var t=e.getPropertyValue("clip").match(Th),n=e.getPropertyValue("clip-path").match(Mh);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],i=parseInt(n[2],10);switch(a){case"inset":return i>=50;case"circle":return 0===i}}return!1}(v)||"0"===v.getPropertyValue("opacity")||D||w||F))return!1;if(!a&&("hidden"===v.getPropertyValue("visibility")||!r&&dc(n)))return!1;var E=n.assignedSlot?n.assignedSlot:n.parentNode,x=!1;return E&&(x=e(E,r,!0)),u&&(u[s]=x),x},Nh=function(e,n){for(var r=["fixed","sticky"],a=[],i=!1,o=0;o<e.length;++o){var u=e[o];u===n&&(i=!0);var s=t.getComputedStyle(u);i||-1===r.indexOf(s.position)?a.push(u):a=[]}return a};function jh(e,t){var n=Bh(t);do{var r=Bh(e);if(r===n||r===t)return _h(e,t);e=r}while(e);return!1}function Bh(e){for(var t=us(e).parent;t;){if(Rp(t.actualNode))return t.actualNode;t=t.parent}}function _h(e,n){var r=t.getComputedStyle(n),a=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var i=Array.from(e.getClientRects()),o=n.getBoundingClientRect(),u={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(a)||n instanceof t.HTMLHtmlElement)&&(u.width=n.scrollWidth,u.height=n.scrollHeight),1===i.length&&"hidden"===a&&"nowrap"===r.getPropertyValue("white-space")&&(i[0]=u),i.some((function(e){return!(Math.ceil(e.left)<Math.floor(u.left)||Math.ceil(e.top)<Math.floor(u.top)||Math.floor(e.left+e.width)>Math.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))}))}var Ih=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(i>999)throw new Error("Infinite loop detected");return Array.from(a.elementsFromPoint(t,n)||[]).filter((function(e){return jl(e)===a})).reduce((function(r,a){if(Ml(a)){var o=e(t,n,a.shadowRoot,i+1);(r=r.concat(o)).length&&jh(r[0],a)&&r.push(a)}else r.push(a);return r}),[])};function qh(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;r<n.length;r++){var a=G(n[r].split("="),2),i=a[1],o=void 0===i?"":i;t[decodeURIComponent(a[0])]=decodeURIComponent(o)}return t}function Ph(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===G(t,1)[0]?"":e:""}var $h,zh=function(e,t){if(e.hasAttribute(t)){var n=e.nodeName.toUpperCase(),a=e;["A","AREA"].includes(n)&&!e.ownerSVGElement||((a=r.createElement("a")).href=e.getAttribute(t));var i,o=["https:","ftps:"].includes(a.protocol)?a.protocol.replace(/s:$/,":"):a.protocol,u=function(e){var t=e.split("/").pop();return t&&-1!==t.indexOf(".")?{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}:{pathname:e,filename:""}}(/^\//.test(a.pathname)?a.pathname:"/".concat(a.pathname)),s=u.pathname,l=u.filename;return{protocol:o,hostname:a.hostname,port:(i=a.port,["443","80"].includes(i)?"":i),pathname:/\/$/.test(s)?s:"".concat(s,"/"),search:qh(a.search),hash:Ph(a.hash),filename:l}}},Lh=function(e,n){var r=n.getBoundingClientRect(),a=r.top,i=r.left;if(e.left>i-n.scrollLeft+n.scrollWidth&&e.left>r.right||e.top>a-n.scrollTop+n.scrollHeight&&e.top>r.bottom||e.right<i-n.scrollLeft&&e.right<r.left||e.bottom<a-n.scrollTop&&e.bottom<r.top)return!1;var o=t.getComputedStyle(n);return!(e.left>r.right||e.top>r.bottom)||"scroll"===o.overflow||"auto"===o.overflow||n instanceof t.HTMLBodyElement||n instanceof t.HTMLHtmlElement},Gh=0,Hh=function(e){function n(e,t,r){var a;if(V(this,n),(a=S(this,n)).shadowId=r,a.children=[],a.actualNode=e,a.parent=t,t||(Gh=0),a.nodeIndex=Gh++,a._isHidden=null,a._cache={},a._isXHTML=Iu(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var i=e.getAttribute("type");i=a._isXHTML?i:(i||"").toLowerCase(),Sm().includes(i)||(i="text"),a._type=i}return os.get("nodeMap")&&os.get("nodeMap").set(e,a),a}return O(n,e),W(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.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?n:n.toLowerCase(),id:r,type:this._type,nodeValue:a},1===t&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof t.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 n="computedStyle_"+e;return this._cache.hasOwnProperty(n)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=t.getComputedStyle(this.actualNode)),this._cache[n]=this._cache.computedStyle.getPropertyValue(e)),this._cache[n]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=sd(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=od(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}}])}(aa),Uh=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Vh=" [idsMap]";function Kh(e,t,n){var r=e[0]._selectorMap;if(r){for(var a=e[0].shadowId,i=0;i<t.length;i++)if(t[i].length>1&&t[i].some((function(e){return Wh(e)})))return;var o=new Set;t.forEach((function(e){var t,n=function(e,t,n){var r=e[e.length-1],a=null,i=e.length>1||!!r.pseudos||!!r.classes;if(Wh(r))a=t["*"];else{if(r.id){var o;if(!t[Vh]||!Object.hasOwn(t[Vh],r.id)||null===(o=t[Vh][r.id])||void 0===o||!o.length)return;a=t[Vh][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?Yh(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?Yh(c,a):c}if(r.attributes)for(var d=0;d<r.attributes.length;d++){var f,h=r.attributes[d];if("attrValue"===h.type&&(i=!0),null===(f=t["[".concat(h.key,"]")])||void 0===f||!f.length)return;var p=t["[".concat(h.key,"]")];a=a?Yh(p,a):p}}return{nodes:a,isComplexSelector:i}}(e,r,a);null==n||null===(t=n.nodes)||void 0===t||t.forEach((function(t){n.isComplexSelector&&!Ss(t,e)||o.add(t)}))}));var u=[];return o.forEach((function(e){return u.push(e)})),n&&(u=u.filter(n)),u.sort((function(e,t){return e.nodeIndex-t.nodeIndex}))}}function Wh(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function Yh(e,t){return e.filter((function(e){return t.includes(e)}))}function Zh(e,t,n){Object.hasOwn(n,e)||(n[e]=[]),n[e].push(t)}function Xh(e,t){1===e.props.nodeType&&(Zh(e.props.nodeName,e,t),Zh("*",e,t),e.attrNames.forEach((function(n){"id"===n&&(t[Vh]=t[Vh]||{},Uh(e.attr(n)).forEach((function(n){Zh(n,e,t[Vh])}))),Zh("[".concat(n,"]"),e,t)})))}function Jh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.documentElement,t=arguments.length>1?arguments[1]:void 0;$h=!1;var n={};os.set("nodeMap",new WeakMap),os.set("selectorMap",n);var a=tp(e,t,null);return a[0]._selectorMap=n,a[0]._hasShadowRoot=$h,a}function Qh(e,t,n){var r=new Hh(e,t,n);return Xh(r,os.get("selectorMap")),r}function ep(e,t,n){var r=[];return e.forEach((function(e){var a=tp(e,n,t);a&&r.push.apply(r,B(a))})),r}function tp(e,n,a){var i,o;e.documentElement&&(e=e.documentElement);var u=e.nodeName.toLowerCase();return Ml(e)?($h=!0,i=Qh(e,a,n),n="a"+Math.random().toString().substring(2),o=Array.from(e.shadowRoot.childNodes),i.children=ep(o,i,n),[i]):"content"===u&&"function"==typeof e.getDistributedNodes?ep(o=Array.from(e.getDistributedNodes()),a,n):"slot"===u&&"function"==typeof e.assignedNodes?((o=Array.from(e.assignedNodes())).length||(o=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),t.getComputedStyle(e),ep(o,a,n)):e.nodeType===r.ELEMENT_NODE?(i=Qh(e,a,n),o=Array.from(e.childNodes),i.children=ep(o,i,n),[i]):e.nodeType===r.TEXT_NODE?[Qh(e,a)]:void 0}var np=function(e){return e?e.trim().split("-")[0].toLowerCase():""},rp=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=i._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 ap(){var e=i._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var ip=ta.resultGroups;function op(e,t){var n=i.utils.aggregateResult(e);return ip.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){if("object"===a(e.node)){var n=up(e.node,t);Object.assign(e,n)}return 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){return up(e,t)}))}))}))}(e,t),e}))),ip.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),n}function up(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=wl.dqElmToSpec(e,t);var n,r,a,o,u,s={};return s.html=i._audit.noHtml?null:null!==(n=e.source)&&void 0!==n?n:"Undefined",t.elementRef&&!e.fromFrame&&(s.element=null!==(r=e.element)&&void 0!==r?r:null),(!1!==t.selectors||e.fromFrame)&&(s.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]),t.ancestry&&(s.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]),t.xpath&&(s.xpath=null!==(u=e.xpath)&&void 0!==u?u:["/"]),s}var sp=/\$\{\s?data\s?\}/g;function lp(e,t){if("string"==typeof t)return e.replace(sp,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 cp=function e(t,n){if(t){if(Array.isArray(n))return n.values=n.join(", "),lp("string"==typeof t.singular&&"string"==typeof t.plural?1===n.length?t.singular:t.plural:t,n);if("string"==typeof t)return lp(t,n);if("string"==typeof n)return lp(t[n],n);var r=t.default||ap();return n&&n.messageKey&&t[n.messageKey]&&(r=t[n.messageKey]),e(r,n)}},dp=function(e,t,n){var r=i._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 cp(r.messages[t],n)},fp=function(e,t,n){var r=((n.rules&&n.rules[t]||{}).checks||{})[e.id],a=(n.checks||{})[e.id],i=e.enabled,o=e.options;return a&&(a.hasOwnProperty("enabled")&&(i=a.enabled),a.hasOwnProperty("options")&&(o=a.options)),r&&(r.hasOwnProperty("enabled")&&(i=r.enabled),r.hasOwnProperty("options")&&(o=r.options)),{enabled:i,options:o,absolutePaths:n.absolutePaths}};function hp(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return n&&"object"===a(n)?n:"object"!==a(r)?{}:{testEngine:{name:"axe-core",version:i.version},testRunner:{name:i._audit.brand},testEnvironment:pp(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function pp(e){if(!e.navigator||"object"!==a(e.navigator))return{};var t,n=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{};return{userAgent:e.navigator.userAgent,windowWidth:e.innerWidth,windowHeight:e.innerHeight,orientationAngle:n.angle,orientationType:n.type}}function mp(e,t){var n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:t.focusable&&vp(e),size:bp(e),page:n}}function vp(e){var t=Jp(e.getAttribute("tabindex"));return null===t||t>=0}function bp(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 gp(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];Bp(n)||(n=[n]);for(var a=0;a<n.length;a++){var i=(e=n[a])instanceof t.Node?e:"string"==typeof e?[e]:($p(e)?(function(e){wp(Array.isArray(e.fromFrames),"fromFrames property must be an array"),wp(e.fromFrames.every((function(e){return!_p(e,"fromFrames")})),"Invalid context; fromFrames selector must be appended, rather than nested"),wp(!_p(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):zp(e)&&(e=[e]),function(e){if(Array.isArray(e)){var t,n=[],r=Z(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(zp(a)&&(yp(a),a=a.fromShadowDom),"string"!=typeof a&&!Dp(a))return;n.push(a)}}catch(e){r.e(e)}finally{r.f()}return n}}(e));i&&r.push(i)}return r}function yp(e){wp(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),wp(e.fromShadowDom.every((function(e){return!_p(e,"fromFrames")})),"shadow selector must be inside fromFrame instead"),wp(e.fromShadowDom.every((function(e){return!_p(e,"fromShadowDom")})),"fromShadowDom selector must be appended, rather than nested")}function Dp(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function wp(e,t){ga(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function Fp(e,n){for(var r=[],a=0,i=e[n].length;a<i;a++){var o=e[n][a];if(o instanceof t.Node)if(o.documentElement instanceof t.Node)r.push(e.flatTree[0]);else if(o.host instanceof t.Node){var u=Array.from(o.children).map((function(e){return us(e)}));r.push.apply(r,B(u))}else r.push(us(o));else if(o&&o.length)if(o.length>1)Ep(e,n,o);else{var s=km(o[0]);r.push.apply(r,B(s.map((function(e){return us(e)}))))}}return r.filter((function(e){return e}))}function Ep(e,t,n){e.frames=e.frames||[],km(n.shift()).forEach((function(r){var a=e.frames.find((function(e){return e.node===r}));a||(a=mp(r,e),e.frames.push(a)),a[t].push(n)}))}function xp(e,n){var i,o,u,s,l,c=this;e=ps(e),this.frames=[],this.page="boolean"==typeof(null===(i=e)||void 0===i?void 0:i.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(o=e)||void 0===o?void 0:o.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(u=e)||void 0===u?void 0:u.focusable)||e.focusable,this.size="object"===a(null===(s=e)||void 0===s?void 0:s.size)?e.size:{},e=function(e){if(qp(e)){var t=" must be used inside include or exclude. It should not be on the same object.";wp(!_p(e,"fromFrames"),"fromFrames"+t),wp(!_p(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Pp(e))return{include:[r],exclude:[]};e={include:e,exclude:[]}}var n=gp(e.include);return 0===n.length&&n.push(r),{include:n,exclude:gp(e.exclude)}}(e),this.flatTree=null!=n?n:Jh(function(e){for(var n=e.exclude,a=Array.from(e.include).concat(Array.from(n)),i=0;i<a.length;i++){var o=a[i];if(o instanceof t.Element)return o.ownerDocument.documentElement;if(o instanceof t.Document)return o.documentElement}return r.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=Fp(this,"include"),this.exclude=Fp(this,"exclude"),ym("frame, iframe",this).forEach((function(e){Hp(e,c)&&function(e,t){cf(t)&&!El(e.frames,"node",t)&&e.frames.push(mp(t,e))}(c,e.actualNode)})),void 0===this.page&&(this.page=1===(l=this.include).length&&l[0].actualNode===r.documentElement,this.frames.forEach((function(e){e.page=c.page}))),function(e){if(0===e.include.length&&0===e.frames.length){var t=pl.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Kp)}function Ap(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new xp(e).frames.map((function(e){var t=e.node,n=R(e,y);return n.initiator=!1,{frameSelector:ns(t),frameContext:n}}))}function Cp(e){var t=i._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function kp(e,t){var n=e.getPropertyValue(t);return["scroll","auto"].includes(n)}var Rp=_u((function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+n,a=e.scrollHeight>e.clientHeight+n;if(r||a){var i=t.getComputedStyle(e),o=kp(i,"overflow-x"),u=kp(i,"overflow-y");return r&&o||a&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}));function Sp(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var n=Rp(t);return n&&e.push(n),e.concat(Sp(t))}),[])}var Tp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:n,top:n.scrollTop,left:n.scrollLeft}].concat(Sp(r.body))};function Mp(){return ps(wd)}var Op,Np=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,i=t.shadowId,o=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:i,root:o,priority:u}}},jp=function(e){if(Op&&Op.parentNode)return void 0===Op.styleSheet?Op.appendChild(r.createTextNode(e)):Op.styleSheet.cssText+=e,Op;if(e){var t=r.head||r.getElementsByTagName("head")[0];return(Op=r.createElement("style")).type="text/css",void 0===Op.styleSheet?Op.appendChild(r.createTextNode(e)):Op.styleSheet.cssText=e,t.appendChild(Op),Op}};function Bp(e){return!!e&&"object"===a(e)&&"number"==typeof e.length&&e instanceof t.Node==0}function _p(e,t){return!(!e||"object"!==a(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Ip(e){return qp(e)||Pp(e)}function qp(e){return["include","exclude"].some((function(t){return _p(e,t)&&Pp(e[t])}))}function Pp(e){return"string"==typeof e||e instanceof t.Node||$p(e)||zp(e)||Bp(e)}function $p(e){return _p(e,"fromFrames")}function zp(e){return _p(e,"fromShadowDom")}var Lp=function e(n,r){var a=us(n);if(9===n.nodeType)return!1;if(11===n.nodeType&&(n=n.host),a&&null!==a._isHidden)return a._isHidden;var i=t.getComputedStyle(n,null);if(!i||!n.parentNode||"none"===i.getPropertyValue("display")||!r&&"hidden"===i.getPropertyValue("visibility")||"true"===n.getAttribute("aria-hidden"))return!0;var o=e(n.assignedSlot?n.assignedSlot:n.parentNode,!0);return a&&(a._isHidden=o),o},Gp=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&&!!wd.htmlElms[r]};function Hp(e,t){var n=t.include,r=t.exclude,a=void 0===r?[]:r,i=(void 0===n?[]:n).filter((function(t){return kl(t,e)}));if(0===i.length)return!1;var o=a.filter((function(t){return kl(t,e)}));if(0===o.length)return!0;var u=Up(i);return kl(Up(o),u)}function Up(e){var t,n,r=Z(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;t&&kl(a,t)||(t=a)}}catch(e){r.e(e)}finally{r.f()}return t}function Vp(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}))}var Kp=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function Wp(e){return e instanceof aa?{vNode:e,domNode:e.actualNode}:{vNode:us(e),domNode:e}}var Yp=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=Array.from(e.cssRules);if(!i)return Promise.resolve();var o=i.filter((function(e){return 3===e.type}));if(!o.length)return Promise.resolve({isCrossOrigin:a,priority:n,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=o.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!r.includes(e)})).map((function(e,a){var i=[].concat(B(n),[a]),o=/^https?:\/\/|^\/\//i.test(e);return Xp(e,t,i,r,o)})),s=i.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)},Zp=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)?Yp(e,t,n,r,a):Xp(e.href,t,n,r,!0)},Xp=function(e,n,r,a,i){return a.push(e),new Promise((function(n,r){var a=new t.XMLHttpRequest;a.open("GET",e),a.timeout=ta.preload.timeout,a.addEventListener("error",r),a.addEventListener("timeout",r),a.addEventListener("loadend",(function(e){if(e.loaded&&a.responseText)return n(a.responseText);r(a.responseText)})),a.send()})).then((function(e){var t=n.convertDataToStylesheet({data:e,isCrossOrigin:i,priority:r,root:n.rootNode,shadowId:n.shadowId});return Zp(t.sheet,n,r,a,t.isCrossOrigin)}))},Jp=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},Qp=function(){function e(){if(t.performance&&t.performance)return t.performance.now()}var n=e(),r=!1;return{start:function(){this.reset(),r=!0,this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",!0),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=!1},auditStart:function(){r||this.reset(),this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",!0),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end")},mark:function(e){var n;null!==(n=t.performance)&&void 0!==n&&n.mark&&t.performance.mark(e)},measure:function(e,n,r){var a,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null!==(a=t.performance)&&void 0!==a&&a.measure){try{t.performance.measure(e,n,r)}catch(e){this._log(e)}i||this.clearMark(n,r)}},logMeasures:function(e){var n,r,a=this,i=function(e){return Array.isArray(e)?e[e.length-1]:e},o=function(e){a._log("Measure "+e.name+" took "+e.duration+"ms")};if(null!==(n=t.performance)&&void 0!==n&&n.getEntriesByType&&null!==(r=t.performance)&&void 0!==r&&r.getEntriesByName){var u=i(t.performance.getEntriesByName("mark_axe_start"))||i(t.performance.getEntriesByName("mark_audit_start"));if(u)for(var s=t.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=u.startTime})),l=0;l<s.length;++l){var c=s[l];if(c.name===e)return void o(c);e||o(c)}else this._log("Axe must be started before using performanceTimer")}},timeElapsed:function(){return e()-n},clearMark:function(){var e;if(null!==(e=t.performance)&&void 0!==e&&e.clearMarks){for(var n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];for(var i=0,o=r;i<o.length;i++)t.performance.clearMarks(o[i])}},reset:function(){n=e()},_log:function(e){na(e)}}}(),em=Qp;function tm(){if(r.elementsFromPoint)return r.elementsFromPoint;if(r.msElementsFromPoint)return r.msElementsFromPoint;var e,t=((e=r.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),n=t?"pointer-events":"visibility",a=t?"none":"hidden",i=r.createElement("style");return i.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,u,s,l=[],c=[];for(r.head.appendChild(i);(o=r.elementFromPoint(e,t))&&-1===l.indexOf(o);)l.push(o),c.push({value:o.style.getPropertyValue(n),priority:o.style.getPropertyPriority(n)}),o.style.setProperty(n,a,"important");for(l.indexOf(r.documentElement)<l.length-1&&(l.splice(l.indexOf(r.documentElement),1),l.push(r.documentElement)),u=c.length;s=c[--u];)l[u].style.setProperty(n,s.value?s.value:"",s.priority);return r.head.removeChild(i),l}}"function"==typeof t.addEventListener&&(r.elementsFromPoint=tm());var nm=function(e,t){return e.concat(t).filter((function(e,t,n){return n.indexOf(e)===t}))};function rm(e,t,n,r,a){var i=a||{};return i.vNodes=e,i.vNodesIndex=0,i.anyLevel=t,i.thisLevel=n,i.parentShadowId=r,i}var am=function(e,t,n){e=Array.isArray(e)?e:[e];var r=ks(t);return Kh(e,r,n)||function(e,t,n){for(var r=os.get("qsa.recycledLocalVariables",(function(){return[]})),a=[],i=rm(Array.isArray(e)?e:[e],t,null,e[0].shadowId,r.pop()),o=[];i.vNodesIndex<i.vNodes.length;){for(var u,s,l=i.vNodes[i.vNodesIndex++],c=null,d=null,f=((null===(u=i.anyLevel)||void 0===u?void 0:u.length)||0)+((null===(s=i.thisLevel)||void 0===s?void 0:s.length)||0),h=!1,p=0;p<f;p++){var m,v,b,g=p<((null===(m=i.anyLevel)||void 0===m?void 0:m.length)||0)?i.anyLevel[p]:i.thisLevel[p-((null===(v=i.anyLevel)||void 0===v?void 0:v.length)||0)];if((!g[0].id||l.shadowId===i.parentShadowId)&&Ss(l,g[0]))if(1===g.length)h||n&&!n(l)||(o.push(l),h=!0);else{var y=g.slice(1);if(!1===[" ",">"].includes(y[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+g[1].combinator);">"===y[0].combinator?(c=c||[]).push(y):(d=d||[]).push(y)}g[0].id&&l.shadowId!==i.parentShadowId||null===(b=i.anyLevel)||void 0===b||!b.includes(g)||(d=d||[]).push(g)}for(l.children&&l.children.length&&(a.push(i),i=rm(l.children,d,c,l.shadowId,r.pop()));i.vNodesIndex===i.vNodes.length&&a.length;)r.push(i),i=a.pop()}return o}(e,r,n)},im=function(e){var t=e.treeRoot,n=function(e){var t=[],n=am(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:Nl(e.actualNode)}}));return nm(n,[])}(void 0===t?i._tree[0]:t);if(!n.length)return Promise.resolve();var a=r.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var n=[];return e.forEach((function(e,r){var a=e.rootNode,i=e.shadowId,o=function(e,t,n){var r;return r=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(um).reduce((function(n,r){var a=r.nodeName.toUpperCase(),i=t({data:"STYLE"===a?r.textContent:r,isLink:"LINK"===a,root:e});return i.sheet&&n.push(i.sheet),n}),[])}(e,n):function(e){return Array.from(e.styleSheets).filter((function(e){return!!e.media&&sm(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,i,t);if(!o)return Promise.all(n);var u=r+1,s={rootNode:a,shadowId:i,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(o.map((function(e,t){return Zp(e,s,[u,t],l)})));n.push(c)})),Promise.all(n)}(n,Np(a)).then((function(e){return om(e)}))};function om(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(om(t)):e.concat(t)}),[])}function um(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&&sm(e.media)}function sm(e){return!e||!e.toUpperCase().includes("PRINT")}var lm=function(e){var t=e.treeRoot,n=am(void 0===t?i._tree[0]:t,"video[autoplay], audio[autoplay]",(function(e){var t=e.actualNode;return!("none"===t.preload&&0===t.readyState&&t.networkState!==t.NETWORK_LOADING||t.hasAttribute("paused")||t.hasAttribute("muted")||(t.hasAttribute("src")?!t.getAttribute("src"):Array.from(t.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0))}));return Promise.all(n.map((function(e){var t;return t=e.actualNode,new Promise((function(e){t.readyState>0&&e(t),t.addEventListener("loadedmetadata",(function n(){t.removeEventListener("loadedmetadata",n),e(t)}))}))})))};function cm(e){var t={cssom:im,media:lm};return dm(e)?new Promise((function(n,r){var a=fm(e),i=a.assets,o=setTimeout((function(){return r(new Error("Preload assets timed out."))}),a.timeout);Promise.all(i.map((function(n){return t[n](e).then((function(e){return C({},n,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return j({},e,t)}),{});clearTimeout(o),n(t)})).catch((function(e){clearTimeout(o),r(e)}))})):Promise.resolve()}function dm(e){return!e||null==e.preload||("boolean"==typeof e.preload?e.preload:"object"===a(t=e.preload)&&Array.isArray(t.assets));var t}function fm(e){var t=ta.preload,n=t.assets,r={assets:n,timeout:t.timeout};if(!e.preload)return r;if("boolean"==typeof e.preload)return r;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 r.assets=nm(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(r.timeout=e.preload.timeout),r}function hm(e){var t=i._audit.data.checks||{},n=i._audit.data.rules||{},r=El(i._audit.rules,"id",e.id)||{};e.tags=ps(r.tags||[]);var a=pm(t,!0,r),o=pm(t,!1,r);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),Sl(e,ps(n[e.id]||{}))}function pm(e,t,n){return function(r){var i=e[r.id]||{},o=i.messages||{},u=Object.assign({},i);delete u.messages,n.reviewOnFail||void 0!==r.result?u.message=r.result===t?o.pass:o.fail:("object"!==a(o.incomplete)||Array.isArray(r.data)||(u.message=function(e,t){function n(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:ap()}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)),u.message||(u.message=o.incomplete)),"function"!=typeof u.message&&(u.message=cp(u.message,r.data)),Sl(r,u)}}var mm=function(e,t){return am(e,t)};var vm=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:function(e,t){var n,r,a=i._audit&&i._audit.tagExclude?i._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)}))}(e,"tag"===r.type&&r.values?r.values:[]))};function bm(e,t){if(!t)return e;var n=e.cloneNode(!1),r=Aa(n);return n=1===n.nodeType?os.get(n.outerHTML,(function(){return gm(n,r,e,t)})):gm(n,r,e,t),Array.from(e.childNodes).forEach((function(e){n.appendChild(bm(e,t))})),n}function gm(e,t,n,a){return t?(e=r.createElement(e.nodeName),Array.from(t).forEach((function(t){(function(e,t,n){return void 0!==n[t]&&(!0===n[t]||Ca(e,n[t]))})(n,t.name,a)||e.setAttribute(t.name,t.value)})),e):e}function ym(e,t){var n=[];if(i._selectCache)for(var r=0,a=i._selectCache.length;r<a;r++){var o=i._selectCache[r];if(o.selector===e)return o.result}for(var u=t.include.reduce((function(e,t){return e.length&&kl(e[e.length-1],t)||e.push(t),e}),[]),s=function(e){return e.exclude&&0!==e.exclude.length?function(t){return Hp(t,e)}:null}(t),l=0;l<u.length;l++)n=Dm(n,am(u[l],e,s));return i._selectCache&&i._selectCache.push({selector:e,result:n}),n}function Dm(e,t){if(0===e.length)return t;if(e.length<t.length){var n=e;e=t,t=n}for(var r=0,a=t.length;r<a;r++)e.includes(t[r])||e.push(t[r]);return e}function wm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if("object"!==a(e)||null===e)return{message:String(e)};var n,r={},i=Z(ta.serializableErrorProps);try{for(i.s();!(n=i.n()).done;){var o=n.value;["string","number","boolean"].includes(a(e[o]))&&(r[o]=e[o])}}catch(e){i.e(e)}finally{i.f()}return e.cause&&(r.cause=t<10?wm(e.cause,t+1):"..."),r}var Fm=function(e){function t(e){var n,r,a=e.error,i=e.ruleId,o=e.method,u=e.errorNode;return V(this,t),(r=S(this,t)).name=null!==(n=a.name)&&void 0!==n?n:"RuleError",r.message=a.message,r.stack=a.stack,a.cause&&(r.cause=wm(a.cause)),i&&(r.ruleId=i,r.message+=" Skipping ".concat(r.ruleId," rule.")),o&&(r.method=o),u&&(r.errorNode=u),r}return O(t,e),W(t)}(A(Error)),Em=Fm,xm=function(e){e.forEach((function(e){return function(e,n,r){if(e===t)return e.scroll(r,n);e.scrollTop=n,e.scrollLeft=r}(e.elm,e.top,e.left)}))};function Am(e){return Cm(Array.isArray(e)?B(e):[e],r)}function Cm(e,t){var n=e.shift(),r=n?t.querySelector(n):null;return 0===e.length?r:null!=r&&r.shadowRoot?Cm(e,r.shadowRoot):null}function km(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=Array.isArray(e)?B(e):[e];return 0===e.length?[]:Rm(n,t)}function Rm(e,t){var n,r=U(n=e)||_(n)||X(n)||H(),a=r[0],i=J(r).slice(1),o=t.querySelectorAll(a);if(0===i.length)return Array.from(o);var u,s=[],l=Z(o);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,B(Rm(i,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var Sm=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"]},Tm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 Mm(e){e=Array.isArray(e)?e:Tm;var t=[];return e.forEach((function(e,n){var r=String.fromCharCode(n+96).replace("`","");Array.isArray(e)?t=t.concat(Mm(e).map((function(e){return r+e}))):t.push(r)})),t}var Om=function(e){for(var t=Tm;e.length<3;)e+="`";for(var n=0;n<=e.length-1;n++)if(!(t=t[e.charCodeAt(n)-96]))return!1;return!0},Nm=function(e){function t(e){var n,r,i,o;return V(this,t),(n=S(this,t))._props=function(e){var t,n,r,a=null!==(t=e.nodeName)&&void 0!==t?t:Bm[e.nodeType],i=null!==(n=null!==(r=e.nodeType)&&void 0!==r?r:jm[e.nodeName])&&void 0!==n?n:1;ga("number"==typeof i,"nodeType has to be a number, got '".concat(i,"'")),ga("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'"));var o=null;"input"===(a=a.toLowerCase())&&(o=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Sm().includes(o)||(o="text"));var u=j({},e,{nodeType:i,nodeName:a});return o&&(u.type=o),delete u.attributes,Object.freeze(u)}(e),n._attrs=(i=void 0===(r=e.attributes)?{}:r,o={htmlFor:"for",className:"class"},Object.keys(i).reduce((function(e,t){var n=i[t];return ga("object"!==a(n)||null===n,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==n&&(e[o[t]||t]=null!==n?String(n):null),e}),{})),n}return O(t,e),W(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(aa),jm={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Bm={};Object.keys(jm).forEach((function(e){Bm[jm[e]]=e}));var _m,Im=Nm,qm=function(e,t){if(e=e||function(){},t=t||i.log,!i._audit)throw new Error("No audit configured");var n=i.utils.queue(),a=[];Object.keys(i.plugins).forEach((function(e){n.defer((function(t){var n=function(e){a.push(e),t()};try{i.plugins[e].cleanup(t,n)}catch(e){n(e)}}))}));var o=i.utils.getFlattenedTree(r.body);i.utils.querySelectorAll(o,"iframe, frame").forEach((function(e){n.defer((function(t,n){return i.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,n)}))})),n.then((function(n){0===a.length?e(n):t(a)})).catch(t)},Pm={};function $m(e){return Pm.hasOwnProperty(e)}function zm(e){return"string"==typeof e&&Pm[e]?Pm[e]:"function"==typeof e?e:_m}var Lm={};ce(Lm,{getAllCells:function(){return Gm},getCellPosition:function(){return Rd},getHeaders:function(){return Um},getScope:function(){return Sd},isColumnHeader:function(){return Td},isDataCell:function(){return Vm},isDataTable:function(){return Km},isHeader:function(){return Wm},isRowHeader:function(){return Md},toArray:function(){return kd},toGrid:function(){return kd},traverse:function(){return Zm}});var Gm=function(e){var t,n,r,a,i=[];for(t=0,r=e.rows.length;t<r;t++)for(n=0,a=e.rows[t].cells.length;n<a;n++)i.push(e.rows[t].cells[n]);return i};function Hm(e,t,n){for(var r,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?Md:Td,u=n[t.y][t.x],s=u.colSpan-1,l=u.getAttribute("rowspan"),c=0===parseInt(l)||0===u.rowspan?n.length:u.rowSpan,d=t.x+s,f="row"===e?t.y:0,h="row"===e?0:t.x,p=[],m=t.y+(c-1);m>=f&&!r;m--)for(var v=d;v>=h;v--){var b=n[m]?n[m][v]:void 0;if(b){var g=i.utils.getNodeFromTree(b);if(g[a]){r=g[a];break}p.push(b)}}return r=(r||[]).concat(p.filter(o)),p.forEach((function(e){i.utils.getNodeFromTree(e)[a]=r})),r}var Um=function(e,t){if(e.getAttribute("headers")){var n=hd(e,"headers");if(n.filter((function(e){return e})).length)return n}t||(t=kd(Il(e,"table")));var r=Rd(e,t),a=Hm("row",r,t),i=Hm("col",r,t);return[].concat(a,i).reverse()},Vm=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=xd(e);return t?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},Km=function(e){var n=xd(e);if(("presentation"===n||"none"===n)&&!sd(e))return!1;if("true"===e.getAttribute("contenteditable")||Il(e,'[contenteditable="true"]'))return!0;if("grid"===n||"treegrid"===n||"table"===n)return!0;if("landmark"===sh(n))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,a=e.children.length;r<a;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var i,o,u=0,s=e.rows.length,l=!1,c=0;c<s;c++)for(var d=0,f=(i=e.rows[c]).cells.length;d<f;d++){if("TH"===(o=i.cells[d]).nodeName.toUpperCase())return!0;if(l||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(l=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes(xd(o)))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;u++}if(e.getElementsByTagName("table").length)return!1;if(s<2)return!1;var h,p,m=e.rows[Math.ceil(s/2)];if(1===m.cells.length&&1===m.cells[0].colSpan)return!1;if(m.cells.length>=5)return!0;if(l)return!0;for(var v=0;v<s;v++){if(i=e.rows[v],h&&h!==t.getComputedStyle(i).getPropertyValue("background-color"))return!0;if(h=t.getComputedStyle(i).getPropertyValue("background-color"),p&&p!==t.getComputedStyle(i).getPropertyValue("background-image"))return!0;p=t.getComputedStyle(i).getPropertyValue("background-image")}return s>=20||!(oc(e).width>.95*uc(t).width)&&!(u<10)&&!e.querySelector("object, embed, iframe, applet")},Wm=function(e){if(Td(e)||Md(e))return!0;if(e.getAttribute("id")){var t=Da(e.getAttribute("id"));return!!r.querySelector('[headers~="'.concat(t,'"]'))}return!1};function Ym(e,t,n,r){var a,i=n[t.y]?n[t.y][t.x]:void 0;return i?"function"==typeof r&&!0===(a=r(i,t,n))?[i]:((a=Ym(e,{x:t.x+e.x,y:t.y+e.y},n,r)).unshift(i),a):[]}var Zm=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 Ym(e,{x:t.x+e.x,y:t.y+e.y},n,r)},Xm={};ce(Xm,{allowedAttr:function(){return Jm},arialabelText:function(){return vd},arialabelledbyText:function(){return md},getAccessibleRefs:function(){return tv},getElementUnallowedRoles:function(){return iv},getExplicitRole:function(){return xd},getImplicitRole:function(){return Jd},getOwnedVirtual:function(){return sf},getRole:function(){return rf},getRoleType:function(){return sh},getRolesByType:function(){return uv},getRolesWithNameFromContents:function(){return lv},implicitNodes:function(){return pv},implicitRole:function(){return Jd},isAccessibleRef:function(){return mv},isAriaRoleAllowedOnElement:function(){return nv},isComboboxPopup:function(){return vv},isUnsupportedRole:function(){return Fd},isValidRole:function(){return Ed},label:function(){return gv},labelVirtual:function(){return zf},lookupTable:function(){return hv},namedFromContents:function(){return uf},requiredAttr:function(){return yv},requiredContext:function(){return Dv},requiredOwned:function(){return wv},validateAttr:function(){return Ev},validateAttrValue:function(){return Fv}});var Jm=function(e){var t=wd.ariaRoles[e],n=B(Cd());return t?(t.allowedAttrs&&n.push.apply(n,B(t.allowedAttrs)),t.requiredAttrs&&n.push.apply(n,B(t.requiredAttrs)),n):n},Qm=/^idrefs?$/;function ev(e,t,n){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var r=e.getAttribute("for");t.has(r)?t.get(r).push(e):t.set(r,[e])}for(var a=0;a<n.length;++a){var i=Od(e.getAttribute(n[a])||"");if(i){var o,u=Z(Uh(i));try{for(u.s();!(o=u.n()).done;){var s=o.value;t.has(s)?t.get(s).push(e):t.set(s,[e])}}catch(e){u.e(e)}finally{u.f()}}}}for(var l=0;l<e.childNodes.length;l++)1===e.childNodes[l].nodeType&&ev(e.childNodes[l],t,n)}var tv=function(e){var t,n=jl(e=e.actualNode||e);n=n.documentElement||n;var r=os.get("idRefsByRoot",(function(){return new Map})),a=r.get(n);return a||(a=new Map,r.set(n,a),ev(n,a,Object.keys(wd.ariaAttrs).filter((function(e){return Qm.test(wd.ariaAttrs[e].type)})))),null!==(t=a.get(e.id))&&void 0!==t?t:[]},nv=function(e,t){var n=e instanceof aa?e:us(e),r=Jd(n),a=Xd(n);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==r&&!!a.allowedRoles},rv=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],av={header:"banner",footer:"contentinfo"},iv=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Wp(e).vNode;if(!Gp(n))return[];var r=n.props.nodeName,a=Jd(n)||av[r];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var n=Uh(e.attr("role").toLowerCase());t=t.concat(n)}return t.filter((function(e){return Ed(e)}))}(n).filter((function(e){return!function(e,t,n,r){return!(!n||e!==r)||(!rv.includes(e)||sh(e)===r)&&nv(t,e)}(e,n,t,a)}))},ov=function(e){return Object.keys(wd.ariaRoles).filter((function(t){return wd.ariaRoles[t].type===e}))},uv=function(e){return ov(e)},sv=function(){return os.get("ariaRolesNameFromContent",(function(){return Object.keys(wd.ariaRoles).filter((function(e){return wd.ariaRoles[e].nameFromContent}))}))},lv=function(){return sv()},cv=function(e){return null===e},dv=function(e){return null!==e},fv={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"]};fv.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:dv}}]},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:dv}}]},"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:dv}}]},"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:dv}}]},"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:dv}}]},"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:dv}}]},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:dv}}]},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:dv}}]},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:dv}}]},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:dv}}]},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:dv}}]},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:dv}}]},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:dv}}]},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:dv}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},fv.implicitHtmlRole=_d,fv.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:dv}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:dv}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof i.AbstractVirtualNode||(e=i.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"]}],fv.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:cv}},{nodeName:"img",attributes:{alt:cv}},{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"]}],fv.evaluateRoleForElement={A:function(e){var t=e.node;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||e.out},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.role,n=e.out;return"menu"===e.node.getAttribute("type")?"menuitem"===t:n},IMG:function(e){var t=e.role,n=e.out;switch(e.node.alt){case null:return n;case"":return"presentation"===t||"none"===t;default:return"presentation"!==t&&"none"!==t}},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.out;return!i.utils.matchesSelector(e.node,"ol li, ul li")||t},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){return!i.utils.matchesSelector(e.node,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node;return!t.multiple&&t.size<=1&&"menu"===e.role},SVG:function(e){var t=e.node;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||e.out}},fv.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 hv=fv,pv=function(e){var t=null,n=hv.role[e];return n&&n.implicit&&(t=ps(n.implicit)),t},mv=function(e){return!!tv(e).length};function vv(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,n=rf(e);if(null!=t||(t=bd["aria-haspopup"].values),!t.includes(n))return!1;var r=function(e){for(;e=e.parent;)if(null!==rf(e,{noPresentational:!0}))return e;return null}(e);if(bv(r))return!0;var a=e.props.id;if(!a)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var i=Nl(e.actualNode).querySelectorAll('[aria-owns~="'.concat(a,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(a,'"][role~="combobox"]:not(select)'));return Array.from(i).some(bv)}var bv=function(e){return e&&"combobox"===rf(e)},gv=function(e){return e=us(e),zf(e)},yv=function(e){var t=wd.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?B(t.requiredAttrs):[]},Dv=function(e){var t=wd.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?B(t.requiredContext):null},wv=function(e){var t=wd.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?B(t.requiredOwned):null},Fv=function(e,t){var n,r,a=(e=e instanceof aa?e:us(e)).attr(t),i=wd.ariaAttrs[t];if(!i)return!0;if(i.allowEmpty&&(!a||""===a.trim()))return!0;switch(i.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&i.values.includes(a.toLowerCase());case"nmtokens":return(r=Uh(a)).reduce((function(e,t){return e&&i.values.includes(t)}),0!==r.length);case"idref":try{var o=jl(e.actualNode);return!(!a||!o.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return hd(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!==i.minValue?i.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}},Ev=function(e){return!!wd.ariaAttrs[e]},xv=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Av=xv[0],Cv=xv[1],kv=xv[2],Rv=xv[3];function Sv(e){return"caption"===e.props.nodeName}var Tv={};ce(Tv,{getAriaRolesByType:function(){return ov},getAriaRolesSupportingNameFromContent:function(){return sv},getElementSpec:function(){return Xd},getElementsByContentType:function(){return Ad},getGlobalAriaAttrs:function(){return Cd},implicitHtmlRoles:function(){return _d}});var Mv=["alert","log","status"];function Ov(e,t){var n=e.actualNode;if("button"===rf(e)||function(e,t){var n=e.actualNode,r=rf(e),a=(n.getAttribute("aria-live")||"").toLowerCase().trim(),i=ov("landmark");return!!(["assertive","polite"].includes(a)||Mv.includes(r)||i.includes(r)||t.regionMatcher&&Zd(e,t.regionMatcher))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||Rh(e.actualNode)&&ed(e.actualNode,"href")||!cf(n)){for(var a=e;a;)a._hasRegionDescendant=!0,a=a.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return n!==r.body&&th(n,!0)&&!function(e){return["none","presentation"].includes(rf(e))&&!Qf(e)}(e)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return Ov(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}function Nv(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 jv(e){var n=t.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+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:Nv(n.getPropertyValue("font-weight")),fontSize:parseInt(n.getPropertyValue("font-size")),isItalic:"italic"===n.getPropertyValue("font-style")}}function Bv(e,t,n){return n.reduce((function(n,r){return n||(!r.size||e.fontSize/r.size>t.fontSize)&&(!r.weight||e.fontWeight-r.weight>t.fontWeight)&&(!r.italic||e.isItalic&&!t.isItalic)}),!1)}var _v=/[;,\s]/,Iv=/^[0-9.]+$/,qv={};ce(qv,{aria:function(){return Xm},color:function(){return Pv},dom:function(){return Ol},forms:function(){return yb},matches:function(){return Zd},math:function(){return bc},standards:function(){return Tv},table:function(){return Lm},text:function(){return fd},utils:function(){return ia}});var Pv={};ce(Pv,{Color:function(){return xh},centerPointOfRect:function(){return $v},elementHasImage:function(){return yh},elementIsDistinct:function(){return Lv},filteredRectStack:function(){return Hv},flattenColors:function(){return Kv},flattenShadowColors:function(){return Yv},getBackgroundColor:function(){return fb},getBackgroundStack:function(){return Zv},getContrast:function(){return mb},getForegroundColor:function(){return vb},getOwnBackgroundColor:function(){return Ch},getRectStack:function(){return Gv},getStackingContext:function(){return ub},getStrokeColorsFromShadows:function(){return nb},getTextShadowColors:function(){return ib},hasValidContrastRatio:function(){return gb},incompleteData:function(){return gh},parseTextShadows:function(){return ab},stackingContextToColor:function(){return sb}});var $v=function(e){if(!(e.left>t.innerWidth||e.top>t.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),t.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),t.innerHeight-1)}};function zv(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var Lv=function(e,n){var r=t.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var n=new xh;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha}),!1))return!0;var a=t.getComputedStyle(n);if(zv(r)[0]!==zv(a)[0])return!0;var i=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||r.getPropertyValue(t)!==a.getPropertyValue(t)}),!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(i=i||o!==a.getPropertyValue("text-decoration")),i},Gv=function(e){var t=id(e),n=Yf(e);return!n||n.length<=1?[t]:n.some((function(e){return void 0===e}))?null:(n.splice(0,0,t),n)},Hv=function(e){var t=Gv(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var n,r=t.shift();return t.forEach((function(a,i){if(0!==i){var o=t[i];n=t[i-1].every((function(e,t){return e===o[t]}))||r.includes(e)}})),n?t[0]:(gh.set("bgColor","elmPartiallyObscuring"),null)}return gh.set("bgColor","outsideViewport"),null},Uv=["hue","saturation","color","luminosity"],Vv={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},hue:function(e,t){return t.setSaturation(e.getSaturation()).setLuminosity(e.getLuminosity())},saturation:function(e,t){return e.setSaturation(t.getSaturation()).setLuminosity(e.getLuminosity())},color:function(e,t){return t.setLuminosity(e.getLuminosity())},luminosity:function(e,t){return e.setLuminosity(t.getLuminosity())}};function Kv(e,t){var n=function(e,t,n){if(Uv.includes(n))return Vv[n](e,t);var r=new xh;return["r","g","b"].forEach((function(a){r[a]=Vv[n](e[a],t[a])})),r}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),r=Wv(e.red,e.alpha,t.red,t.alpha,255*n.r),a=Wv(e.green,e.alpha,t.green,t.alpha,255*n.g),i=Wv(e.blue,e.alpha,t.blue,t.alpha,255*n.b),o=Math.min(Math.max(0,e.alpha+t.alpha*(1-e.alpha)),1);if(0===o)return new xh(r,a,i,o);var u=Math.round(r/o),s=Math.round(a/o),l=Math.round(i/o);return new xh(u,s,l,o)}function Wv(e,t,n,r,a){return t*(1-r)*e+t*r*a+(1-t)*r*n}function Yv(e,t){var n=e.alpha;return new xh((1-n)*t.red+n*e.red,(1-n)*t.green+n*e.green,(1-n)*t.blue+n*e.blue,e.alpha+t.alpha*(1-e.alpha))}function Zv(e){for(var n=Yf(e).map((function(n){return function(e){var n=e.indexOf(r.body),a=e,i=Ch(t.getComputedStyle(r.documentElement));if(n>1&&0===i.alpha&&!yh(r.documentElement)){n>1&&(a.splice(n,1),a.push(r.body));var o=a.indexOf(r.documentElement);o>0&&(a.splice(o,1),a.push(r.documentElement))}return a}(n=Nh(n,e))})),a=0;a<n.length;a++){var i=n[a];if(i[0]!==e)return gh.set("bgColor","bgOverlap"),null;if(0!==a&&!Xv(i,n[0]))return gh.set("bgColor","elmPartiallyObscuring"),null}return n[0]||null}function Xv(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}var Jv=.54,Qv=.5,eb=1.5,tb=["top","right","bottom","left"];function nb(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,n=void 0!==t&&t,r=function(e){var t,n={},r=Z(e);try{for(r.s();!(t=r.n()).done;){var a,i=t.value,o=i.colorStr,u=i.pixels;null!==(a=n[o])&&void 0!==a||(n[o]={top:[],right:[],bottom:[],left:[]});var s=n[o],l=G(u,2),c=l[0],d=l[1];c>Qv?s.right.push(c):-c>Qv&&s.left.push(-c),d>Qv?s.bottom.push(d):-d>Qv&&s.top.push(-d)}}catch(e){r.e(e)}finally{r.f()}return n}(e),a=Object.entries(r).map((function(e){var t=G(e,2),n=t[0],r=t[1],a=tb.filter((function(e){return 0!==r[e].length})).length;return{colorStr:n,sides:r,edgeCount:a}}));return!n&&a.some((function(e){var t=e.edgeCount;return t>1&&t<4}))?null:a.map(rb).filter((function(e){return null!==e}))}function rb(e){var t=e.colorStr,n=e.sides;if(4!==e.edgeCount)return null;var r=new xh;r.parseString(t);var a=0,i=!0;return tb.forEach((function(e){a+=n[e].length/4,i&&(i=n[e].every((function(e){return e>eb})))})),i||(r.alpha=1-Math.pow(Jv,a)),r}function ab(e){var t={pixels:[]},n=e.trim(),r=[t];if(!n)return[];for(;n;){var a=n.match(/^[a-z]+(\([^)]+\))?/i)||n.match(/^#[0-9a-f]+/i),i=n.match(/^([0-9.-]+)px/i)||n.match(/^(0)/);if(a)ga(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),n=n.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){ga(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),n=n.replace(i[0],"").trim();var o=parseFloat(("."===i[1][0]?"0":"")+i[1]);t.pixels.push(o)}else{if(","!==n[0])throw new Error("Unable to process text-shadows: ".concat(n));ga(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),r.push(t={pixels:[]}),n=n.substr(1).trim()}}return r.forEach((function(e){var t=e.pixels;2===t.length&&t.push(0)})),r}function ib(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.minRatio,a=n.maxRatio,i=n.ignoreEdgeCount,o=[],u=t.getComputedStyle(e),s=u.getPropertyValue("text-shadow");if("none"===s)return o;var l=u.getPropertyValue("font-size"),c=parseInt(l);ga(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,f=[],h=Z(ab(s));try{for(h.s();!(d=h.n()).done;){var p=d.value,m=p.colorStr||u.getPropertyValue("color"),v=G(p.pixels,3),b=v[0],g=v[1],y=v[2],D=void 0===y?0:y;if(!(a&&D>=c*a))if(r&&D<c*r)f.push({colorStr:m,pixels:p.pixels});else{if(f.length>0){var w=nb(f,{ignoreEdgeCount:i});if(null===w)return null;o.push.apply(o,B(w)),f.splice(0,f.length)}var F=ob({colorStr:m,offsetX:b,offsetY:g,blurRadius:D,fontSize:c});o.push(F)}}}catch(e){h.e(e)}finally{h.f()}if(f.length>0){var E=nb(f,{ignoreEdgeCount:i});if(null===E)return null;o.push.apply(o,B(E))}return o}function ob(e){var t=e.colorStr,n=e.blurRadius,r=e.fontSize;if(e.offsetX>n||e.offsetY>n)return new xh(0,0,0,0);var a=new xh;return a.parseString(t),a.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(n,r),a}function ub(e,t){var n=us(e);if(n._stackingContext)return n._stackingContext;var r=[],a=new Map;return(t=null!=t?t:Zv(e)).forEach((function(e){var t,n=us(e),i=function(e){var t=new xh;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(n),o=n._stackingOrder.filter((function(e){return!!e.vNode}));o.forEach((function(e,t){var n,i=e.vNode,u=null===(n=o[t-1])||void 0===n?void 0:n.vNode,s=db(a,i,u);0!==t||a.get(i)||r.unshift(s),a.set(i,s)}));var u=null===(t=o[o.length-1])||void 0===t?void 0:t.vNode,s=db(a,n,u);o.length||r.unshift(s),s.bgColor=i})),n._stackingContext=r,r}function sb(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=Kv(e.descendants.reduce(lb,cb()),e.bgColor,e.descendants[0].blendMode);return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}function lb(e,t){var n;return n=e instanceof xh?e:sb(e).color,Kv(sb(t).color,n,t.blendMode)}function cb(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 xh(0,0,0,0),blendMode:(r=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),r||void 0),descendants:[]}}function db(e,t,n){var r,a=e.get(n),i=null!==(r=e.get(t))&&void 0!==r?r:cb(t,a);return a&&n!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function fb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,i=us(e),o=i._cache.getBackgroundColor;if(o)return n.push.apply(n,B(o.bgElms)),gh.set("bgColor",o.incompleteData),o.bgColor;var u=function(e,n,a){var i,o,u=Zv(e);if(!u)return null;var s=Kf(e),l=null!==(i=ib(e,{minRatio:a,ignoreEdgeCount:!0}))&&void 0!==i?i:[];l.length&&(l=[{color:l.reduce(Yv)}]);for(var c=0;c<u.length;c++){var d=u[c],f=t.getComputedStyle(d);if(yh(d,f))return n.push(d),null;var h=void 0;try{if(0===(h=Ch(f)).alpha)continue}catch(e){if(e&&gh.get("colorParse"))return null;throw e}if("inline"!==f.getPropertyValue("display")&&!hb(d,s))return n.push(d),gh.set("bgColor","elmPartiallyObscured"),null;if(n.push(d),1===h.alpha)break}l=ub(e,u).map(sb).concat(l);var p=function(e,n){var a=[];if(!n){var i=r.body,o=t.getComputedStyle(r.documentElement),u=t.getComputedStyle(i),s=Ch(o),l=Ch(u),c=0!==l.alpha&&hb(i,e.getBoundingClientRect());(0!==l.alpha&&0===s.alpha||c&&1!==l.alpha)&&a.unshift({color:l,blendMode:pb(u.getPropertyValue("mix-blend-mode"))}),0!==s.alpha&&(!c||c&&1!==l.alpha)&&a.unshift({color:s,blendMode:pb(o.getPropertyValue("mix-blend-mode"))})}return a}(e,u.includes(r.body));if((o=l).unshift.apply(o,B(p)),0===l.length)return new xh(255,255,255,1);var m=l.reduce((function(e,t){return Kv(t.color,e.color instanceof xh?e.color:e,t.blendMode)}));return Kv(m.color instanceof xh?m.color:m,new xh(255,255,255,1))}(e,n,a);return i._cache.getBackgroundColor={bgColor:u,bgElms:n,incompleteData:gh.get("bgColor")},u}function hb(e,n){n=Array.isArray(n)?n:[n];var r=e.getBoundingClientRect(),a=r.right,i=r.bottom,o=t.getComputedStyle(e),u=o.getPropertyValue("overflow"),s=parseInt(o.getPropertyValue("padding-left"),10),l=parseInt(o.getPropertyValue("padding-right"),10),c=parseInt(o.getPropertyValue("padding-top"),10),d=parseInt(o.getPropertyValue("padding-bottom"),10);return(["scroll","auto"].includes(u)||e instanceof t.HTMLHtmlElement)&&(a=r.left+e.scrollWidth+s+l,i=r.top+e.scrollHeight+c+d),n.every((function(e){return e.top>=r.top&&e.bottom<=i&&e.left>=r.left&&e.right<=a}))}function pb(e){return e||void 0}var mb=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=Kv(t,e));var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};function vb(e,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.getComputedStyle(e),o=[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 i=e.getPropertyValue("font-size"),o=a/parseFloat(i);if(isNaN(o)||o<r)return null;var u=e.getPropertyValue("-webkit-text-stroke-color");return(new xh).parseString(u)}(i,a)},function(){return function(e){return(new xh).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(i)},function(){return ib(e,{minRatio:0})}],u=[];try{for(var s=0,l=o;s<l.length;s++){var c=(0,l[s])();if(c&&(u=u.concat(c),1===c.alpha))break}}catch(e){if(e&&gh.get("colorParse"))return null;throw e}var d=u.reduce((function(e,t){return Kv(e,t)}));if(null!=r||(r=fb(e,[])),null===r){var f=gh.get("bgColor");return gh.set("fgColor",f),null}var h=ub(e);return Kv(function(e,t,n){for(;t;){var r;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(r=t.ancestor)||void 0===r?void 0:r.descendants)||n;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var i=a.map(sb);if(i.length){var o=i.reduce((function(e,t){return Kv(t.color,e.color instanceof xh?e.color:e)}),{color:new xh(0,0,0,0),blendMode:"normal"});e=Kv(e,o),t=t.ancestor}else t=t.ancestor}}return e}(d,bb(h,e),h),new xh(255,255,255,1))}function bb(e,t){var n,r=Z(e);try{for(r.s();!(n=r.n()).done;){var a,i=n.value;if((null===(a=i.vNode)||void 0===a?void 0:a.actualNode)===t)return i;var o=bb(i.descendants,t);if(o)return o}}catch(e){r.e(e)}finally{r.f()}}var gb=function(e,t,n,r){var a=mb(e,t),i=r&&Math.ceil(72*n)/96<14||!r&&Math.ceil(72*n)/96<18?4.5:3;return{isValid:a>i,contrastRatio:a,expectedContrastRatio:i}},yb={};ce(yb,{isAriaCombobox:function(){return gf},isAriaListbox:function(){return bf},isAriaRange:function(){return Df},isAriaTextbox:function(){return vf},isDisabled:function(){return wb},isNativeSelect:function(){return mf},isNativeTextbox:function(){return pf}});var Db=["fieldset","button","select","input","textarea"],wb=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=!(!Db.includes(r)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=n,n};function Fb(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],i=t[n];return a(r)===a(i)&&("object"===a(r)||"object"===a(i)?Fb(r,i):r===i)}))}function Eb(e){var t=rf(e),n=t&&t.includes("heading"),r=e.attr("aria-level"),a=parseInt(r,10),i=G(e.props.nodeName.match(/h(\d)/)||[],2)[1];return n?i&&!r?parseInt(i,10):isNaN(a)||a<1?i?parseInt(i,10):2:a||-1:-1}function xb(e,t){var n,r=null===(n=t.data)||void 0===n?void 0:n.headingOrder,a=Cb(t.node.ancestry,1);if(!r)return e;var i=r.map((function(e){return function(e,t){return j({},e,{ancestry:t.concat(e.ancestry)})}(e,a)})),o=function(e,t){for(;t.length;){var n=Ab(e,t);if(-1!==n)return n;t=Cb(t,1)}return-1}(e,a);return-1===o?e.push.apply(e,B(i)):e.splice.apply(e,[o,0].concat(B(i))),e}function Ab(e,t){return e.findIndex((function(e){return Vp(e.ancestry,t)}))}function Cb(e,t){return e.slice(0,e.length-t)}function kb(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 Rb(e){return e.getComputedStylePropertyValue("pointer-events")}function Sb(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function Tb(e,t){return kl(e,t)&&!ld(t)}function Mb(e){return e.map((function(e){return e.actualNode}))}function Ob(e,t,n){var r=n.validRoles,a=void 0===r?[]:r,i=n.validNodeNames,o=void 0===i?[]:i,u=e.props,s=u.nodeName,l=u.nodeType,c=t?"div > ":"";if(3===l&&""!==u.nodeValue.trim())return c+"#text";if(1!==l||!cf(e))return!1;var d=xd(e);return d?!a.includes(d)&&c+"[role=".concat(d,"]"):!o.includes(s)&&c+s}function Nb(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}function jb(e){return""!==(e||"").trim()}function Bb(e){var t=If(e,{emoji:!0,nonBmp:!0,punctuations:!0});return Od(t)}function _b(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"===sh(e)&&sd(e)?t.push(e):t.push.apply(t,B(_b(e)))})),t}function Ib(e){var t=Jp(e.attr("tabindex"));return null!==t&&t<0}function qb(e){if(ld(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 qb(e)}))}var Pb=["block","list-item","table","flex","grid","inline-block"];function $b(e){var n=t.getComputedStyle(e).getPropertyValue("display");return-1!==Pb.indexOf(n)||"table-"===n.substr(0,6)}function zb(e,t){var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var Lb=["block","list-item","table","flex","grid","inline-block"];function Gb(e){var n=t.getComputedStyle(e).getPropertyValue("display");return-1!==Lb.indexOf(n)||"table-"===n.substr(0,6)}var Hb=_u((function(e,n){var r=t.getComputedStyle(e,n),a=function(e,t){return r.getPropertyValue(e)===t};if(a("content","none")||a("display","none")||a("visibility","hidden")||!1===a("position","absolute"))return 0;if(0===Ch(r).alpha&&a("background-image","none"))return 0;var i=Ub(r.getPropertyValue("width")),o=Ub(r.getPropertyValue("height"));return"px"!==i.unit||"px"!==o.unit?0===i.value||0===o.value?0:1/0:i.value*o.value}));function Ub(e){var t=G(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),n=t[1],r=t[2],a=void 0===r?"":r;return{value:parseFloat(void 0===n?"":n),unit:a.toLowerCase()}}var Vb={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Kb={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};function Wb(e,t,n,r){var a=xd(e);if(n||(n=Dv(a)),!n)return null;for(var i=n.includes("group"),o=r?e:e.parent;o;){var u=rf(o,{noPresentational:!0});if(u){if("group"!==u||!i)return n.includes(u)?null:n;t.includes(a)&&n.push(a),n=n.filter((function(e){return"group"!==e})),o=o.parent}else o=o.parent}return n}function Yb(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:eh(t,!1,!0)}var Zb=_u((function(e){if(e){var t=rf(e,{noPresentational:!0,chromium:!0});return t?sh(t):Zb(e.parent)}}));function Xb(e){var t,n,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,i=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===i.length)return!0;var o=function(e){if(e.parent)return Ts(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=o&&rf(o);if(!u||"treegrid"===u)return!0;var s="row".concat(i.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:i,ownerRole:u}),!1}function Jb(e,t,n){var r,a=n.props,i=a.nodeName,o=a.type,u=(r=n.attr("aria-checked"))?(r=r.toLowerCase(),["mixed","true"].includes(r)?r:"false"):"";if("input"!==i||"checkbox"!==o||!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)}var Qb={row:Xb,checkbox:Jb};function eg(e,t,n){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!n.hasAttr("contenteditable"))}var tg=function(e,t){try{return"svg"===t.props.nodeName||!!Ts(t,"svg")}catch(e){return!1}},ng=[function(e,t){return rg(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!tg(0,t)},function(e,t){return sd(t)},function(e,t){return ld(t)||!ag(t)},function(e){return!dh(e,{noLengthCompare:!0,includeInlineBlock:!0})}];function rg(e){return"widget"===sh(e)}var ag=_u((function e(t){return!(null==t||!t.parent)&&(!(!rg(t.parent)||!ld(t.parent))||e(t.parent))})),ig=function(e,t){var n=xd(t);return!(n&&!["none","presentation"].includes(n)&&!(gd[n]||{}).accessibleNameRequired&&!sd(t))};function og(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 ug=function(e,t,n){return n.initiator},sg={emoji:!0,nonBmp:!1,punctuations:!0};function lg(e){return!e||"true"!==e.getAttribute("aria-hidden")&&lg(ac(e))}var cg={"abstractrole-evaluate":function(e,t,n){var r=Uh(n.attr("role")).filter((function(e){return"abstract"===sh(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 tc(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-elm-evaluate":function(e,t,n){var r=Xd(n);if(!r.allowedAriaAttrs)return!0;if(xd(n))return!0;var a,i=r.allowedAriaAttrs,o=Cd(),u=[],s=Z(n.attrNames);try{for(s.s();!(a=s.n()).done;){var l=a.value;o.includes(l)&&!i.includes(l)&&u.push(l)}}catch(e){s.e(e)}finally{s.f()}return!u.length||(this.data({messageKey:u.length>1?"plural":"singular",nodeName:n.props.nodeName,values:u.map((function(e){return e+'="'+n.attr(e)+'"'})).join(", ")}),!1)},"aria-allowed-attr-evaluate":function(e,t,n){var r=[],a=rf(n),i=Jm(a);Array.isArray(t[a])&&(i=nm(t[a].concat(i)));var o,u=Z(n.attrNames);try{for(u.s();!(o=u.n()).done;){var s=o.value;!Ev(s)||i.includes(s)||eg(s,n.attr(s),n)||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||Gp(n)||sd(n))&&void 0)},"aria-allowed-attr-matches":function(e,t){var n=/^aria-/,r=t.attrNames;if(r.length)for(var a=0,i=r.length;a<i;a++)if(n.test(r[a]))return!0;return!1},"aria-allowed-role-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,n=e.allowImplicit,r=void 0===n||n,a=e.ignoredTags,i=t.props.nodeName;if((void 0===a?[]:a).map((function(e){return e.toLowerCase()})).includes(i))return!0;var o=iv(t,r);if(o.length){if(this.data(o),!cf(t))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==xd(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=rf(n);return!Qb[r]||Qb[r].call(this,e,t,n)},"aria-conditional-checkbox-attr-evaluate":Jb,"aria-conditional-row-attr-evaluate":Xb,"aria-errormessage-evaluate":function(e,t,n){t=Array.isArray(t)?t:[];var r=n.attr("aria-errormessage"),a=n.hasAttr("aria-errormessage"),i=n.attr("aria-invalid");return!n.hasAttr("aria-invalid")||"false"===i||-1!==t.indexOf(r)||!a||(this.data(Uh(r)),function(e){if(""===e.trim())return wd.ariaAttrs["aria-errormessage"].allowEmpty;var t,r=Uh(e);if(r.length>1)return this.data({messageKey:"unsupported",values:r}),!1;try{t=e&&hd(n,"aria-errormessage")[0]}catch(e){return void this.data({messageKey:"idrefs",values:r})}if(t){if(!cf(t))return this.data({messageKey:"hidden",values:r}),!1;var a=Uh(n.attr("aria-describedby"));return"alert"===xd(t)||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||r.some((function(e){return a.includes(e)}))}}.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 lg(ac(e))},"aria-label-evaluate":function(e,t,n){return!!Od(vd(n))},"aria-labelledby-evaluate":function(e,t,n){try{return!!Od(md(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(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,n=(null==e?void 0:e.elementsAllowedAriaLabel)||[],r=t.props.nodeName,a=rf(t,{chromium:!0,fallback:!0}),i=function(e,t,n,r){var a=wd.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||r.includes(n)||"widget"===Zb(e)?[]:["aria-label","aria-labelledby"]}(t,a,r,n).filter((function(e){return!!t.attrNames.includes(e)&&""!==Od(t.attr(e))}));if(0===i.length)return!1;var o=null!==a?"hasRole":"noRole";this.data({role:a,nodeName:r,messageKey:o+=i.length>1?"Plural":"Singular",prohibited:i});var u=Cf(t,{subtreeDescendant:!0});return""===Od(u)||void 0},"aria-required-attr-evaluate":function(){var e,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=xd(n),a=n.attrNames,i=yv(r);if(Array.isArray(t[r])&&(i=nm(t[r],i)),!r||!a.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!sd(e)}(n,r)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,r))return!0;if("slider"===r&&null!==(e=n.attr("aria-valuetext"))&&void 0!==e&&e.trim())return!0;var o=Xd(n),u=i.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])}(o,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=xd(n,{dpub:!0}),i=wv(a);if(null===i)return!0;var o=function(e,t){for(var n,r=[],a=sf(e),i=function(){if(3===n.props.nodeType&&r.push({vNode:n,role:null}),1!==n.props.nodeType||!cf(n))return 1;var e=rf(n,{noPresentational:!0}),i=function(e){return Cd().find((function(t){return e.hasAttr(t)}))}(n),o=!!i||sd(n);!e&&!o||["group","rowgroup"].includes(e)&&t.some((function(t){return t===e}))?a.push.apply(a,B(n.children)):(e||o)&&r.push({role:e,attr:i||"tabindex",vNode:n})};n=a.shift();)i();return r}(n,i),u=o.filter((function(e){return 1===e.vNode.props.nodeType&&!i.includes(e.role)}));if(u.length){this.relatedNodes(u.map((function(e){return e.vNode})));var s="true"===n.attr("aria-busy")?"aria-busy-fail":"unallowed";return this.data({messageKey:s,values:u.map((function(e){return function(e,t){var n=e.props,r=n.nodeName;if(3===n.nodeType)return"#text";var a=xd(e,{dpub:!0});return a?"[role=".concat(a,"]"):t?r+"[".concat(t,"]"):r}(e.vNode,e.attr)})).filter((function(e,t,n){return n.indexOf(e)===t})).join(", ")}),!1}return!!function(e,t){return t.some((function(t){var n=t.role;return n&&e.includes(n)}))}(i,o)||("true"===n.attr("aria-busy")?(this.data({messageKey:"aria-busy"}),!0):(this.data(i),!(!r.includes(a)||o.some(Yb))&&void 0))},"aria-required-children-matches":function(e,t){var n=xd(t,{dpub:!0});return!!wv(n)},"aria-required-parent-evaluate":function(e,t,n){var r=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=Wb(n,r);if(!a)return!0;var i=function(e){for(var t=[],n=null;e;){if(e.getAttribute("id")){var r=Da(e.getAttribute("id"));(n=jl(e).querySelector("[aria-owns~=".concat(r,"]")))&&t.push(n)}e=e.parentElement}return t.length?t:null}(e);if(i)for(var o=0,u=i.length;o<u;o++)if(!(a=Wb(us(i[o]),r,a,!0)))return!0;return this.data(a),!1},"aria-required-parent-matches":function(e,t){var n=xd(t);return!!Dv(n)},"aria-roledescription-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=rf(arguments.length>2?arguments[2]:void 0);return!!(e.supportedRoles||[]).includes(t)||!(!t||"presentation"===t||"none"===t)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,n){var r=n.attrNames.filter((function(t){var n=wd.ariaAttrs[t];if(!Ev(t))return!1;var r=n.unsupported;return"object"!==a(r)?!!r:!Zd(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)&&!Ev(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=[],u=/^aria-/,s=["aria-errormessage"],l={"aria-controls":function(){var e=!1===["false",null].includes(n.attr("aria-haspopup"));return e&&(r='aria-controls="'.concat(n.attr("aria-controls"),'"'),a="controlsWithinPopup"),"false"!==n.attr("aria-expanded")&&"false"!==n.attr("aria-selected")&&!1===e},"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=i._tree&&i._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(r='aria-labelledby="'.concat(n.attr("aria-labelledby"),'"'),a=i._tree&&i._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return n.attrNames.forEach((function(e){if(!s.includes(e)&&!t.includes(e)&&u.test(e)){var i,c=n.attr(e);try{i=Fv(n,e)}catch(t){return r="".concat(e,'="').concat(c,'"'),void(a="idrefs")}l[e]&&!l[e](i)||i||(""!==c||function(e){var t;return"string"===(null===(t=wd.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(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;if(!e.attribute||"string"!=typeof e.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!t.hasAttr(e.attribute))return this.data({messageKey:"noAttr"}),!1;var n=t.attr(e.attribute);return!!Od(n)||(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"],i=["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:i,photo:i,impp:i};"object"===a(t)&&Object.keys(t).forEach((function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])}));var u=n.attr("autocomplete").split(/\s+/g).map((function(e){return e.toLowerCase()})),s=u[u.length-1];if(Pf.stateTerms.includes(s))return!0;var l=o[s],c=n.hasAttr("type")?Od(n.attr("type")).toLowerCase():"text";return c=Sm().includes(c)?c:"text",void 0===l?"text"===c:l.includes(c)},"autocomplete-matches":function(e,t){var n=t.attr("autocomplete");if(!n||""===Od(n))return!1;var r=t.props.nodeName;if(!1===["textarea","input","select"].includes(r))return!1;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||"true"===a.toLowerCase())return!1;if("input"===r&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var i=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===i.toLowerCase())return!1;var o=xd(t),u=Jp(t.attr("tabindex"));if(u<0&&t.hasAttr("role")){var s=wd.ariaRoles[o];if(void 0===s||"widget"!==s.type)return!1}return!(u<0&&t.actualNode&&!hc(t)&&!cf(t))},"autocomplete-valid-evaluate":function(e,t,n){var r=n.attr("autocomplete")||"";return $f(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))},"braille-label-equivalent-evaluate":function(e,t,n){var r;if(!(null!==(r=n.attr("aria-braillelabel"))&&void 0!==r?r:"").trim())return!0;try{return""!==Od(Bf(n))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,n){var r,a=null!==(r=n.attr("aria-brailleroledescription"))&&void 0!==r?r:"";if(""===Od(a))return!0;var i=n.attr("aria-roledescription");return"string"!=typeof i?(this.data({messageKey:"noRoleDescription"}),!1):""!==Od(i)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,n){return!ug(0,0,n)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,n){return!mm(n,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0},"caption-faked-evaluate":function(e){var t=kd(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,n,r){var a=n.ignoreUnicode,i=n.ignoreLength,o=n.ignorePseudo,u=n.boldValue,s=n.boldTextPt,l=n.largeTextPt,c=n.contrastRatio,d=n.shadowOutlineEmMax,f=n.pseudoSizeThreshold;if(!hc(e))return this.data({messageKey:"hidden"}),!0;var h=ff(r,!1,!0);if(a&&function(e){var t={nonBmp:!0},n=Nf(e,t),r=""===Od(If(e,t));return n&&r}(h))this.data({messageKey:"nonBmp"});else{var p=t.getComputedStyle(e),m=parseFloat(p.getPropertyValue("font-size")),v=p.getPropertyValue("font-weight"),b=parseFloat(v)>=u||"bold"===v,g=Math.ceil(72*m)/96,y=b&&g<s||!b&&g<l?c.normal:c.large,D=y.expected,w=y.minThreshold,F=y.maxThreshold,E=function(e,t){var n=t.pseudoSizeThreshold,r=t.ignorePseudo;if(!(void 0!==r&&r)){var a=e.boundingClientRect,i=a.width*a.height*(void 0===n?.25:n);do{if(Hb(e.actualNode,":before")+Hb(e.actualNode,":after")>i)return e}while(e=e.parent)}}(r,{ignorePseudo:o,pseudoSizeThreshold:f});if(E)return this.data({fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:b?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:D+":1"}),void this.relatedNodes(E.actualNode);var x=ib(e,{minRatio:.001,maxRatio:d});if(null!==x){var A=[],C=fb(e,A,d),k=vb(e,!1,C,n),R=null,S=null,T=null;if(0===x.length)R=mb(C,k);else if(k&&C){T=[].concat(B(x),[C]).reduce(Yv);var M=mb(C,k),O=mb(C,T),N=mb(T,k);(R=Math.max(M,O,N))!==M&&(S=O>N?"shadowOnBgColor":"fgOnShadowColor")}var j=R>D;if("number"==typeof w&&("number"!=typeof R||R<w)||"number"==typeof F&&("number"!=typeof R||R>F))return this.data({contrastRatio:R}),!0;var _,I,q=Math.floor(100*R)/100;null===C?gh.get("colorParse")?(_="colorParse",I=gh.get("colorParse")):_=gh.get("bgColor"):j||(_=S),null===k&&gh.get("colorParse")&&(_="colorParse",I=gh.get("colorParse"));var P=1===q,$=1===h.length;return P?_=gh.set("bgColor","equalRatio"):j||!$||i||(_="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:C?C.toHexString():void 0,contrastRatio:q,fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:b?"bold":"normal",messageKey:_,expectedContrastRatio:D+":1",shadowColor:T?T.toHexString():void 0,colorParse:I}),null===k||null===C||P||$&&!i&&!j?(_=null,gh.clear(),void this.relatedNodes(A)):(j||this.relatedNodes(A),j)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":function(e,n){var a=n.props,i=a.nodeName;if("option"===i)return!1;if("select"===i&&!e.options.length)return!1;if("input"===i&&["hidden","range","color","checkbox","radio","image"].includes(a.type))return!1;if(wb(n)||Vc(n))return!1;if(["input","select","textarea"].includes(i)){var o=t.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var s=e.getBoundingClientRect();if(!Lh(s={top:s.top,bottom:s.bottom,left:s.left+u,right:s.right+u},e))return!1}return!0}var l=_l(n,"label");if("label"===i||l){var c=l||e,d=l?us(l):n;if(c.htmlFor){var f=jl(c).getElementById(c.htmlFor),h=f&&us(f);if(h&&wb(h))return!1}var p=mm(d,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(p&&wb(p))return!1}for(var m=[],v=n;v;){if(v.props.id){var b=tv(v).filter((function(e){return Uh(e.getAttribute("aria-labelledby")||"").includes(v.props.id)})).map((function(e){return us(e)}));m.push.apply(m,B(b))}v=v.parent}if(m.length>0&&m.every(wb))return!1;if(!function(e){var t=ff(e,!1,!0);return""!==t&&""!==If(t,sg)&&e.children.some((function(e){return"#text"===e.props.nodeName&&!jf(e)}))}(n))return!1;if(!parseFloat(n.getComputedStylePropertyValue("font-size")))return!1;for(var g=r.createRange(),y=n.children,D=0;D<y.length;D++){var w=y[D];3===w.actualNode.nodeType&&""!==Od(w.actualNode.nodeValue)&&g.selectNodeContents(w.actualNode)}var F=Array.from(g.getClientRects()),E=$l(n);return F.some((function(t){var n=Lh(t,e);if(!E.length)return n;var r=E.some((function(e){return ql(t,e.boundingClientRect)}));return n&&r}))},"css-orientation-lock-evaluate":function(e,t,n,r){var a=(r||{}).cssom,i=void 0===a?void 0:a,o=(t||{}).degreeThreshold,u=void 0===o?0:o;if(i&&i.length){for(var s=!1,l=[],c=i.reduce((function(e,t){var n=t.sheet,r=t.shadowId||"topDocument";if(e[r]||(e[r]={root:t.root,rules:[]}),!n||!n.cssRules)return e;var a=Array.from(n.cssRules);return e[r].rules=e[r].rules.concat(a),e}),{}),d=function(){var e=c[h[f]],t=e.root,n=e.rules.filter(p);if(!n.length)return 1;n.forEach((function(e){Array.from(e.cssRules).forEach((function(e){var n=function(e){var t=e.style;if(!e.selectorText||t.length<=0)return!1;var n=t.transform||t.webkitTransform||t.msTransform||!1;if(!n&&!t.rotate)return!1;var r=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var n=G(t,3);return m(n[1],n[2])}(n),a=r+m("rotate",t.rotate);return!!a&&(a=Math.abs(a),!(Math.abs(a-180)%180<=u)&&Math.abs(a-90)%90<=u)}(e);if(n&&"HTML"!==e.selectorText.toUpperCase()){var r=Array.from(t.querySelectorAll(e.selectorText))||[];l=l.concat(r)}s=s||n}))}))},f=0,h=Object.keys(c);f<h.length;f++)d();return!s||(l.length&&this.relatedNodes(l),!1)}function p(e){var t=e.cssText;return 4===e.type&&(/orientation:\s*landscape/i.test(t)||/orientation:\s*portrait/i.test(t))}function m(e,t){switch(e){case"rotate":case"rotateZ":return v(t);case"rotate3d":var n=G(t.split(",").map((function(e){return e.trim()})),4),r=n[3];if(0===parseInt(n[2]))return;return v(r);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var n=G(t,2),r=n[0];return b(Math.atan2(parseFloat(n[1]),parseFloat(r)))}var a=parseFloat(t[8]),i=Math.asin(a),o=Math.cos(i);return b(Math.acos(parseFloat(t[0])/o))}(t);default:return 0}}function v(e){var t=G(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var n,r=parseFloat(e.replace(t,""));switch(t){case"rad":return b(r);case"grad":return n=r,(n%=400)<0&&(n+=400),Math.round(n/400*360);case"turn":return Math.round(360/(1/r));default:return parseInt(r)}}function b(e){return Math.round(e*(180/Math.PI))}},"data-table-large-matches":function(e){if(Km(e)){var t=kd(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return Km(e)},"deprecatedrole-evaluate":function(e,t,n){var r=rf(n,{dpub:!0,fallback:!0}),a=wd.ariaRoles[r];return!(null==a||!a.deprecated||(this.data(r),0))},"dlitem-evaluate":function(e){var t=ac(e),n=t.nodeName.toUpperCase(),r=xd(t);return"DIV"===n&&["presentation","none",null].includes(r)&&(n=(t=ac(t)).nodeName.toUpperCase(),r=xd(t)),"DL"===n&&!(r&&!["presentation","none","list"].includes(r))},"doc-has-title-evaluate":function(){return!!Od(r.title)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),n='*[id="'.concat(Da(t),'"]'),r=Array.from(jl(e).querySelectorAll(n));return!mv(e)&&r.some(sd)},"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 mv(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var n=jl(e),r=Array.from(n.querySelectorAll('[id="'.concat(Da(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(Da(t),'"]'),r=Array.from(jl(e).querySelectorAll(n));return!mv(e)&&r.every((function(e){return!sd(e)}))},"duplicate-img-label-evaluate":function(e,t,n){if(["none","presentation"].includes(rf(n)))return!1;var r=Ts(n,t.parentSelector);if(!r)return!1;var a=ff(r,!0).toLowerCase();return""!==a&&a===Bf(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=jl(n.actualNode),i=Da(n.attr("id")),o=Array.from(a.querySelectorAll('label[for="'.concat(i,'"]')));if(this.relatedNodes(o),!o.length)return!1;try{return o.some((function(e){if(hc(e)){var t=Od(pd(e,{inControlContext:!0,startNode:n}));return r.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}},"fallbackrole-evaluate":function(e,t,n){var r=Uh(n.attr("role"));return!(r.length<=1)&&(!function(e,t){return!Jd(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 i=a.filter((function(e){return r.includes(e.props.nodeName)}));return this.relatedNodes(i.map((function(e){return e.actualNode}))),!(0!==i.length&&!ph())||!!i.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=Ts(n.parent,"[contenteditable]");return!!a&&e(a)}(n))||ld(n)},"focusable-modal-open-evaluate":function(e,t,n){var r=n.tabbableElements.map((function(e){return e.actualNode}));return!r||!r.length||!ph()||void this.relatedNodes(r)},"focusable-no-name-evaluate":function(e,t,n){if(!ld(n))return!1;try{return!Bf(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 i=a.filter((function(e){return!r.includes(e.props.nodeName)}));return this.relatedNodes(i.map((function(e){return e.actualNode}))),!(0!==i.length&&!ph())||!!i.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 qb(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!!Od(t)},"has-alt-evaluate":function(e,t,n){return!!["img","input","area"].includes(n.props.nodeName)&&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&&ph())return!0;var r=am(n,t.selector,(function(e){return cf(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=Cd().filter((function(e){return n.hasAttr(e)}));return this.data(r),r.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==Jd(t,{chromium:!0})},"has-lang-evaluate":function(e,t,n){var a=void 0!==r&&Iu(r);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&jb(n.attr("xml:lang"))&&!jb(n.attr("lang"))&&!a?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return jb(n.attr(e))}))||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,n){try{return""!==Od(Cf(n))}catch(e){return}},"has-widget-role-evaluate":function(e,t,n){var r=xd(n);if(null===r)return!1;var a=sh(r);return"widget"===a||"composite"===a},"heading-matches":function(e,t){return"heading"===rf(t)},"heading-order-after":function(e){var t=function(e){return(e=B(e)).sort((function(e,t){return e.node.ancestry.length-t.node.ancestry.length})),e.reduce(xb,[]).filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var n,r,a,i,o=Ab(t,e.node.ancestry),u=null!==(n=null===(r=t[o])||void 0===r?void 0:r.level)&&void 0!==n?n:-1,s=null!==(a=null===(i=t[o-1])||void 0===i?void 0:i.level)&&void 0!==a?a:-1;return 0===o||(-1!==u?u-s<=1:void 0)}(e,t)})),e},"heading-order-evaluate":function(){var e=os.get("headingOrder");if(e)return!0;var t=am(i._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",cf);return e=t.map((function(e){return{ancestry:[ns(e.actualNode)],level:Eb(e)}})),this.data({headingOrder:e}),os.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,n){var r=Gf(n),a=e.getAttribute("title");return!!r&&(a||(a="",e.getAttribute("aria-describedby")&&(a=hd(e,"aria-describedby").map((function(e){return e?pd(e):""})).join(""))),Od(a)===Od(r))},"hidden-content-evaluate":function(e,n,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&eh(r)){var a=t.getComputedStyle(e);if("none"===a.getPropertyValue("display"))return;if("hidden"===a.getPropertyValue("visibility")){var i=ac(e),o=i&&t.getComputedStyle(i);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=jl(e),a=Da(e.getAttribute("id")),i=r.querySelector('label[for="'.concat(a,'"]'));if(i&&!cf(i)){var o;try{o=Bf(n).trim()}catch(e){return}return""===o}}return!1},"html-namespace-matches":function(e,t){return!tg(0,t)},"html5-scope-evaluate":function(e){return!uh(r)||"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,i=t[e],o=i.data,u=o.name,s=o.urlProps;if(r[u])return 1;var l=t.filter((function(t,n){return t.data.name===u&&n!==e})),c=l.every((function(e){return Fb(e.data.urlProps,s)}));l.length&&!c&&(i.result=void 0),i.relatedNodes=[],(a=i.relatedNodes).push.apply(a,B(l.map((function(e){return e.relatedNodes[0]})))),r[u]=l,n.push(i)},i=0;i<t.length;i++)a(i);return n},"identical-links-same-purpose-evaluate":function(e,t,n){var r=fd.accessibleTextVirtual(n),a=fd.sanitize(fd.removeUnicode(r,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var i={name:a,urlProps:Ol.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),!0}},"identical-links-same-purpose-matches":function(e,t){if(!Bf(t))return!1;var n=rf(e);return!n||"link"===n},"implicit-evaluate":function(e,t,n){try{var r=Ts(n,"label");if(r){var a=Od(Bf(r,{inControlContext:!0,startNode:n}));return r.actualNode&&this.relatedNodes([r.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}},"inline-style-property-evaluate":function(e,n){var r=n.cssProperty,a=n.absoluteValues,i=n.minValue,o=n.maxValue,u=n.normalValue,s=void 0===u?0:u,l=n.multiLineOnly;if(!n.noImportant&&"important"!==e.style.getPropertyPriority(r)||l&&!mh(e))return!0;var c={};"number"==typeof i&&(c.minValue=i),"number"==typeof o&&(c.maxValue=o);var d=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(d))return this.data(j({value:d},c)),!0;var f=function(e,n){var r=n.cssProperty,a=n.absoluteValues,i=n.normalValue,o=t.getComputedStyle(e),u=o.getPropertyValue(r);if("normal"===u)return i;var s=parseFloat(u);if(a)return s;var l=parseFloat(o.getPropertyValue("font-size")),c=Math.round(s/l*100)/100;return isNaN(c)?u:c}(e,{absoluteValues:a,cssProperty:r,normalValue:s});return this.data(j({value:f},c)),"number"==typeof f?("number"!=typeof i||f>=i)&&("number"!=typeof o||f<=o):void 0},"inserted-into-focus-order-matches":function(e){return rh(e)},"internal-link-present-evaluate":function(e,t,n){return mm(n,"a[href]").some((function(e){return/^#[^/!]/.test(e.attr("href"))}))},"invalid-children-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,n=[],r=[];if(t.children){for(var a,i=Nb(t.children);i.length;){var o,u=i.shift(),s=u.vChild,l=u.nested;if(!e.divGroups||l||"div"!==(a=s).props.nodeName||null!==xd(a)){var c=Ob(s,l,e);c&&(r.includes(c)||r.push(c),1===(null==s||null===(o=s.actualNode)||void 0===o?void 0:o.nodeType)&&n.push(s.actualNode))}else{if(!s.children)return;var d=Nb(s.children,!0);i.push.apply(i,B(d))}}return 0!==r.length&&(this.data({values:r.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":function(e,t,n){var r=Uh(n.attr("role"));return!!r.every((function(e){return!Ed(e.toLowerCase(),{allowAbstract:!0})}))&&(this.data(r),!0)},"is-element-focusable-evaluate":function(e,t,n){return sd(n)},"is-initiator-matches":ug,"is-on-screen-evaluate":function(e){return hc(e)},"is-visible-matches":function(e){return hc(e)},"is-visible-on-screen-matches":function(e,t){return hc(t)},"label-content-name-mismatch-evaluate":function(e,t,n){var r,a,i,o,u=null==t?void 0:t.pixelThreshold,s=null!==(r=null==t?void 0:t.occurrenceThreshold)&&void 0!==r?r:null==t?void 0:t.occuranceThreshold,l=pd(e).toLowerCase(),c=Od(Cf(n,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:u,occurrenceThreshold:s})).toLowerCase();return!c||(qf(l)<1||qf(c)<1?void 0:(a=c,i=Bb(l),o=Bb(a),!(!i||!o)&&i.includes(o)))},"label-content-name-mismatch-matches":function(e,t){var n=rf(e);return!!(n&&ov("widget").includes(n)&&sv().includes(n)&&(Od(vd(t))||Od(md(e)))&&Od(ff(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")||!_l(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=ov("landmark"),n=ac(e),r=rf(e);for(this.data({role:r});n;){var a=xd(n);if(a||"FORM"===n.nodeName.toUpperCase()||(a=Jd(n)),a&&t.includes(a)&&("main"!==a||"complementary"!==r))return!1;n=ac(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=rf(e),a=Bf(n);return a=a?a.toLowerCase():null,this.data({role:r,accessibleText:a}),this.relatedNodes([e]),!0},"landmark-unique-matches":function(e,t){return function(e){var t=ov("landmark"),n=rf(e);if(!n)return!1;var r=e.props.nodeName;return"section"===r||"form"===r?!!Bf(e):t.indexOf(n)>=0||"region"===n}(t)&&cf(t)},"layout-table-matches":function(e){return!Km(e)&&!sd(e)},"link-in-text-block-evaluate":function(e,t){var n=t.requiredContrastRatio,r=t.allowSameColor;if(Gb(e))return!1;for(var a=ac(e);a&&1===a.nodeType&&!Gb(a);)a=ac(a);if(a){this.relatedNodes([a]);var i=vb(e),o=vb(a),u=fb(e),s=fb(a),l=i&&o?zb(i,o):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=n)return!0;var c=u&&s?zb(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=n)return!0;if(!c){var d,f=null!==(d=gh.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:f}),void gh.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:i?i.toHexString():void 0,parentColor:o?o.toHexString():void 0}),!1))}},"link-in-text-block-matches":function(e){var t=Od(e.innerText),n=xd(e);return(!n||"link"===n)&&!!t&&!!hc(e)&&dh(e)},"link-in-text-block-style-evaluate":function(e){if($b(e))return!1;for(var n=ac(e);n&&1===n.nodeType&&!$b(n);)n=ac(n);if(n){if(this.relatedNodes([n]),Lv(e,n))return!0;if(!function(e){for(var n=0,r=["before","after"];n<r.length;n++)if("none"!==t.getComputedStyle(e,":".concat(r[n])).getPropertyValue("content"))return!0;return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,n){var r=n.parent;if(r){var a=r.props.nodeName,i=xd(r);return!!["presentation","none","list"].includes(i)||(i&&Ed(i)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":function(e,t,n){return Zd(n,t.matcher)},"meta-refresh-evaluate":function(e,t,n){var r=t||{},a=r.minDelay,i=r.maxDelay,o=G((n.attr("content")||"").trim().split(_v),1)[0];if(!o.match(Iv))return!0;var u=parseFloat(o);return this.data({redirectDelay:u}),"number"==typeof a&&u<=t.minDelay||"number"==typeof i&&u>t.maxDelay},"meta-viewport-scale-evaluate":function(e,t,n){var r=t||{},a=r.scaleMinimum,i=void 0===a?2:a,o=r.lowerBound,u=void 0!==o&&o,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=G(n.split("="),2),a=r[0],i=r[1];if(!a||!i)return e;var o=a.toLowerCase().trim(),u=i.toLowerCase().trim();return"maximum-scale"===o&&"yes"===u&&(u=1),"maximum-scale"===o&&parseFloat(u)<0||(e[o]=u),e}),{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])<u)return!0;if(!u&&"no"===l["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(l["user-scalable"]);return!u&&l["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(l["maximum-scale"]&&parseFloat(l["maximum-scale"])<i&&(this.data("maximum-scale"),1))},"multiple-label-evaluate":function(e){var t=Da(e.getAttribute("id")),n=e.parentNode,r=jl(e);r=r.documentElement||r;var a=Array.from(r.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter((function(e){return!tc(e)})));n;)"LABEL"===n.nodeName.toUpperCase()&&-1===a.indexOf(n)&&a.push(n),n=n.parentNode;if(this.relatedNodes(a),a.length>1){var i=a.filter((function(e){return cf(e)}));if(i.length>1)return;return!hd(e,"aria-labelledby").includes(i[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var n=rf(t);return!!n&&!!wd.ariaRoles[n].childrenPresentational},"no-autoplay-audio-evaluate":function(e,t){var n=e.hasAttribute("controls");if(e.hasAttribute("loop"))return n;if(e.duration){var r=t.allowedDuration,a=void 0===r?3:r,i=function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(t)return G(t,2)[1].split(",").map((function(e){return/:/.test(e)?function(e){for(var t=e.split(":"),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);return i<=a||!!n}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":ig,"no-focusable-content-evaluate":function(e,t,n){if(n.children)try{var r=_b(n);if(!r.length)return!0;var a=r.filter(Ib);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,i=rf(n,{noImplicit:!0});this.data(i);try{r=Od(kf(n)).toLowerCase(),a=Od(Bf(n)).toLowerCase()}catch(e){return}return!(!a&&!r)&&!((a||!r)&&a.includes(r))&&void 0},"no-naming-method-matches":function(e,t){var n=Xd(t).namingMethods;return!(n&&0!==n.length||"combobox"===xd(t)&&mm(t,'input:not([type="hidden"])').length||vv(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var n=Jp(t.attr("tabindex"));return null===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(),i=n.attr("value");return i&&this.data({messageKey:"has-label"}),!("input"!==r||!["submit","reset"].includes(a))&&null===i},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[ig,og].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===rf(n)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var n=t.actualNode,a=n.nodeName.toUpperCase();if(1===n.nodeType&&cf(n)){var i=xd(n);("DT"!==a&&"DD"!==a||i)&&(r.includes(i)||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,i=!0,o=[],u=[],s=[];return n.children.forEach((function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&cf(t)){i=!1;var n="LI"===t.nodeName.toUpperCase(),l=rf(e),c="listitem"===l;n||c||o.push(t),n&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else r=!0})),r||o.length?(this.relatedNodes(o),!0):!i&&!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),i=(t=t||{}).margins||[],o=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=jv(e),l=o?jv(o):null,c=u?jv(u):null,d=t.passLength,f=t.failLength,h=e.textContent.trim().length,p=null==o?void 0:o.textContent.trim().length;if(h>p*d)return!0;if(!l||!Bv(s,l,i))return!0;var m=_l(n,"blockquote");return!!(m&&"BLOCKQUOTE"===m.nodeName.toUpperCase()||c&&!Bv(s,c,i)||h>p*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(!os.get(r)){os.set(r,!0);var a=am(i._tree[0],t.selector,(function(e){return cf(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!_l(e,t.nativeScopeFilter)}))),"string"==typeof t.role&&(a=a.filter((function(e){return rf(e)===t.role}))),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!==Jd(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,n){var r=xd(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=rf(n);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(r))return!1;var i=Cd().some((function(e){return n.hasAttr(e)})),o=sd(n);return this.data({messageKey:i&&!o?"globalAria":!i&&o?"focusable":"both",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=Z(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(Vp(r,i.node.ancestry)){e.result=i.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){this.data({isIframe:["iframe","frame"].includes(n.props.nodeName)});var a=os.get("regionlessNodes",(function(){return function(e){var t=Ov(i._tree[0],e).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==r.body;)e=e.parent;return e})).filter((function(e,t,n){return n.indexOf(e)===t}));return t}(t)}));return!a.includes(n)},"same-caption-summary-evaluate":function(e,t,n){if(void 0!==n.children){var r=n.attr("summary"),a=n.children.find(Sv),i=!!a&&Od(Cf(a));return!(!i||!r)&&Od(r).toLowerCase()===Od(i).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!==Rp(e,13)&&!1===vv(t)&&(a=(n=t).boundingClientRect,mm(n,"*").some((function(e){if(!eh(e,!0,!0))return!1;var t,n=[];return Qf(e)?(t=n).push.apply(t,B(function(e){var t=r.createRange();return t.selectNodeContents(e.actualNode),Array.from(t.getClientRects())}(e))):n=[e.boundingClientRect],n.some((function(e){return e.left<a.left||e.right>a.right||e.top<a.top||e.bottom>a.bottom}))})));var n,a},"skip-link-evaluate":function(e){var t=ed(e,"href");return!!t&&(cf(t)||void 0)},"skip-link-matches":function(e){return Rh(e)&&dc(e)},"structured-dlitems-evaluate":function(e,t,n){var r=n.children;if(!r||!r.length)return!1;for(var a,i=!1,o=!1,u=0;u<r.length;u++){if("DT"===(a=r[u].props.nodeName.toUpperCase())&&(i=!0),i&&"DD"===a)return!1;"DD"===a&&(o=!0)}return i||o},"summary-interactive-matches":function(e,t){var n,r,a,i=t.parent;return!("details"!==i.props.nodeName||(a=null===(r=(n=t).actualNode)||void 0===r?void 0:r.parentElement)&&a!==n.parent.actualNode)&&i.children.find((function(e){return"summary"===e.props.nodeName}))===t},"svg-namespace-matches":tg,"svg-non-empty-title-evaluate":function(e,t,n){if(n.children){var r=n.children.find((function(e){return"title"===e.props.nodeName}));if(!r)return this.data({messageKey:"noTitle"}),!1;try{if(""===Cf(r,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},"tabindex-evaluate":function(e,t,n){var r=Jp(n.attr("tabindex"));return null===r||r<=0},"table-or-grid-role-matches":function(e,t){var n=rf(t);return["treegrid","grid","table"].includes(n)},"target-offset-evaluate":function(e,t,n){var r=(null==t?void 0:t.minOffset)||24;if(wc(10*r,n.boundingClientRect))return this.data({messageKey:"large",minOffset:r}),!0;var a,i=[],o=r,u=Z(Hc(n,r));try{for(u.s();!(a=u.n()).done;){var s=a.value;if("widget"===sh(s)&&sd(s)){var l=null;try{l=Fc(n,s,r/2)}catch(e){if(e.message.startsWith("splitRects"))return void this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:r});throw e}null!==l&&(.05+(l=Math.round(10*l)/10*2)>=r||(o=Math.min(o,l),i.push(s)))}}}catch(e){u.e(e)}finally{u.f()}return 0===i.length?(this.data({closestOffset:o,minOffset:r}),!0):(this.relatedNodes(i.map((function(e){return e.actualNode}))),i.some(ld)?(this.data({closestOffset:o,minOffset:r}),!ld(n)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:o,minOffset:r}))},"target-size-evaluate":function(e,t,n){var r=(null==t?void 0:t.minSize)||24,a=n.boundingClientRect;if(wc(10*r,a))return this.data({messageKey:"large",minSize:r}),!0;var i=wc.bind(null,r),o=Hc(n),u=function(e,t){return t.filter((function(t){return!kb(t,e)&&Tb(e,t)}))}(n,o),s=function(e,t){var n,r=[],a=[],i=Z(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;!Tb(e,o)&&Ac(e,o)&&"none"!==Rb(o)&&(kb(e,o)?r.push(o):a.push(o))}}catch(e){i.e(e)}finally{i.f()}return{fullyObscuringElms:r,partialObscuringElms:a}}(n,o),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(u.length&&(l.length||!i(a)))return this.data({minSize:r,messageKey:"contentOverflow"}),void this.relatedNodes(Mb(u));if(l.length)return this.relatedNodes(Mb(l)),this.data({messageKey:"obscured"}),!0;var d=!ld(n)&&void 0;if(!i(a))return this.data(j({minSize:r},Sb(a))),d;var f=c.filter((function(e){return"widget"===sh(e)&&sd(e)}));if(!f.length)return this.data(j({minSize:r},Sb(a))),!0;var h=function(e,t,n){var r,a=e.boundingClientRect,i=t.map((function(e){return"inline"===e.getComputedStylePropertyValue("display")?e.clientRects:e.boundingClientRect})).flat(1/0);try{r=Cc(a,i)}catch(e){return null}return function(e,t){return e.reduce((function(e,n){var r=wc(t,e);return r!==wc(t,n)?r?e:n:e.width*e.height>n.width*n.height?e:n}))}(r,n)}(n,f,r);if(h){if(!i(h)){if(u.length)return this.data({minSize:r,messageKey:"contentOverflow"}),void this.relatedNodes(Mb(u));var p=f.every(ld),m="partiallyObscured".concat(p?"":"NonTabbable");return this.data(j({messageKey:m,minSize:r},Sb(h))),this.relatedNodes(Mb(f)),p?d:void 0}return this.data(j({minSize:r},Sb(h||a))),this.relatedNodes(Mb(f)),!0}this.data({minSize:r,messageKey:"tooManyRects"})},"td-has-header-evaluate":function(e){var t=[],n=Gm(e),r=kd(e);return n.forEach((function(e){th(e)&&Vm(e)&&!gv(e)&&(Um(e,r).some((function(e){return null!==e&&!!th(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],n={},r=0;r<e.rows.length;r++)for(var a=e.rows[r],i=0;i<a.cells.length;i++){var o=a.cells[i];t.push(o);var u=o.getAttribute("id");u&&(n[u]=rf(o))}var s=C(C(C(C({},kv,new Set),Av,new Set),Cv,new Set),Rv,new Set);t.forEach((function(e){if(e.hasAttribute("headers")&&cf(e)){var t=e.getAttribute("headers").trim();if(t){var r=e.getAttribute("id");Uh(t).forEach((function(t){r&&t===r?s[kv].add(e):n[t]?["columnheader","rowheader"].includes(n[t])||s[Cv].add(e):s[Av].add(e)}))}else s[Rv].add(e)}}));var l,c=Z(xv);try{for(c.s();!(l=c.n()).done;){var d=l.value;if(s[d].size>0){if(this.relatedNodes(B(s[d])),d===Rv)return;return this.data({messageKey:d}),!1}}}catch(e){c.e(e)}finally{c.f()}return!0},"th-has-data-cells-evaluate":function(e){var t=Gm(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""!==Od(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(xd(e)))})),i=kd(e),o=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!r.includes(e.getAttribute("id"))){var t=Rd(e,i),a=!1;Td(e)&&(a=Zm("down",t,i).find((function(t){return!Td(t)&&Um(t,i).includes(e)}))),!a&&Md(e)&&(a=Zm("right",t,i).find((function(t){return!Md(t)&&Um(t,i).includes(e)}))),a||n.relatedNodes(e),o=o&&a}})),!!o||void 0},"title-only-evaluate":function(e,t,n){var r=Gf(n),a=of(n),i=n.attr("aria-describedby");return!(r||!a&&!i)},"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=Od(n.attr("title")).toLowerCase();return this.data(r),!0},"unsupportedrole-evaluate":function(e,t,n){var r=rf(n,{dpub:!0,fallback:!0}),a=Fd(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 i=np(a),o=t.value?!t.value.map(np).includes(i):!Om(i);(""!==i&&o||""!==a&&!Od(a))&&r.push(e+'="'+n.attr(e)+'"')}})),!(!r.length||"html"!==n.props.nodeName&&!nh(n)||(this.data(r),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var n=xd(e);return n&&(Kb[n]||t.roles.includes(n))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return Vb[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return ng.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 np(n.attr("lang"))===np(n.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=np(e.getAttribute("lang")),n=np(e.getAttribute("xml:lang"));return Om(t)&&Om(n)}},dg=cg,fg=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function hg(e){if("string"==typeof e){if(dg[e])return dg[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 pg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==a(e))&&(e={value:e}),e}function mg(e){e&&(this.id=e.id,this.configure(e))}mg.prototype.enabled=!0,mg.prototype.run=function(e,t,n,r,a){var i=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,o=this.getOptions(t.options);if(i){var u,s=new fg(this),l=hs(s,t,r,a);try{u=this.evaluate.call(l,e.actualNode,o,e,n)}catch(t){return e&&e.actualNode&&(t.errorNode=wl.toSpec(e)),void a(t)}l.isAsync||(s.result=u,r(s))}else r(null)},mg.prototype.runSync=function(e,t,n){var r=(t=t||{}).enabled;if(!(void 0===r?this.enabled:r))return null;var a,i=this.getOptions(t.options),o=new fg(this),u=hs(o);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,i,e,n)}catch(t){throw e&&e.actualNode&&(t.errorNode=wl.toSpec(e)),t}return o.result=a,o},mg.prototype.configure=function(e){var t=this;e.evaluate&&!dg[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this.options=this._internalCheck?pg(e.options):e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(n){return t[n]=hg(e[n])}))},mg.prototype.getOptions=function(e){return this._internalCheck?Rl(this.options,pg(e||{})):e||this.options};var vg=mg,bg=function(e){this.id=e.id,this.result=ta.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function gg(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(ga(ta.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=hg(e.matches))}function yg(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}}gg.prototype.matches=function(){return!0},gg.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,i="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&em.mark(n);var o=ym(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&em.mark(a),o=o.filter((function(e){return cf(e)})),t.performanceTimer&&(em.mark(i),em.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,i))),t.performanceTimer&&(em.mark(r),em.measure("rule_"+this.id+"#gather",n,r)),o},gg.prototype.runChecks=function(e,t,n,r,a,i){var o=this,u=Bs();this[e].forEach((function(e){var a=o._audit.checks[e.id||e],i=fp(a,o.id,n);u.defer((function(e,n){a.run(t,i,r,e,(function(e){n(new Em({ruleId:o.id,method:"".concat(a.id,"#evaluate"),errorNode:new fs(t),error:e}))}))}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(i)},gg.prototype.runChecksSync=function(e,t,n,r){var a=this,i=[];return this[e].forEach((function(e){var o=a._audit.checks[e.id||e],u=fp(o,a.id,n);i.push(o.runSync(t,u,r))})),i=i.filter((function(e){return e})),{type:e,results:i}},gg.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 i,o=Bs(),u=new bg(this);try{i=this.gatherAndMatchNodes(e,n)}catch(e){return void a(e)}n.performanceTimer&&this._logGatherPerformance(i),i.forEach((function(r){o.defer((function(a,i){var o=Bs();["any","all","none"].forEach((function(a){o.defer((function(i,o){t.runChecks(a,r,n,e,i,o)}))})),o.then((function(e){var n=yg(e);n&&(n.node=new fs(r),u.nodes.push(n),t.reviewOnFail&&(["any","all"].forEach((function(e){n[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),n.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),a()})).catch((function(e){return i(e)}))}))})),o.then((function(){n.performanceTimer&&t._logRulePerformance(),setTimeout((function(){r(u)}),0)})).catch((function(e){n.performanceTimer&&t._logRulePerformance(),a(e)}))},gg.prototype.runSync=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var r=new bg(this),a=this.gatherAndMatchNodes(e,n);return n.performanceTimer&&this._logGatherPerformance(a),a.forEach((function(a){var i=[];["any","all","none"].forEach((function(r){i.push(t.runChecksSync(r,a,n,e))}));var o=yg(i);o&&(o.node=a.actualNode?new fs(a):null,r.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)}))))})),n.performanceTimer&&this._logRulePerformance(),r},gg.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},gg.prototype._logGatherPerformance=function(e){na("gather for ".concat(this.id," (").concat(e.length," nodes): ").concat(em.timeElapsed(),"ms")),em.mark(this._markChecksStart)},gg.prototype._logRulePerformance=function(){em.mark(this._markChecksEnd),em.mark(this._markEnd),em.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),em.measure("rule_"+this.id,this._markStart,this._markEnd)},gg.prototype.gatherAndMatchNodes=function(e,t){var n=this,r="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,i=this.gather(e,t);return t.performanceTimer&&em.mark(r),i=i.filter((function(t){try{return n.matches(t.actualNode,t,e)}catch(e){throw new Em({ruleId:n.id,method:"#matches",errorNode:new fs(t),error:e})}})),t.performanceTimer&&(em.mark(a),em.measure("rule_"+this.id+"#matches",r,a)),i},gg.prototype.after=function(e,t){var n,r=this,a=Fl(n=this).map((function(e){var t=n._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null})).filter(Boolean);return a.forEach((function(n){var a,i,o,u=(a=n.id,i=[],e.nodes.forEach((function(e){Fl(e).forEach((function(t){t.id===a&&(t.node=e.node,i.push(t))}))})),i),s=fp(n,r.id,t);try{o=n.after(u,s.options)}catch(t){var l;throw new Em({ruleId:r.id,method:"".concat(n.id,"#after"),errorNode:null===(l=e.nodes)||void 0===l||null===(l=l[0])||void 0===l?void 0:l.node,error:t})}r.reviewOnFail&&o.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)})),u.forEach((function(e){delete e.node,-1===o.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},gg.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=hg(e.matches)),e.impact&&(ga(ta.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var Dg=/\{\{.+?\}\}/g,wg=W((function e(t){V(this,e),this.lang="en",this.defaultConfig=t,this.standards=wd,this._init(),this._defaultLocale=null}),[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),n=0;n<t.length;n++){var r=t[n],a=this.data.checks[r].messages;e.checks[r]={pass:a.pass,fail:a.fail,incomplete:a.incomplete}}for(var i=Object.keys(this.data.rules),o=0;o<i.length;o++){var u=i[o],s=this.data.rules[u];e.rules[u]={description:s.description,help:s.help}}for(var l=Object.keys(this.data.failureSummaries),c=0;c<l.length;c++){var d=l[c];e.failureSummaries[d]={failureMessage:this.data.failureSummaries[d].failureMessage}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.checks[r])throw new Error('Locale provided for unknown check: "'.concat(r,'"'));this.data.checks[r]=Ag(this.data.checks[r],e[r])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.rules[r])throw new Error('Locale provided for unknown rule: "'.concat(r,'"'));this.data.rules[r]=Cg(this.data.rules[r],e[r])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.failureSummaries[r])throw new Error('Locale provided for unknown failureMessage: "'.concat(r,'"'));this.data.failureSummaries[r]=kg(this.data.failureSummaries[r],e[r])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=Rg(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=Eg();this.allowedOrigins=[];var n,r=Z(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a===ta.allOrigins)return void(this.allowedOrigins=["*"]);a!==ta.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_init",value:function(){var e=function(e){var t;if(e?(t=ps(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var n=Eg();t.allowedOrigins=n?[n]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=j({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,xg(e.rules,this,"addRule"),xg(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new gg(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===a(t)&&(this.data.checks[e.id]=t,"object"===a(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new vg(e)}},{key:"run",value:function(e,t,n,r){this.normalizeOptions(t),fs.setRunOptions(t),i._selectCache=[];var a=function(e,t,n){return e.reduce((function(e,r){return vm(r,t,n)?r.preload?(e.later.push(r),e):(e.now.push(r),e):e}),{now:[],later:[]})}(this.rules,e,t),o=a.now,u=a.later,s=Bs();o.forEach((function(n){s.defer(Sg(n,e,t))}));var l=Bs();u.length&&l.defer((function(e){cm(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)}))}));var c=Bs();c.defer(s),c.defer(l),c.then((function(a){var o=a.pop();if(o&&o.length){var s=o[0];s&&(e=j({},e,s))}var l=a[0];if(!u.length)return i._selectCache=void 0,void n(l.filter((function(e){return!!e})));var c=Bs();u.forEach((function(n){var r=Sg(n,e,t);c.defer(r)})),c.then((function(e){i._selectCache=void 0,n(l.concat(e).filter((function(e){return!!e})))})).catch(r)})).catch(r)}},{key:"after",value:function(e,t){var n=this.rules;return e.map((function(e){if(e.error)return e;var r=El(n,"id",e.id);if(!r)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return r.after(e,t)}catch(e){if(t.debug)throw e;return Tg(r,e)}}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],n=[];if(this.rules.forEach((function(e){n.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),["object","string"].includes(a(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var r=e.runOnly.find((function(e){return t.includes(e)})),o=e.runOnly.find((function(e){return n.includes(e)}));if(r&&o)throw new Error("runOnly cannot be both rules and tags");e.runOnly=o?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var u=e.runOnly;if(u.value&&!u.values&&(u.values=u.value,delete u.value),!Array.isArray(u.values)||0===u.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(u.type))u.type="rule",u.values.forEach((function(e){if(!n.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(u.type))throw new Error("Unknown runOnly type '".concat(u.type,"'"));u.type="tag";var s=u.values.filter((function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)}));0!==s.length&&i.log("Could not find tags `"+s.join("`, `")+"`")}}return"object"===a(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!n.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=(i.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===Mg(t,r.id,n))&&(a.helpUrl=Mg(e,r.id,n))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),Fg=wg;function Eg(){return t.origin&&"null"!==t.origin?t.origin:t.location&&t.location.origin&&"null"!==t.location.origin?t.location.origin:void 0}function xg(e,t,n){var r,a;for(r=0,a=e.length;r<a;r++)t[n](e[r])}var Ag=function(e,t){var n=t.pass,r=t.fail;return"string"==typeof n&&Dg.test(n)&&(n=ja.default.compile(n)),"string"==typeof r&&Dg.test(r)&&(r=ja.default.compile(r)),j({},e,{messages:{pass:n||e.messages.pass,fail:r||e.messages.fail,incomplete:"object"===a(e.messages.incomplete)?j({},e.messages.incomplete,t.incomplete):t.incomplete}})},Cg=function(e,t){var n=t.help,r=t.description;return"string"==typeof n&&Dg.test(n)&&(n=ja.default.compile(n)),"string"==typeof r&&Dg.test(r)&&(r=ja.default.compile(r)),j({},e,{help:n||e.help,description:r||e.description})},kg=function(e,t){var n=t.failureMessage;return"string"==typeof n&&Dg.test(n)&&(n=ja.default.compile(n)),j({},e,{failureMessage:n||e.failureMessage})},Rg=function(e,t){return"string"==typeof t&&Dg.test(t)&&(t=ja.default.compile(t)),t||e};function Sg(e,t,n){return n.performanceTimer&&em.mark("mark_rule_start_"+e.id),function(r,a){e.run(t,n,(function(e){return r(e)}),(function(t){n.debug?a(t):r(Tg(e,t))}))}}function Tg(e,t){var n=t.errorNode,a=wm(t),i=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],o=n||new fs(r.documentElement);return Object.assign(new bg(e),{error:a,result:ta.CANTTELL,nodes:[{any:[],all:[],none:i,node:o}]})}function Mg(e,t,n){var r=e.application,a=e.lang;return ta.helpUrlBase+e.brand+"/"+(n||i.version.substring(0,i.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(r)+(a&&"en"!==a?"&lang="+encodeURIComponent(a):"")}function Og(e){var n=t&&"Node"in t&&"NodeList"in t,a=!!r;if(!n||!a){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');a||(os.set("globalDocumentSet",!0),r=e.ownerDocument),n||(os.set("globalWindowSet",!0),t=r.defaultView)}}var Ng=function(){os.get("globalDocumentSet")&&(os.set("globalDocumentSet",!1),r=null),os.get("globalWindowSet")&&(os.set("globalWindowSet",!1),t=null),i._memoizedFns.forEach((function(e){return e.clear()})),os.clear(),i._tree=void 0,i._selectorData=void 0,i._selectCache=void 0};function jg(e,t,n,r){try{e=new xp(e),i._tree=e.flatTree,i._selectorData=Ku(e.flatTree)}catch(e){return Ng(),r(e)}var a=Bs(),o=i._audit;t.performanceTimer&&em.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(n,r){Cl(e,t,"rules",null,n,r)})),a.defer((function(n,r){o.run(e,t,n,r)})),a.then((function(a){try{t.performanceTimer&&em.auditEnd();var i=Al(a.map((function(e){return{results:e}})));e.initiator&&(t.performanceTimer&&em.mark("auditAfterStart"),i=o.after(i,t),t.performanceTimer&&(em.mark("auditAfterEnd"),em.measure("audit.after","auditAfterStart","auditAfterEnd"),em.logMeasures("audit.after")),i.forEach(hm),i=i.map(ha));try{n(i,Ng)}catch(e){Ng(),na(e)}}catch(e){Ng(),r(e)}})).catch((function(e){Ng(),r(e)}))}function Bg(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){i._audit.registerCommand(e)}))}t.top!==t&&(pl.subscribe("axe.start",(function(e,t,n){var a=n,o=function(e){e instanceof Error==0&&(e=new Error(e)),n(e)},u=e&&e.context||{};u.hasOwnProperty("include")&&!u.include.length&&(u.include=[r]);var s=e&&e.options||{};switch(e.command){case"rules":return jg(u,s,(function(e,t){e=wl.mapRawResults(e),a(e),t()}),o);case"cleanup-plugin":return qm(a,o);default:if(i._audit&&i._audit.commands&&i._audit.commands[e.command])return i._audit.commands[e.command](e,n)}})),pl.subscribe("axe.ping",(function(e,t,n){n({axe:!0})}))),Bg.prototype.run=function(){return this._run.apply(this,arguments)},Bg.prototype.collect=function(){return this._collect.apply(this,arguments)},Bg.prototype.cleanup=function(e){var t=i.utils.queue(),n=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){n._registry[e].cleanup(t)}))})),t.then(e)},Bg.prototype.add=function(e){this._registry[e.id]=e};function _g(e){var t,n,o,u=G(e,3),s=u[0],l=u[1],c=u[2],d=new TypeError("axe.run arguments are invalid");if(!Ip(s)){if(void 0!==c)throw d;c=l,l=s,s=r}if("object"!==a(l)){if(void 0!==c)throw d;c=l,l={}}if("function"!=typeof c&&void 0!==c)throw d;return(l=ps(l)).reporter=null!==(t=null!==(n=l.reporter)&&void 0!==n?n:null===(o=i._audit)||void 0===o?void 0:o.reporter)&&void 0!==t?t:"v1",{context:s,options:l,callback:c}}var Ig=function(){};function qg(e){var t=e.frames,n=e.frameSpec;return n?t.map((function(e){return wl.mergeSpecs(e,n)})):t}var Pg=function(e,t,n){if("function"==typeof t&&(n=t,t={}),!e||!Array.isArray(e))return n(e);n(e.map((function(e){for(var t=j({},e),n=0,r=["passes","violations","incomplete","inapplicable"];n<r.length;n++){var a=r[n];t[a]=wl.mapRawNodeResults(t[a])}return t})))};i._thisWillBeDeletedDoNotUse={base:{Audit:Fg,CheckResult:fg,Check:vg,Context:xp,RuleResult:bg,Rule:gg,metadataFunctionMap:dg},public:{reporters:Pm},helpers:{failureSummary:rp,incompleteFallbackMessage:ap,processAggregate:op},utils:{setDefaultFrameMessenger:fl,cacheNodeSelectors:Xh,getNodesMatchingExpression:Kh,convertSelector:ks},commons:{dom:{nativelyHidden:Gl,displayHidden:Hl,visibilityHidden:Ul,contentVisibiltyHidden:Vl,ariaHidden:Kl,opacityHidden:Wl,scrollHidden:Yl,overflowHidden:Zl,clipHidden:Xl,areaHidden:Jl,detailsHidden:Ql}}},i.constants=ta,i.log=na,i.AbstractVirtualNode=aa,i.SerialVirtualNode=Im,i.VirtualNode=Hh,i._cache=os,i.imports=ka,i.cleanup=qm,i.configure=function(e){var t=i._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var n=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(n))throw new Error("Invalid configured version ".concat(n));var r=G(n.split("-"),2),a=r[1],o=G(r[0].split(".").map(Number),3),u=o[0],s=o[1],l=o[2],c=G(i.version.split("-"),2),d=c[1],f=G(c[0].split(".").map(Number),3),h=f[0],p=f[1],m=f[2];if(u!==h||p<s||p===s&&m<l||u===h&&s===p&&l===m&&a&&a!==d)throw new Error("Configured version ".concat(n," is not compatible with current axe version ").concat(i.version))}if(e.reporter&&("function"==typeof e.reporter||$m(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var v,b=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));b.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===b.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(v=e.standards,Object.keys(Dd).forEach((function(e){v[e]&&(Dd[e]=Rl(Dd[e],v[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(ta.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}},i.frameMessenger=function(e){pl.updateMessenger(e)},i.getRules=function(e){var t=(e=e||[]).length?i._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):i._audit.rules,n=i._audit.data.rules||{};return t.map((function(e){var t=n[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}}))},i._load=function(e){i._audit=new Fg(e)},i.plugins={},i.registerPlugin=function(e){i.plugins[e.id]=new Bg(e)},i.hasReporter=$m,i.getReporter=zm,i.addReporter=function(e,t,n){Pm[e]=t,n&&(_m=t)},i.reset=function(){var e=i._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(Dd).forEach((function(e){Dd[e]=yd[e]}))},i._runRules=jg,i.runVirtualRule=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.reporter=n.reporter||i._audit.reporter||"v1",i._selectorData={},t instanceof aa||(t=new Im(t));var r=Cp(e);if(!r)throw new Error("unknown rule `"+e+"`");var a=(r=Object.create(r,{excludeHidden:{value:!1}})).runSync({initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},n);hm(a),ha(a);var o=va([a]);return o.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=rp(e)}))})),j({},hp(),o,{toolOptions:n})},i.run=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Og(t[0]);var r=_g(t),a=r.context,o=r.options,u=r.callback,s=void 0===u?Ig:u,l=function(e){var t,n,r;return"function"==typeof Promise&&e===Ig?t=new Promise((function(e,t){n=t,r=e})):(r=function(t){return e(null,t)},n=function(t){return e(t)}),{thenable:t,reject:n,resolve:r}}(s),c=l.thenable,d=l.resolve,f=l.reject;try{ga(i._audit,"No audit configured"),ga(!i._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"!=typeof t||t===Ig)throw e;t(e.message)}(e,s)}return i._running=!0,o.performanceTimer&&em.start(),i._runRules(a,o,(function(e,t){var n=function(e){i._running=!1,t();try{f(e)}catch(e){i.log(e)}};try{o.performanceTimer&&em.mark("reporterStart"),function(e,t,n,r){var a=zm(t.reporter)(e,t,n,r);void 0!==a&&n(a)}(e,o,(function(e){o.performanceTimer&&(em.mark("reporterEnd"),em.measure("reporter","reporterStart","reporterEnd"),em.logMeasures("reporter"),em.end()),i._running=!1,t();try{d(e)}catch(e){i.log(e)}}),n)}catch(e){n(e)}}),(function(e){o.performanceTimer&&em.end(),i._running=!1,s(e),f(e)})),c},i.setup=function(e){if(i._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===a(e.documentElement)&&"object"===a(e.defaultView)&&(e=e.documentElement),Og(e),i._tree=Jh(e),i._selectorData=Ku(i._tree),i._tree[0]},i.teardown=Ng,i.runPartial=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=_g(t),a=r.options,o=r.context;ga(i._audit,"Axe is not configured. Audit is missing."),ga(!i._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var u=new xp(o,i._tree);return i._tree=u.flatTree,i._selectorData=Ku(u.flatTree),i._running=!0,a.elementRef=!1,new Promise((function(e,t){i._audit.run(u,a,e,t)})).then((function(e){e=wl.mapRawResults(e);var t,n=u.frames.map((function(e){return wl.toSpec(e.node)}));return u.initiator&&(t=hp()),i._running=!1,Ng(),{results:e,frames:n,environmentData:t}})).catch((function(e){return i._running=!1,Ng(),Promise.reject(e)}))},i.finishRun=function(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=ps(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;i._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(n=a.reporter)&&void 0!==n?n:null===(r=i._audit)||void 0===r?void 0:r.reporter)&&void 0!==t?t:"v1",function(e){var t,n=[],r=Z(e);try{for(r.s();!(t=r.n()).done;){var a=t.value,i=n.shift();if(a){a.frameSpec=null!=i?i:null;var o=qg(a);n.unshift.apply(n,B(o))}}}catch(e){r.e(e)}finally{r.f()}}(e);var u=Al(e);return(u=i._audit.after(u,a)).forEach(hm),function(e,t){return new Promise((function(n,r){zm(t.reporter)(e,t,n,r)}))}(u=u.map(ha),j({environmentData:o},a))},i.commons=qv,i.utils=ia,i.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.environmentData,a=R(t,D);n(j({},hp(r),{toolOptions:a},op(e,t)))})),i.addReporter("no-passes",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,w);t.resultTypes=["violations"];var i=op(e,t).violations;n(j({},hp(r),{toolOptions:a,violations:i}))})),i.addReporter("rawEnv",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,F);Pg(e,a,(function(e){var t=hp(r);n({raw:e,env:t})}))})),i.addReporter("raw",Pg),i.addReporter("v1",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,E),i=op(e,t),o=function(e){e.nodes.forEach((function(e){e.failureSummary=rp(e)}))};i.incomplete.forEach(o),i.violations.forEach(o),n(j({},hp(r),{toolOptions:a},i))})),i.addReporter("v2",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=R(t,x),i=op(e,t);n(j({},hp(r),{toolOptions:a},i))}),!0)}(),i._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard in Safari",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr-elm":{messages:{pass:"ARIA attributes are allowed for this element",fail:{singular:"ARIA attribute is not allowed on ${data.nodeName} elements: ${data.values}",plural:"ARIA attributes are not allowed on ${data.nodeName} elements: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",unsupported:"Multiple IDs in aria-errormessage is not widely supported in assistive technologies",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}","aria-busy-fail":'Element has children which are not allowed: ${data.values}; Having aria-busy="true" does not allow children with roles that are not allowed'},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",n=e;if(n)for(var r=-1,a=n.length-1;r<a;)t+="\n "+n[r+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",n=e;if(n)for(var r=-1,a=n.length-1;r<a;)t+="\n "+n[r+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"},"aria-allowed-attr-elm"],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr-elm",evaluate:"aria-allowed-attr-elm-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:!0},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:bw.exports)),bw.exports);
|
|
2
|
+
/*! axe v4.11.3
|
|
3
|
+
* Copyright (c) 2015 - 2026 Deque Systems, Inc.
|
|
4
|
+
*
|
|
5
|
+
* Your use of this Source Code Form is subject to the terms of the Mozilla Public
|
|
6
|
+
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
7
|
+
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
8
|
+
*
|
|
9
|
+
* This entire copyright notice must appear in every copy of this file you
|
|
10
|
+
* distribute or in any file that contains substantial portions of this source
|
|
11
|
+
* code.
|
|
12
|
+
*/let yw=null,Dw=null;function ww(){if(yw)return;const e=Pv((function*(){const e=Dw=yield*ng(100),t=hw(e).pipe(pw((({context:e,onComplete:t})=>jv((n=>{gw.run(e,{},((e,r)=>{t(e,r),n(Gv)}))})))));yield*(e=>aw(e,ND))(t)}));yw=Ab(e)}function Fw(e){ww(),Dw&&Cb(Dw.offer(e))}export{Fw as enqueueValidation,ww as initializeValidationStream}
|