@lmvz-ds/components 0.32.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/cjs/{aria-loader-BRo2FTGh.js → aria-loader-DWUVcapD.js} +1 -1
  3. package/cjs/{aria-validation-controller-Z4TtOp2l.js → aria-validation-controller-BC0Eaiv4.js} +1 -1
  4. package/cjs/async.util-BQ60l-WC.js +20 -0
  5. package/cjs/{ds.constants-CKeXfK-s.js → ds.constants-C6eKRAEu.js} +5 -1
  6. package/cjs/{element.util-Cq4y-_iX.js → element.util-Dbyc8yUG.js} +35 -0
  7. package/cjs/{icons-BQASWgk-.js → icons-snv0hyf1.js} +1 -1
  8. package/cjs/{index-3g9Z9sfF.js → index-Bn3k5SiE.js} +1044 -508
  9. package/cjs/index.cjs.js +7 -5
  10. package/cjs/{list-keyboard-controller-StN6Yn8W.js → list-keyboard-controller-Dm5S_l0D.js} +1 -1
  11. package/cjs/lmvz-action-list.cjs.entry.js +13 -6
  12. package/cjs/lmvz-button-group.cjs.entry.js +4 -4
  13. package/cjs/lmvz-button_2.cjs.entry.js +7 -7
  14. package/cjs/lmvz-card.cjs.entry.js +1 -1
  15. package/cjs/lmvz-checkbox.cjs.entry.js +5 -5
  16. package/cjs/lmvz-chip.cjs.entry.js +3 -3
  17. package/cjs/lmvz-components.cjs.js +1 -1
  18. package/cjs/lmvz-header_2.cjs.entry.js +4 -4
  19. package/cjs/lmvz-input.cjs.entry.js +4 -3
  20. package/cjs/lmvz-link.cjs.entry.js +4 -4
  21. package/cjs/lmvz-menuitem.cjs.entry.js +3 -3
  22. package/cjs/lmvz-message.cjs.entry.js +3 -3
  23. package/cjs/lmvz-modal.cjs.entry.js +6 -6
  24. package/cjs/lmvz-popover.cjs.entry.js +1570 -0
  25. package/cjs/lmvz-radio.cjs.entry.js +4 -4
  26. package/cjs/lmvz-select.cjs.entry.js +3 -3
  27. package/cjs/lmvz-snackbar.cjs.entry.js +1 -1
  28. package/cjs/lmvz-spinner.cjs.entry.js +1 -1
  29. package/cjs/lmvz-tab.cjs.entry.js +1 -1
  30. package/cjs/lmvz-tabs.cjs.entry.js +3 -3
  31. package/cjs/lmvz-toggle.cjs.entry.js +6 -5
  32. package/cjs/loader.cjs.js +1 -1
  33. package/cjs/{logger-DsM6xg6V.js → logger-NBdKPSou.js} +1 -1
  34. package/cjs/{stencil.util-DzvzXSwk.js → stencil.util-DxdYjVoH.js} +2 -10
  35. package/cjs/{svg-BMBduILB.js → svg-CysxzZw7.js} +1 -1
  36. package/collection/api/ds.constants.js +3 -1
  37. package/collection/collection-manifest.json +1 -0
  38. package/collection/components/lmvz-action-list/lmvz-action-list.css +150 -38
  39. package/collection/components/lmvz-action-list/lmvz-action-list.js +9 -1
  40. package/collection/components/lmvz-button/lmvz-button.css +14 -18
  41. package/collection/components/lmvz-button/lmvz-button.js +1 -1
  42. package/collection/components/lmvz-button-group/lmvz-button-group.css +1 -2
  43. package/collection/components/lmvz-card/lmvz-card.css +16 -19
  44. package/collection/components/lmvz-checkbox/lmvz-checkbox.css +3 -6
  45. package/collection/components/lmvz-link/lmvz-link.css +1 -1
  46. package/collection/components/lmvz-menuitem/lmvz-menuitem.css +1 -2
  47. package/collection/components/lmvz-modal/lmvz-modal.css +1 -2
  48. package/collection/components/lmvz-popover/lmvz-popover.css +46 -0
  49. package/collection/components/lmvz-popover/lmvz-popover.js +470 -0
  50. package/collection/components/lmvz-radio/lmvz-radio.css +2 -4
  51. package/collection/components/lmvz-radio/lmvz-radio.js +1 -1
  52. package/collection/components/lmvz-select/lmvz-select.js +1 -1
  53. package/collection/components/lmvz-snackbar/lmvz-snackbar.js +1 -1
  54. package/collection/components/lmvz-spinner/lmvz-spinner.js +1 -1
  55. package/collection/components/lmvz-tab/lmvz-tab.js +1 -1
  56. package/collection/components/lmvz-tabs/lmvz-tabs.js +1 -1
  57. package/collection/components/lmvz-toggle/lmvz-toggle.css +1 -2
  58. package/collection/components/lmvz-toggle/lmvz-toggle.js +1 -1
  59. package/collection/integration/header-integration/header-integration.js +1 -1
  60. package/collection/utils/async/async.util.js +6 -0
  61. package/collection/utils/element/element.util.js +33 -0
  62. package/components/index.d.ts +2 -0
  63. package/components/index.d.ts.bak +2 -0
  64. package/components/index.js +1 -1
  65. package/components/lmvz-action-list.js +1 -1
  66. package/components/lmvz-button-group.js +1 -1
  67. package/components/lmvz-button.js +1 -1
  68. package/components/lmvz-card.js +1 -1
  69. package/components/lmvz-checkbox.js +1 -1
  70. package/components/lmvz-chip.js +1 -1
  71. package/components/lmvz-header.js +1 -1
  72. package/components/lmvz-icon.js +1 -1
  73. package/components/lmvz-input.js +1 -1
  74. package/components/lmvz-link.js +1 -1
  75. package/components/lmvz-menuitem.js +1 -1
  76. package/components/lmvz-message.js +1 -1
  77. package/components/lmvz-modal.js +1 -1
  78. package/components/lmvz-popover.d.ts +11 -0
  79. package/components/lmvz-popover.d.ts.bak +11 -0
  80. package/components/lmvz-popover.js +1 -0
  81. package/components/lmvz-radio.js +1 -1
  82. package/components/lmvz-select.js +1 -1
  83. package/components/lmvz-snackbar.js +1 -1
  84. package/components/lmvz-spinner.js +1 -1
  85. package/components/lmvz-tab.js +1 -1
  86. package/components/lmvz-tabs.js +1 -1
  87. package/components/lmvz-toggle.js +1 -1
  88. package/components/p-0ctLESas.js +1 -0
  89. package/components/{p-CdDO7mQa.js → p-BDonpCG8.js} +1 -1
  90. package/components/p-BhSTYZC6.js +1 -0
  91. package/components/p-CE-QR3Tp.js +1 -0
  92. package/components/{p-C8znmF2h.js → p-CFTmV4XZ.js} +1 -1
  93. package/components/{p-CxfT9IA1.js → p-CK3Ixl1K.js} +1 -1
  94. package/components/p-Cghfdblf.js +12 -0
  95. package/components/{p-B4m1n4et.js → p-D-2gj6LP.js} +1 -1
  96. package/components/{p-CGmJG63p.js → p-D06Ds9Dh.js} +1 -1
  97. package/components/{p-DeO5Vbxh.js → p-D7S1WiEC.js} +1 -1
  98. package/components/p-D9nUtvTm.js +1 -0
  99. package/components/{p-DJ90327O.js → p-De-xQqdU.js} +1 -1
  100. package/components/{p-CcxjkCOx.js → p-DjvtQE7c.js} +1 -1
  101. package/esm/{aria-loader-GfsGHZHY.js → aria-loader-BfH06m7H.js} +1 -1
  102. package/esm/{aria-validation-controller-BnyUKeJ6.js → aria-validation-controller-BvOU1BO8.js} +1 -1
  103. package/esm/async.util-D9nUtvTm.js +17 -0
  104. package/esm/{ds.constants-DuEtnKRj.js → ds.constants-0ctLESas.js} +4 -2
  105. package/esm/{element.util-CxfT9IA1.js → element.util-B0eCxdyI.js} +34 -1
  106. package/esm/{icons-CmuFKDRz.js → icons-DQOFaux5.js} +1 -1
  107. package/esm/{index-Dh_9sN0q.js → index-7ULiPTL_.js} +1044 -508
  108. package/esm/index.js +5 -5
  109. package/esm/{list-keyboard-controller-BKa9Kd2t.js → list-keyboard-controller-tle6IRkv.js} +1 -1
  110. package/esm/lmvz-action-list.entry.js +13 -6
  111. package/esm/lmvz-button-group.entry.js +4 -4
  112. package/esm/lmvz-button_2.entry.js +7 -7
  113. package/esm/lmvz-card.entry.js +1 -1
  114. package/esm/lmvz-checkbox.entry.js +5 -5
  115. package/esm/lmvz-chip.entry.js +3 -3
  116. package/esm/lmvz-components.js +1 -1
  117. package/esm/lmvz-header_2.entry.js +4 -4
  118. package/esm/lmvz-input.entry.js +4 -3
  119. package/esm/lmvz-link.entry.js +4 -4
  120. package/esm/lmvz-menuitem.entry.js +3 -3
  121. package/esm/lmvz-message.entry.js +3 -3
  122. package/esm/lmvz-modal.entry.js +6 -6
  123. package/esm/lmvz-popover.entry.js +1568 -0
  124. package/esm/lmvz-radio.entry.js +4 -4
  125. package/esm/lmvz-select.entry.js +3 -3
  126. package/esm/lmvz-snackbar.entry.js +1 -1
  127. package/esm/lmvz-spinner.entry.js +1 -1
  128. package/esm/lmvz-tab.entry.js +1 -1
  129. package/esm/lmvz-tabs.entry.js +3 -3
  130. package/esm/lmvz-toggle.entry.js +6 -5
  131. package/esm/loader.js +1 -1
  132. package/esm/{logger-CGmJG63p.js → logger-D06Ds9Dh.js} +1 -1
  133. package/esm/{stencil.util-CJRqhXjK.js → stencil.util-wGFRYLwZ.js} +1 -9
  134. package/esm/{svg-B2YoIRuh.js → svg-Dz3GD0LB.js} +1 -1
  135. package/hydrate/index.js +1652 -25
  136. package/hydrate/index.mjs +1652 -25
  137. package/lmvz-components/index.esm.js +1 -1
  138. package/lmvz-components/lmvz-components.esm.js +1 -1
  139. package/lmvz-components/p-03c38ff2.entry.js +1 -0
  140. package/lmvz-components/{p-582f44ff.entry.js → p-08613ba2.entry.js} +1 -1
  141. package/lmvz-components/p-0ctLESas.js +1 -0
  142. package/lmvz-components/{p-ed3c2b13.entry.js → p-11de5905.entry.js} +1 -1
  143. package/lmvz-components/{p-b79af711.entry.js → p-2036044c.entry.js} +1 -1
  144. package/lmvz-components/{p-c0d05a97.entry.js → p-4254aa38.entry.js} +1 -1
  145. package/lmvz-components/{p-8e1f66dd.entry.js → p-49e98627.entry.js} +1 -1
  146. package/lmvz-components/p-4f005b23.entry.js +1 -0
  147. package/lmvz-components/p-50063516.entry.js +1 -0
  148. package/lmvz-components/{p-48109e1d.entry.js → p-585470ef.entry.js} +1 -1
  149. package/lmvz-components/{p-24125bcf.entry.js → p-5bbbcfc0.entry.js} +1 -1
  150. package/lmvz-components/{p-c3e8092e.entry.js → p-6140866f.entry.js} +1 -1
  151. package/lmvz-components/p-9b7ce515.entry.js +1 -0
  152. package/lmvz-components/p-9f8fd077.entry.js +1 -0
  153. package/lmvz-components/{p-CxfT9IA1.js → p-B0eCxdyI.js} +1 -1
  154. package/lmvz-components/{p-CdDO7mQa.js → p-BDonpCG8.js} +1 -1
  155. package/lmvz-components/p-BhSTYZC6.js +1 -0
  156. package/lmvz-components/p-Cghfdblf.js +12 -0
  157. package/lmvz-components/p-CyDgnpOB.js +1 -0
  158. package/lmvz-components/{p-CGmJG63p.js → p-D06Ds9Dh.js} +1 -1
  159. package/lmvz-components/{p-CPOia2kT.js → p-D9PQIBzA.js} +1 -1
  160. package/lmvz-components/p-D9nUtvTm.js +1 -0
  161. package/lmvz-components/{p-CcxjkCOx.js → p-DjvtQE7c.js} +1 -1
  162. package/lmvz-components/{p-B4m1n4et.js → p-DuLiExhX.js} +1 -1
  163. package/lmvz-components/{p-1ce90ea7.entry.js → p-b0626234.entry.js} +1 -1
  164. package/lmvz-components/{p-fa2cd315.entry.js → p-b67ff2d1.entry.js} +1 -1
  165. package/lmvz-components/p-bfde444e.entry.js +1 -0
  166. package/lmvz-components/{p-703b10b5.entry.js → p-cc2734e9.entry.js} +1 -1
  167. package/lmvz-components/{p-25a78ead.entry.js → p-ce1a9f39.entry.js} +1 -1
  168. package/lmvz-components/{p-80a26307.entry.js → p-ddc28256.entry.js} +1 -1
  169. package/lmvz-components/p-fd455288.entry.js +1 -0
  170. package/manifest.json +386 -3
  171. package/package.json +7 -3
  172. package/types/api/ds.constants.d.ts +3 -1
  173. package/types/api/ds.types.d.ts +7 -0
  174. package/types/components/lmvz-popover/lmvz-popover.d.ts +37 -0
  175. package/types/components.d.ts +108 -1
  176. package/types/utils/async/async.util.d.ts +3 -0
  177. package/types/utils/element/element.util.d.ts +2 -0
  178. package/components/p-0s99QfRy.js +0 -12
  179. package/components/p-B0H9qIwE.js +0 -1
  180. package/components/p-CJRqhXjK.js +0 -1
  181. package/components/p-DuEtnKRj.js +0 -1
  182. package/lmvz-components/p-0s99QfRy.js +0 -12
  183. package/lmvz-components/p-4072b2fb.entry.js +0 -1
  184. package/lmvz-components/p-592d509b.entry.js +0 -1
  185. package/lmvz-components/p-6f61c24d.entry.js +0 -1
  186. package/lmvz-components/p-74c7521c.entry.js +0 -1
  187. package/lmvz-components/p-947e1fe6.entry.js +0 -1
  188. package/lmvz-components/p-CFsC37ww.js +0 -1
  189. package/lmvz-components/p-CJRqhXjK.js +0 -1
  190. package/lmvz-components/p-DuEtnKRj.js +0 -1
  191. package/lmvz-components/p-c00f0d96.entry.js +0 -1
@@ -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,m as w,D as F,E,F as x,G as A,H as C,I as k,J as R,K as T,L as S,M,O,P as N,Q as B,R as I,S as j,U as _,V as q,W as P,X as $,Y as z,Z as G,_ as L,$ as H,a0 as U,a1 as V,a2 as K,a3 as W,a4 as Y,a5 as Z,a6 as X,a7 as J,a8 as Q,a9 as ee,aa as te,ab as ne,ac as re,ad as ae,ae as ie,af as oe,ag as ue,ah as se,ai as le,aj as ce,ak as de,al as fe,am as he,an as pe,ao as me,ap as ve,aq as be,l as ge,ar as ye,as as De,r as we,at as Fe,au as Ee,av as xe,aw as Ae,ax as Ce,a as ke,ay as Re,az as Te,aA as Se,aB as Me,aC as Oe,aD as Ne,aE as Be,aF as Ie,aG as je,aH as _e,aI as qe,aJ as Pe,aK as $e,aL as ze,aM as Ge,aN as Le,aO as He,aP as Ue,aQ as Ve,aR as Ke,aS as We,aT as Ye,aU 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,bd as bt,be as gt,bf as yt,bg as Dt,bh as wt,bi as Ft,bj as Et,bk as xt,bl as At,bm as Ct,bn as kt,bo as Rt,bp as Tt,bq as St,br as Mt,bs as Ot,bt as Nt,bu as Bt,bv as It,bw as jt,bx as _t,by as qt,bz as Pt,bA as $t,bB as zt,bC as Gt,bD as Lt,bE as Ht,bF as Ut,bG as Vt,bH as Kt,bI as Wt,bJ as Yt,bK as Zt,bL as Xt,bM as Jt,bN as Qt,bO as en,bP as tn,bQ as nn,bR as rn,bS as an,bT as on,bU as un,bV as sn,bW as ln,bX as cn,bY as dn,bZ as fn,b_ as hn,b$ as pn,c0 as mn,c1 as vn,c2 as bn,c3 as gn,c4 as yn,c5 as Dn,c6 as wn,c7 as Fn,c8 as En,c9 as xn,ca as An,cb as Cn,i as kn,cc as Rn,cd as Tn,ce as Sn,cf as Mn,cg as On,ch as Nn,ci as Bn,cj as In,ck as jn,cl as _n,cm as qn,cn as Pn,co as $n,cp as zn,cq as Gn,cr as Ln,cs as Hn,ct as Un,cu as Vn,cv as Kn,cw as Wn,cx as Yn,cy as Zn,cz as Xn,cA as Jn,cB as Qn,cC as er,cD as tr,cE as nr,cF as rr,cG as ar,cH as ir,cI as or,cJ as ur,cK as sr,cL as lr,cM as cr,cN as dr,cO as fr,cP as hr,cQ as pr,cR as mr,cS as vr,cT as br,cU as gr,cV as yr,cW as Dr,cX as wr,cY as Fr,cZ as Er,c_ as xr,c$ as Ar,d0 as Cr,d1 as kr,d2 as Rr,d3 as Tr,d4 as Sr,d5 as Mr,d6 as Or,d7 as Nr,d8 as Br,d9 as Ir,da as jr,db as _r,dc as qr,dd as Pr,de as $r,df as zr,dg as Gr,dh as Lr,di as Hr,dj as Ur,dk as Vr,dl as Kr,dm as Wr,dn as Yr,dp as Zr,dq as Xr,dr as Jr,ds as Qr,dt as ea,du as ta,dv as na,dw as ra,dx as aa,dy as ia,dz as oa,dA as ua,dB as sa,dC as la,dD as ca,dE as da,dF as fa,dG as ha,dH as pa,dI as ma,dJ as va,dK as ba,dL as ga,dM as ya,dN as Da,dO as wa,dP as Fa,dQ as Ea,dR as xa,dS as Aa,dT as Ca,dU as ka,dV as Ra,dW as Ta,dX as Sa,dY as Ma,dZ as Oa,d_ as Na,d$ as Ba,e0 as Ia,e1 as ja,e2 as _a,e3 as qa,e4 as Pa,e5 as $a,e6 as za,e7 as Ga,e8 as La,e9 as Ha,ea as Ua,eb as Va,ec as Ka,ed as Wa}from"./p-D06Ds9Dh.js";const Ya=e=>(t,n)=>t===n?0:e(t,n),Za=Ya(((e,t)=>e<t?-1:1)),Xa=e(2,((e,t)=>Ya(((n,r)=>e(t(n),t(r)))))),Ja=t=>e(2,((e,n)=>1===t(e,n))),Qa=Za,ei=Symbol.for("effect/Duration"),ti=BigInt(0),ni=BigInt(24),ri=BigInt(60),ai=BigInt(1e3),ii=BigInt(1e6),oi=BigInt(1e9),ui=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,si=e=>{if(hi(e))return e;if(n(e))return gi(e);if(r(e))return vi(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])?pi:e[0]===1/0||e[1]===1/0?mi:vi(BigInt(Math.round(1e9*e[0]))+BigInt(Math.round(e[1])));if(a(e)){const t=ui.exec(e);if(t){const[e,n,r]=t,a=Number(n);switch(r){case"nano":case"nanos":return vi(BigInt(n));case"micro":case"micros":return bi(BigInt(n));case"milli":case"millis":return gi(a);case"second":case"seconds":return yi(a);case"minute":case"minutes":return Di(a);case"hour":case"hours":return wi(a);case"day":case"days":return Fi(a);case"week":case"weeks":return Ei(a)}}}throw new Error("Invalid DurationInput")},li={_tag:"Millis",millis:0},ci={_tag:"Infinity"},di={[ei]:ei,[s](){return l(this,c(this.value))},[u](e){return hi(e)&&Si(this,e)},toString(){return`Duration(${Mi(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:Ai(this)};case"Infinity":return{_id:"Duration",_tag:"Infinity"}}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},fi=e=>{const t=Object.create(di);return t.value=n(e)?isNaN(e)||e<=0?li:Number.isFinite(e)?Number.isInteger(e)?{_tag:"Millis",millis:e}:{_tag:"Nanos",nanos:BigInt(Math.round(1e6*e))}:ci:e<=ti?li:{_tag:"Nanos",nanos:e},t},hi=e=>t(e,ei),pi=fi(0),mi=fi(1/0),vi=e=>fi(e),bi=e=>fi(e*ai),gi=e=>fi(e),yi=e=>fi(1e3*e),Di=e=>fi(6e4*e),wi=e=>fi(36e5*e),Fi=e=>fi(864e5*e),Ei=e=>fi(6048e5*e),xi=e=>Ci(e,{onMillis:e=>e,onNanos:e=>Number(e)/1e6}),Ai=e=>{const t=si(e);switch(t.value._tag){case"Infinity":return[1/0,0];case"Nanos":return[Number(t.value.nanos/oi),Number(t.value.nanos%oi)];case"Millis":return[Math.floor(t.value.millis/1e3),Math.round(t.value.millis%1e3*1e6)]}},Ci=e(2,((e,t)=>{const n=si(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)}})),ki=e(3,((e,t,n)=>{const r=si(e),a=si(t);if("Infinity"===r.value._tag||"Infinity"===a.value._tag)return n.onMillis(xi(r),xi(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)})),Ri=e(2,((e,t)=>ki(e,t,{onMillis:(e,t)=>e<=t,onNanos:(e,t)=>e<=t}))),Ti=e(2,((e,t)=>ki(e,t,{onMillis:(e,t)=>e>=t,onNanos:(e,t)=>e>=t}))),Si=e(2,((e,t)=>((e,t)=>ki(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t}))(si(e),si(t)))),Mi=e=>{const t=si(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===ti;case"Infinity":return!1}})(t))return"0";const n=(e=>{const t=si(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=si(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/ii,a=r/ai,i=a/ri,o=i/ri;return{days:Number(o/ni),hours:Number(o%ni),minutes:Number(i%ri),seconds:Number(a%ri),millis:Number(r%ai),nanos:Number(n%ii)}})(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(" ")},Oi=(e,t)=>({_tag:"Par",left:e,right:t}),Ni=(e,t)=>({_tag:"Seq",left:e,right:t}),Bi=e=>{let t=e,n=Pi(),r=h(),a=h();for(;;)switch(t._tag){case"Empty":if(m(r))return[n,a];t=r.head,r=r.tail;break;case"Par":r=g(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=Oi(Ni(e.left,n),Ni(r,n));break}case"Seq":t=Ni(e.left,Ni(e.right,n));break;case"Single":t=e,a=g(n,a)}break}case"Single":if(n=$i(n,t),m(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")},Ii=(e,t)=>{if(m(e))return d(Hi(t));if(Gi(t))return e;const n=Zi(e.head),r=Li(t);return 1===n.length&&1===r.length&&A(n[0],r[0])?g(Yi(e.head,Hi(t)),e.tail):g(Hi(t),e)},ji=Symbol.for("effect/RequestBlock/RequestBlockParallel"),_i={_R:e=>e};class qi{map;[ji]=_i;constructor(e){this.map=e}}const Pi=()=>new qi(b()),$i=(e,t)=>new qi(C(e.map,t.dataSource,(e=>k(R(e,T(t.blockedRequest)),(()=>S(t.blockedRequest)))))),zi=(e,t)=>new qi(y(e.map,t.map,((e,t,n)=>D(e,n,w(F(e,n),{onNone:()=>t,onSome:e=>E(t,e)}))))),Gi=e=>x(e.map),Li=e=>Array.from(O(e.map)),Hi=e=>Wi(M(e.map,(e=>S(e)))),Ui=Symbol.for("effect/RequestBlock/RequestBlockSequential"),Vi={_R:e=>e};class Ki{map;[Ui]=Vi;constructor(e){this.map=e}}const Wi=e=>new Ki(e),Yi=(e,t)=>new Ki(y(t.map,e.map,((e,t,n)=>D(e,n,w(F(e,n),{onNone:()=>N(),onSome:e=>E(e,t)}))))),Zi=e=>Array.from(O(e.map)),Xi=B,Ji=I,Qi=_,eo=q,to=j,no=P,ro=$,ao=V,io=W,oo=H,uo=G,so=Y,lo=z,co=L,fo=K,ho=Z,po=U,mo=Symbol.for("effect/MutableHashMap"),vo={[mo]:mo,[Symbol.iterator](){return new bo(this)},toString(){return ne(this.toJSON())},toJSON(){return{_id:"MutableHashMap",values:Array.from(this).map(te)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}};class bo{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 go(this.self.buckets.values()),this.next()):e}[Symbol.iterator](){return new bo(this.self)}}class go{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 yo=()=>{const e=Object.create(vo);return e.referential=new Map,e.buckets=new Map,e.bucketsSize=0,e},Do=e(2,((e,t)=>{if(!1===X(t))return e.referential.has(t)?J(e.referential.get(t)):Q();const n=t[s](),r=e.buckets.get(n);return void 0===r?Q():wo(e,r,t)})),wo=(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--),J(n)}return Q()},Fo=e(2,((e,t)=>ee(Do(e,t)))),Eo=e(3,((e,t,n)=>{if(!1===X(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):(xo(e,a,t),a.push([t,n]),e.bucketsSize++,e)})),xo=(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--},Ao=Symbol.for("effect/MutableList"),Co={[Ao]:Ao,[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 ne(this.toJSON())},toJSON(){return{_id:"MutableList",values:Array.from(this).map(te)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},ko=e=>0===Ro(e),Ro=e=>e._length,To=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})),So=Symbol.for("effect/MutableQueue"),Mo=Symbol.for("effect/mutable/MutableQueue/Empty"),Oo={[So]:So,[Symbol.iterator](){return Array.from(this.queue)[Symbol.iterator]()},toString(){return ne(this.toJSON())},toJSON(){return{_id:"MutableQueue",values:Array.from(this).map(te)}},[o](){return this.toJSON()},pipe(){return i(this,arguments)}},No=e=>{const t=Object.create(Oo);return t.queue=(()=>{const e=Object.create(Co);return e.head=void 0,e.tail=void 0,e._length=0,e})(),t.capacity=e,t},Bo=()=>No(void 0),Io=e=>Ro(e.queue),jo=e=>ko(e.queue),_o=e(2,((e,t)=>{const n=Ro(e.queue);return(void 0===e.capacity||n!==e.capacity)&&(To(t)(e.queue),!0)})),qo=e(2,((e,t)=>{const n=t[Symbol.iterator]();let r,a=N(),i=!0;for(;i&&(r=n.next())&&!r.done;)i=_o(r.value)(e);for(;null!=r&&!r.done;)a=re(r.value)(a),r=n.next();return ae(a)})),Po=e(2,((e,t)=>ko(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))),$o=e(2,((e,t)=>{let n=N(),r=0;for(;r<t;){const t=Po(Mo)(e);if(t===Mo)break;n=re(t)(n),r+=1}return ae(n)})),zo=Symbol.for("effect/Clock"),Go=ie("effect/Clock"),Lo={unsafeSchedule(e,t){const n=xi(t);if(n>2147483647)return le;let r=!1;const a=setTimeout((()=>{r=!0,e()}),n);return()=>(clearTimeout(a),!r)}},Ho=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())))}(),Uo=function(){const e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return Ho;const t=Ho()-e.bigint();return()=>t+e.bigint()}();class Vo{[zo]=zo;unsafeCurrentTimeMillis(){return Date.now()}unsafeCurrentTimeNanos(){return Uo()}currentTimeMillis=oe((()=>this.unsafeCurrentTimeMillis()));currentTimeNanos=oe((()=>this.unsafeCurrentTimeNanos()));scheduler(){return ue(Lo)}sleep(e){return se((t=>{const n=Lo.unsafeSchedule((()=>t(ce)),e);return de(oe(n))}))}}const Ko=()=>new Vo,Wo="InvalidData",Yo="MissingData",Zo="SourceUnavailable",Xo="Unsupported",Jo=Symbol.for("effect/ConfigError"),Qo={_tag:"ConfigError",[Jo]:Jo},eu=(e,t)=>{const n=Object.create(Qo);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},tu=(e,t)=>{const n=Object.create(Qo);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},nu=(e,t,n={pathDelim:"."})=>{const r=Object.create(Qo);return r._op=Wo,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Invalid data at ${fe(this.path,he(n.pathDelim))}: "${this.message}")`}}),r},ru=(e,t,n={pathDelim:"."})=>{const r=Object.create(Qo);return r._op=Yo,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Missing data at ${fe(this.path,he(n.pathDelim))}: "${this.message}")`}}),r},au=(e,t,n,r={pathDelim:"."})=>{const a=Object.create(Qo);return a._op=Zo,a.path=e,a.message=t,a.cause=n,Object.defineProperty(a,"toString",{enumerable:!1,value(){return`(Source unavailable at ${fe(this.path,he(r.pathDelim))}: "${this.message}")`}}),a},iu=(e,t,n={pathDelim:"."})=>{const r=Object.create(Qo);return r._op=Xo,r.path=e,r.message=t,Object.defineProperty(r,"toString",{enumerable:!1,value(){return`(Unsupported operation at ${fe(this.path,he(n.pathDelim))}: "${this.message}")`}}),r},ou=e(2,((e,t)=>{switch(e._op){case"And":return eu(ou(e.left,t),ou(e.right,t));case"Or":return tu(ou(e.left,t),ou(e.right,t));case Wo:return nu([...t,...e.path],e.message);case Yo:return ru([...t,...e.path],e.message);case Zo:return au([...t,...e.path],e.message,e.cause);case Xo:return iu([...t,...e.path],e.message)}})),uu={_tag:"Empty"},su=e(2,((e,t)=>{let n=d(t),r=e;for(;pe(n);){const e=n.head;switch(e._tag){case"Empty":n=n.tail;break;case"AndThen":n=g(e.first,g(e.second,n.tail));break;case"MapName":r=De(r,e.f),n=n.tail;break;case"Nested":r=ye(r,e.name),n=n.tail;break;case"Unnested":if(!fe(ve(r),me(e.name)))return ge(ru(r,`Expected ${e.name} to be in path in ConfigProvider#unnested`));r=be(r),n=n.tail}}return we(r)})),lu=(e,t)=>[...e,...t],cu=Symbol.for("effect/ConfigProvider"),du=ie("effect/ConfigProvider"),fu=Symbol.for("effect/ConfigProviderFlat"),hu=e=>({[cu]:cu,pipe(){return i(this,arguments)},...e}),pu=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=>({[fu]:fu,patch:e.patch,load:(t,n,r=!0)=>e.load(t,n,r),enumerateChildren:e.enumerateChildren}))({load:(e,a,i=!0)=>{const o=(e=>fe(e,he(t)))(e),u=r(),s=o in u?J(u[o]):Q();return fe(s,$e((()=>ru(e,`Expected ${o} to exist in the process context`))),Fe((t=>bu(t,e,a,n,i))))},enumerateChildren:e=>oe((()=>{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=fe(e,Ke(n)),a=t[n];if(void 0===a||r!==a)return!1}return!0})).flatMap((t=>t.slice(e.length,e.length+1)));return We(a)})),patch:uu}),hu({load:e=>Fe(mu(a,_e(),e,!1),(t=>w(ve(t),{onNone:()=>Ee(ru(_e(),`Expected a single value having structure: ${e}`)),onSome:ue}))),flattened:a});var a},mu=(e,t,n,r)=>{const a=n;switch(a._tag){case"Constant":return ue(Oe(a.value));case"Described":return xe((()=>mu(e,t,a.config,r)));case"Fail":return Ee(ru(t,a.message));case"Fallback":return fe(xe((()=>mu(e,t,a.first,r))),ze((n=>a.condition(n)?fe(mu(e,t,a.second,r),ze((e=>Ee(tu(n,e))))):Ee(n))));case"Lazy":return xe((()=>mu(e,t,a.config(),r)));case"MapOrFail":return xe((()=>fe(mu(e,t,a.original,r),Fe(Te((e=>fe(a.mapOrFail(e),$e(ou(((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 xe((()=>mu(e,lu(t,Oe(a.name)),a.config,r)));case"Primitive":return fe(su(t,e.patch),Fe((t=>fe(e.load(t,a,r),Fe((e=>{if(0===e.length){const e=fe(qe(t),Pe((()=>"<n/a>")));return Ee(ru([],`Expected ${a.description} with name ${e}`))}return ue(e)}))))));case"Sequence":return fe(su(t,e.patch),Fe((n=>fe(e.enumerateChildren(n),Fe(yu),Fe((n=>0===n.length?xe((()=>Me(mu(e,t,a.config,!0),Oe))):fe(Te(n,(n=>mu(e,Ie(t,`[${n}]`),a.config,!0))),Me((e=>{const t=je(e);return Oe(0===t.length?_e():t)})))))))));case"HashMap":return xe((()=>fe(su(t,e.patch),Fe((t=>fe(e.enumerateChildren(t),Fe((n=>fe(n,Te((n=>mu(e,lu(t,Oe(n)),a.valueConfig,r))),Me((e=>0===e.length?Oe(b()):fe(gu(e),De((e=>Ne(Re(Be(n),e))))))))))))))));case"ZipWith":return xe((()=>fe(mu(e,t,a.left,r),Ae,Fe((n=>fe(mu(e,t,a.right,r),Ae,Fe((e=>{if(Ce(n)&&Ce(e))return Ee(eu(n.left,e.left));if(Ce(n)&&ke(e))return Ee(n.left);if(ke(n)&&Ce(e))return Ee(e.left);if(ke(n)&&ke(e)){const r=fe(t,he(".")),i=vu(t,r),[o,u]=((e,t,n,r)=>{const a=Ge(n.length,(t=>t>=r.length?Q():J([e(t),t+1]))),i=Ge(r.length,(e=>e>=n.length?Q():J([t(e),e+1])));return[lu(n,a),lu(r,i)]})(i,i,fe(n.right,De(we)),fe(e.right,De(we)));return fe(o,Re(u),Te((([e,t])=>fe(Se(e,t),Me((([e,t])=>a.zip(e,t)))))))}throw new Error("BUG: ConfigProvider.fromFlatLoop - please report an issue at https://github.com/Effect-TS/effect/issues")}))))))))}},vu=(e,t)=>n=>ge(ru(e,`The element at index ${n} in a sequence at path "${t}" was missing`)),bu=(e,t,n,r,a)=>a?fe(((e,t)=>{const n=e.split(new RegExp(`\\s*${(e=>e.replace(/[/\\^$*+?.()|[\]{}]/g,"\\$&"))(t)}\\s*`));return n})(e,r),Te((e=>n.parse(e.trim()))),$e(ou(t))):fe(n.parse(e),He({onFailure:ou(t),onSuccess:Oe})),gu=e=>Object.keys(e[0]).map((t=>e.map((e=>e[t])))),yu=e=>fe(Te(e,wu),He({onFailure:()=>_e(),onSuccess:Ue(Qa)}),Ae,Me(Le)),Du=/^(\[(\d+)\])$/,wu=e=>{const t=e.match(Du);if(null!==t){const e=t[2];return fe(void 0!==e&&e.length>0?J(e):Q(),Ve(Fu))}return Q()},Fu=e=>{const t=Number.parseInt(e);return Number.isNaN(t)?Q():J(t)},Eu=Symbol.for("effect/Console"),xu=ie("effect/Console"),Au={[Eu]:Eu,assert:(e,...t)=>oe((()=>{console.assert(e,...t)})),clear:oe((()=>{console.clear()})),count:e=>oe((()=>{console.count(e)})),countReset:e=>oe((()=>{console.countReset(e)})),debug:(...e)=>oe((()=>{console.debug(...e)})),dir:(e,t)=>oe((()=>{console.dir(e,t)})),dirxml:(...e)=>oe((()=>{console.dirxml(...e)})),error:(...e)=>oe((()=>{console.error(...e)})),group:e=>oe(e?.collapsed?()=>console.groupCollapsed(e?.label):()=>console.group(e?.label)),groupEnd:oe((()=>{console.groupEnd()})),info:(...e)=>oe((()=>{console.info(...e)})),log:(...e)=>oe((()=>{console.log(...e)})),table:(e,t)=>oe((()=>{console.table(e,t)})),time:e=>oe((()=>console.time(e))),timeEnd:e=>oe((()=>console.timeEnd(e))),timeLog:(e,...t)=>oe((()=>{console.timeLog(e,...t)})),trace:(...e)=>oe((()=>{console.trace(...e)})),warn:(...e)=>oe((()=>{console.warn(...e)})),unsafe:console},Cu=Symbol.for("effect/Random"),ku=ie("effect/Random");class Ru{seed;[Cu]=Cu;PRNG;constructor(e){this.seed=e,this.PRNG=new Ze(e)}get next(){return oe((()=>this.PRNG.number()))}get nextBoolean(){return Me(this.next,(e=>e>.5))}get nextInt(){return oe((()=>this.PRNG.integer(Number.MAX_SAFE_INTEGER)))}nextRange(e,t){return Me(this.next,(n=>(t-e)*n+e))}nextIntBetween(e,t){return oe((()=>this.PRNG.integer(t-e)+e))}shuffle(e){return Tu(e,(e=>this.nextIntBetween(0,e)))}}const Tu=(e,t)=>xe((()=>fe(oe((()=>Array.from(e))),Fe((e=>{const n=[];for(let t=e.length;t>=2;t-=1)n.push(t);return fe(n,Xe((n=>fe(t(n),Me((t=>Su(e,n-1,t)))))),Je(Qe(e)))}))))),Su=(e,t,n)=>{const r=e[t];return e[t]=e[n],e[n]=r,e},Mu=e=>new Ru(Ye(e)),Ou=Symbol.for("effect/Tracer"),Nu=e=>({[Ou]:Ou,...e}),Bu=ie("effect/Tracer"),Iu=ie("effect/ParentSpan"),ju=function(){return function(e){let t="";for(let n=0;n<e;n++)t+="abcdef0123456789".charAt(Math.floor(16*Math.random()));return t}}();class _u{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:ju(32),this.spanId=ju(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 qu=Nu({span:(e,t,n,r,a,i)=>new _u(e,t,n,r,a,i),context:e=>e()}),Pu=et()("effect/Tracer/DisablePropagation",{defaultValue:le}),$u=fe(at(),rt(Go,Ko()),rt(xu,Au),rt(ku,Mu(Math.random())),rt(du,pu()),rt(Bu,qu)),zu=tt(Symbol.for("effect/DefaultServices/currentServices"),(()=>nt($u))),Gu=e=>(e=>it((t=>e(t.currentDefaultServices))))((t=>e(t.unsafeMap.get(Go.key)))),Lu=Gu((e=>e.currentTimeMillis)),Hu=Symbol.for("effect/FiberRefs");class Uu{locals;[Hu]=Hu;constructor(e){this.locals=e}pipe(){return i(this,arguments)}}const Vu=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(A(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(ut(o)&&ut(u)){const e=ot(o)[0],t=be(o),n=ot(u)[0],r=ot(u)[1],a=be(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(!A(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 Uu(r)})),Ku=e(2,((e,t)=>{const n=new Map;return Wu(e,n,t),new Uu(n)})),Wu=(e,t,n)=>{e.locals.forEach(((e,r)=>{const a=e[0][1],i=r.patch(r.fork)(a);A(a,i)?t.set(r,e):t.set(r,[[n,i],...e])}))},Yu=e(2,((e,t)=>{const n=new Map(e.locals);return n.delete(t),new Uu(n)})),Zu=e(2,((e,t)=>e.locals.has(t)?J(ot(e.locals.get(t))[1]):Q())),Xu=e(2,((e,t)=>fe(Zu(e,t),Pe((()=>t.initial))))),Ju=e(2,((e,{fiberId:t,fiberRef:n,value:r})=>{if(0===e.locals.size)return new Uu(new Map([[n,[[t,r]]]]));const a=new Map(e.locals);return Qu(a,t,n,r),new Uu(a)})),Qu=(e,t,n,r)=>{const a=e.get(n)??[];let i;if(ut(a)){const[e,n]=ot(a);if(e[u](t)){if(A(n,r))return;i=[[t,r],...a.slice(1)]}else i=[[t,r],...a]}else i=[[t,r]];e.set(n,i)},es=e(2,((e,{entries:t,forkAs:n})=>{if(0===e.locals.size)return new Uu(new Map(t));const r=new Map(e.locals);return void 0!==n&&Wu(e,r,n),t.forEach((([e,t])=>{1===t.length?Qu(r,t[0][0],e,t[0][1]):t.forEach((([t,n])=>{Qu(r,t,e,n)}))})),new Uu(r)})),ts=Xu,ns=es,rs=function(){return e=new Map,new Uu(e);var e},as=dt,is=Ja(fe(Qa,Xa((e=>e.ordinal)))),os=Symbol.for("effect/Readable"),us=Symbol.for("effect/Ref"),ss={_A:e=>e};class ls extends bt{ref;commit(){return this.get}[us]=ss;[os]=os;constructor(e){super(),this.ref=e,this.get=oe((()=>gt(this.ref)))}get;modify(e){return oe((()=>{const t=gt(this.ref),[n,r]=e(t);return t!==r&&yt(r)(this.ref),n}))}}const cs=e=>new ls(vt(e)),ds=e=>oe((()=>cs(e))),fs=e=>e.get,hs=e(2,((e,t)=>e.modify((()=>[void 0,t])))),ps=e(2,((e,t)=>e.modify(t))),ms=e(2,((e,t)=>e.modify((e=>[void 0,t(e)])))),vs=ds,bs=fs,gs=ps,ys=ms,Ds="Empty",ws="Remove",Fs="Update",Es="AndThen",xs={_tag:Ds},As=(e,t)=>{const n=new Map(e.locals);let r=xs;for(const[e,a]of t.locals.entries()){const t=ot(a)[1],i=n.get(e);if(void 0!==i){const n=ot(i)[1];A(n,t)||(r=Cs({_tag:Fs,fiberRef:e,patch:e.diff(n,t)})(r))}else r=Cs({_tag:"Add",fiberRef:e,value:t})(r);n.delete(e)}for(const[e]of n.entries())r=Cs({_tag:ws,fiberRef:e})(r);return r},Cs=e(2,((e,t)=>({_tag:Es,first:e,second:t}))),ks=e(3,((e,t,n)=>{let r=n,a=Oe(e);for(;ut(a);){const e=ot(a),n=be(a);switch(e._tag){case Ds:a=n;break;case"Add":r=Ju(r,{fiberId:t,fiberRef:e.fiberRef,value:e.value}),a=n;break;case ws:r=Yu(r,e.fiberRef),a=n;break;case Fs:{const i=Xu(r,e.fiberRef);r=Ju(r,{fiberId:t,fiberRef:e.fiberRef,value:e.fiberRef.patch(e.patch)(i)}),a=n;break}case Es:a=ye(e.first)(ye(e.second)(n))}}return r})),Rs="effect/MetricLabel",Ts=Symbol.for(Rs);class Ss{key;value;[Ts]=Ts;_hash;constructor(e,t){this.key=e,this.value=t,this._hash=Dt(Rs+this.key+this.value)}[s](){return this._hash}[u](e){return Os(e)&&this.key===e.key&&this.value===e.value}pipe(){return i(this,arguments)}}const Ms=(e,t)=>new Ss(e,t),Os=e=>t(e,Ts),Ns=e(2,((e,t)=>Ft(e,{onFailure:e=>{const n=t(e);switch(n._tag){case"None":return xt(e);case"Some":return n.value}},onSuccess:ue}))),Bs=e(2,((e,t)=>wt(e,{onFailure:e=>ue(t.onFailure(e)),onSuccess:e=>ue(t.onSuccess(e))}))),Is=it((e=>ue(e.getFiberRefs()))),js=e(2,((e,t)=>Ft(e,{onFailure:e=>Tt((()=>t(e))),onSuccess:ue}))),_s=e(3,((e,t,n)=>Ct((r=>kt(e,rt(r,t,n)))))),qs=e(3,((e,t,n)=>Ct((r=>Fe(n,(n=>kt(e,fe(r,rt(t,n))))))))),Ps=e=>{const t=si(e);return Gu((e=>e.sleep(t)))},$s=ue(Q()),zs=e(3,((e,t,n)=>Fe(t,(r=>Fe(e,(e=>Me(t,(t=>[n(r,t),e])))))))),Gs=e(2,((e,t)=>Ft(e,{onFailure:e=>Et(t(e),xt(e)),onSuccess:ue}))),Ls=e(2,((e,t)=>xe((()=>t()?Me(e,J):ue(Q()))))),Hs=Ve((e=>Rt(e.context,Pu)?"Span"===e._tag?Hs(e.parent):Q():J(e))),Us="Sequential",Vs="Parallel",Ks={_tag:Us},Ws={_tag:Vs},Ys=Ks,Zs=Ws,Xs=e=>({_tag:"ParallelN",parallelism:e}),Js=As,Qs=ks,el="effect/FiberStatus",tl=Symbol.for(el),nl="Done",rl="Running",al="Suspended",il=Dt(`${el}-${nl}`);let ol=class{[tl]=tl;_tag=nl;[s](){return il}[u](e){return ll(e)&&e._tag===nl}};class ul{runtimeFlags;[tl]=tl;_tag=rl;constructor(e){this.runtimeFlags=e}[s](){return fe(Ye(el),Mt(Ye(this._tag)),Mt(Ye(this.runtimeFlags)),l(this))}[u](e){return ll(e)&&e._tag===rl&&this.runtimeFlags===e.runtimeFlags}}class sl{runtimeFlags;blockingOn;[tl]=tl;_tag=al;constructor(e,t){this.runtimeFlags=e,this.blockingOn=t}[s](){return fe(Ye(el),Mt(Ye(this._tag)),Mt(Ye(this.runtimeFlags)),Mt(Ye(this.blockingOn)),l(this))}[u](e){return ll(e)&&e._tag===al&&this.runtimeFlags===e.runtimeFlags&&A(this.blockingOn,e.blockingOn)}}const ll=e=>t(e,tl),cl=new ol,dl=e=>new ul(e);class fl{scheduleDrain;running=!1;tasks=new hl;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 fl(e),n=new WeakMap;return r=>{if(void 0===r)return t;let a=n.get(r);return void 0===a&&(a=new fl(e),n.set(r,a)),a}}}class hl{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 pl{maxNextTickBeforeTimer;getRunner=fl.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(Nt)&&e.getFiberRef(Bt)}scheduleTask(e,t,n){this.getRunner(n).scheduleTask(e,t)}}const ml=tt(Symbol.for("effect/Scheduler/defaultScheduler"),(()=>new pl(2048))),vl=tt(Symbol.for("effect/FiberRef/currentScheduler"),(()=>Ot(ml))),bl=tt(Symbol.for("effect/FiberRef/currentRequestMap"),(()=>Ot(new Map))),gl=(e,t,n,r)=>{switch(e){case void 0:return t();case"unbounded":return n();case"inherit":return It(jt,(e=>"unbounded"===e?n():e>1?r(e):t()));default:return e>1?r(e):t()}},yl="InterruptSignal",Dl="Stateful",wl="Resume",Fl="YieldNow",El=e=>({_tag:yl,cause:e}),xl=e=>({_tag:Dl,onFiber:e}),Al=e=>({_tag:wl,effect:e}),Cl=Symbol.for("effect/FiberScope");class kl{[Cl]=Cl;fiberId=_t;roots=new Set;add(e,t){this.roots.add(t),t.addObserver((()=>{this.roots.delete(t)}))}}class Rl{fiberId;parent;[Cl]=Cl;constructor(e,t){this.fiberId=e,this.parent=t}add(e,t){this.parent.tell(xl((e=>{e.addChild(t),t.addObserver((()=>{e.removeChild(t)}))})))}}const Tl=tt(Symbol.for("effect/FiberScope/Global"),(()=>new kl)),Sl=Symbol.for("effect/Fiber"),Ml={_E:e=>e,_A:e=>e},Ol=Symbol.for("effect/Fiber"),Nl=e=>qt(Pt(e.await),e.inheritAll),Bl="effect/FiberCurrent",Il="effect/MetricBoundaries",jl=Symbol.for(Il);class _l{values;[jl]=jl;constructor(e){this.values=e,this._hash=fe(Dt(Il),Mt(Ht(this.values)))}_hash;[s](){return this._hash}[u](e){return ql(e)&&A(this.values,e.values)}pipe(){return i(this,arguments)}}const ql=e=>t(e,jl),Pl=e=>{const t=fe(e,Lt(S(Number.POSITIVE_INFINITY)),Gt);return new _l(t)},$l=e=>fe(zt(e.count-1,(t=>e.start*Math.pow(e.factor,t))),$t,Pl),zl=Symbol.for("effect/MetricKeyType"),Gl="effect/MetricKeyType/Counter",Ll=Symbol.for(Gl),Hl=Symbol.for("effect/MetricKeyType/Frequency"),Ul=Symbol.for("effect/MetricKeyType/Gauge"),Vl="effect/MetricKeyType/Histogram",Kl=Symbol.for(Vl),Wl=Symbol.for("effect/MetricKeyType/Summary"),Yl={_In:e=>e,_Out:e=>e};class Zl{incremental;bigint;[zl]=Yl;[Ll]=Ll;constructor(e,t){this.incremental=e,this.bigint=t,this._hash=Dt(Gl)}_hash;[s](){return this._hash}[u](e){return Jl(e)}pipe(){return i(this,arguments)}}class Xl{boundaries;[zl]=Yl;[Kl]=Kl;constructor(e){this.boundaries=e,this._hash=fe(Dt(Vl),Mt(Ye(this.boundaries)))}_hash;[s](){return this._hash}[u](e){return Ql(e)&&A(this.boundaries,e.boundaries)}pipe(){return i(this,arguments)}}const Jl=e=>t(e,Ll),Ql=e=>t(e,Kl),ec=Symbol.for("effect/MetricKey"),tc={_Type:e=>e},nc=Vt(A);class rc{name;keyType;description;tags;[ec]=tc;constructor(e,t,n,r=[]){this.name=e,this.keyType=t,this.description=n,this.tags=r,this._hash=fe(Dt(this.name+this.description),Mt(Ye(this.keyType)),Mt(Ht(this.tags)))}_hash;[s](){return this._hash}[u](e){return ac(e)&&this.name===e.name&&A(this.keyType,e.keyType)&&A(this.description,e.description)&&nc(this.tags,e.tags)}pipe(){return i(this,arguments)}}const ac=e=>t(e,ec),ic=e(2,((e,t)=>0===t.length?e:new rc(e.name,e.keyType,e.description,Kt(e.tags,t)))),oc=Symbol.for("effect/MetricState"),uc="effect/MetricState/Counter",sc=Symbol.for(uc),lc="effect/MetricState/Frequency",cc=Symbol.for(lc),dc="effect/MetricState/Gauge",fc=Symbol.for(dc),hc="effect/MetricState/Histogram",pc=Symbol.for(hc),mc="effect/MetricState/Summary",vc=Symbol.for(mc),bc={_A:e=>e};class gc{count;[oc]=bc;[sc]=sc;constructor(e){this.count=e}[s](){return fe(Ye(uc),Mt(Ye(this.count)),l(this))}[u](e){return xc(e)&&this.count===e.count}pipe(){return i(this,arguments)}}const yc=Vt(A);class Dc{occurrences;[oc]=bc;[cc]=cc;constructor(e){this.occurrences=e}_hash;[s](){return fe(Dt(lc),Mt(Ht(Be(this.occurrences.entries()))),l(this))}[u](e){return Ac(e)&&yc(Be(this.occurrences.entries()),Be(e.occurrences.entries()))}pipe(){return i(this,arguments)}}class wc{value;[oc]=bc;[fc]=fc;constructor(e){this.value=e}[s](){return fe(Ye(dc),Mt(Ye(this.value)),l(this))}[u](e){return Cc(e)&&this.value===e.value}pipe(){return i(this,arguments)}}class Fc{buckets;count;min;max;sum;[oc]=bc;[pc]=pc;constructor(e,t,n,r,a){this.buckets=e,this.count=t,this.min=n,this.max=r,this.sum=a}[s](){return fe(Ye(hc),Mt(Ye(this.buckets)),Mt(Ye(this.count)),Mt(Ye(this.min)),Mt(Ye(this.max)),Mt(Ye(this.sum)),l(this))}[u](e){return kc(e)&&A(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 Ec{error;quantiles;count;min;max;sum;[oc]=bc;[vc]=vc;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 fe(Ye(mc),Mt(Ye(this.error)),Mt(Ye(this.quantiles)),Mt(Ye(this.count)),Mt(Ye(this.min)),Mt(Ye(this.max)),Mt(Ye(this.sum)),l(this))}[u](e){return Rc(e)&&this.error===e.error&&A(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 xc=e=>t(e,sc),Ac=e=>t(e,cc),Cc=e=>t(e,fc),kc=e=>t(e,pc),Rc=e=>t(e,vc),Tc=Symbol.for("effect/MetricHook"),Sc={_In:e=>e,_Out:e=>e},Mc=e=>({[Tc]:Sc,pipe(){return i(this,arguments)},...e}),Oc=BigInt(0),Nc=(e,t,n)=>{const r=n.length;if(!ut(t))return _e();const a=t[0],i=t.slice(1),o=Bc(e,r,Q(),0,a,n),u=Oe(o);return i.forEach((t=>{u.push(Bc(e,r,o.value,o.consumed,t,o.rest))})),De(u,(e=>[e.quantile,e.value]))},Bc=(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(!ut(d))return{quantile:c,value:Q(),consumed:l,rest:[]};if(1===c)return{quantile:c,value:J(Yt(d)),consumed:l+d.length,rest:[]};const e=ot(d),t=Zt(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=ve(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:Xt(s)?J(e):s,consumed:l,rest:d};switch(s._tag){case"None":f=o,h=u,p=ve(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=ve(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:J(s.value),consumed:l,rest:d}}}}throw new Error("BUG: MetricHook.resolveQuantiles - please report an issue at https://github.com/Effect-TS/effect/issues")},Ic=Symbol.for("effect/MetricPair"),jc={_Type:e=>e},_c=(e,t)=>({[Ic]:jc,metricKey:e,metricState:t,pipe(){return i(this,arguments)}}),qc=Symbol.for("effect/MetricRegistry");class Pc{[qc]=qc;map=yo();snapshot(){const e=[];for(const[t,n]of this.map)e.push(_c(t,n.get()));return e}get(e){const n=fe(this.map,Do(e),Jt);if(null==n){if(Jl(e.keyType))return this.getCounter(e);if(t(e.keyType,Ul))return this.getGauge(e);if(t(e.keyType,Hl))return this.getFrequency(e);if(Ql(e.keyType))return this.getHistogram(e);if((e=>t(e,Wl))(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=fe(this.map,Do(e),Jt);if(null==t){const n=(e=>{let t=e.keyType.bigint?Oc:0;const n=e.keyType.incremental?e.keyType.bigint?e=>e>=Oc:e=>e>=0:()=>!0,r=e=>{n(e)&&(t+=e)};return Mc({get:()=>new gc(t),update:r,modify:r})})(e);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}getFrequency(e){let t=fe(this.map,Do(e),Jt);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 Mc({get:()=>new Dc(t),update:n,modify:n})})(e);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}getGauge(e){let t=fe(this.map,Do(e),Jt);if(null==t){const n=((e,t)=>{let n=t;return Mc({get:()=>new wc(n),update:e=>{n=e},modify:e=>{n+=e}})})(0,e.keyType.bigint?BigInt(0):0);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}getHistogram(e){let t=fe(this.map,Do(e),Jt);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;fe(t,Ue(Qa),De(((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=Wt(n);let t=0;for(let i=0;i<n;i++)t+=r[i],e[i]=[a[i],t];return e};return Mc({get:()=>{return e={buckets:c(),count:i,min:u,max:s,sum:o},new Fc(e.buckets,e.count,e.min,e.max,e.sum);var e},update:l,modify:l})})(e);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}getSummary(e){let t=fe(this.map,Do(e),Jt);if(null==t){const n=(e=>{const{error:t,maxAge:n,maxSize:r,quantiles:a}=e.keyType,i=fe(a,Ue(Qa)),o=Wt(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=gi(e-r);Ti(o,pi)&&Ri(o,n)&&a.push(i)}u+=1}return Nc(t,i,Ue(a,Qa))},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 Mc({get:()=>{return e={error:t,quantiles:f(Date.now()),count:s,min:c,max:d,sum:l},new Ec(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);fe(this.map,Fo(e))||fe(this.map,Eo(e,n)),t=n}return t}}const $c=Symbol.for("effect/Metric"),zc={_Type:e=>e,_In:e=>e,_Out:e=>e},Gc=tt(Symbol.for("effect/Metric/globalMetricRegistry"),(()=>new Pc)),Lc=function(e,t,n,r){const a=Object.assign((e=>Qt(e,(e=>Yc(a,e)))),{[$c]:zc,keyType:e,unsafeUpdate:t,unsafeValue:n,unsafeModify:r,register(){return this.unsafeValue([]),this},pipe(){return i(this,arguments)}});return a},Hc=(e,t)=>Uc(((e,t)=>new rc(e,(e=>new Zl(e?.incremental??!1,e?.bigint??!1))(t),Ut(t?.description)))(e,t)),Uc=e=>{let t;const n=new WeakMap,r=r=>{if(0===r.length)return void 0!==t||(t=Gc.get(e)),t;let a=n.get(r);return void 0!==a||(a=Gc.get(ic(e,r)),n.set(r,a)),a};return Lc(e.keyType,((e,t)=>r(t).update(e)),(e=>r(e).get()),((e,t)=>r(t).modify(e)))},Vc=(e,t,n)=>Uc(((e,t,n)=>new rc(e,(e=>new Xl(e))(t),Ut(n)))(e,t,n)),Kc=e(3,((e,t,n)=>Wc(e,[Ms(t,n)]))),Wc=e(2,((e,t)=>Lc(e.keyType,((n,r)=>e.unsafeUpdate(n,Kt(t,r))),(n=>e.unsafeValue(Kt(t,n))),((n,r)=>e.unsafeModify(n,Kt(t,r)))))),Yc=e(2,((e,t)=>It(en,(n=>oe((()=>e.unsafeUpdate(t,n))))))),Zc=e(2,((e,t)=>It(bl,(n=>oe((()=>{if(n.has(e)){const r=n.get(e);r.state.completed||(r.state.completed=!0,tn(r.result,t))}})))))),Xc=Symbol.for("effect/Supervisor"),Jc={_T:e=>e};class Qc{underlying;value0;[Xc]=Jc;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 Qc(this,fe(this.value,Me(e)))}zip(e){return new ed(this,e)}}class ed{left;right;_tag="Zip";[Xc]=Jc;constructor(e,t){this.left=e,this.right=t}get value(){return Se(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 Qc(this,fe(this.value,Me(e)))}zip(e){return new ed(this,e)}}const td=e=>t(e,Xc)&&nn(e,"Zip");class nd{effect;[Xc]=Jc;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 Qc(this,fe(this.value,Me(e)))}zip(e){return new ed(this,e)}onRun(e,t){return e()}}const rd=tt("effect/Supervisor/none",(()=>new nd(ce))),ad="Empty",id="AddSupervisor",od="RemoveSupervisor",ud="AndThen",sd={_tag:ad},ld=(e,t)=>({_tag:ud,first:e,second:t}),cd=(e,t)=>A(e,t)?rd:td(e)?cd(e.left,t).zip(cd(e.right,t)):e,dd=e=>A(e,rd)?un():td(e)?fe(dd(e.left),sn(dd(e.right))):ln(e),fd=rn({empty:sd,patch:(e,t)=>((e,t)=>{let n=e,r=t;for(;cn(r);){const e=dn(r);switch(e._tag){case ad:r=fn(r);break;case id:n=n.zip(e.supervisor),r=fn(r);break;case od:n=cd(n,e.supervisor),r=fn(r);break;case ud:r=re(e.first)(re(e.second)(fn(r)))}}return n})(t,S(e)),combine:ld,diff:(e,t)=>{if(A(e,t))return sd;const n=dd(e),r=dd(t),a=fe(r,on(n),an(sd,((e,t)=>ld(e,{_tag:id,supervisor:t})))),i=fe(n,on(r),an(sd,((e,t)=>ld(e,{_tag:od,supervisor:t}))));return ld(a,i)}}),hd=Hc("effect_fiber_started",{incremental:!0}),pd=Hc("effect_fiber_active"),md=Hc("effect_fiber_successes",{incremental:!0}),vd=Hc("effect_fiber_failures",{incremental:!0}),bd=Kc(Vc("effect_fiber_lifetimes",$l({start:.5,factor:2,count:35})),"time_unit","milliseconds"),gd="Continue",yd="Yield",Dd={_E:e=>e,_A:e=>e},wd=e=>{throw new Error(`BUG: FiberRuntime - ${jr(e)} - please report an issue at https://github.com/Effect-TS/effect/issues`)},Fd=Symbol.for("effect/internal/fiberRuntime/YieldedOp"),Ed=tt("effect/internal/fiberRuntime/yieldedOpChannel",(()=>({currentOp:null}))),xd={[lr]:(e,t,n)=>Dr((()=>t.effect_instruction_i1(n))),OnStep:(e,t,n)=>L(L(n)),[Er]:(e,t,n)=>Dr((()=>t.effect_instruction_i2(n))),[wr]:(e,t,n)=>(e.patchRuntimeFlags(e.currentRuntimeFlags,t.patch),tr(e.currentRuntimeFlags)&&e.isInterrupted()?G(e.getInterruptedCause()):L(n)),[cr]:(e,t,n)=>(Dr((()=>t.effect_instruction_i2(n))),Dr((()=>t.effect_instruction_i0()))?(e.pushStack(t),Dr((()=>t.effect_instruction_i1()))):ce),[dr]:(e,t,n)=>{for(;;){const r=Dr((()=>t.effect_instruction_i0.next(n)));if(r.done)return L(r.value);const a=Pr(r.value);if(!$r(a))return e.pushStack(t),a;if("Failure"===a._tag)return a;n=a.value}}},Ad={[yl]:(e,t,n,r)=>(e.processNewInterruptSignal(r.cause),tr(t)?G(r.cause):n),[wl]:()=>{throw new Error("It is illegal to have multiple concurrent run loops in a single fiber")},[Dl]:(e,t,n,r)=>(r.onFiber(e,dl(t)),n),[Fl]:(e,t,n)=>Fe(St(),(()=>n))},Cd=Nr();class kd extends bt{[Sl]=Ml;[Ol]=Dd;_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,In(n)){const e=this.getFiberRef(en);hd.unsafeUpdate(1,e),pd.unsafeUpdate(1,e)}this.refreshRefCache()}commit(){return Nl(this)}id(){return this._fiberId}resume(e){this.tell(Al(e))}get status(){return this.ask(((e,t)=>t))}get runtimeFlags(){return this.ask(((e,t)=>(e=>e._tag===nl)(t)?e.currentRuntimeFlags:t.runtimeFlags))}scope(){return new Rl((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(jn)}fiberRefs(){return this.ask((e=>e.getFiberRefs()))}ask(e){return xe((()=>{const t=_n(this._fiberId);return this.tell(xl(((n,r)=>{tn(t,oe((()=>e(n,r))))}))),I(t)}))}tell(e){this._queue.push(e),this._running||(this._running=!0,this.drainQueueLaterOnExecutor())}get await(){return se((e=>{const t=t=>e(ue(t));if(null===this._exitValue)return this.tell(xl((e=>{null!==e._exitValue?t(this._exitValue):e.addObserver(t)}))),oe((()=>this.tell(xl((e=>{e.removeObserver(t)})))));t(this._exitValue)}),this.id())}get inheritAll(){return it(((e,t)=>{const n=e.id(),r=e.getFiberRefs(),a=t.runtimeFlags,i=this.getFiberRefs(),o=Vu(r,n,i);e.setFiberRefs(o);const u=e.getFiberRef(af),s=fe(Gn(a,u),Pn(zn),Pn($n));return Ln(s)}))}get poll(){return oe((()=>Ut(this._exitValue)))}unsafePoll(){return this._exitValue}interruptAsFork(e){return oe((()=>this.tell(El(Hn(e)))))}unsafeInterruptAsFork(e){this.tell(El(Hn(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(af,this.currentRuntimeFlags),this._fiberRefs}unsafeDeleteFiberRef(e){this._fiberRefs=Yu(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=Ju(this._fiberRefs,{fiberId:this._fiberId,fiberRef:e,value:t}),this.refreshRefCache()}refreshRefCache(){this.currentDefaultServices=this.getFiberRef(zu),this.currentTracer=this.currentDefaultServices.unsafeMap.get(Bu.key),this.currentSupervisor=this.getFiberRef(of),this.currentScheduler=this.getFiberRef(vl),this.currentContext=this.getFiberRef(On),this.currentSpan=this.currentContext.unsafeMap.get(Iu.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=gd;const n=globalThis[Bl];globalThis[Bl]=this;try{for(;t===gd;)t=0===this._queue.length?"Done":this.evaluateMessageWhileSuspended(this._queue.splice(0,1)[0])}finally{this._running=!1,globalThis[Bl]=n}this._queue.length>0&&!this._running?(this._running=!0,t===yd?(this.drainQueueLaterOnExecutor(),e=!1):e=!0):e=!1}}drainQueueLaterOnExecutor(){this.currentScheduler.scheduleTask(this.run,this.getFiberRef(Bt),this)}drainQueueWhileRunning(e,t){let n=t;for(;this._queue.length>0;){const t=this._queue.splice(0,1)[0];n=Ad[t._tag](this,e,n,t)}return n}isInterrupted(){return!Vn(this.getFiberRef(jn))}addInterruptedCause(e){const t=this.getFiberRef(jn);this.setFiberRef(jn,Dn(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(El(Hn(this.id()))),e=!0;return e}interruptAllChildren(){if(this.sendInterruptSignalToAllChildren()){const e=this._children.values();this._children=null;let t=!1;return Kn({while:()=>!t,body:()=>{const n=e.next();return n.done?oe((()=>{t=!0})):de(n.value.await)},step:()=>{}})}return null}reportExitValue(e){if(In(this.currentRuntimeFlags)){const t=this.getFiberRef(en),n=this.id().startTimeMillis,r=Date.now();switch(bd.unsafeUpdate(r-n,t),pd.unsafeUpdate(-1,t),e._tag){case Cn:md.unsafeUpdate(1,t);break;case An:vd.unsafeUpdate(1,t)}}if("Failure"===e._tag){const t=this.getFiberRef(Wn);Yn(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(Md)}log(e,t,n){const r=ee(n)?n.value:this.getFiberRef(Zn),a=this.getFiberRef(Rd);if(is(a,r))return;const i=this.getFiberRef(Xn),o=this.getFiberRef(Jn),u=this.getLoggers(),s=this.getFiberRefs();if(Qn(u)>0){const n=Rt(this.getFiberRef(zu),Go),a=new Date(n.unsafeCurrentTimeMillis());er(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 Fl:return yd;case yl:return this.processNewInterruptSignal(e.cause),null!==this._asyncInterruptor&&(this._asyncInterruptor(G(e.cause)),this._asyncInterruptor=null),gd;case wl:return this._asyncInterruptor=null,this._asyncBlockingOn=null,this.evaluateEffect(e.effect),gd;case Dl:return e.onFiber(this,null!==this._exitValue?cl:new sl(this.currentRuntimeFlags,this._asyncBlockingOn)),gd;default:return wd(e)}}evaluateEffect(e){this.currentSupervisor.onResume(this);try{let t=tr(this.currentRuntimeFlags)&&this.isInterrupted()?G(this.getInterruptedCause()):e;for(;null!==t;){const e=this.runLoop(t);if(e===Fd){const e=Ed.currentOp;Ed.currentOp=null,e._op===nr?rr(this.currentRuntimeFlags)?(this.tell({_tag:Fl}),this.tell(Al(K)),t=null):t=K:e._op===ar&&(t=null)}else{this.currentRuntimeFlags=fe(this.currentRuntimeFlags,ir($n));const n=this.interruptAllChildren();null!==n?t=Fe(n,(()=>e)):(0===this._queue.length?this.setExitValue(e):this.tell(Al(e)),t=null)}}}finally{this.currentSupervisor.onSuspend(this)}}start(e){if(this._running)this.tell(Al(e));else{this._running=!0;const t=globalThis[Bl];globalThis[Bl]=this;try{this.evaluateEffect(e)}finally{this._running=!1,globalThis[Bl]=t,this._queue.length>0&&this.drainQueueLaterOnExecutor()}}}startFork(e){this.tell(Al(e))}patchRuntimeFlags(e,t){const n=or(e,t);return globalThis[Bl]=this,this.currentRuntimeFlags=n,n}initiateAsync(e,t){let n=!1;const r=e=>{n||(n=!0,this.tell(Al(e)))};tr(e)&&(this._asyncInterruptor=r);try{t(r)}catch(e){r(xt(ur(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!==sr)return e;e=this.popStack()}}getNextFailCont(){let e=this.popStack();for(;e;){if(e._op!==lr&&e._op!==cr&&e._op!==dr)return e;e=this.popStack()}}[fr](e){return oe((()=>hr(this.currentContext,e)))}Left(e){return Ee(e.left)}None(e){return Ee(new pr)}Right(e){return L(e.right)}Some(e){return L(e.value)}Micro(e){return mr((t=>{let n=t;const r=vr(br(e,this.currentContext));return r.addObserver((e=>{if("Success"===e._tag)return n(L(e.value));switch(e.cause._tag){case"Interrupt":return n(G(Hn(_t)));case"Fail":return n(Ee(e.cause.error));case"Die":return n(gr(e.cause.defect))}})),mr((e=>{n=()=>{e(ce)},r.unsafeInterrupt()}))}))}[yr](e){const t=Dr((()=>e.effect_instruction_i0())),n=this.getNextSuccessCont();return void 0!==n?(n._op in xd||wd(n),xd[n._op](this,n,t)):(Ed.currentOp=L(t),Fd)}[Cn](e){const t=e,n=this.getNextSuccessCont();return void 0!==n?(n._op in xd||wd(n),xd[n._op](this,n,t.effect_instruction_i0)):(Ed.currentOp=t,Fd)}[An](e){const t=e.effect_instruction_i0,n=this.getNextFailCont();if(void 0===n)return Ed.currentOp=G(t),Fd;switch(n._op){case sr:case Er:return tr(this.currentRuntimeFlags)&&this.isInterrupted()?G(Fr(t)):Dr((()=>n.effect_instruction_i1(t)));case"OnStep":return tr(this.currentRuntimeFlags)&&this.isInterrupted()?G(Fr(t)):L(G(t));case wr:return this.patchRuntimeFlags(this.currentRuntimeFlags,n.patch),tr(this.currentRuntimeFlags)&&this.isInterrupted()?G(Dn(t,this.getInterruptedCause())):G(t);default:wd(n)}}[xr](e){return Dr((()=>e.effect_instruction_i0(this,dl(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=Js(a.refs,t),u=Gn(a.flags,n);return L(Ar(e.effect_instruction_i0,it((t=>{for(;r.length>0;)t.pushStack(r.pop());return t.setFiberRefs(Qs(t.id(),t.getFiberRefs())(o)),t.currentRuntimeFlags=or(u)(t.currentRuntimeFlags),e.effect_instruction_i1}))))}return pn((t=>Fe(_d(Cr(e.effect_instruction_i0)),(()=>t(e.effect_instruction_i1)))))}RunBlocked(e){return(e=>Xe((e=>{let t=d(e),n=h();for(;;){const[e,r]=f(t,[Pi(),h()],(([e,t],n)=>{const[r,a]=Bi(n);return[zi(e,r),p(t,a)]}));if(n=Ii(n,e),m(r))return v(n);t=r}throw new Error("BUG: BlockedRequests.flatten - please report an issue at https://github.com/Effect-TS/effect/issues")})(e),(e=>Id((e=>Array.from(e.map))(e),(([e,t])=>{const n=new Map,r=[];for(const e of t){r.push(Qr(e));for(const t of e)n.set(t.request,t)}const a=r.flat();return ea(ff(e.runAll(r),a,(()=>a.forEach((e=>{e.listeners.interrupted=!0})))),bl,n)}),!1,!1))))(e.effect_instruction_i0)}[kr](e){const t=e.effect_instruction_i0,n=this.currentRuntimeFlags,r=or(n,t);if(tr(r)&&this.isInterrupted())return G(this.getInterruptedCause());if(this.patchRuntimeFlags(this.currentRuntimeFlags,t),e.effect_instruction_i1){const t=Gn(r,n);return this.pushStack(new Rr(t,e)),Dr((()=>e.effect_instruction_i1(n)))}return K}[lr](e){return this.pushStack(e),e.effect_instruction_i0}OnStep(e){return this.pushStack(e),e.effect_instruction_i0}[sr](e){return this.pushStack(e),e.effect_instruction_i0}[Er](e){return this.pushStack(e),e.effect_instruction_i0}[ar](e){return this._asyncBlockingOn=e.effect_instruction_i1,this.initiateAsync(this.currentRuntimeFlags,e.effect_instruction_i0),Ed.currentOp=e,Fd}[nr](e){return this._isYielding=!1,Ed.currentOp=e,Fd}[cr](e){const t=e.effect_instruction_i1;return(0,e.effect_instruction_i0)()?(this.pushStack(e),t()):K}[dr](e){return xd[dr](this,e,void 0)}[Tr](e){return Dr((()=>e.commit()))}runLoop(e){let n=e;for(this.currentOpCount=0;;){if(this.currentRuntimeFlags&Sr&&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=Fe(St({priority:e}),(()=>t))}}try{if(n=this.currentTracer.context((()=>{if(Cd!==n[Mr]._V){const e=this.getFiberRef(Or);"Some"===e._tag&&this.log(`Executing an Effect versioned ${n[Mr]._V} with a Runtime of version ${Nr()}, 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`,Br,e)}return this[n._op](n)}),this),n===Fd){const e=Ed.currentOp;return e._op===nr||e._op===ar?Fd:(Ed.currentOp=null,e._op===Cn||e._op===An?e:G(ur(e)))}}catch(e){n=n!==Fd&&!t(n,"_op")||!(n._op in this)?Ir(`Not a valid effect: ${jr(n)}`):_r(e)?G(Dn(ur(e),Hn(_t))):gr(e)}}}run=()=>{this.drainQueueOnCurrentThread()}}const Rd=tt("effect/FiberRef/currentMinimumLogLevel",(()=>Ot(as))),Td=tt(Symbol.for("effect/Logger/defaultLogger"),(()=>(e=>Vr((t=>{const n=ts(t.context,zu);Rt(n,xu).unsafe.log(e.log(t))})))(ta))),Sd=tt(Symbol.for("effect/Logger/tracerLogger"),(()=>Vr((({annotations:e,cause:t,context:n,fiberId:r,logLevel:a,message:i})=>{const o=Hs(Lr(Xu(n,On),Iu));if("None"===o._tag||"ExternalSpan"===o.value._tag)return;const u=hr(Xu(n,zu),Go),s={};for(const[t,n]of e)s[t]=n;s["effect.fiberId"]=Kr(r),s["effect.logLevel"]=a.label,null!==t&&"Empty"!==t._tag&&(s["effect.cause"]=Wr(t,{renderErrorCause:!0})),o.value.event(jr(Array.isArray(i)&&1===i.length?i[0]:i),u.unsafeCurrentTimeNanos(),s)})))),Md=tt(Symbol.for("effect/FiberRef/currentLoggers"),(()=>qr(ln(Td,Sd)))),Od=(e,t)=>{const[n,r]=(e=>{if(Array.isArray(e)||Sn(e))return[e,Q()];const t=Object.keys(e),n=t.length;return[t.map((t=>e[t])),J((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(Ae(t));return Fe(Nd(r,kn,{concurrency:n?.concurrency,batching:n?.batching,concurrentFinalizers:n?.concurrentFinalizers}),(e=>{const r=Q(),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]=J(n.left),u=!0):(o[t]=n.right,i[t]=r)}return u?Ee("Some"===t._tag?t.value(i):i):n?.discard?ce:ue("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(Ae(t));return n?.discard?Nd(r,kn,{concurrency:n?.concurrency,batching:n?.batching,discard:!0,concurrentFinalizers:n?.concurrentFinalizers}):Me(Nd(r,kn,{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?Me(Nd(n,kn,t),r.value):Nd(n,kn,t)},Nd=e((e=>Sn(e[0])),((e,t,n)=>it((r=>{const a=!0===n?.batching||"inherit"===n?.batching&&r.getFiberRef(Tn);return n?.discard?gl(n.concurrency,(()=>Hd(Ys,n?.concurrentFinalizers)((n=>a?Id(e,((e,r)=>n(t(e,r))),!0,!1,1):Xe(e,((e,r)=>n(t(e,r))))))),(()=>Hd(Zs,n?.concurrentFinalizers)((n=>Id(e,((e,r)=>n(t(e,r))),a,!1)))),(r=>Hd(Xs(r),n?.concurrentFinalizers)((n=>Id(e,((e,r)=>n(t(e,r))),a,!1,r))))):gl(n?.concurrency,(()=>Hd(Ys,n?.concurrentFinalizers)((n=>a?jd(e,1,((e,r)=>n(t(e,r))),!0):Te(e,((e,r)=>n(t(e,r))))))),(()=>Hd(Zs,n?.concurrentFinalizers)((n=>Bd(e,((e,r)=>n(t(e,r))),a)))),(r=>Hd(Xs(r),n?.concurrentFinalizers)((n=>jd(e,r,((e,r)=>n(t(e,r))),a)))))})))),Bd=(e,t,n)=>xe((()=>{const r=Be(e),a=new Array(r.length);return Et(Id(r,((e,n)=>Fe(t(e,n),(e=>oe((()=>a[n]=e))))),n,!1),ue(a))})),Id=(e,t,n,r,a)=>pn((i=>mn((o=>it((u=>{let s=Array.from(e).reverse(),l=s.length;if(0===l)return ce;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(K),e},y=(e,t=!1)=>{const n=Gr(o(e)),r=Pd(n,u,u.currentRuntimeFlags,Tl);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?zr:yn,F=y(se((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++,Fe(St(),(()=>Fe(w(i(t(e,D))),E)))},E=e=>s.length>0&&(r(e,D),s.length>0)?F():ue(e),x=Fe(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(ue(Pe(V(g(),{parallel:!0}),(()=>K))));else if(b.length+p.length===l){const t=g(),r=b.map((e=>e.effect_instruction_i0)).reduce(Oi);e(ue(Ar(r,Id([Pe(V(t,{parallel:!0}),(()=>K)),...b.map((e=>e.effect_instruction_i1))],(e=>e),n,!0,a))))}else o()}))}};for(let e=0;e<f;e++)o()})));return de(hn(Pt(i(Nl(F))),z({onFailure:e=>{D();const t=b.length+1,n=Math.min("number"==typeof a?a:b.length,b.length),r=Array.from(b);return se((a=>{let i=0;const o=(n,o)=>()=>{i++,i===t&&a(L(G(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:()=>Te(v,(e=>e.inheritAll))})))})))))),jd=(e,t,n,r)=>xe((()=>{const a=Be(e),i=new Array(a.length);return Et(Id(a,((e,t)=>Me(n(e,t),(e=>i[t]=e))),r,!1,t),ue(i))})),_d=e=>zd(e,Tl),qd=(e,t,n,r=null)=>{const a=$d(e,t,n,r);return a.resume(e),a},Pd=(e,t,n,r=null)=>$d(e,t,n,r),$d=(e,t,n,r=null)=>{const a=Mn(),i=t.getFiberRefs(),o=Ku(i,a),u=new kd(a,o,n),s=Xu(o,On),l=u.currentSupervisor;return l.onStart(s,e,J(t),u),u.addObserver((e=>l.onEnd(e,u))),(null!==r?r:fe(t.getFiberRef(Nn),Pe((()=>t.scope())))).add(n,u),u},zd=(e,t)=>it(((n,r)=>ue(qd(e,n,r.runtimeFlags,t)))),Gd=e=>Ct((t=>w(Lr(t,Xd),{onNone:()=>e,onSome:t=>{switch(t.strategy._tag){case"Parallel":return e;case"Sequential":case"ParallelN":return Fe(Hr(t,Zs),(t=>nf(e,t)))}}}))),Ld=e=>t=>Ct((n=>w(Lr(n,Xd),{onNone:()=>t,onSome:n=>"ParallelN"===n.strategy._tag&&n.strategy.parallelism===e?t:Fe(Hr(n,Xs(e)),(e=>nf(t,e)))}))),Hd=(e,t)=>n=>Ct((r=>w(Lr(r,Xd),{onNone:()=>n(kn),onSome:r=>{if(!0!==t)return n(kn);{const t="Parallel"===e._tag?Gd:"Sequential"===e._tag?Vd:Ld(e.parallelism);switch(r.strategy._tag){case"Parallel":return t(n(Gd));case"Sequential":return t(n(Vd));case"ParallelN":return t(n(Ld(r.strategy.parallelism)))}}}}))),Ud=e=>Fe(tf(),(t=>hn(e(t),(e=>t.close(e))))),Vd=e=>Ct((t=>w(Lr(t,Xd),{onNone:()=>e,onSome:t=>{switch(t.strategy._tag){case"Sequential":return e;case"Parallel":case"ParallelN":return Fe(Hr(t,Ys),(t=>nf(e,t)))}}}))),Kd=e((e=>wn(e[1])),((e,t,n)=>Zd(e,t,((e,t)=>[e,t]),n))),Wd=e((e=>wn(e[1])),((e,t,n)=>!0===n?.concurrent||void 0!==n?.batching&&!1!==n.batching?Zd(e,t,(e=>e),n):qt(e,t))),Yd=e((e=>wn(e[1])),((e,t,n)=>!0===n?.concurrent||void 0!==n?.batching&&!1!==n.batching?Zd(e,t,((e,t)=>t),n):Et(e,t))),Zd=e((e=>wn(e[1])),((e,t,n,r)=>Me(Od([e,t],{concurrency:r?.concurrent?2:1,batching:r?.batching,concurrentFinalizers:r?.concurrentFinalizers}),(([e,t])=>n(e,t))))),Xd=ie("effect/Scope"),Jd=Xd,Qd={[bn]:bn,[vn]:vn,pipe(){return i(this,arguments)},fork(e){return oe((()=>{const t=ef(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,(()=>oe((()=>{"Open"===this.state._tag&&this.state.finalizers.delete(n)})))),t}))},close(e){return xe((()=>{if("Closed"===this.state._tag)return ce;const t=Array.from(this.state.finalizers.values()).reverse();return this.state={_tag:"Closed",exit:e},0===t.length?ce:(()=>this.strategy._tag===Us)()?fe(Te(t,(t=>yn(t(e)))),Fe((e=>fe(V(e),R(gn),Pe((()=>K)))))):(()=>this.strategy._tag===Vs)()?fe(Bd(t,(t=>yn(t(e))),!1),Fe((e=>fe(V(e,{parallel:!0}),R(gn),Pe((()=>K)))))):fe(jd(t,this.strategy.parallelism,(t=>yn(t(e))),!1),Fe((e=>fe(V(e,{parallel:!0}),R(gn),Pe((()=>K))))))}))},addFinalizer(e){return xe((()=>"Closed"===this.state._tag?e(this.state.exit):(this.state.finalizers.set({},e),ce)))}},ef=(e=Ks)=>{const t=Object.create(Qd);return t.strategy=e,t.state={_tag:"Open",finalizers:new Map},t},tf=(e=Ks)=>oe((()=>ef(e))),nf=e(2,((e,t)=>Fn(e,En(xn(Xd,t))))),rf=e=>Un(e,{differ:fd,fork:sd}),af=qn(Ur),of=rf(rd),uf=e(3,((e,t,n)=>lf(e,t,{onSelfWin:(e,t)=>Fe(e.await,(r=>{switch(r._tag){case Cn:return Fe(e.inheritAll,(()=>n.onSelfDone(r,t)));case An:return n.onSelfDone(r,t)}})),onOtherWin:(e,t)=>Fe(e.await,(r=>{switch(r._tag){case Cn:return Fe(e.inheritAll,(()=>n.onOtherDone(r,t)));case An:return n.onOtherDone(r,t)}}))}))),sf=e(2,((e,t)=>Yr((n=>uf(e,t,{onSelfDone:(e,t)=>Zr(e,{onFailure:e=>fe(Nl(t),js((t=>Jr(e,t)))),onSuccess:e=>fe(t,Xr(n),Je(e))}),onOtherDone:(e,t)=>Zr(e,{onFailure:e=>fe(Nl(t),js((t=>Jr(t,e)))),onSuccess:e=>fe(t,Xr(n),Je(e))})}))))),lf=e(3,((e,t,n)=>it(((r,a)=>{const i=a.runtimeFlags,o=vt(!0),u=$d(e,r,i,n.selfScope),s=$d(t,r,i,n.otherScope);return se((r=>{u.addObserver((()=>cf(u,s,n.onSelfWin,o,r))),s.addObserver((()=>cf(s,u,n.onOtherWin,o,r))),u.startFork(e),s.startFork(t)}),Rn(u.id(),s.id()))})))),cf=(e,t,n,r,a)=>{Bn(!0,!1)(r)&&a(n(e,t))},df=e(2,((e,t)=>pn((n=>Ft(n(e),{onFailure:e=>Ft(t,{onFailure:t=>xt(Dn(e,t)),onSuccess:()=>xt(e)}),onSuccess:e=>Je(t,e)}))))),ff=(e,t,n)=>Yr((r=>df(Fe(_d(na(e)),(e=>se((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||!$r(e.result.state.current.effect)||"Failure"!==e.result.state.current.effect._tag||!ra(e.result.state.current.effect.cause))))&&(o.forEach((e=>e())),n?.(),r(aa(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(),oe((()=>{o.forEach((e=>e()))}))})))),xe((()=>{const e=t.flatMap((e=>e.state.completed?[]:[e]));return Xe(e,(e=>Zc(e.request,ia(r))))}))))),hf=oa,pf=ur,mf=Hn,vf=ca,bf=ra,gf=Yn,yf=da,Df=ua,wf=sa,Ff=la,Ef=Symbol.for("effect/ScheduleInterval"),xf={[Ef]:Ef,startMillis:0,endMillis:0},Af=(e,t)=>e>t?xf:{[Ef]:Ef,startMillis:e,endMillis:t},Cf=e(2,((e,t)=>kf(e,t)===e)),kf=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)),Rf=e(2,((e,t)=>{const n=Math.max(e.startMillis,t.startMillis),r=Math.min(e.endMillis,t.endMillis);return Af(n,r)})),Tf=xf,Sf=Cf,Mf=e=>e.startMillis>=e.endMillis,Of=Rf,Nf=Symbol.for("effect/ScheduleIntervals"),Bf=e=>({[Nf]:Nf,intervals:e}),If=e(2,((e,t)=>jf(e.intervals,t.intervals,N()))),jf=(e,t,n)=>{let r=e,a=t,i=n;for(;cn(r)&&cn(a);){const e=fe(dn(r),Of(dn(a))),t=Mf(e)?i:fe(i,re(e));fe(dn(r),Sf(dn(a)))?r=fn(r):a=fn(a),i=t}return Bf(ae(i))},_f=e=>fe(e.intervals,fa,Pe((()=>Tf))).startMillis,qf=e(2,((e,t)=>_f(e)<_f(t))),Pf=Bf,$f=If,zf=_f,Gf=e=>fe(e.intervals,fa,Pe((()=>Tf))).endMillis,Lf=qf,Hf="Continue",Uf="Done",Vf={_tag:Uf},Kf=e=>e._tag===Hf,Wf=e=>e._tag===Uf,Yf=ma,Zf=pa,Xf=ha,Jf=nf,Qf=Hr,eh=tf;class th{permits;waiters=new Set;taken=0;constructor(e){this.permits=e}get free(){return this.permits-this.taken}take=e=>va((t=>{if(this.free<e){const n=()=>{this.free<e||(this.waiters.delete(n),t(xe((()=>this.free<e?this.take(e):(this.taken+=e,ue(e))))))};return this.waiters.add(n),oe((()=>{this.waiters.delete(n)}))}t(xe((()=>this.free<e?this.take(e):(this.taken+=e,ue(e)))))}));updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.getFiberRef(vl).scheduleTask((()=>{const e=this.waiters.values();let t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()}),e.getFiberRef(Bt),e),ue(this.free)}updateTaken(e){return it((t=>this.updateTakenUnsafe(t,e)))}resize=e=>de(it((t=>(this.permits=e,this.free<0?ce:this.updateTakenUnsafe(t,(e=>e))))));release=e=>this.updateTaken((t=>t-e));releaseAll=this.updateTaken((()=>0));withPermits=e=>t=>pn((n=>Fe(n(this.take(e)),(e=>df(n(t),this.release(e))))));withPermitsIfAvailable=e=>t=>pn((n=>xe((()=>this.free<e?$s:(this.taken+=e,df(n((e=>Me(e,J))(t)),this.release(e)))))))}const nh=e=>new th(e),rh=e(2,((e,t)=>it(((n,r)=>{const a=t,i=qd(e,n,r.runtimeFlags,Tl);if("Open"===a.state._tag){const e=()=>Yr((e=>A(e,i.id())?ce:de(aa(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 ue(i)})))),ah=e(2,((e,t)=>fe(yn(e),sf(yn(t)),(e=>Pt(e))))),ih=Symbol.for("effect/Ref/SynchronizedRef"),oh={_A:e=>e};class uh extends bt{ref;withLock;[ih]=oh;[us]=ss;[os]=os;constructor(e,t){super(),this.ref=e,this.withLock=t,this.get=fs(this.ref)}get;commit(){return this.get}modify(e){return this.modifyEffect((t=>ue(e(t))))}modifyEffect(e){return this.withLock(fe(Fe(fs(this.ref),e),Fe((([e,t])=>Je(hs(this.ref,t),e)))))}}const sh=e=>{const t=cs(e),n=nh(1);return new uh(t,n.withPermits(1))},lh=Symbol.for("effect/ManagedRuntime"),ch=e=>e.await,dh=e=>e.inheritAll,fh=aa,hh=Xr,ph=Nl,mh=e=>function(){if(1===arguments.length){const t=arguments[0];return(n,...r)=>e(t,n,...r)}return e.apply(this,arguments)},vh=mh(((e,t,n)=>{const r=Mn(),a=[[On,[[r,e.context]]]];n?.scheduler&&a.push([vl,[[r,n.scheduler]]]);let i=ns(e.fiberRefs,{entries:a,forkAs:r});n?.updateRefs&&(i=n.updateRefs(i,r));const o=new kd(r,i,e.runtimeFlags);let u=t;n?.scope&&(u=Fe(Qf(n.scope,Ks),(e=>Et(ma(e,Yr((e=>A(e,o.id())?ce:Xr(o,e)))),hn(t,(t=>Xf(e,t)))))));const s=o.currentSupervisor;return s!==rd&&(s.onStart(e.context,u,Q(),o),o.addObserver((e=>s.onEnd(e,o)))),Tl.add(e.runtimeFlags,o),!1===n?.immediate?o.resume(u):o.start(u),o})),bh=Symbol.for("effect/Runtime/FiberFailure"),gh=Symbol.for("effect/Runtime/FiberFailure/Cause");class yh extends Error{[bh];[gh];constructor(e){const t=Da(e)[0];super(t?.message||"An error has occurred"),this[bh]=bh,this[gh]=e,this.name=t?`(FiberFailure) ${t.name}`:"FiberFailure",t?.stack&&(this.stack=t.stack)}toJSON(){return{_id:"FiberFailure",cause:this[gh].toJSON()}}toString(){return"(FiberFailure) "+Wr(this[gh],{renderErrorCause:!0})}[o](){return this.toString()}}const Dh=mh(((e,t,n)=>wh(e,t,n).then((e=>{switch(e._tag){case Cn:return e.effect_instruction_i0;case An:throw(e=>{const t=Error.stackTraceLimit;Error.stackTraceLimit=0;const n=new yh(e);return Error.stackTraceLimit=t,n})(e.effect_instruction_i0)}})))),wh=mh(((e,t,n)=>new Promise((r=>{const a=(e=>{const t=e;switch(t._op){case"Failure":case"Success":return t;case"Left":return H(t.left);case"Right":return L(t.right);case"Some":return L(t.value);case"None":return H(new pr)}})(t);a&&r(a);const i=vh(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 Fh{context;runtimeFlags;fiberRefs;constructor(e,t,n){this.context=e,this.runtimeFlags=t,this.fiberRefs=n}pipe(){return i(this,arguments)}}const Eh=e=>new Fh(e.context,e.runtimeFlags,e.fiberRefs),xh=ba(zn,ya,ga),Ah=Eh({context:at(),runtimeFlags:xh,fiberRefs:rs()}),Ch=vh(Ah),kh=Dh(Ah),Rh=e(2,((e,t)=>e.modifyEffect(t))),Th=Symbol.for("effect/Layer"),Sh={[Th]:{_RIn:e=>e,_E:e=>e,_ROut:e=>e},pipe(){return i(this,arguments)}},Mh=Symbol.for("effect/Layer/MemoMap"),Oh=et()("effect/Layer/CurrentMemoMap",{defaultValue:()=>jh()}),Nh=e=>"Fresh"===e._op_layer;class Bh{ref;[Mh];constructor(e){this.ref=e,this[Mh]=Mh}getOrElseMemoize(e,t){return fe(Rh(this.ref,(n=>{const r=n.get(e);if(void 0!==r){const[e,a]=r,i=fe(e,Fe((([e,t])=>fe((e=>{return t=(t,n)=>fe(e,ks(t,n)),it((e=>(e.setFiberRefs(t(e.id(),e.getFiberRefs())),ce)));var t})(e),Je(t)))),hn(z({onFailure:()=>ce,onSuccess:()=>pa(t,a)})));return ue([i,n])}return fe(ds(0),Fe((r=>fe(B(),Fe((a=>fe(ds((()=>ce)),Me((i=>{const o=pn((o=>fe(tf(),Fe((u=>fe(o(Fe(Ph(e,u,!0),(e=>(e=>zs(e,Is,As))(e(this))))),yn,Fe((o=>{switch(o._tag){case An:return fe(_(a,o.effect_instruction_i0),Et(ha(u,o)),Et(xt(o.effect_instruction_i0)));case Cn:return fe(hs(i,(e=>fe(ha(u,e),Ea(ps(r,(e=>[1===e,e-1]))),de))),Et(ms(r,(e=>e+1))),Et(pa(t,(t=>fe(oe((()=>n.delete(e))),Et(fs(i)),Fe((e=>e(t))))))),Et(j(a,o.effect_instruction_i0)),Je(o.effect_instruction_i0[1]))}})))))))),u=[fe(I(a),hn(Zr({onFailure:()=>ce,onSuccess:()=>ms(r,(e=>e+1))}))),e=>fe(fs(i),Fe((t=>t(e))))];return[o,Nh(e)?n:n.set(e,u)]})))))))))})),Pt)}}const Ih=xe((()=>{return Me((e=new Map,oe((()=>sh(e)))),(e=>new Bh(e)));var e})),jh=()=>new Bh(sh(new Map)),_h=e(2,((e,t)=>Fe(Ih,(n=>qh(e,n,t))))),qh=e(3,((e,t,n)=>Fe(Ph(e,n),(e=>_s(e(t),Oh,t))))),Ph=(e,t,n=!1)=>{const r=e;switch(r._op_layer){case"Locally":return oe((()=>e=>r.f(e.getOrElseMemoize(r.self,t))));case"ExtendScope":return oe((()=>e=>{return t=t=>e.getOrElseMemoize(r.layer,t),Fe(Xd,t);var t}));case"Fold":return oe((()=>e=>fe(e.getOrElseMemoize(r.layer,t),Ft({onFailure:n=>e.getOrElseMemoize(r.failureK(n),t),onSuccess:n=>e.getOrElseMemoize(r.successK(n),t)}))));case"Fresh":return oe((()=>()=>fe(r.layer,_h(t))));case"FromEffect":return oe(n?()=>()=>r.effect:()=>n=>n.getOrElseMemoize(e,t));case"Provide":return oe((()=>e=>fe(e.getOrElseMemoize(r.first,t),Fe((n=>fe(e.getOrElseMemoize(r.second,t),kt(n)))))));case"Scoped":return oe(n?()=>()=>nf(r.effect,t):()=>n=>n.getOrElseMemoize(e,t));case"Suspend":return oe((()=>e=>e.getOrElseMemoize(r.evaluate(),t)));case"ProvideMerge":return oe((()=>e=>fe(e.getOrElseMemoize(r.first,t),Ca(e.getOrElseMemoize(r.second,t),r.zipK))));case"ZipWith":return Aa((function*(){const e=yield*Hr(t,Ws),n=yield*Hr(e,Ks),a=yield*Hr(e,Ks);return e=>fe(e.getOrElseMemoize(r.first,n),Zd(e.getOrElseMemoize(r.second,a),r.zipK,{concurrent:!0}))}));case"MergeAll":{const e=r.layers;return Me(Hr(t,Ws),(t=>n=>{const r=new Array(e.length);return Me(Id(e,ka((function*(e,a){const i=yield*Hr(t,Ks),o=yield*n.getOrElseMemoize(e,i);r[a]=o})),!1,!1),(()=>xa(...r)))}))}}},$h=e(2,((e,t)=>Ud((n=>Fe(_h(t,n),(t=>Fa(e,t))))))),zh=e(2,((e,t)=>{const n=Js(Ah.fiberRefs,t.fiberRefs),r=Gn(Ah.runtimeFlags,t.runtimeFlags);return pn((a=>it((i=>{const o=i.getFiberRef(On),u=i.getFiberRefs(),s=Qs(i.id(),u)(n),l=i.currentRuntimeFlags,c=or(r)(l),d=Js(s,u),f=Gn(c,l);return i.setFiberRefs(s),i.currentRuntimeFlags=c,df(Fa(a(e),En(o,t.context)),it((e=>(e.setFiberRefs(Qs(e.id(),e.getFiberRefs())(d)),e.currentRuntimeFlags=or(f)(e.currentRuntimeFlags),ce))))}))))})),Gh=e(2,((e,n)=>Array.isArray(n)?$h(e,((...e)=>{const t=Object.create(Sh);return t._op_layer="MergeAll",t.layers=e,t})(...n)):t(n,Th)?$h(e,n):wa(n)?Fa(e,n):lh in n?Fe(n.runtimeEffect,(t=>zh(e,t))):zh(e,n))),Lh=Symbol.for("effect/Schedule"),Hh=Symbol.for("effect/ScheduleDriver"),Uh={start:0,now:0,input:void 0,output:void 0,elapsed:pi,elapsedSincePrevious:pi,recurrence:0},Vh=et()("effect/Schedule/CurrentIterationMetadata",{defaultValue:()=>Uh}),Kh={_Out:e=>e,_In:e=>e,_R:e=>e},Wh={_Out:e=>e,_In:e=>e,_R:e=>e};class Yh{initial;step;[Lh]=Kh;constructor(e,t){this.initial=e,this.step=t}pipe(){return i(this,arguments)}}const Zh=(e,t,n,r)=>ms(e,(e=>0===e.recurrence?{now:t,input:n,output:r,recurrence:e.recurrence+1,elapsed:pi,elapsedSincePrevious:pi,start:t}:{now:t,input:n,output:r,recurrence:e.recurrence+1,elapsed:gi(t-e.start),elapsedSincePrevious:gi(t-e.now),start:e.start}));class Xh{schedule;ref;[Hh]=Wh;constructor(e,t){this.schedule=e,this.ref=t}get state(){return Me(fs(this.ref),(e=>e[1]))}get last(){return Fe(fs(this.ref),(([e,t])=>{switch(e._tag){case"None":return Ma((()=>new pr));case"Some":return ue(e.value)}}))}iterationMeta=cs(Uh);get reset(){return hs(this.ref,[Q(),this.schedule.initial]).pipe(qt(hs(this.iterationMeta,Uh)))}next(e){return fe(Me(fs(this.ref),(e=>e[1])),Fe((t=>fe(Lu,Fe((n=>fe(xe((()=>this.schedule.step(n,e,t))),Fe((([t,r,a])=>{const i=hs(this.ref,[J(r),t]);if(Wf(a))return i.pipe(Et(Ee(Q())));const o=zf(a.intervals)-n;if(o<=0)return i.pipe(Et(Zh(this.iterationMeta,n,e,r)),Je(r));const u=gi(o);return fe(i,Et(Zh(this.iterationMeta,n,e,r)),Et(Ps(u)),Je(r))})))))))))}}const Jh=(e,t)=>new Yh(e,t),Qh=e(2,((e,t)=>ep(e,((e,n)=>oe((()=>t(e,n))))))),ep=e(2,((e,t)=>Jh(e.initial,((n,r,a)=>Fe(e.step(n,r,a),(([e,n,a])=>Wf(a)?ue([e,n,Vf]):Me(t(r,n),(t=>t?[e,n,a]:[e,n,Vf])))))))),tp=e(2,((e,t)=>np(e,t,$f))),np=e(3,((e,t,n)=>Jh([e.initial,t.initial],((r,a,i)=>fe(Ca(e.step(r,a,i[0]),t.step(r,a,i[1]),((e,t)=>[e,t])),Fe((([[r,i,o],[u,s,l]])=>Kf(o)&&Kf(l)?rp(e,t,a,r,i,o.intervals,u,s,l.intervals,n):ue([[r,u],[i,s],Vf])))))))),rp=(e,t,n,r,a,i,o,u,s,l)=>{const c=l(i,s);return(e=>cn(e.intervals))(c)?ue([[r,o],[a,u],(d=c,{_tag:Hf,intervals:d})]):fe(i,Lf(s))?Fe(e.step(Gf(i),n,r),(([r,a,i])=>Wf(i)?ue([[r,o],[a,u],Vf]):rp(e,t,n,r,a,i.intervals,o,u,s,l))):Fe(t.step(Gf(s),n,o),(([o,u,s])=>Wf(s)?ue([[r,o],[a,u],Vf]):rp(e,t,n,r,a,i,o,u,s.intervals,l)));var d},ap=e(2,((e,t)=>ip(e,(e=>oe((()=>t(e))))))),ip=e(2,((e,t)=>Jh(e.initial,((n,r,a)=>Fe(e.step(n,r,a),(([e,n,r])=>Me(t(n),(t=>[e,t,r])))))))),op=(e,t)=>Jh(e,((e,n,r)=>oe((()=>{return[t(r),r,(a=e,n=Af(a,Number.POSITIVE_INFINITY),{_tag:Hf,intervals:Pf(S(n))})];var n,a})))),up=e(2,((e,t)=>ep(e,(e=>(e=>Me(e,(e=>!e)))(t(e)))))),sp=e(2,((e,t)=>ep(e,(e=>t(e))))),lp=e(2,((e,t)=>Qh(e,((e,n)=>t(n))))),cp=Symbol.for("effect/Schedule/ScheduleDefect");class dp{error;[cp];constructor(e){this.error=e,this[cp]=cp}}const fp=e=>ze(e,(e=>gr(new dp(e)))),hp=e(2,((e,t)=>mp(e,t,(e=>Ee(e))))),pp=e(2,((e,n)=>{if(t(n,Lh))return hp(e,n);const r=n.schedule??(e=>Jh(e.initial,((t,n,r)=>fe(e.step(t,n,r),Me((([e,t,r])=>[e,n,r]))))))(bp),a=n.while?sp(r,(e=>{const t=n.while(e);return"boolean"==typeof t?ue(t):fp(t)})):r,i=n.until?up(a,(e=>{const t=n.until(e);return"boolean"==typeof t?ue(t):fp(t)})):a,o=n.times?tp(i,(u=n.times,lp(bp,(e=>e<u)))).pipe(ap((e=>e[0]))):i;var u,s;return s=hp(e,o),Ra(s,(e=>xt((e=>w(Ta(e,(e=>ca(e)&&t(e.defect,cp)?J(e.defect):Q())),{onNone:()=>e,onSome:e=>oa(e.error)}))(e))))})),mp=e(3,((e,t,n)=>Fe((e=>fe(ds([Q(),e.initial]),Me((t=>new Xh(e,t)))))(t),(t=>wt(e,{onFailure:e=>n(e,Q()),onSuccess:r=>vp(qs(e,Vh,fs(t.iterationMeta)),t,((e,r)=>qs(n(e,r),Vh,fs(t.iterationMeta))),r)}))))),vp=(e,t,n,r)=>wt(t.next(r),{onFailure:()=>Sa(t.last),onSuccess:r=>wt(e,{onFailure:e=>n(e,J(r)),onSuccess:r=>vp(e,t,n,r)})}),bp=op(0,(e=>e+1)),gp=wn,yp=Od,Dp=Nd,wp=se,Fp=it,Ep=Ee,xp=xt,Ap=Ir,Cp=Aa,kp=ue,Rp=xe,Tp=oe,Sp=ce,Mp=ze,Op=Ra,Np=Ns,Bp=Oa,Ip=na,jp=Gr,_p=pn,qp=Je,Pp=de,$p=Me,zp=$e,Gp=Ba,Lp=df,Hp=Jd,Up=Ud,Vp=Yr,Kp=_d,Wp=rh,Yp=Gh,Zp=yn,Xp=Ia,Jp=Ls,Qp=Fe,em=Pt,tm=sf,nm=ah,rm=uf,am=Qt,im=Gs,om=e=>{const t=Fe(Fe(e,(()=>St())),(()=>t));return t},um=pp,sm=Bs,lm=Na,cm=Ft,dm=e=>oe((()=>nh(e))),fm=Ch,hm=kh,pm=Kd,mm=Wd,vm=Yd,bm=Zd,gm=Symbol.for("effect/QueueEnqueue"),ym=Symbol.for("effect/QueueDequeue"),Dm=Symbol.for("effect/QueueStrategy"),wm=Symbol.for("effect/BackingQueue"),Fm={_A:e=>e},Em={_A:e=>e},xm={_In:e=>e},Am={_Out:e=>e};class Cm extends bt{queue;takers;shutdownHook;shutdownFlag;strategy;[gm]=xm;[ym]=Am;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 xe((()=>ze(this.unsafeSize(),(()=>Oa))))}unsafeSize(){return gt(this.shutdownFlag)?Q():J(this.queue.length()-Io(this.takers)+this.strategy.surplusSize())}get isEmpty(){return Me(this.size,(e=>e<=0))}get isFull(){return Me(this.size,(e=>e>=this.capacity()))}get shutdown(){return Gr(it((e=>(fe(this.shutdownFlag,yt(!0)),fe(Id(Pm(this.takers),(t=>$a(t,e.id())),!1,!1),Et(this.strategy.shutdown),Ea(j(this.shutdownHook,void 0)),de)))))}get isShutdown(){return oe((()=>gt(this.shutdownFlag)))}get awaitShutdown(){return I(this.shutdownHook)}isActive(){return!gt(this.shutdownFlag)}unsafeOffer(e){if(gt(this.shutdownFlag))return!1;let t;if(0===this.queue.length()){const n=fe(this.takers,Po(Mo));n!==Mo?(_m(n,e),t=!0):t=!1}else t=!1;if(t)return!0;const n=this.queue.offer(e);return Gm(this.strategy,this.queue,this.takers),n}offer(e){return xe((()=>{if(gt(this.shutdownFlag))return Oa;let t;if(0===this.queue.length()){const n=fe(this.takers,Po(Mo));n!==Mo?(_m(n,e),t=!0):t=!1}else t=!1;if(t)return ue(!0);const n=this.queue.offer(e);return Gm(this.strategy,this.queue,this.takers),n?ue(!0):this.strategy.handleSurplus([e],this.queue,this.takers,this.shutdownFlag)}))}offerAll(e){return xe((()=>{if(gt(this.shutdownFlag))return Oa;const t=Be(e),n=0===this.queue.length()?Be($m(this.takers,t.length)):_e,[r,a]=fe(t,ja(n.length));for(let e=0;e<n.length;e++)_m(n[e],r[e]);if(0===a.length)return ue(!0);const i=this.queue.offerAll(a);return Gm(this.strategy,this.queue,this.takers),_a(i)?ue(!0):this.strategy.handleSurplus(i,this.queue,this.takers,this.shutdownFlag)}))}get take(){return it((e=>{if(gt(this.shutdownFlag))return Oa;const t=this.queue.poll(Mo);if(t!==Mo)return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),ue(t);{const t=_n(e.id());return fe(xe((()=>(fe(this.takers,_o(t)),Gm(this.strategy,this.queue,this.takers),gt(this.shutdownFlag)?Oa:I(t)))),qa((()=>oe((()=>zm(this.takers,t))))))}}))}get takeAll(){return xe((()=>gt(this.shutdownFlag)?Oa:oe((()=>{const e=this.queue.pollUpTo(Number.POSITIVE_INFINITY);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),Qe(e)}))))}takeUpTo(e){return xe((()=>gt(this.shutdownFlag)?Oa:oe((()=>{const t=this.queue.pollUpTo(e);return this.strategy.unsafeOnQueueEmptySpace(this.queue,this.takers),Qe(t)}))))}takeBetween(e,t){return xe((()=>km(this,e,t,N())))}}const km=(e,t,n,r)=>n<t?ue(r):fe(Nm(e,n),Fe((a=>{const i=t-a.length;return 1===i?fe(Om(e),Me((e=>fe(r,E(a),T(e))))):i>1?fe(Om(e),Fe((t=>km(e,i-1,n-a.length-1,fe(r,E(a),T(t)))))):ue(fe(r,E(a)))}))),Rm=(e,t)=>fe(B(),Me((n=>((e,t,n,r,a)=>new Cm(e,t,n,r,a))(e,Bo(),n,vt(!1),t))));class Tm{mutable;[wm]=Em;constructor(e){this.mutable=e}poll(e){return Po(this.mutable,e)}pollUpTo(e){return $o(this.mutable,e)}offerAll(e){return qo(this.mutable,e)}offer(e){return _o(this.mutable,e)}capacity(){return(e=>void 0===e.capacity?1/0:e.capacity)(this.mutable)}length(){return Io(this.mutable)}}const Sm=e=>new Tm(e),Mm=e(2,((e,t)=>e.offer(t))),Om=e=>e.take,Nm=e(2,((e,t)=>e.takeUpTo(t))),Bm=e(3,((e,t,n)=>e.takeBetween(t,n)));class Im{[Dm]=Fm;putters=Bo();surplusSize(){return Io(this.putters)}onCompleteTakersWithEmptyQueue(e){for(;!jo(this.putters)&&!jo(e);){const t=Po(e,void 0),n=Po(this.putters,void 0);n[2]&&_m(n[1],!0),_m(t,n[0])}}get shutdown(){return fe(za,Fe((e=>fe(oe((()=>Pm(this.putters))),Fe((t=>Id(t,(([t,n,r])=>r?fe($a(n,e),de):ce),!1,!1)))))))}handleSurplus(e,t,n,r){return it((a=>{const i=_n(a.id());return fe(xe((()=>(this.unsafeOffer(e,i),this.unsafeOnQueueEmptySpace(t,n),Gm(this,t,n),gt(r)?Oa:I(i)))),qa((()=>oe((()=>this.unsafeRemove(i))))))}))}unsafeOnQueueEmptySpace(e,t){let n=!0;for(;n&&(e.capacity()===Number.POSITIVE_INFINITY||e.length()<e.capacity());){const r=fe(this.putters,Po(Mo));if(r===Mo)n=!1;else{const n=e.offer(r[0]);n&&r[2]?_m(r[1],!0):n||qm(this.putters,fe(Pm(this.putters),re(r))),Gm(this,e,t)}}}unsafeOffer(e,t){const n=Be(e);for(let e=0;e<n.length;e++){const r=n[e];fe(this.putters,_o(e===n.length-1?[r,t,!0]:[r,t,!1]))}}unsafeRemove(e){qm(this.putters,fe(Pm(this.putters),Pa((([,t])=>t!==e))))}}class jm{[Dm]=Fm;surplusSize(){return 0}get shutdown(){return ce}onCompleteTakersWithEmptyQueue(){}handleSurplus(e,t,n,r){return ue(!1)}unsafeOnQueueEmptySpace(e,t){}}const _m=(e,t)=>tn(e,ue(t)),qm=(e,t)=>fe(e,qo(t)),Pm=e=>fe(e,$o(Number.POSITIVE_INFINITY)),$m=(e,t)=>fe(e,$o(t)),zm=(e,t)=>{qm(e,fe(Pm(e),Pa((e=>t!==e))))},Gm=(e,t,n)=>{let r=!0;for(;r&&0!==t.length();){const a=fe(n,Po(Mo));if(a!==Mo){const i=t.poll(Mo);i!==Mo?(_m(a,i),e.unsafeOnQueueEmptySpace(t,n)):qm(n,fe(Pm(n),re(a))),r=!0}else r=!1}r&&0===t.length()&&!jo(n)&&e.onCompleteTakersWithEmptyQueue(n)},Lm=e=>fe(oe((()=>No(e))),Fe((e=>Rm(Sm(e),new Im)))),Hm=()=>fe(oe((()=>Bo())),Fe((e=>Rm(Sm(e),new jm)))),Um=e=>e.shutdown,Vm=Mm,Km=Om,Wm=Bm,Ym="Continue",Zm=Symbol.for("effect/ChannelChildExecutorDecision"),Xm={[Zm]:Zm},Jm=()=>{const e=Object.create(Xm);return e._tag=Ym,e},Qm="ContinuationK",ev=Symbol.for("effect/ChannelContinuation"),tv={_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 nv{onSuccess;onHalt;_tag=Qm;[ev]=tv;constructor(e,t){this.onSuccess=e,this.onHalt=t}onExit(e){return no(e)?this.onHalt(e.cause):this.onSuccess(e.value)}}class rv{finalizer;_tag="ContinuationFinalizer";[ev]=tv;constructor(e){this.finalizer=e}}const av="PullAfterNext",iv=Symbol.for("effect/ChannelUpstreamPullStrategy"),ov={[iv]:{_A:e=>e}},uv=e=>{const t=Object.create(ov);return t._tag=av,t.emitSeparator=e,t},sv="BracketOut",lv="Bridge",cv="ConcatAll",dv="Emit",fv="Ensuring",hv="Fail",pv="Fold",mv="FromEffect",vv="PipeTo",bv="Read",gv="Succeed",yv="SucceedNow",Dv="Suspend",wv=Symbol.for("effect/Channel"),Fv={[wv]:{_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)}},Ev=e=>t(e,wv)||gp(e),xv=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=sv,n.acquire=()=>e,n.finalizer=t,n})),Av=(e,t,n)=>{const r=Object.create(Fv);return r._tag=cv,r.combineInners=t,r.combineAll=n,r.onPull=()=>uv(Q()),r.onEmit=()=>Jm,r.value=()=>e,r.k=kn,r},Cv=e(4,((e,t,n,r)=>{const a=Object.create(Fv);return a._tag=cv,a.combineInners=n,a.combineAll=r,a.onPull=()=>uv(Q()),a.onEmit=()=>Jm,a.value=()=>e,a.k=t,a})),kv=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=lv,n.input=t,n.channel=e,n})),Rv=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=fv,n.channel=e,n.finalizer=t,n})),Tv=e=>Sv(hf(e)),Sv=e=>Mv((()=>e)),Mv=e=>{const t=Object.create(Fv);return t._tag=hv,t.error=e,t},Ov=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=pv,n.channel=e,n.k=new nv(t,Sv),n})),Nv=e=>{const t=Object.create(Fv);return t._tag=mv,t.effect=()=>e,t},Bv=e(2,((e,t)=>{const n=Object.create(Fv);return n._tag=vv,n.left=()=>e,n.right=()=>t,n})),Iv=e=>jv({onInput:e.onInput,onFailure:t=>Ga(Df(t),{onLeft:e.onFailure,onRight:Sv}),onDone:e.onDone}),jv=e=>{const t=Object.create(Fv);return t._tag=bv,t.more=e.onInput,t.done=new nv(e.onDone,e.onFailure),t},_v=e=>$v((()=>e)),qv=e=>{const t=Object.create(Fv);return t._tag=yv,t.terminal=e,t},Pv=e=>{const t=Object.create(Fv);return t._tag=Dv,t.channel=e,t},$v=e=>{const t=Object.create(Fv);return t._tag=gv,t.evaluate=e,t},zv=qv(void 0),Gv=e=>{const t=Object.create(Fv);return t._tag=dv,t.out=e,t},Lv="Done",Hv="Emit",Uv="FromEffect",Vv="Read",Kv=Symbol.for("effect/ChannelState"),Wv={[Kv]:{_E:e=>e,_R:e=>e}},Yv=()=>{const e=Object.create(Wv);return e._tag=Lv,e},Zv=()=>{const e=Object.create(Wv);return e._tag=Hv,e},Xv=e=>{const t=Object.create(Wv);return t._tag=Uv,t.effect=e,t},Jv=(e,t,n,r)=>{const a=Object.create(Wv);return a._tag=Vv,a.upstream=e,a.onEffect=t,a.onEmit=n,a.onDone=r,a},Qv=e=>e._tag===Uv,eb=e=>Qv(e)?(e=>Bs(e,{onFailure:At,onSuccess:At}))(e.effect):void 0,tb="PullFromChild",nb="PullFromUpstream",rb="DrainChildExecutors",ab="Emit";class ib{childExecutor;parentSubexecutor;onEmit;_tag=tb;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?bm(Zp(t),Zp(n),((e,t)=>fe(e,po(t)))):void 0!==t?t:void 0!==n?n:void 0}enqueuePullFromChild(e){return this}}class ob{upstreamExecutor;createChild;lastDone;activeChildExecutors;combineChildResults;combineWithChildResult;onPull;onEmit;_tag=nb;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?bm(e,Zp(t),((e,t)=>po(e,t))):void 0!==e?e:void 0!==t?Zp(t):void 0),void 0)}enqueuePullFromChild(e){return new ob(this.upstreamExecutor,this.createChild,this.lastDone,[...this.activeChildExecutors,e],this.combineChildResults,this.combineWithChildResult,this.onPull,this.onEmit)}}class ub{upstreamExecutor;lastDone;activeChildExecutors;upstreamDone;combineChildResults;combineWithChildResult;onPull;_tag=rb;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?bm(e,Zp(t),((e,t)=>po(e,t))):void 0!==e?e:void 0!==t?Zp(t):void 0),void 0)}enqueuePullFromChild(e){return new ub(this.upstreamExecutor,this.lastDone,[...this.activeChildExecutors,e],this.upstreamDone,this.combineChildResults,this.combineWithChildResult,this.onPull)}}class sb{value;next;_tag=ab;constructor(e,t){this.value=e,this.next=t}close(e){return this.next.close(e)}enqueuePullFromChild(e){return this}}const lb=Symbol.for("effect/ChannelUpstreamPullRequest"),cb={[lb]:{_A:e=>e}},db=e=>{const t=Object.create(cb);return t._tag="Pulled",t.value=e,t};class fb{_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=Yv();else switch(gp(this._currentChannel)&&(this._currentChannel=Nv(this._currentChannel)),this._currentChannel._tag){case sv:e=this.runBracketOut(this._currentChannel);break;case lv:{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=()=>Qp(t.awaitRead(),(()=>Rp((()=>{const e=n.run();switch(e._tag){case Lv:return lo(n.getDone(),{onFailure:e=>t.error(e),onSuccess:e=>t.done(e)});case Hv:return Qp(t.emit(n.getEmit()),(()=>r()));case Uv:return cm(e.effect,{onFailure:e=>t.error(e),onSuccess:()=>r()});case Vv:return mb(e,(()=>r()),(e=>t.error(e)))}}))));e=Xv(Qp(Kp(Ip(r())),(e=>Tp((()=>this.addFinalizer((t=>Qp(fh(e),(()=>Rp((()=>{const e=this.restorePipe(t,n);return void 0!==e?e:Sp})))))))))))}break}case cv:{const e=new fb(this._currentChannel.value(),this._providedEnv,(e=>Tp((()=>{this._closeLastSubstream=fe(void 0===this._closeLastSubstream?Sp:this._closeLastSubstream,vm(e))}))));e._input=this._input;const t=this._currentChannel;this._activeSubexecutor=new ob(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 dv:this._emitted=this._currentChannel.out,this._currentChannel=void 0!==this._activeSubexecutor?void 0:zv,e=Zv();break;case fv:this.runEnsuring(this._currentChannel);break;case hv:e=this.doneHalt(this._currentChannel.error());break;case pv:this._doneStack.push(this._currentChannel.k),this._currentChannel=this._currentChannel.channel;break;case mv:{const t=void 0===this._providedEnv?this._currentChannel.effect():fe(this._currentChannel.effect(),Yp(this._providedEnv));e=Xv(cm(t,{onFailure:e=>{const t=this.doneHalt(e);return void 0!==t&&Qv(t)?t.effect:Sp},onSuccess:e=>{const t=this.doneSucceed(e);return void 0!==t&&Qv(t)?t.effect:Sp}}));break}case vv:{const e=this._input,t=new fb(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:Sp})),this._currentChannel=this._currentChannel.right();break}case"Provide":{const e=this._providedEnv;this._providedEnv=this._currentChannel.context(),this._currentChannel=this._currentChannel.inner,this.addFinalizer((()=>Tp((()=>{this._providedEnv=e}))));break}case bv:{const t=this._currentChannel;e=Jv(this._input,kn,(e=>{try{this._currentChannel=t.more(e)}catch(e){this._currentChannel=t.done.onExit(io(e))}}),(e=>{this._currentChannel=(e=>t.done.onExit(e))(e)}));break}case gv:e=this.doneSucceed(this._currentChannel.evaluate());break;case yv:e=this.doneSucceed(this._currentChannel.terminal);break;case Dv:this._currentChannel=this._currentChannel.channel()}}catch(e){this._currentChannel=Sv(pf(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?Sp:pb(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===Qm)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):Sp}close(e){let t;const n=this._inProgressFinalizer;let r;void 0!==n&&(t=fe(n,Lp(Tp((()=>this.clearInProgressFinalizer())))));const a=this.popAllFinalizers(e);void 0!==a&&(r=fe(a,Lp(Tp((()=>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 fe(Zp(hb(i)),pm(Zp(hb(t))),pm(Zp(hb(r))),$p((([[e,t],n])=>fe(e,po(t),po(n)))),jp,Qp((e=>Rp((()=>e)))))}doneSucceed(e){if(0===this._doneStack.length)return this._done=co(e),this._currentChannel=void 0,Yv();const t=this._doneStack[this._doneStack.length-1];if(t._tag===Qm)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=co(e),this._currentChannel=void 0,Yv();const r=pb(n.map((e=>e.finalizer)),co(e));this.storeInProgressFinalizer(r);const a=fe(r,Lp(Tp((()=>this.clearInProgressFinalizer()))),jp,Qp((()=>Tp((()=>this.doneSucceed(e))))));return Xv(a)}doneHalt(e){if(0===this._doneStack.length)return this._done=uo(e),this._currentChannel=void 0,Yv();const t=this._doneStack[this._doneStack.length-1];if(t._tag===Qm){this._doneStack.pop();try{this._currentChannel=t.onHalt(e)}catch(e){this._currentChannel=Sv(pf(e))}return}const n=this.popNextFinalizers();if(0===this._doneStack.length)return this._doneStack=n.reverse(),this._done=uo(e),this._currentChannel=void 0,Yv();const r=pb(n.map((e=>e.finalizer)),uo(e));this.storeInProgressFinalizer(r);const a=fe(r,Lp(Tp((()=>this.clearInProgressFinalizer()))),jp,Qp((()=>Tp((()=>this.doneHalt(e))))));return Xv(a)}processCancellation(){return this._currentChannel=void 0,this._done=this._cancelled,this._cancelled=void 0,Yv()}runBracketOut(e){const t=jp(cm(this.provide(e.acquire()),{onFailure:e=>Tp((()=>{this._currentChannel=Sv(e)})),onSuccess:t=>Tp((()=>{this.addFinalizer((n=>this.provide(e.finalizer(t,n)))),this._currentChannel=Gv(t)}))}));return Xv(t)}provide(e){return void 0===this._providedEnv?e:fe(e,Yp(this._providedEnv))}runEnsuring(e){this.addFinalizer(e.finalizer),this._currentChannel=e.channel}addFinalizer(e){this._doneStack.push(new rv(e))}runSubexecutor(){const e=this._activeSubexecutor;switch(e._tag){case tb:return this.pullFromChild(e.childExecutor,e.parentSubexecutor,e.onEmit,e);case nb:return this.pullFromUpstream(e);case rb:return this.drainChildExecutors(e);case ab:return this._emitted=e.value,this._activeSubexecutor=e.next,Zv()}}replaceSubexecutor(e){this._currentChannel=void 0,this._activeSubexecutor=e}finishWithExit(e){const t=lo(e,{onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)});return this._activeSubexecutor=void 0,void 0===t?Sp:(e=>Qv(e)?e.effect:Sp)(t)}finishSubexecutorWithCloseEffect(e,...t){this.addFinalizer((()=>fe(t,Dp((t=>fe(Tp((()=>t(e))),Qp((e=>void 0!==e?e:Sp)))),{discard:!0}))));const n=fe(e,lo({onFailure:e=>this.doneHalt(e),onSuccess:e=>this.doneSucceed(e)}));return this._activeSubexecutor=void 0,n}applyUpstreamPullStrategy(e,t,n){switch(n._tag){case av:{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 Jv(e,kn,(a=>{const i=n(a);switch(i._tag){case Ym:break;case"Close":this.finishWithDoneValue(e,t,i.value);break;case"Yield":{const e=t.enqueuePullFromChild(r);this.replaceSubexecutor(e);break}}this._activeSubexecutor=new sb(a,this._activeSubexecutor)}),lo({onFailure:n=>{const r=this.handleSubexecutorFailure(e,t,n);return void 0===r?void 0:eb(r)},onSuccess:n=>{this.finishWithDoneValue(e,t,n)}}))}finishWithDoneValue(e,t,n){const r=t;switch(r._tag){case nb:{const t=new ob(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(co(n)),this.replaceSubexecutor(t);break}case rb:{const t=new ub(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(co(n)),this.replaceSubexecutor(t);break}}}handleSubexecutorFailure(e,t,n){return this.finishSubexecutorWithCloseEffect(uo(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 ob(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 ib(t.childExecutor,n,t.onEmit))}performPullFromUpstream(e){return Jv(e.upstreamExecutor,(e=>{const t=void 0===this._closeLastSubstream?Sp:this._closeLastSubstream;return this._closeLastSubstream=void 0,fe(this._executeCloseLastSubstream(t),vm(e))}),(t=>{if(void 0!==this._closeLastSubstream){const n=this._closeLastSubstream;return this._closeLastSubstream=void 0,fe(this._executeCloseLastSubstream(n),$p((()=>{const n=new fb(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;const[r,a]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(db(t)));this._activeSubexecutor=new ib(n,new ob(e.upstreamExecutor,e.createChild,e.lastDone,a,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),ee(r)&&(this._activeSubexecutor=new sb(r.value,this._activeSubexecutor))})))}const n=new fb(e.createChild(t),this._providedEnv,this._executeCloseLastSubstream);n._input=this._input;const[r,a]=this.applyUpstreamPullStrategy(!1,e.activeChildExecutors,e.onPull(db(t)));this._activeSubexecutor=new ib(n,new ob(e.upstreamExecutor,e.createChild,e.lastDone,a,e.combineChildResults,e.combineWithChildResult,e.onPull,e.onEmit),e.onEmit),ee(r)&&(this._activeSubexecutor=new sb(r.value,this._activeSubexecutor))}),(t=>{if(e.activeChildExecutors.some((e=>void 0!==e))){const t=new ub(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,fe(this._executeCloseLastSubstream(e),$p((()=>this.replaceSubexecutor(t))))}return void this.replaceSubexecutor(t)}const n=this._closeLastSubstream,r=this.finishSubexecutorWithCloseEffect(fe(t,so((t=>e.combineWithChildResult(e.lastDone,t)))),(()=>n),(t=>e.upstreamExecutor.close(t)));return void 0===r?void 0:eb(r)}))}drainChildExecutors(e){if(0===e.activeChildExecutors.length){const t=this._closeLastSubstream;return void 0!==t&&this.addFinalizer((()=>kp(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(cb);return t._tag="NoUpstream",t.activeDownstreamCount=e,t})(n.reduce(((e,t)=>void 0!==t?e+1:e),0))));return this.replaceSubexecutor(new ub(e.upstreamExecutor,e.lastDone,r,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull)),ee(t)?(this._emitted=t.value,Zv()):void 0}const r=new ub(e.upstreamExecutor,e.lastDone,n,e.upstreamDone,e.combineChildResults,e.combineWithChildResult,e.onPull);this.replaceSubexecutor(new ib(t.childExecutor,r,t.onEmit))}}const hb=e=>void 0!==e?e:Sp,pb=(e,t)=>fe(Dp(e,(e=>Zp(e(t)))),$p((e=>fe(ao(e),Pe((()=>fo))))),Qp((e=>Rp((()=>e))))),mb=(e,t,n)=>{const r=[e],a=()=>{const e=r.pop();if(void 0===e||void 0===e.upstream)return Ap("Unexpected end of input for channel execution");const i=e.upstream.run();switch(i._tag){case Hv:{const i=e.onEmit(e.upstream.getEmit());return 0===r.length?void 0===i?Rp(t):fe(i,cm({onFailure:n,onSuccess:t})):void 0===i?Rp((()=>a())):fe(i,cm({onFailure:n,onSuccess:()=>a()}))}case Lv:{const i=e.onDone(e.upstream.getDone());return 0===r.length?void 0===i?Rp(t):fe(i,cm({onFailure:n,onSuccess:t})):void 0===i?Rp((()=>a())):fe(i,cm({onFailure:n,onSuccess:()=>a()}))}case Uv:return r.push(e),fe(e.onEffect(i.effect),Op((t=>Rp((()=>{const n=e.onDone(uo(t));return void 0===n?Sp:n})))),cm({onFailure:n,onSuccess:()=>a()}));case Vv:return r.push(e),r.push(i),Rp((()=>a()))}};return a()},vb=e(2,((e,t)=>_p((n=>yp([Qf(t,Ys),Xi(),Xi()]).pipe(Qp((([r,a,i])=>n(((t,n,r)=>Gp(Tp((()=>new fb(e,void 0,kn))),(e=>Rp((()=>bb(e.run(),e).pipe(Xp(t),vm(Ji(t)),mm(Ji(n)))))),((e,t)=>{const n=e.close(t);return void 0===n?Sp:im(n,(e=>Yf(r,xp(e))))})))(a,i,r)).pipe(Wp(t),Qp((e=>t.addFinalizer((t=>{const n=no(t)?yf(t.cause):void 0;return eo(a).pipe(Qp((t=>t?to(i,void 0).pipe(vm(ch(e)),vm(dh(e))):to(i,void 0).pipe(vm(n&&Qn(n)>0?hh(e,La(n)):fh(e)),vm(dh(e))))))})).pipe(vm(n(Ji(a)))))))))))))),bb=(e,t)=>{const n=e;switch(n._tag){case Uv:return fe(n.effect,Qp((()=>bb(t.run(),t))));case Hv:return bb(t.run(),t);case Lv:return Rp((()=>t.getDone()));case Vv:return mb(n,(()=>bb(t.run(),t)),xp)}},gb=Symbol.for("effect/ChannelMergeDecision"),yb={[gb]:{_R:e=>e,_E0:e=>e,_Z0:e=>e,_E:e=>e,_Z:e=>e}},Db=e=>{const t=Object.create(yb);return t._tag="Await",t.f=e,t},wb="BothRunning",Fb="LeftDone",Eb="RightDone",xb=Symbol.for("effect/ChannelMergeState"),Ab={[xb]:xb},Cb=(e,t)=>{const n=Object.create(Ab);return n._tag=wb,n.left=e,n.right=t,n},kb=e=>{const t=Object.create(Ab);return t._tag=Fb,t.f=e,t},Rb=e=>{const t=Object.create(Ab);return t._tag=Eb,t.f=e,t},Tb="BackPressure",Sb="BufferSliding",Mb=Symbol.for("effect/ChannelMergeStrategy"),Ob={[Mb]:Mb},Nb=()=>{const e=Object.create(Ob);return e._tag=Tb,e},Bb=()=>{const e=Object.create(Ob);return e._tag=Sb,e},Ib=e(2,((e,{onBackPressure:t,onBufferSliding:n})=>{switch(e._tag){case Tb:return t();case Sb:return n()}})),jb="Empty",_b="Emit",qb="Error",Pb="Done",$b=e=>({_tag:jb,notifyProducer:e}),zb=e=>({_tag:_b,notifyConsumers:e}),Gb=e=>({_tag:qb,cause:e}),Lb=e=>({_tag:Pb,done:e});class Hb{ref;constructor(e){this.ref=e}awaitRead(){return em(gs(this.ref,(e=>e._tag===jb?[Ji(e.notifyProducer),e]:[Sp,e])))}get close(){return Vp((e=>this.error(mf(e))))}done(e){return em(gs(this.ref,(t=>{switch(t._tag){case jb:return[Ji(t.notifyProducer),t];case _b:return[Dp(t.notifyConsumers,(t=>to(t,ge(e))),{discard:!0}),Lb(e)];case qb:case Pb:return[Bp,t]}})))}emit(e){return Qp(Xi(),(t=>em(gs(this.ref,(n=>{switch(n._tag){case jb:return[Ji(n.notifyProducer),n];case _b:{const r=n.notifyConsumers[0],a=n.notifyConsumers.slice(1);if(void 0!==r)return[to(r,we(e)),0===a.length?$b(t):zb(a)];throw new Error("Bug: Channel.SingleProducerAsyncInput.emit - Queue was empty! please report an issue at https://github.com/Effect-TS/effect/issues")}case qb:case Pb:return[Bp,n]}})))))}error(e){return em(gs(this.ref,(t=>{switch(t._tag){case jb:return[Ji(t.notifyProducer),t];case _b:return[Dp(t.notifyConsumers,(t=>Qi(t,e)),{discard:!0}),Gb(e)];case qb:case Pb:return[Bp,t]}})))}get take(){return this.takeWith((e=>uo(Ff(e,ge))),(e=>co(e)),(e=>oo(we(e))))}takeWith(e,t,n){return Qp(Xi(),(r=>em(gs(this.ref,(a=>{switch(a._tag){case jb:return[vm(to(a.notifyProducer,void 0),lm(Ji(r),{onFailure:e,onSuccess:Ga({onLeft:n,onRight:t})})),zb([r])];case _b:return[lm(Ji(r),{onFailure:e,onSuccess:Ga({onLeft:n,onRight:t})}),zb([...a.notifyConsumers,r])];case qb:return[kp(e(a.cause)),a];case Pb:return[kp(n(a.done)),a]}})))))}}const Ub=()=>fe(Xi(),Qp((e=>vs($b(e)))),$p((e=>new Hb(e)))),Vb=e(2,((e,t)=>Cv(e,t,(()=>{}),(()=>{})))),Kb=e=>{const t=jv({onInput:()=>t,onFailure:Sv,onDone:_v});return Bv(e,t)},Wb=e(2,((e,t)=>Rv(e,(()=>t)))),Yb=e=>ug(e.takeWith(Sv,(t=>Ov(Gv(t),(()=>Yb(e)))),_v)),Zb=()=>Iv({onInput:e=>Ov(Gv(e),(()=>Zb())),onFailure:Tv,onDone:qv}),Xb=e(2,((e,t)=>Ov(e,(e=>$v((()=>t(e))))))),Jb=e(2,((e,t)=>{const n=Iv({onInput:e=>Ov(Gv(t(e)),(()=>n)),onFailure:Tv,onDone:qv});return Bv(e,n)})),Qb=e(3,((e,t,n)=>lg((r=>Cp((function*(){const a=yield*Ub(),i=Yb(a),o=yield*Lm(n);yield*Yf(r,Um(o));const u=yield*Xi(),s=n===Number.POSITIVE_INFINITY?()=>kn:(yield*dm(n)).withPermits,l=yield*i.pipe(Bv(e),ig(r));yield*l.pipe(cm({onFailure:e=>Vm(o,xp(e)),onSuccess:Ga({onLeft:e=>vm(Ip(s(n)(Sp)),Pp(Vm(o,kp(ge(e))))),onRight:e=>Cp((function*(){const n=yield*Xi(),a=yield*Xi();yield*Vm(o,$p(Ji(n),we)),yield*to(a,void 0).pipe(vm(_p((n=>Zp(n(Ji(u))).pipe(nm(Zp(n(t(e)))),Qp(kn)))).pipe(im((e=>Qi(u,e))),Xp(n))),s(1),Wp(r)),yield*Ji(a)}))})}),om,Ip,Wp(r));const c=ug(lm(em(Km(o)),{onFailure:Sv,onSuccess:Ga({onLeft:qv,onRight:e=>Ov(Gv(e),(()=>c))})}));return kv(c,a)})))))),eg=e(3,((e,t,n)=>(e=>t=>(({bufferSize:e=16,concurrency:t,mergeStrategy:n=Nb()})=>(r,a)=>lg((i=>Cp((function*(){const o="unbounded"===t?Number.MAX_SAFE_INTEGER:t,u=yield*Ub(),s=Yb(u),l=yield*Lm(e);yield*Yf(i,Um(l));const c=yield*Hm();yield*Yf(i,Um(c));const d=yield*vs(Q()),f=yield*Xi(),h=(yield*dm(o)).withPermits,p=yield*ig(Bv(s,r),i);function m(e){return e.pipe(Qp(Ga({onLeft:e=>kp(J(e)),onRight:e=>qp(Vm(l,kp(we(e))),Q())})),um({until:e=>ee(e)}),Qp((e=>ys(d,w({onNone:()=>J(e.value),onSome:t=>J(a(t,e.value))})))),Op((e=>bf(e)?xp(e):Vm(l,xp(e)).pipe(vm(to(f,void 0)),Pp))))}yield*p.pipe(cm({onFailure:e=>Vm(l,xp(e)).pipe(vm(kp(!1))),onSuccess:Ga({onLeft:e=>rm(Ip(Ji(f)),Ip(h(o)(Sp)),{onSelfDone:(e,t)=>qp(fh(t),!1),onOtherDone:(t,n)=>vm(fh(n),bs(d).pipe(Qp(w({onNone:()=>Vm(l,kp(ge(e))),onSome:t=>Vm(l,kp(ge(a(t,e))))})),qp(!1)))}),onRight:e=>Ib(n,{onBackPressure:()=>Cp((function*(){const t=yield*Xi(),n=Up((t=>ig(Bv(s,e),t).pipe(Qp((e=>tm(Zp(m(e)),Zp(Ip(Ji(f)))))),Qp(kn))));return yield*to(t,void 0).pipe(vm(n),h(1),Wp(i)),yield*Ji(t),!(yield*eo(f))})),onBufferSliding:()=>Cp((function*(){const t=yield*Xi(),n=yield*Xi(),r=yield*(e=>e.size)(c);yield*Km(c).pipe(Qp((e=>to(e,void 0))),Jp((()=>r>=o))),yield*Vm(c,t);const a=Up((n=>ig(Bv(s,e),n).pipe(Qp((e=>Zp(m(e)).pipe(tm(Zp(Ip(Ji(f)))),tm(Zp(Ip(Ji(t))))))),Qp(kn))));return yield*to(n,void 0).pipe(vm(a),h(1),Wp(i)),yield*Ji(n),!(yield*eo(f))}))})})}),um({while:e=>e}),Wp(i));const v=fe(Km(l),em,lm({onFailure:Sv,onSuccess:Ga({onLeft:qv,onRight:e=>Ov(Gv(e),(()=>v))})}),ug);return kv(v,u)})))))(e)(t,At))(n)(Jb(e,t)))),tg=e(2,((e,t)=>lg((function(n){return Cp((function*(){const r=yield*Ub(),a=Yb(r),i=yield*ig(Bv(a,e),n),o=yield*ig(Bv(a,t.other),n);function u(e,t,r){return(a,i,o)=>{function u(e){const n=e;return"Done"===n._tag?kp(Nv(vm(fh(t),n.effect))):$p(ch(t),lo({onFailure:e=>Nv(n.f(uo(e))),onSuccess:Ga({onLeft:e=>Nv(n.f(co(e))),onRight:e=>hg(Gv(e),s(o(n.f)))})}))}return lo(e,{onFailure:e=>u(a(uo(e))),onSuccess:Ga({onLeft:e=>u(a(co(e))),onRight:e=>kp(Ov(Gv(e),(()=>Ov(Nv(Wp(Ip(r),n)),(e=>s(i(e,t)))))))})})}}function s(e){switch(e._tag){case wb:{const n=Ip(ph(e.left)),r=Ip(ph(e.right));return ug(rm(n,r,{onSelfDone:(n,r)=>vm(fh(r),u(n,e.right,i)(t.onSelfDone,Cb,(e=>kb(e)))),onOtherDone:(n,r)=>vm(fh(r),u(n,e.left,o)(t.onOtherDone,((e,t)=>Cb(t,e)),(e=>Rb(e))))}))}case Fb:return ug($p(Zp(o),lo({onFailure:t=>Nv(e.f(uo(t))),onSuccess:Ga({onLeft:t=>Nv(e.f(co(t))),onRight:t=>Ov(Gv(t),(()=>s(kb(e.f))))})})));case Eb:return ug($p(Zp(i),lo({onFailure:t=>Nv(e.f(uo(t))),onSuccess:Ga({onLeft:t=>Nv(e.f(co(t))),onRight:t=>Ov(Gv(t),(()=>s(Rb(e.f))))})})))}}return Nv(Fp((e=>{const t=Fp((t=>(t.transferChildren(e.scope()),Sp))),r=Ip(i).pipe(Lp(t),Wp(n)),a=Ip(o).pipe(Lp(t),Wp(n));return bm(r,a,((e,t)=>Cb(e,t)))}))).pipe(Ov(s),kv(r))}))})))),ng=e(2,((e,t)=>Pv((()=>{let n;const r=Iv({onInput:e=>Ov(Gv(e),(()=>r)),onFailure:e=>(n=mg(e),Sv(pf(n))),onDone:qv}),a=jv({onInput:e=>fe(Gv(e),Ov((()=>a))),onFailure:e=>vf(e)&&vg(e.defect)&&A(e.defect,n)?Tv(e.defect.error):Sv(e),onDone:qv});return Bv(Bv(Bv(e,r),t),a)})))),rg=e=>(e=>Up((t=>vb(e,t))))(Kb(e)),ag=e=>sg($p(Hp,(t=>Ov(Nv(e(t)),Gv)))),ig=e(2,((e,t)=>pm(Tp((()=>new fb(e,void 0,kn))),it(((e,t)=>ue(new Fh(e.getFiberRef(On),t.runtimeFlags,e.getFiberRefs()))))).pipe(am((([e,n])=>Zf(t,(t=>{const r=e.close(t);return void 0!==r?Yp(r,n):Sp})))),jp,$p((([e])=>Rp((()=>og(e.run(),e)))))))),og=(e,t)=>{const n=e;switch(n._tag){case Lv:return lo(t.getDone(),{onFailure:xp,onSuccess:e=>kp(ge(e))});case Hv:return kp(we(t.getEmit()));case Uv:return fe(n.effect,Qp((()=>og(t.run(),t))));case Vv:return mb(n,(()=>og(t.run(),t)),(e=>xp(e)))}},ug=e=>(e=>Ov(e,kn))(Nv(e)),sg=e=>{return Av((t=e,ug(_p((e=>$p(eh(),(n=>xv(im(e(Jf(t,n)),(e=>Xf(n,uo(e)))),((e,t)=>Xf(n,t))))))))),(e=>e),(e=>e));var t},lg=e=>Av(ag(e),(e=>e),(e=>e)),cg=e=>dg(0,e.length,e),dg=(e,t,n)=>e===t?zv:fe(Gv(fe(n,Ha(e))),Ov((()=>dg(e+1,t,n)))),fg=e((e=>Ev(e[1])),((e,t,n)=>n?.concurrent?tg(e,{other:t,onSelfDone:e=>Db((t=>Rp((()=>ho(e,t))))),onOtherDone:e=>Db((t=>Rp((()=>ho(t,e)))))}):Ov(e,(e=>Xb(t,(t=>[e,t])))))),hg=e((e=>Ev(e[1])),((e,t,n)=>n?.concurrent?Xb(fg(e,t,{concurrent:!0}),(e=>e[1])):Ov(e,(()=>t)))),pg=Symbol.for("effect/Channel/ChannelException"),mg=e=>({_tag:"ChannelException",[pg]:pg,error:e}),vg=e=>t(e,pg),bg=Symbol.for("effect/Sink"),gg={_A:e=>e,_In:e=>e,_L:e=>e,_E:e=>e,_R:e=>e};class yg{channel;[bg]=gg;constructor(e){this.channel=e}pipe(){return i(this,arguments)}}const Dg=new yg(Kb(Zb())),wg=e=>gp(e)?wg(new yg(Nv(e))):e.channel,Fg=Symbol.for("effect/Take"),Eg={_A:e=>e,_E:e=>e};class xg{exit;[Fg]=Eg;constructor(e){this.exit=e}pipe(){return i(this,arguments)}}const Ag=e=>new xg(co(e)),Cg=new xg(oo(Q())),kg=Symbol.for("effect/Stream"),Rg={_R:e=>e,_E:e=>e,_A:e=>e};class Tg{channel;[kg]=Rg;constructor(e){this.channel=e}pipe(){return i(this,arguments)}}const Sg=e=>t(e,kg)||gp(e),Mg=e(2,((e,t)=>new Tg(fe(_g(e),Wb(t))))),Og=e((e=>Sg(e[0])),((e,t,n)=>{const r=n?.bufferSize??16;return n?.switch?Ng(n?.concurrency,(()=>Bg(e,1,r,t)),(n=>Bg(e,n,r,t))):Ng(n?.concurrency,(()=>new Tg(Vb(_g(e),(e=>fe(e,Va((e=>_g(t(e)))),Ua(zv,((e,t)=>fe(e,hg(t))))))))),(()=>new Tg(fe(_g(e),Vb(cg),eg((e=>_g(t(e))),n)))))})),Ng=(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()}},Bg=e(4,((e,t,n,r)=>new Tg(fe(_g(e),Vb(cg),eg((e=>_g(r(e))),{concurrency:t,mergeStrategy:Bb(),bufferSize:n}))))),Ig=e((e=>Sg(e[0])),((e,t)=>Og(e,kn,t))),jg=e=>(e=>{const t=jv({onInput:e=>Ov(cg(e),(()=>t)),onFailure:Sv,onDone:()=>zv});return new Tg(fe(_g(e),Bv(t)))})((e=>{const t=jv({onInput:e=>((e,t)=>{const[n,r]=fe(e,Ka((e=>!ro(e)))),a=fe(fa(r),w({onNone:()=>t,onSome:lo({onFailure:e=>w(wf(e),{onNone:()=>zv,onSome:Sv}),onSuccess:()=>zv})}));return fe(Gv(fe(n,Wa((e=>ro(e)?J(e.value):Q())))),Ov((()=>a)))})(e,t),onFailure:e=>Sv(e),onDone:()=>zv});return new Tg(fe(_g(e),Bv(t)))})(fe(e,zg((e=>e.exit))))),_g=e=>{if("channel"in e)return e.channel;if(gp(e))return _g(qg(e));throw new TypeError("Expected a Stream.")},qg=e=>fe(e,zp(J),Pg),Pg=e=>new Tg(ug(sm(e,{onFailure:w({onNone:()=>zv,onSome:Tv}),onSuccess:e=>Gv(S(e))}))),$g=(e,t)=>fe(Wm(e,1,t?.maxChunkSize??4096),Op((t=>fe((e=>e.isShutdown)(e),Qp((e=>e&&bf(t)?Ep(Q()):(e=>zp(xp(e),J))(t)))))),Hg,t?.shutdown?Mg(Um(e)):kn),zg=e(2,((e,t)=>new Tg(fe(_g(e),Jb(Va(t)))))),Gg=e(2,((e,t)=>{const n=e=>{const r=e.next();return r.done?jv({onInput:e=>n(e[Symbol.iterator]()),onFailure:Sv,onDone:_v}):ug($p(t(r.value),(t=>Ov(Gv(S(t)),(()=>n(e))))))};return new Tg(fe(_g(e),Bv(Pv((()=>n(N()[Symbol.iterator]()))))))})),Lg=e(3,((e,t,n)=>new Tg(fe(_g(e),Vb(cg),Qb(n,t),Jb(S))))),Hg=e=>Vg(e,(e=>fe($p(e,(t=>J([t,e]))),Mp(w({onNone:()=>kp(Q()),onSome:Ep}))))),Ug=e(2,((e,t)=>_g(e).pipe(ng(wg(t)),rg))),Vg=(e,t)=>{return n=()=>{const n=e=>ug($p(t(e),w({onNone:()=>zv,onSome:([e,t])=>Ov(Gv(e),(()=>n(t)))})));return new Tg(n(e))},new Tg(Pv((()=>_g(n()))));var n},Kg=Symbol.for("effect/GroupBy"),Wg={_R:e=>e,_E:e=>e,_K:e=>e,_V:e=>e},Yg=e((e=>t(e[0],Kg)),((e,t,n)=>Og(e.grouped,(([e,n])=>t(e,jg($g(n,{shutdown:!0})))),{concurrency:"unbounded",bufferSize:n?.bufferSize??16}))),Zg=e=>({[Kg]:Wg,pipe(){return i(this,arguments)},grouped:e}),Xg=e((e=>"function"!=typeof e[0]),((e,t,n)=>n?.key?Yg(Jg(e,n.key,{bufferSize:n.bufferSize}),((e,n)=>Gg(n,t))):Ng(n?.concurrency,(()=>Gg(e,t)),(r=>n?.unordered?Og(e,(e=>qg(t(e))),{concurrency:r}):Lg(e,r,t))))),Jg=e((e=>"function"!=typeof e[0]),((e,t,n)=>{const r=(e,a)=>jv({onInput:i=>Ov(Nv(Dp(Qg(i,t),(([t,r])=>{const i=e.get(t);return void 0===i?fe(Lm(n?.bufferSize??16),Qp((n=>fe(Tp((()=>{e.set(t,n)})),vm(Vm(a,new xg(co(S([t,n]))))),vm(fe(Vm(n,Ag(r)),Np((e=>gf(e)?J(Sp):Q())))))))):Np(Vm(i,Ag(r)),(e=>gf(e)?J(Sp):Q()))}),{discard:!0})),(()=>r(e,a))),onFailure:e=>Nv(Vm(a,(e=>new xg(uo(fe(e,Ff(J)))))(e))),onDone:()=>Nv(fe(Dp(e.entries(),(([e,t])=>fe(Vm(t,Cg),Np((e=>gf(e)?J(Sp):Q())))),{discard:!0}),vm(Vm(a,Cg))))});return Zg((e=>Ig((e=>new Tg(ag((t=>e(t).pipe($p(S))))))((t=>e(t)))))((t=>Cp((function*(){const n=new Map,a=yield*Hm();return yield*Yf(t,Um(a)),yield*_g(e).pipe(Bv(r(n,a)),Kb,vb(t),Wp(t),qp(jg($g(a,{shutdown:!0}))))})))))})),Qg=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 $t(n.map((e=>[e[0],$t(e[1])])))})),ey=$g,ty=Xg;var ny,ry,ay={exports:{}},iy=(ny||(ny=1,ry=ay,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.12.1","object"===a(ry)&&ry.exports&&"function"==typeof e.toString&&(i.source="("+e.toString()+')(typeof window === "object" ? window : this);',ry.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(){var e,t,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function i(n,r,a,i){var s=Object.create((r&&r.prototype instanceof u?r:u).prototype);return C(s,"_invoke",function(n,r,a){var i,u,s,l=0,c=a||[],d=!1,f={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return i=t,u=0,s=e,f.n=n,o}};function h(n,r){for(u=n,s=r,t=0;!d&&l&&!a&&t<c.length;t++){var a,i=c[t],h=f.p,p=i[2];n>3?(a=p===r)&&(s=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=e):i[0]<=h&&((a=n<2&&h<i[1])?(u=0,f.v=r,f.n=i[1]):h<p&&(a=n<3||i[0]>r||r>p)&&(i[4]=n,i[5]=r,f.n=p,u=0))}if(a||n>1)return o;throw d=!0,r}return function(a,c,p){if(l>1)throw TypeError("Generator is already running");for(d&&1===c&&h(c,p),u=c,s=p;(t=u<2?e:s)||!d;){i||(u?u<3?(u>1&&(f.n=-1),h(u,s)):f.n=s:f.v=s);try{if(l=2,i){if(u||(a="next"),t=i[a]){if(!(t=t.call(i,s)))throw TypeError("iterator result is not an object");if(!t.done)return t;s=t.value,u<2&&(u=0)}else 1===u&&(t=i.return)&&t.call(i),u<2&&(s=TypeError("The iterator does not provide a '"+a+"' method"),u=1);i=e}else if((t=(d=f.n<0)?s:n.call(r,f))!==o)break}catch(t){i=e,u=1,s=t}finally{l=1}}return{value:t,done:d}}}(n,a,i),!0),s}var o={};function u(){}function s(){}function l(){}t=Object.getPrototypeOf;var c=[][r]?t(t([][r]())):(C(t={},r,(function(){return this})),t),d=l.prototype=u.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,C(e,a,"GeneratorFunction")),e.prototype=Object.create(d),e}return s.prototype=l,C(d,"constructor",l),C(l,"constructor",s),s.displayName="GeneratorFunction",C(l,a,"GeneratorFunction"),C(d),C(d,a,"Generator"),C(d,r,(function(){return this})),C(d,"toString",(function(){return"[object Generator]"})),(A=function(){return{w:i,m:f}})()}function C(e,t,n,r){var a=Object.defineProperty;C=function(e,t,n,r){function i(t,n){C(e,t,(function(e){return this._invoke(t,n,e)}))}t?a?a(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(i("next",0),i("throw",1),i("return",2))},C(e,t,n,r)}function k(e,t,n,r,a,i,o){try{var u=e[i](o),s=u.value}catch(e){return void n(e)}u.done?t(s):Promise.resolve(s).then(r,a)}function R(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function o(e){k(i,r,a,o,u,"next",e)}function u(e){k(i,r,a,o,u,"throw",e)}o(void 0)}))}}function T(e){var t="function"==typeof Map?new Map:void 0;return T=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 M(e,arguments,I(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_(n,e)},T(e)}function S(e,t,n){return(t=Q(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function M(e,t,n){if(B())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(e.bind.apply(e,r));return n&&_(a,n.prototype),a}function O(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 N(e,t,n){return t=I(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,B()?Reflect.construct(t,n||[],I(e).constructor):t.apply(e,n))}function B(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(B=function(){return!!e})()}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function j(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&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}function q(){return q=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},q.apply(null,arguments)}function P(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||$(e)||te(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 z(e,t,n){L(e,t),t.set(e,n)}function G(e,t){L(e,t),t.add(e)}function L(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function H(e,t){return e.get(V(e,t))}function U(e,t,n){return e.set(V(e,t),n),n}function V(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 K(e,t){return Y(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)||te(e,t)||W()}function W(){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 Y(e){if(Array.isArray(e))return e}function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X(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,Q(r.key),r)}}function J(e,t,n){return t&&X(e.prototype,t),n&&X(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Q(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 ee(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=te(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 te(e,t){if(e){if("string"==typeof e)return ne(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)?ne(e,t):void 0}}function ne(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,C,k,B,I,_,L,X,Q,re,ae){var ie=Object.create,oe=Object.defineProperty,ue=Object.getPrototypeOf,se=Object.prototype.hasOwnProperty,le=Object.getOwnPropertyNames,ce=Object.getOwnPropertyDescriptor,de=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},fe=function(e,t){for(var n in t)oe(e,n,{get:t[n],enumerable:!0})},he=function(e){return function(e,t,n){if(t&&"object"===a(t)||"function"==typeof t){var r,i=ee(le(t));try{var o=function(){var a=r.value;se.call(e,a)||"default"===a||oe(e,a,{get:function(){return t[a]},enumerable:!(n=ce(t,a))||n.enumerable})};for(i.s();!(r=i.n()).done;)o()}catch(e){i.e(e)}finally{i.f()}}return e}((t=oe(null!=e?ie(ue(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),oe(t,"__esModule",{value:!0})),e);var t},pe=function(e,t,n){return function(e,t,n){t in e?oe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==a(t)?t+"":t,n),n},me=de((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 _(a,r,i,n._result)}))}else I(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,T=2;function S(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===T?B(e,t._result):I(t,void 0,(function(t){return M(e,t)}),(function(t){return B(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,B(e,t))}))}catch(e){return e}}(n,t);!r&&a&&(r=!0,B(e,a))}),e)}(t,n,r):N(t,n)}function M(e,t){if(e===t)B(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 B(e,t)}S(e,t,n)}var r,i}function O(e){e._onerror&&e._onerror(e._result),j(e)}function N(e,t){e._state===k&&(e._result=t,e._state=R,0!==e._subscribers.length&&l(j,e))}function B(e,t){e._state===k&&(e._state=T,e._result=t,l(O,e))}function I(e,t,n,r){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+R]=n,a[i+T]=r,0===i&&e._state&&l(j,e)}function j(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])?_(n,r,a,i):a(i);e._subscribers.length=0}}function _(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 B(n,new TypeError("A promises callback cannot return that same promise."))}else o=a;n._state!==k||(i&&s?M(n,o):!1===s?B(n,u):t===R?N(n,o):t===T&&B(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))):B(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?B(u,i):S(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===T?B(r,n):this._result[t]=n),0===this._remaining&&N(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;I(e,void 0,(function(e){return n._settledAt(R,t,e)}),(function(e){return n._settledAt(T,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){B(e,t)}))}catch(t){B(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 B(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()})),ve=de((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 T(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function S(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 B(e){return M(e,11,52)}function I(e){return O(e,8,23)}function j(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,T,S),v=i(4,j,I),b=i(8,B,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}()})),be=de((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)})),ge=de((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")()})),ye=de((function(e,t){t.exports=function(e){try{return!!e()}catch(e){return!0}}})),De=de((function(e,t){var n=ye();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),we=de((function(e,t){var n=De(),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)})})),Fe=de((function(e,t){var n=De(),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)}}})),Ee=de((function(e,t){var n=Fe(),r=n({}.toString),a=n("".slice);t.exports=function(e){return a(r(e),8,-1)}})),xe=de((function(e,t){var n=Ee(),r=Fe();t.exports=function(e){if("Function"===n(e))return r(e)}})),Ae=de((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}})),Ce=de((function(e,t){var n=ye();t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),ke=de((function(e,t){var n=De(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),Re=de((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})),Te=de((function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),Se=de((function(e,t){var n=Fe(),r=ye(),a=Ee(),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})),Me=de((function(e,t){t.exports=function(e){return null==e}})),Oe=de((function(e,t){var n=Me(),r=TypeError;t.exports=function(e){if(n(e))throw new r("Can't call method on "+e);return e}})),Ne=de((function(e,t){var n=Se(),r=Oe();t.exports=function(e){return n(r(e))}})),Be=de((function(e,t){var n=Ae();t.exports=function(e){return"object"==a(e)?null!==e:n(e)}})),Ie=de((function(e,t){t.exports={}})),je=de((function(e,t){var n=Ie(),r=ge(),a=Ae(),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]}})),_e=de((function(e,t){var n=Fe();t.exports=n({}.isPrototypeOf)})),qe=de((function(e,t){var n=ge().navigator,r=n&&n.userAgent;t.exports=r?String(r):""})),Pe=de((function(e,t){var n,r,a=ge(),i=qe(),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})),$e=de((function(e,t){var n=Pe(),r=ye(),a=ge().String;t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),ze=de((function(e,t){var n=$e();t.exports=n&&!Symbol.sham&&"symbol"==a(Symbol.iterator)})),Ge=de((function(e,t){var n=je(),r=Ae(),i=_e(),o=ze(),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))}})),Le=de((function(e,t){var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}})),He=de((function(e,t){var n=Ae(),r=Le(),a=TypeError;t.exports=function(e){if(n(e))return e;throw new a(r(e)+" is not a function")}})),Ue=de((function(e,t){var n=He(),r=Me();t.exports=function(e,t){var a=e[t];return r(a)?void 0:n(a)}})),Ve=de((function(e,t){var n=ke(),r=Ae(),a=Be(),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")}})),Ke=de((function(e,t){t.exports=!0})),We=de((function(e,t){var n=ge(),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}})),Ye=de((function(e,t){var n=Ke(),r=ge(),a=We(),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"})})),Ze=de((function(e,t){var n=Ye();t.exports=function(e,t){return n[e]||(n[e]=t||{})}})),Xe=de((function(e,t){var n=Oe(),r=Object;t.exports=function(e){return r(n(e))}})),Je=de((function(e,t){var n=Fe(),r=Xe(),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(r(e),t)}})),Qe=de((function(e,t){var n=Fe(),r=0,a=Math.random(),i=n(1.1.toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+i(++r+a,36)}})),et=de((function(e,t){var n=ge(),r=Ze(),a=Je(),i=Qe(),o=$e(),u=ze(),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]}})),tt=de((function(e,t){var n=ke(),r=Be(),a=Ge(),i=Ue(),o=Ve(),u=et(),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)}})),nt=de((function(e,t){var n=tt(),r=Ge();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),rt=de((function(e,t){var n=ge(),r=Be(),a=n.document,i=r(a)&&r(a.createElement);t.exports=function(e){return i?a.createElement(e):{}}})),at=de((function(e,t){var n=Ce(),r=ye(),a=rt();t.exports=!n&&!r((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),it=de((function(e){var t=Ce(),n=ke(),r=Re(),a=Te(),i=Ne(),o=nt(),u=Je(),s=at(),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])}})),ot=de((function(e,t){var n=ye(),r=Ae(),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})),ut=de((function(e,t){var n=xe(),r=He(),a=De(),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)}}})),st=de((function(e,t){var n=Ce(),r=ye();t.exports=n&&r((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),lt=de((function(e,t){var n=Be(),r=String,a=TypeError;t.exports=function(e){if(n(e))return e;throw new a(r(e)+" is not an object")}})),ct=de((function(e){var t=Ce(),n=at(),r=st(),a=lt(),i=nt(),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}})),dt=de((function(e,t){var n=Ce(),r=ct(),a=Te();t.exports=n?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}})),ft=de((function(e,t){var n=ge(),r=we(),i=xe(),o=Ae(),u=it().f,s=ot(),l=Ie(),c=ut(),d=dt(),f=Je();Ye();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)))}})),ht=de((function(){ft()({target:"Object",stat:!0},{hasOwn:Je()})})),pt=de((function(e,t){ht();var n=Ie();t.exports=n.Object.hasOwn})),mt=de((function(e,t){var n=pt();t.exports=n})),vt=de((function(e,t){var n=mt();t.exports=n})),bt=de((function(e,t){var n=Ze(),r=Qe(),a=n("keys");t.exports=function(e){return a[e]||(a[e]=r(e))}})),gt=de((function(e,t){var n=ye();t.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))})),yt=de((function(e,t){var n=Je(),r=Ae(),a=Xe(),i=bt(),o=gt(),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}})),Dt=de((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)}})),wt=de((function(e,t){var n=Dt();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}})),Ft=de((function(e,t){var n=wt(),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)}})),Et=de((function(e,t){var n=wt(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),xt=de((function(e,t){var n=Et();t.exports=function(e){return n(e.length)}})),At=de((function(e,t){var n=Ne(),r=Ft(),a=xt(),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)}})),Ct=de((function(e,t){t.exports={}})),kt=de((function(e,t){var n=Fe(),r=Je(),a=Ne(),i=At().indexOf,o=Ct(),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}})),Rt=de((function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),Tt=de((function(e,t){var n=kt(),r=Rt();t.exports=Object.keys||function(e){return n(e,r)}})),St=de((function(e,t){var n=Ce(),r=ye(),a=Fe(),i=yt(),o=Tt(),u=Ne(),s=a(Re().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)}})),Mt=de((function(){var e=ft(),t=St().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})})),Ot=de((function(e,t){Mt();var n=Ie();t.exports=n.Object.values})),Nt=de((function(e,t){var n=Ot();t.exports=n})),Bt=de((function(e,t){var n=Nt();t.exports=n})),It=de((function(e,t){var n={};n[et()("toStringTag")]="z",t.exports="[object z]"===String(n)})),jt=de((function(e,t){var n=It(),r=Ae(),a=Ee(),i=et()("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}})),_t=de((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)}})),qt=de((function(e,t){var n=Fe(),r=wt(),a=_t(),i=Oe(),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)}})),Pt=de((function(e,t){var n=ge(),r=Ae(),a=n.WeakMap;t.exports=r(a)&&/native code/.test(String(a))})),$t=de((function(e,t){var n,r,a,i,o,u=Pt(),s=ge(),l=Be(),c=dt(),d=Je(),f=Ye(),h=bt(),p=Ct(),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}}}})),zt=de((function(e,t){var n=Ce(),r=Je(),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}})),Gt=de((function(e){var t=Ce(),n=st(),r=ct(),a=lt(),i=Ne(),o=Tt();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}})),Lt=de((function(e,t){var n=je();t.exports=n("document","documentElement")})),Ht=de((function(e,t){var n,a=lt(),i=Gt(),o=Rt(),u=Ct(),s=Lt(),l=rt(),c=bt(),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)}})),Ut=de((function(e,t){var n=dt();t.exports=function(e,t,r,a){return a&&a.enumerable?e[t]=r:n(e,t,r),e}})),Vt=de((function(e,t){var n,r,a,i=ye(),o=Ae(),u=Be(),s=Ht(),l=yt(),c=Ut(),d=et(),f=Ke(),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}})),Kt=de((function(e,t){var n=It(),r=jt();t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}})),Wt=de((function(e,t){var n=It(),r=ct().f,a=dt(),i=Je(),o=Kt(),u=et()("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))}})),Yt=de((function(e,t){t.exports={}})),Zt=de((function(e,t){var n=Vt().IteratorPrototype,r=Ht(),a=Te(),i=Wt(),o=Yt(),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}})),Xt=de((function(e,t){var n=Fe(),r=He();t.exports=function(e,t,a){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}})),Jt=de((function(e,t){var n=Be();t.exports=function(e){return n(e)||null===e}})),Qt=de((function(e,t){var n=Jt(),r=String,a=TypeError;t.exports=function(e){if(n(e))return e;throw new a("Can't set "+r(e)+" as a prototype")}})),en=de((function(e,t){var n=Xt(),r=Be(),a=Oe(),i=Qt();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)})),tn=de((function(e,t){var n=ft(),r=ke(),a=Ke(),i=zt(),o=Ae(),u=Zt(),s=yt(),l=en(),c=Wt(),d=dt(),f=Ut(),h=et(),p=Yt(),m=Vt(),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,T,S=function(e){if(e===m&&I)return I;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,B=N[D]||N["@@iterator"]||m&&N[m],I=!y&&B||S(m),j="Array"===t&&N.entries||B;if(j&&(k=s(j.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&&B&&B.name!==F&&(!a&&b?d(N,"name",F):(O=!0,I=function(){return r(B,this)})),m)if(R={values:S(F),keys:A?I:S(w),entries:S(E)},C)for(T in R)(y||O||!(T in N))&&f(N,T,R[T]);else n({target:t,proto:!0,forced:y||O},R);return a&&!C||N[D]===I||f(N,D,I,{name:m}),p[t]=I,R}})),nn=de((function(e,t){t.exports=function(e,t){return{value:e,done:t}}})),rn=de((function(){var e=qt().charAt,t=_t(),n=$t(),r=tn(),a=nn(),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))}))})),an=de((function(e,t){var n=ke(),r=lt(),a=Ue();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}})),on=de((function(e,t){var n=lt(),r=an();t.exports=function(e,t,a,i){try{return i?t(n(a)[0],a[1]):t(a)}catch(t){r(e,"throw",t)}}})),un=de((function(e,t){var n=et(),r=Yt(),a=n("iterator"),i=Array.prototype;t.exports=function(e){return void 0!==e&&(r.Array===e||i[a]===e)}})),sn=de((function(e,t){var n=Fe(),r=Ae(),a=Ye(),i=n(Function.toString);r(a.inspectSource)||(a.inspectSource=function(e){return i(e)}),t.exports=a.inspectSource})),ln=de((function(e,t){var n=Fe(),r=ye(),a=Ae(),i=jt(),o=je(),u=sn(),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})),cn=de((function(e,t){var n=Ce(),r=ct(),a=Te();t.exports=function(e,t,i){n?r.f(e,t,a(0,i)):e[t]=i}})),dn=de((function(e,t){var n=Ee();t.exports=Array.isArray||function(e){return"Array"===n(e)}})),fn=de((function(e,t){var n=Ce(),r=dn(),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}})),hn=de((function(e,t){var n=jt(),r=Ue(),a=Me(),i=Yt(),o=et()("iterator");t.exports=function(e){if(!a(e))return r(e,o)||r(e,"@@iterator")||i[n(e)]}})),pn=de((function(e,t){var n=ke(),r=He(),a=lt(),i=Le(),o=hn(),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")}})),mn=de((function(e,t){var n=ut(),r=ke(),a=Xe(),i=on(),o=un(),u=ln(),s=xt(),l=cn(),c=fn(),d=pn(),f=hn(),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}})),vn=de((function(e,t){var n,r,a=et()("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}})),bn=de((function(){var e=ft(),t=mn();e({target:"Array",stat:!0,forced:!vn()((function(e){Array.from(e)}))},{from:t})})),gn=de((function(e,t){rn(),bn();var n=Ie();t.exports=n.Array.from})),yn=de((function(e,t){var n=gn();t.exports=n})),Dn=de((function(e,t){var n=yn();t.exports=n})),wn=de((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","\\":"\\",'"':'"'}})),Fn=de((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=wn();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}()}})),En=de((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=wn();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}})),xn=de((function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Fn(),n=En(),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})),An=de((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={"&":"&#38;","<":"&#60;",">":"&#62;",'"':"&#34;","'":"&#39;","/":"&#47;"},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)}}()})),Cn=de((function(e,t){t.exports=function(){}})),kn=de((function(e,t){var n=Cn()();t.exports=function(e){return e!==n&&null!==e}})),Rn=de((function(e,t){var n=kn(),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}})),Tn=de((function(e,t){t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}})),Sn=de((function(e,t){t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}})),Mn=de((function(e,t){t.exports=Tn()()?Math.sign:Sn()})),On=de((function(e,t){var n=Mn(),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}})),Nn=de((function(e,t){var n=On(),r=Math.max;t.exports=function(e){return r(0,n(e))}})),Bn=de((function(e,t){var n=Nn();t.exports=function(e,t,r){var a;return isNaN(e)?(a=t)>=0?r&&a?a-1:a:1:!1!==e&&n(e)}})),In=de((function(e,t){t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),jn=de((function(e,t){var n=kn();t.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}})),_n=de((function(e,t){var n=In(),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}))}}})),qn=de((function(e,t){t.exports=_n()("forEach")})),Pn=de((function(){})),$n=de((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")}})),zn=de((function(e,t){t.exports=function(){try{return!0}catch(e){return!1}}})),Gn=de((function(e,t){var n=kn(),r=Object.keys;t.exports=function(e){return r(n(e)?Object(e):e)}})),Ln=de((function(e,t){t.exports=zn()()?Object.keys:Gn()})),Hn=de((function(e,t){var n=Ln(),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}})),Un=de((function(e,t){t.exports=$n()()?Object.assign:Hn()})),Vn=de((function(e,t){var n=kn(),r={function:!0,object:!0};t.exports=function(e){return n(e)&&r[a(e)]||!1}})),Kn=de((function(e,t){var n=Un(),r=Vn(),a=kn(),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}})),Wn=de((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}})),Yn=de((function(e,t){var n,r,a,i,o,u=Nn(),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=Wn(),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})})),Zn=de((function(e,t){t.exports=function(e){return null!=e}})),Xn=de((function(e,t){var n=Zn(),r={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!n(e)&&hasOwnProperty.call(r,a(e))}})),Jn=de((function(e,t){var n=Xn();t.exports=function(e){if(!n(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),Qn=de((function(e,t){var n=Jn();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)}})),er=de((function(e,t){var n=Qn(),r=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!n(e)&&!r.test(a.call(e))}})),tr=de((function(e,t){var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&!0===n.contains("dwa")&&!1===n.contains("foo")}})),nr=de((function(e,t){var n=String.prototype.indexOf;t.exports=function(e){return n.call(this,e,arguments[1])>-1}})),rr=de((function(e,t){t.exports=tr()()?String.prototype.contains:nr()})),ar=de((function(e,t){var n=Zn(),r=er(),a=Un(),i=Rn(),o=rr(),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}})),ir=de((function(e,t){var n,r,i,o,u,s,l,c=ar(),d=In(),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})),or=de((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]))}})),ur=de((function(e,t){t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":a(globalThis))&&!!globalThis&&globalThis.Array===Array}})),sr=de((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__}}()})),lr=de((function(e,t){t.exports=ur()()?globalThis:sr()})),cr=de((function(e,t){var n=lr(),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)])}})),dr=de((function(e,t){t.exports=function(e){return!!e&&("symbol"===a(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}})),fr=de((function(e,t){var n=dr();t.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}})),hr=de((function(e,t){var n=ar(),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}})),pr=de((function(e,t){var n=ar(),r=lr().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"))})}})),mr=de((function(e,t){var n=ar(),r=fr(),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}))})}})),vr=de((function(e,t){var n,r,i,o=ar(),u=fr(),s=lr().Symbol,l=hr(),c=pr(),d=mr(),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]))})),br=de((function(e,t){t.exports=cr()()?lr().Symbol:vr()})),gr=de((function(e,t){var n=Object.prototype.toString,r=n.call(function(){return arguments}());t.exports=function(e){return n.call(e)===r}})),yr=de((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))}})),Dr=de((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}})),wr=de((function(e,t){var n=br().iterator,r=gr(),a=yr(),i=Nn(),o=In(),u=jn(),s=kn(),l=Dr(),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}})),Fr=de((function(e,t){t.exports=or()()?Array.from:wr()})),Er=de((function(e,t){var n=Fr(),r=Array.isArray;t.exports=function(e){return r(e)?e:n(e)}})),xr=de((function(e,t){var n,r=Er(),a=kn(),i=In(),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)}})),Ar=de((function(e,t){var n=In();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))}})),Cr=de((function(e,t){var n=Kn(),r=Yn(),a=ar(),i=ir().methods,o=xr(),u=Ar(),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,T=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(T,r))return x&&p.emit("get",r,i,this),T[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(T,r))throw n("Circular invocation","CIRCULAR_INVOCATION");return T[r]=a,A&&p.emit("set",r,null,a),a}),m):0===t?function(){var t;if(hasOwnProperty.call(T,"data"))return x&&p.emit("get","data",arguments,this),T.data;if(t=arguments.length?s.call(e,this,arguments):l.call(e,this),hasOwnProperty.call(T,"data"))throw n("Circular invocation","CIRCULAR_INVOCATION");return T.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(T,a))return x&&p.emit("get",a,i,this),T[a];if(r=1===i.length?l.call(e,this,i[0]):s.call(e,this,i),hasOwnProperty.call(T,a))throw n("Circular invocation","CIRCULAR_INVOCATION");return T[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(T,e)},delete:function(e){var t;hasOwnProperty.call(T,e)&&(g&&g(e),t=T[e],delete T[e],C&&p.emit("delete",e,t))},clear:function(){var e=T;y&&y(),T=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?T.data:(R&&(n=R(n)),e=v?v(n):String(n[0]),T[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}})),kr=de((function(e,t){var n=In(),r=qn(),a=Pn(),i=Cr(),o=Bn();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)}})),Rr=de((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}})),Tr=de((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""}}})),Sr=de((function(e,t){t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}})),Mr=de((function(e,t){t.exports=function(e){return e!=e}})),Or=de((function(e,t){t.exports=Sr()()?Number.isNaN:Mr()})),Nr=de((function(e,t){var n=Or(),r=Nn(),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}})),Br=de((function(e,t){var n=Nr(),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)}}}})),Ir=de((function(e,t){var n=Nr();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=de((function(e,t){var n=Nr(),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)}}}})),_r=de((function(e,t){var n=In(),r=qn(),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}})),qr=de((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}()})),Pr=de((function(){var e=Fr(),t=_r(),n=Wn(),r=Yn(),a=qr(),i=Array.prototype.slice,o=Function.prototype.apply,u=Object.create;Pn().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)})))}))}})),$r=de((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}})),zr=de((function(e,t){t.exports=function(e){return"function"==typeof e}})),Gr=de((function(e,t){var n=zr();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),Lr=de((function(e,t){var n=jn(),r=Gr();t.exports=function(e){return r(n(e))}})),Hr=de((function(e,t){var n=zr();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),Ur=de((function(e,t){var n=Hr(),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)}))}})),Vr=de((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})),Kr=de((function(){var e=_r(),t=$r(),n=Lr(),r=Ur(),a=Vr(),i=qr(),o=Object.create,u=t("then","then:finally","done","done:finally");Pn().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]})))}))}})),Wr=de((function(){var e=In(),t=qn(),n=Pn(),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)}))}))}})),Yr=de((function(e,t){t.exports=2147483647})),Zr=de((function(e,t){var n=Nn(),r=Yr();t.exports=function(e){if((e=n(e))>r)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),Xr=de((function(){var e=Fr(),t=qn(),n=qr(),r=Vr(),a=Zr(),i=Pn(),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={})})))}})),Jr=de((function(e,t){var n=Nn(),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}}}})),Qr=de((function(){var e=Nn(),t=Jr(),n=Pn();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))}})),ea=de((function(){var e=ar(),t=Pn(),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}))})}})),ta=de((function(e,t){var n=Rn(),r=Bn(),a=kr();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=Rr():t>1&&(i.normalizer=Tr()(t)):i.normalizer=!1===t?Br()():1===t?Ir()():jr()(t)),i.async&&Pr(),i.promise&&Kr(),i.dispose&&Wr(),i.maxAge&&Xr(),i.max&&Qr(),i.refCounter&&ea(),a(e,i)}})),na={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;na[t]=n,na[t+"_PRIO"]=r,na[t+"_GROUP"]=a,na.results[r]=n,na.resultGroups[r]=a,na.resultGroupMap[n]=a})),Object.freeze(na.results),Object.freeze(na.resultGroups),Object.freeze(na.resultGroupMap),Object.freeze(na);var ra,aa=na;function ia(){if(ra)ra.apply(void 0,arguments);else if("object"===("undefined"==typeof console?"undefined":a(console))&&console.log){var e;(e=console).log.apply(e,arguments)}}var oa=/[\t\r\n\f]/g,ua=J((function e(){Z(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(oa," ").indexOf(n)>=0}}]),sa={};fe(sa,{DqElement:function(){return ms},RuleError:function(){return Bm},aggregate:function(){return la},aggregateChecks:function(){return ma},aggregateNodeResults:function(){return ba},aggregateResult:function(){return ya},areStylesSet:function(){return Da},assert:function(){return wa},checkHelper:function(){return vs},clone:function(){return bs},closest:function(){return Ns},collectResultsFromFrames:function(){return Tl},contains:function(){return Sl},convertSelector:function(){return Ss},cssParser:function(){return Ds},deepMerge:function(){return Ml},escapeSelector:function(){return Ea},extendMetaData:function(){return Ol},filterHtmlAttrs:function(){return Rm},finalizeRuleResult:function(){return va},findBy:function(){return Cl},getAllChecks:function(){return Al},getAncestry:function(){return is},getBaseLang:function(){return cp},getCheckMessage:function(){return yp},getCheckOption:function(){return Dp},getElementInternals:function(){return Hp},getElementSource:function(){return ds},getEnvironmentData:function(){return wp},getFlattenedTree:function(){return op},getFrameContexts:function(){return Np},getFriendlyUriEnd:function(){return ka},getNodeAttributes:function(){return Ra},getNodeFromTree:function(){return cs},getPreloadConfig:function(){return Em},getRootNode:function(){return zl},getRule:function(){return Bp},getScroll:function(){return jp},getScrollState:function(){return qp},getSelector:function(){return ns},getSelectorData:function(){return Zu},getShadowSelector:function(){return zu},getStandards:function(){return Pp},getStyleSheetFactory:function(){return zp},getXpath:function(){return us},injectStyle:function(){return Up},isArrayLike:function(){return Vp},isContextObject:function(){return Yp},isContextProp:function(){return Zp},isContextSpec:function(){return Wp},isHidden:function(){return Qp},isHtmlElement:function(){return em},isLabelledFramesSelector:function(){return Xp},isLabelledShadowDomSelector:function(){return Jp},isNodeInContext:function(){return tm},isShadowRoot:function(){return Pl},isValidCustomElementName:function(){return _l},isValidLang:function(){return Lm},isXHTML:function(){return $u},matchAncestry:function(){return rm},matches:function(){return ws},matchesExpression:function(){return Os},matchesSelector:function(){return Ta},memoize:function(){return Pu},mergeResults:function(){return Rl},nodeLookup:function(){return im},nodeSerializer:function(){return xl},nodeSorter:function(){return am},normalizeRunOptions:function(){return Hm},objectHasOwn:function(){return Kp},parseCrossOriginStylesheet:function(){return sm},parseSameOriginStylesheet:function(){return om},parseStylesheet:function(){return um},parseTabindex:function(){return lm},performanceTimer:function(){return dm},pollyfillElementsFromPoint:function(){return fm},preload:function(){return wm},preloadCssom:function(){return vm},preloadMedia:function(){return Dm},processMessage:function(){return gp},publishMetaData:function(){return xm},querySelectorAll:function(){return Cm},querySelectorAllFilter:function(){return mm},queue:function(){return qs},respondable:function(){return bl},ruleShouldRun:function(){return km},select:function(){return Sm},sendCommandToFrame:function(){return yl},serializeError:function(){return Om},setScrollState:function(){return Im},shadowSelect:function(){return jm},shadowSelectAll:function(){return qm},shouldPreload:function(){return Fm},toArray:function(){return Fa},tokenList:function(){return Qh},uniqueArray:function(){return hm},uuid:function(){return el},validInputTypes:function(){return $m},validLangs:function(){return Gm}});var la=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()]},ca=aa.CANTTELL_PRIO,da=aa.FAIL_PRIO,fa=[];fa[aa.PASS_PRIO]=!0,fa[aa.CANTTELL_PRIO]=null,fa[aa.FAIL_PRIO]=!1;var ha=["any","all","none"];function pa(e,t){return ha.reduce((function(n,r){return n[r]=(e[r]||[]).map((function(e){return t(e,r)})),n}),{})}var ma=function(e){var t=Object.assign({},e);pa(t,(function(e,t){var n=void 0===e.result?-1:fa.indexOf(e.result);e.priority=-1!==n?n:aa.CANTTELL_PRIO,"none"===t&&(e.priority===aa.PASS_PRIO?e.priority=aa.FAIL_PRIO:e.priority===aa.FAIL_PRIO&&(e.priority=aa.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 ha.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=[ca,da].includes(t.priority)?la(aa.impact,r):null,pa(t,(function(e){delete e.result,delete e.priority})),t.result=aa.results[t.priority],delete t.priority,t};function va(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,ba(e.nodes)),delete e.nodes,e}var ba=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return ma(e);if(Array.isArray(e.node))return va(e);throw new TypeError("Invalid Result type")})))&&e.length){var n=e.map((function(e){return e.result}));t.result=la(aa.results,n,t.result)}else t.result="inapplicable";aa.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){t[aa.resultGroupMap[e.result]].push(e)}));var r=aa.FAIL_GROUP;if(0===t[r].length&&(r=aa.CANTTELL_GROUP),t[r].length>0){var a=t[r].map((function(e){return e.impact}));t.impact=la(aa.impact,a)||null}else t.impact=null;return t};function ga(e,t,n){var r=Object.assign({},t);r.nodes=(r[n]||[]).concat(),aa.resultGroups.forEach((function(e){delete r[e]})),e[n].push(r)}var ya=function(e){var t={};return aa.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?ga(t,e,aa.CANTTELL_GROUP):e.result===aa.NA?ga(t,e,aa.NA_GROUP):aa.resultGroups.forEach((function(n){Array.isArray(e[n])&&e[n].length>0&&ga(t,e,n)}))})),t},Da=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)},wa=function(e,t){if(!e)throw new Error(t)},Fa=function(e){return Array.prototype.slice.call(e)},Ea=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 xa(e,t){return[e.substring(0,t),e.substring(t)]}function Aa(e){return e.replace(/\s+$/,"")}var Ca,ka=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=K(xa(e,e.indexOf("#")),2);e=u[0],o=u[1]}if(e.includes("?")){var s=K(xa(e,e.indexOf("?")),2);e=s[0],i=s[1]}if(e.includes("://")){var l=K(e.split("://"),2);n=l[0];var c=K(xa(e=l[1],e.indexOf("/")),2);r=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=K(xa(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=K(xa(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?Aa(l+s):l.length<2&&s.length>2&&s.length<=a?Aa(s):void 0;if(u&&u.length<a&&o.length<=1)return Aa(u+o);if(o==="/"+l&&u&&n&&u!==n&&(u+o).length<=a)return Aa(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)?Aa(l):void 0}},Ra=function(e){return e.attributes instanceof t.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Ta=function(e,t){return Ca&&e[Ca]||(Ca=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[Ca]&&e[Ca](t)},Sa={};fe(Sa,{ArrayFrom:function(){return qu.default},Colorjs:function(){return Nu},CssSelectorParser:function(){return ja.CssSelectorParser},doT:function(){return _a.default},emojiRegexText:function(){return qa},memoize:function(){return Pa.default}});var Ma=he(me()),Oa=he(ve());he(be());var Na=he(vt()),Ba=he(Bt()),Ia=he(Dn());"hasOwn"in Object||(Object.hasOwn=Na.default),"values"in Object||(Object.values=Ba.default),"Promise"in t||Ma.default.polyfill(),"Uint32Array"in t||(t.Uint32Array=Oa.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=Ia.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 ja=he(xn()),_a=he(An()),qa=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},Pa=he(ta());function $a(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=ee(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 za(e){return"string"===Ga(e)}function Ga(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function La(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 Ha(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 Ua(e){return e[e.length-1]}function Va(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function Ka(e,t,n){return(n-e)/(t-e)}function Wa(e,t,n){return Va(t[0],t[1],Ka(e[0],e[1],n))}function Ya(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 Za=Object.freeze({__proto__:null,isString:za,type:Ga,toPrecision:La,parseFunction:Ha,last:Ua,interpolate:Va,interpolateInv:Ka,mapRange:Wa,parseCoordGrammar:Ya,multiplyMatrices:$a}),Xa=J((function e(){Z(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)}))}}]),Ja=new Xa,Qa={gamut_mapping:"lch.c",precision:5,deltaE:"76"},ei={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function ti(e){return Array.isArray(e)?e:ei[e]}function ni(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=ti(e),t=ti(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(Ja.run("chromatic-adaptation-start",a),a.M||(a.W1===ei.D65&&a.W2===ei.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===ei.D50&&a.W2===ei.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Ja.run("chromatic-adaptation-end",a),a.M)return $a(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var ri=(e=new WeakSet,C=new WeakMap,J((function t(n){var r,a,i,o,u,s,l;Z(this,t),G(this,e),z(this,C,void 0),this.id=n.id,this.name=n.name,this.base=n.base?ri.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=ti(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,U(C,this,V(e,this,ii).call(this).reverse()),Ja.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=K(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=V(e,this,ai).call(this,t):(n="default"===t?Object.values(this.formats)[0]:this.formats[t])?n=V(e,this,ai).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=ri.get(e)))return t;t=t.map((function(e){return Number.isNaN(e)?0:e}));for(var r,a,i=H(C,this),o=H(C,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=ri.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 P(new Set(Object.values(ri.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=ee(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 ri)return e;if("string"===Ga(e)){var t=ri.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 ri.get.apply(ri,r);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var n,r,a=Ga(e);if("string"===a)if(e.includes(".")){var i=K(e.split("."),2);n=i[0],r=i[1]}else n=void 0,r=e;else if(Array.isArray(e)){var o=K(e,2);n=o[0],r=o[1]}else n=e.space,r=e.coordId;if((n=ri.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=Ga(r))||"string"===a&&r>=0){var u=Object.entries(n.coords)[r];if(u)return q({space:n,id:u[0],index:r},u[1])}n=ri.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 q({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 ai(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Ya(e.coords);var t=Object.entries(this.coords).map((function(t,n){var r=K(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=Wa(i,o,e)),e=La(e,n),u&&(e+=u),e}))}}return e}function ii(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var oi=ri;pe(oi,"registry",{}),pe(oi,"DEFAULT_FORMAT",{type:"functions",name:"color"});var ui=new oi({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"]}),si=function(e){function t(e){var n,r,a,i;return Z(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=ui),e.toXYZ_M&&e.fromXYZ_M&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var n=$a(e.toXYZ_M,t);return r.white!==r.base.white&&(n=ni(r.white,r.base.white,n)),n}),null!==(i=e.fromBase)&&void 0!==i||(e.fromBase=function(t){return t=ni(r.base.white,r.white,t),$a(e.fromXYZ_M,t)})),null!==(n=e.referred)&&void 0!==n||(e.referred="display"),r=N(this,t,[e])}return j(t,e),J(t)}(oi);function li(e){var t,n={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Ja.run("parse-start",n),n.color)return n.color;if(n.parsed=Ha(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=ee(oi.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 oi.registry){var d,f=null===(d=oi.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=ee(oi.all);try{var m,v=function(){var e=h.value,t=e.getFormat(r);if(t&&"function"===t.type){var a=1;(t.lastAlpha||Ua(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=K(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]=Wa(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=ee(oi.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 ci(e){if(!e)throw new TypeError("Empty color reference");za(e)&&(e=li(e));var t=e.space||e.spaceId;return t instanceof oi||(e.space=oi.get(t)),void 0===e.alpha&&(e.alpha=1),e}function di(e,t){return(t=oi.get(t)).from(e)}function fi(e,t){var n=oi.resolveCoord(t,e.space),r=n.index;return di(e,n.space)[r]}function hi(e,t,n){return t=oi.get(t),e.coords=t.to(e.space,n),e}function pi(e,t,n){if(e=ci(e),2===arguments.length&&"object"===Ga(arguments[1])){var r=arguments[1];for(var a in r)pi(e,a,r[a])}else{"function"==typeof n&&(n=n(fi(e,t)));var i=oi.resolveCoord(t,e.space),o=i.space,u=i.index,s=di(e,o);s[u]=n,hi(e,o,s)}return e}var mi=new oi({id:"xyz-d50",name:"XYZ D50",white:"D50",base:ui,fromBase:function(e){return ni(ui.white,"D50",e)},toBase:function(e){return ni("D50",ui.white,e)},formats:{color:{}}}),vi=216/24389,bi=24/116,gi=24389/27,yi=ei.D50,Di=new oi({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:yi,base:mi,fromBase:function(e){var t=e.map((function(e,t){return e/yi[t]})),n=t.map((function(e){return e>vi?Math.cbrt(e):(gi*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]>bi?Math.pow(t[0],3):(116*t[0]-16)/gi,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/gi,t[2]>bi?Math.pow(t[2],3):(116*t[2]-16)/gi].map((function(e,t){return e*yi[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function wi(e){return(e%360+360)%360}var Fi=new oi({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:Di,fromBase:function(e){var t,n=K(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)),wi(t)]},toBase:function(e){var t=K(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>"]}}}),Ei=Math.pow(25,7),xi=Math.PI,Ai=180/xi,Ci=xi/180;function ki(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=K(Di.from(e),3),c=l[0],d=l[1],f=l[2],h=Fi.from(Di,[c,d,f])[1],p=K(Di.from(t),3),m=p[0],v=p[1],b=p[2],g=Fi.from(Di,[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+Ei))),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*xi),C<0&&(C+=2*xi);var k,R=m-c,T=x-E,S=(C*=Ai)-(A*=Ai),M=A+C,O=Math.abs(S);E*x==0?k=0:O<=180?k=S:S>180?k=S-360:S<-180?k=S+360:console.log("the unthinkable has happened");var N,B=2*Math.sqrt(x*E)*Math.sin(k*Ci/2),I=(c+m)/2,j=(E+x)/2,_=Math.pow(j,7);N=E*x==0?M:O<=180?M/2:M<360?(M+360)/2:(M-360)/2;var q=Math.pow(I-50,2),P=1+.015*q/Math.sqrt(20+q),$=1+.045*j,z=1;z-=.17*Math.cos((N-30)*Ci),z+=.24*Math.cos(2*N*Ci),z+=.32*Math.cos((3*N+6)*Ci);var G=1+.015*j*(z-=.2*Math.cos((4*N-63)*Ci)),L=30*Math.exp(-1*Math.pow((N-275)/25,2)),H=2*Math.sqrt(_/(_+Ei)),U=-1*Math.sin(2*L*Ci)*H,V=Math.pow(R/(a*P),2);return V+=Math.pow(T/(o*$),2),V+=Math.pow(B/(s*G),2),V+=U*(T/(o*$))*(B/(s*G)),Math.sqrt(V)}function Ri(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=ci(e),t=oi.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:r})}function Ti(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Si(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.method,r=void 0===n?Qa.gamut_mapping:n,a=t.space,i=void 0===a?e.space:a;if(za(arguments[1])&&(i=arguments[1]),Ri(e,i=oi.get(i),{epsilon:0}))return e;var o=Mi(e,i);if("clip"!==r&&!Ri(e,i)){var u=Si(Ti(o),{method:"clip",space:i});if(ki(e,u)>2){for(var s=oi.resolveCoord(r),l=s.id,c=Mi(o,s.space),d=(s.range||s.refRange)[0],f=fi(c,l);f-d>.01;){var h=Ti(c);ki(c,h=Si(h,{space:i,method:"clip"}))-2<.01?d=fi(c,l):f=fi(c,l),pi(c,l,(d+f)/2)}o=Mi(c,i)}else o=u}if("clip"===r||!Ri(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=K(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=Mi(o,e.space)),e.coords=o.coords,e}function Mi(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=ci(e);var r=(t=oi.get(t)).from(e),a={space:t,coords:r,alpha:e.alpha};return n&&(a=Si(a)),a}function Oi(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=a.precision,u=void 0===i?Qa.precision:i,s=a.format,l=void 0===s?"default":s,c=a.inGamut,d=void 0===c||c,f=O(a,o),h=l;l=null!==(t=null!==(n=(e=ci(e)).space.getFormat(l))&&void 0!==n?n:e.space.getFormat("default"))&&void 0!==t?t:oi.DEFAULT_FORMAT,d||(d=l.toGamut);var p=e.coords;if(p=p.map((function(e){return e||0})),d&&!Ri(e)&&(p=Si(Ti(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 La(e,u)})));var v=P(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=La(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}Si.returns="color",Mi.returns="color";var Ni=new si({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:{}}}),Bi=1.09929682680944,Ii=.018053968510807,ji=new si({id:"rec2020",name:"REC.2020",base:Ni,toBase:function(e){return e.map((function(e){return e<4.5*Ii?e/4.5:Math.pow((e+Bi-1)/Bi,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=Ii?Bi*Math.pow(e,.45)-(Bi-1):4.5*e}))},formats:{color:{}}}),_i=new si({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]]}),qi=new si({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:{}}}),Pi={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]},$i=Array(3).fill("<percentage> | <number>[0, 255]"),zi=Array(3).fill("<number>[0, 255]"),Gi=new si({id:"srgb",name:"sRGB",base:qi,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:$i},rgb_number:{name:"rgb",commas:!0,coords:zi,noAlpha:!0},color:{},rgba:{coords:$i,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:zi},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=Pi.black,t.alpha=0):t.coords=Pi[e],t.coords)return t}}}}),Li=new si({id:"p3",name:"P3",base:_i,fromBase:Gi.fromBase,toBase:Gi.toBase,formats:{color:{id:"display-p3"}}});if(Qa.display_space=Gi,"undefined"!=typeof CSS&&null!==(k=CSS)&&void 0!==k&&k.supports)for(var Hi=0,Ui=[Di,ji,Li];Hi<Ui.length;Hi++){var Vi=Ui[Hi],Ki=Vi.getMinCoords(),Wi=Oi({space:Vi,coords:Ki,alpha:1});if(CSS.supports("color",Wi)){Qa.display_space=Vi;break}}function Yi(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.space,a=void 0===r?Qa.display_space:r,i=O(n,u),o=Oi(e,i);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",o)||!Qa.display_space)(o=new String(o)).color=e;else{var s=Mi(e,a);(o=new String(Oi(s,i))).color=s}return o}function Zi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",r=(n=oi.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 Xi(e){return fi(e,[ui,"y"])}function Ji(e,t){pi(e,[ui,"y"],t)}var Qi=Object.freeze({__proto__:null,getLuminance:Xi,setLuminance:Ji,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Xi(this)},set:function(e){Ji(this,e)}})}});function eo(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function to(e){var t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}var no=216/24389,ro=24/116,ao=24389/27,io=ei.D65,oo=new oi({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:io,base:ui,fromBase:function(e){var t=e.map((function(e,t){return e/io[t]})),n=t.map((function(e){return e>no?Math.cbrt(e):(ao*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]>ro?Math.pow(t[0],3):(116*t[0]-16)/ao,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/ao,t[2]>ro?Math.pow(t[2],3):(116*t[2]-16)/ao].map((function(e,t){return e*io[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),uo=.5*Math.pow(5,.5)+.5,so=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=ci(e),t=ci(t);var n=Math.max(Xi(e),0),r=Math.max(Xi(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=ci(t),e=ci(e);var i=K((t=Mi(t,"srgb")).coords,3);r=i[1],a=i[2];var o=.2126729*to(i[0])+.7151522*to(r)+.072175*to(a),u=K((e=Mi(e,"srgb")).coords,3);r=u[1],a=u[2];var s=.2126729*to(u[0])+.7151522*to(r)+.072175*to(a),l=eo(o),c=eo(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=ci(e),t=ci(t);var n=Math.max(Xi(e),0),r=Math.max(Xi(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=ci(e),t=ci(t);var n=Math.max(Xi(e),0),r=Math.max(Xi(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=ci(e),t=ci(t);var n=fi(e,[Di,"l"]),r=fi(t,[Di,"l"]);return Math.abs(n-r)},contrastDeltaPhi:function(e,t){e=ci(e),t=ci(t);var n=fi(e,[oo,"l"]),r=fi(t,[oo,"l"]),a=Math.abs(Math.pow(n,uo)-Math.pow(r,uo)),i=Math.pow(a,1/uo)*Math.SQRT2-40;return i<7.5?0:i}});function lo(e){var t=K(di(e,ui),3),n=t[0],r=t[1],a=n+15*r+3*t[2];return[4*n/a,9*r/a]}function co(e){var t=K(di(e,ui),3),n=t[0],r=t[1],a=n+r+t[2];return[n/a,r/a]}var fo=Object.freeze({__proto__:null,uv:lo,xy:co,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return lo(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return co(this)}})}}),ho=Math.PI/180,po=new oi({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:ui,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)}))}}),mo=1.15,vo=.66,bo=2610/Math.pow(2,14),go=Math.pow(2,14)/2610,yo=3424/Math.pow(2,12),Do=2413/Math.pow(2,7),wo=2392/Math.pow(2,7),Fo=1.7*2523/Math.pow(2,5),Eo=Math.pow(2,5)/(1.7*2523),xo=-.56,Ao=16295499532821565e-27,Co=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],ko=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Ro=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],To=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],So=new oi({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:po,fromBase:function(e){var t=K(e,3),n=t[0],r=t[2],a=$a(Co,[mo*n-(mo-1)*r,vo*t[1]-(vo-1)*n,r]).map((function(e){var t=yo+Do*Math.pow(e/1e4,bo),n=1+wo*Math.pow(e/1e4,bo);return Math.pow(t/n,Fo)})),i=K($a(Ro,a),3),o=i[0];return[(1+xo)*o/(1+xo*o)-Ao,i[1],i[2]]},toBase:function(e){var t=K(e,3),n=t[0],r=$a(To,[(n+Ao)/(1+xo-xo*(n+Ao)),t[1],t[2]]).map((function(e){var t=yo-Math.pow(e,Eo),n=wo*Math.pow(e,Eo)-Do;return 1e4*Math.pow(t/n,go)})),a=K($a(ko,r),3),i=a[2],o=(a[0]+(mo-1)*i)/mo;return[o,(a[1]+(vo-1)*o)/vo,i]},formats:{color:{}}}),Mo=new oi({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:So,fromBase:function(e){var t,n=K(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)),wi(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:{}}}),Oo=.8359375,No=2413/128,Bo=18.6875,Io=2610/16384,jo=16384/2610,_o=32/2523,qo=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],Po=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],$o=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],zo=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],Go=new oi({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:po,fromBase:function(e){return t=$a(qo,e),n=t.map((function(e){var t=Oo+No*Math.pow(e/1e4,Io),n=1+Bo*Math.pow(e/1e4,Io);return Math.pow(t/n,78.84375)})),$a(Po,n);var t,n},toBase:function(e){var t=function(e){return $a($o,e).map((function(e){var t=Math.max(Math.pow(e,_o)-Oo,0),n=No-Bo*Math.pow(e,_o);return 1e4*Math.pow(t/n,jo)}))}(e);return $a(zo,t)},formats:{color:{}}}),Lo=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],Ho=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],Uo=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],Vo=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],Ko=new oi({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:ui,fromBase:function(e){var t=$a(Lo,e).map((function(e){return Math.cbrt(e)}));return $a(Uo,t)},toBase:function(e){var t=$a(Vo,e).map((function(e){return Math.pow(e,3)}));return $a(Ho,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}}),Wo=Object.freeze({__proto__:null,deltaE76:function(e,t){return Zi(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=K(Di.from(e),3),s=u[0],l=u[1],c=u[2],d=K(Fi.from(Di,[s,l,c]),3),f=d[1],h=d[2],p=K(Di.from(t),3),m=p[0],v=p[1],b=p[2],g=Fi.from(Di,[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)*ho)):.36+Math.abs(.4*Math.cos((h+35)*ho));var C=Math.pow(f,4),k=Math.sqrt(C/(C+1900)),R=A*(k*x+1-k),T=Math.pow(y/(a*E),2);return T+=Math.pow(D/(o*A),2),T+=F/Math.pow(R,2),Math.sqrt(T)},deltaE2000:ki,deltaEJz:function(e,t){var n=K(Mo.from(e),3),r=n[0],a=n[1],i=n[2],o=K(Mo.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=K(Go.from(e),3),r=n[0],a=n[1],i=n[2],o=K(Go.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=K(Ko.from(e),3),r=n[0],a=n[1],i=n[2],o=K(Ko.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 Yo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};za(n)&&(n={method:n});var r=n.method,a=void 0===r?Qa.deltaE:r,i=O(n,l);for(var o in e=ci(e),t=ci(t),Wo)if("deltae"+a.toLowerCase()===o.toLowerCase())return Wo[o](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(a))}var Zo=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return pi(e,[oi.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 pi(e,[oi.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function Xo(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=[ci(e),ci(t)];if(e=a[0],t=a[1],"object"===Ga(n)){var i=[.5,n];n=i[0],r=i[1]}return Qo(e,t,{space:r.space,outputSpace:r.outputSpace,premultiplied:r.premultiplied})(n)}function Jo(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(eu(e)){r=t;var a=K((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=O(r,c);if(!n){var h=[ci(e),ci(t)];n=Qo(e=h[0],t=h[1],f)}var p=Yo(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=Yo(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,Yo(E,D.color),Yo(E,w.color)),v.splice(y,0,{p:F,color:n(F)}),y++}}return v=v.map((function(e){return e.color}))}function Qo(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(eu(e)){var r=e,a=t;return Qo.apply(void 0,P(r.rangeArgs.colors).concat([q({},r.rangeArgs.options,a)]))}var i=n.space,o=n.outputSpace,u=n.progression,s=n.premultiplied;e=ci(e),t=ci(t),e=Ti(e),t=Ti(t);var l={colors:[e,t],options:n};if(i=i?oi.get(i):oi.registry[Qa.interpolationSpace]||e.space,o=o?oi.get(o):i,e=Mi(e,i),t=Mi(t,i),e=Si(e),t=Si(t),i.coords.h&&"angle"===i.coords.h.type){var c=n.hue=n.hue||"shorter",d=[i,"h"],f=[fi(e,d),fi(t,d)],h=f[0],p=f[1],m=function(e,t){if("raw"===e)return t;var n=K(t.map(wi),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=K(m,2);p=v[1],pi(e,d,h=v[0]),pi(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 Va(e,t.coords[r],n)})),a=Va(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=Mi(l,o)),l}),{rangeArgs:l})}function eu(e){return"function"===Ga(e)&&!!e.rangeArgs}Qa.interpolationSpace="lab";var tu=Object.freeze({__proto__:null,mix:Xo,steps:Jo,range:Qo,isRange:eu,register:function(e){e.defineFunction("mix",Xo,{returns:"color"}),e.defineFunction("range",Qo,{returns:"function<color>"}),e.defineFunction("steps",Jo,{returns:"array<color>"})}}),nu=new oi({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:Gi,fromBase:function(e){var t=Math.max.apply(Math,P(e)),n=Math.min.apply(Math,P(e)),r=K(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=K(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}}}),ru=new oi({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:nu,fromBase:function(e){var t=K(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=K(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}}}),au=new oi({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:ru,fromBase:function(e){var t=K(e,3),n=t[2];return[t[0],n*(100-t[1])/100,100-n]},toBase:function(e){var t=K(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>"]}}}),iu=new si({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]]}),ou=new si({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:iu,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"}}}),uu=new si({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:mi,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]]}),su=1/512,lu=new si({id:"prophoto",name:"ProPhoto",base:uu,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>=su?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),cu=new oi({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:Ko,fromBase:function(e){var t,n=K(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)),wi(t)]},toBase:function(e){var t,n,r=K(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>"]}}}),du=2610/Math.pow(2,14),fu=Math.pow(2,14)/2610,hu=2523/Math.pow(2,5),pu=Math.pow(2,5)/2523,mu=3424/Math.pow(2,12),vu=2413/Math.pow(2,7),bu=2392/Math.pow(2,7),gu=new si({id:"rec2100pq",name:"REC.2100-PQ",base:Ni,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,pu)-mu,0)/(vu-bu*Math.pow(e,pu)),fu)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),n=mu+vu*Math.pow(t,du),r=1+bu*Math.pow(t,du);return Math.pow(n/r,hu)}))},formats:{color:{id:"rec2100-pq"}}}),yu=.17883277,Du=.28466892,wu=.55991073,Fu=3.7743,Eu=new si({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Ni,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*Fu:Math.exp((e-wu)/yu+Du)/12*Fu}))},fromBase:function(e){return e.map((function(e){return(e/=Fu)<=1/12?Math.sqrt(3*e):yu*Math.log(12*e-Du)+wu}))},formats:{color:{id:"rec2100-hlg"}}}),xu={};function Au(e){xu[e.id]=arguments[0]}function Cu(e,t){var n=xu[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],r=K($a(n.toCone_M,e),3),a=r[0],i=r[1],o=r[2],u=K($a(n.toCone_M,t),3),s=$a([[u[0]/a,0,0],[0,u[1]/i,0],[0,0,u[2]/o]],n.toCone_M);return $a(n.fromCone_M,s)}Ja.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=Cu(e.W1,e.W2,e.options.method))})),Ja.add("chromatic-adaptation-end",(function(e){e.M||(e.M=Cu(e.W1,e.W2,e.options.method))})),Au({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]]}),Au({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]]}),Au({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]]}),Au({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(ei,{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]}),ei.ACES=[.32168/.33767,1,.34065/.33767];var ku=new si({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:ei.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:{}}}),Ru=Math.pow(2,-16),Tu=-.35828683,Su=(Math.log2(65504)+9.72)/17.52,Mu=new si({id:"acescc",name:"ACEScc",coords:{r:{range:[Tu,Su],name:"Red"},g:{range:[Tu,Su],name:"Green"},b:{range:[Tu,Su],name:"Blue"}},referred:"scene",base:ku,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-Ru):e<Su?Math.pow(2,17.52*e-9.72):65504}))},fromBase:function(e){return e.map((function(e){return e<=0?(Math.log2(Ru)+9.72)/17.52:e<Ru?(Math.log2(Ru+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52}))},formats:{color:{}}}),Ou=Object.freeze({__proto__:null,XYZ_D65:ui,XYZ_D50:mi,XYZ_ABS_D65:po,Lab_D65:oo,Lab:Di,LCH:Fi,sRGB_Linear:qi,sRGB:Gi,HSL:nu,HWB:au,HSV:ru,P3_Linear:_i,P3:Li,A98RGB_Linear:iu,A98RGB:ou,ProPhoto_Linear:uu,ProPhoto:lu,REC_2020_Linear:Ni,REC_2020:ji,OKLab:Ko,OKLCH:cu,Jzazbz:So,JzCzHz:Mo,ICTCP:Go,REC_2100_PQ:gu,REC_2100_HLG:Eu,ACEScg:ku,ACEScc:Mu}),Nu=(B=new WeakMap,J((function e(){var t,n,r,a,i=this;Z(this,e),z(this,B,void 0);for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];1===u.length&&(t=ci(u[0])),t?(n=t.space||t.spaceId,r=t.coords,a=t.alpha):(n=u[0],r=u[1],a=u[2]),U(B,this,oi.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 H(B,this).coords)c(d)}),[{key:"space",get:function(){return H(B,this)}},{key:"spaceId",get:function(){return H(B,this).id}},{key:"clone",value:function(){return new Nu(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=Yi.apply(void 0,[this].concat(t));return r.color=new Nu(r.color),r}}],[{key:"get",value:function(e){if(e instanceof Nu)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 M(Nu,[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=Nu.get(e);else if("function<color>"===i){var n=e;e=function(){var e=n.apply(void 0,arguments);return Nu.get(e)},Object.assign(e,n)}else"array<color>"===i&&(e=e.map((function(e){return Nu.get(e)})));return e};e in Nu||(Nu[e]=o),a&&(Nu.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)Nu.defineFunction(t,e[t],e[t])}},{key:"extend",value:function(e){if(e.register)e.register(Nu);else for(var t in e)Nu.defineFunction(t,e[t])}}]));Nu.defineFunctions({get:fi,getAll:di,set:pi,setAll:hi,to:Mi,equals:function(e,t){return e=ci(e),t=ci(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((function(e,n){return e===t.coords[n]}))},inGamut:Ri,toGamut:Si,distance:Zi,toString:Oi}),Object.assign(Nu,{util:Za,hooks:Ja,WHITES:ei,Space:oi,spaces:oi.registry,parse:li,defaults:Qa});for(var Bu=0,Iu=Object.keys(Ou);Bu<Iu.length;Bu++)oi.register(Ou[Iu[Bu]]);for(var ju in oi.registry)_u(ju,oi.registry[ju]);function _u(e,t){Object.values(t.coords).map((function(e){return e.name}));var n=e.replace(/-/g,"_");Object.defineProperty(Nu.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 oi.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=oi.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=oi.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})}Ja.add("colorspace-init-end",(function(e){var t;_u(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){_u(t,e)}))})),Nu.extend(Wo),Nu.extend({deltaE:Yo}),Nu.extend(Zo),Nu.extend({contrast:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};za(n)&&(n={algorithm:n});var r=n.algorithm,a=O(n,s);if(!r){var i=Object.keys(so).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=ci(e),t=ci(t),so)if("contrast"+r.toLowerCase()===o.toLowerCase())return so[o](e,t,a);throw new TypeError("Unknown contrast algorithm: ".concat(r))}}),Nu.extend(fo),Nu.extend(Qi),Nu.extend(tu),Nu.extend(so);var qu=he(Dn());_a.default.templateSettings.strip=!1,i._memoizedFns=[];var Pu=function(e){var t=(0,Pa.default)(e);return i._memoizedFns.push(t),t},$u=Pu((function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName}));function zu(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 Gu=["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"],Lu=31,Hu=/([\\"])/g,Uu=/(\r\n|\r|\n)/g;function Vu(e){return e.replace(Hu,"\\$1").replace(Uu,"\\a ")}function Ku(e,t){var n,r=t.name;if(-1!==r.indexOf("href")||-1!==r.indexOf("src")){var a=ka(e.getAttribute(r));n=a?Ea(t.name)+'$="'+Vu(a)+'"':Ea(t.name)+'="'+Vu(e.getAttribute(r))+'"'}else n=Ea(r)+'="'+Vu(t.value)+'"';return n}function Wu(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Yu(e){return!Gu.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<Lu)}function Zu(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=Ea(e);t.classes[n]?t.classes[n]++:t.classes[n]=1})),a.hasAttributes()&&Array.from(Ra(a)).filter(Yu).forEach((function(e){var n=Ku(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 Xu(e,t){var n=e.parentNode&&Array.from(e.parentNode.children||"")||[];return n.find((function(n){return n!==e&&Ta(n,t)}))?":nth-child("+(1+n.indexOf(e))+")":""}function Ju(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||r,n="#"+Ea(e.getAttribute("id")||"");return n.match(/player_uid_/)||1!==t.querySelectorAll(n).length?void 0:n}}function Qu(e){var t=$u(r);return Ea(t?e.localName:e.nodeName.toLowerCase())}function es(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=Ea(t);r[i]<a[e.nodeName]&&n.push({name:i,count:r[i],species:"class"})})),n.sort(Wu)}(e,t),i=function(e,t){var n=[],r=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(Ra(e)).filter(Yu).forEach((function(t){var i=Ku(e,t);i&&r[i]<a[e.nodeName]&&n.push({name:i,count:r[i],species:"attribute"})})),n.sort(Wu)}(e,t);return a.length&&1===a[0].count?n=[a[0]]:i.length&&1===i[0].count?(n=[i[0]],r=Qu(e)):((n=a.concat(i)).sort(Wu),(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=Qu(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 ts(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=Ju(e);s||(s=es(e,i._selectorData),s+=Xu(e,s)),r=r?s+" > "+r:s,a=!a||a.length>aa.selectorSimilarFilterLimit?rs(n,r):a.filter((function(e){return Ta(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 ns=Pu((function(e,t){return zu(ts,e,t)})),rs=Pu((function(e,t){return Array.from(e.querySelectorAll(t))}));function as(e){var t=Ea(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?as(n)+" > "+t+a:t+a}function is(e,t){return zu(as,e,t)}function os(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=os(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&&Ea(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 us=function(e){return os(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,"]"):"")}),"")},ss={},ls={set:function(e,t){!function(e){wa("string"==typeof e,"key must be a string, "+a(e)+" given"),wa(""!==e,"key must not be empty")}(e),ss[e]=t},get:function(e,t){if(function(e){wa("function"==typeof e||void 0===e,"creator must be a function or undefined, "+a(e)+" given")}(t),e in ss)return ss[e];if("function"==typeof t){var n=t();return wa(void 0!==n,"Cache creator function should not return undefined"),this.set(e,n),ss[e]}},clear:function(){ss={}}},cs=function(e,t){var n=t||e;return ls.get("nodeMap")?ls.get("nodeMap").get(n):null};function ds(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 fs(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=$u(e.ownerDocument||r)?e.nodeName:e.nodeName.toLowerCase(),o=Array.from(Ra(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=fs(e.name,a),e.value=fs(e.value,a)}));var s,l="<".concat(i),c=">",d=" ...>",f=ee(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 fs(e,t){return e.length<=t?e:e.substring(0,t)+"..."}var hs="DqElm.RunOptions",ps=Pu((function(e,t,n){var r,a,o,u;return null!=t||(t=null),null!=n||(n={}),t||(t=null!==(o=ls.get(hs))&&void 0!==o?o:{}),this.spec=n,e instanceof ua?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=cs(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:ds(this._element)),this}));ps.prototype={get selector(){return this.spec.selector||[ns(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[is(this.element)]},get xpath(){return this.spec.xpath||[us(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}},ps.fromFrame=function(e,t,n){var r=ps.mergeSpecs(e,n);return new ps(n.element,t,r)},ps.mergeSpecs=function(e,t){return q({},e,{selector:[].concat(P(t.selector),P(e.selector)),ancestry:[].concat(P(t.ancestry),P(e.ancestry)),xpath:[].concat(P(t.xpath),P(e.xpath)),nodeIndexes:[].concat(P(t.nodeIndexes),P(e.nodeIndexes)),fromFrame:!0})},ps.setRunOptions=function(e){ls.set(hs,{elementRef:e.elementRef,absolutePaths:e.absolutePaths})};var ms=ps,vs=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 ua?[n]:Fa(n),e.relatedNodes=[],n.forEach((function(n){if(n instanceof ua&&(n=n.actualNode),n instanceof t.Node){var r=new ms(n);e.relatedNodes.push(r)}})))}}};function bs(e){return gs(e,new Map)}function gs(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(gs(e,n))})),o}var u={};for(var s in n.set(e,u),e)u[s]=gs(e[s],n);return u}var ys=new ja.CssSelectorParser;ys.registerSelectorPseudos("not"),ys.registerSelectorPseudos("is"),ys.registerNestingOperators(">"),ys.registerAttrEqualityMods("^","$","*","~");var Ds=ys;function ws(e,t){return Ss(t).some((function(t){return Os(e,t)}))}function Fs(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 Os(n,e)}));if("is"===e.name)return e.expressions.some((function(e){return Os(n,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var n,r}var Es,xs=(Es=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(Es,"\\")}),As=/\\/g;function Cs(e){if(e)return e.map((function(e){var t,n,r=e.name.replace(As,""),a=(e.value||"").replace(As,"");switch(e.operator){case"^=":n=new RegExp("^"+xs(a));break;case"$=":n=new RegExp(xs(a)+"$");break;case"~=":n=new RegExp("(^|\\s)"+xs(a)+"(\\s|$)");break;case"|=":n=new RegExp("^"+xs(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 ks(e){if(e)return e.map((function(e){return{value:e=e.replace(As,""),regexp:new RegExp("(^|\\s)"+xs(e)+"(\\s|$)")}}))}function Rs(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=Ts(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function Ts(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:Cs(n.attrs),classes:ks(n.classNames),pseudos:Rs(n.pseudos)}),n=n.rule;return t}))}function Ss(e){var t=Ds.parse(e);return Ts(t=t.selectors?t.selectors:[t])}function Ms(e,t,n,r){if(!e)return!1;for(var a=Array.isArray(t)?t[n]:t,i=Fs(e,a);!i&&r&&e.parent;)i=Fs(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&&Ms(e.parent,t,n-1," "===a.combinator)}return i}function Os(e,t,n){return Ms(e,t,t.length-1,n)}var Ns=function(e,t){for(;e;){if(ws(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 Bs(){}function Is(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var js,_s,qs=function(){var e,t=[],n=0,r=0,i=Bs,o=!1,u=function(t){e=t,setTimeout((function(){null!=e&&ia("Uncaught error (of queue)",e)}),1)},s=u;function l(e){return function(n){t[e]=n,(r-=1)||i===Bs||(o=!0,i(t))}}function c(e){return i=Bs,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(Is(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(Is(n),i!==Bs)throw new Error("queue `then` already set");return e||(i=n,r||(o=!0,i(t))),d},catch:function(t){if(Is(t),s!==u)throw new Error("queue `catch` already set");return e?(t(e),e=null):s=t,d},abort:c};return d},Ps=t.crypto||t.msCrypto;if(!_s&&Ps&&Ps.getRandomValues){var $s=new Uint8Array(16);_s=function(){return Ps.getRandomValues($s),$s}}if(!_s){var zs=new Array(16);_s=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),zs[t]=e>>>((3&t)<<3)&255;return zs}}for(var Gs="function"==typeof t.Buffer?t.Buffer:Array,Ls=[],Hs={},Us=0;Us<256;Us++)Ls[Us]=(Us+256).toString(16).substr(1),Hs[Ls[Us]]=Us;function Vs(e,t){var n=t||0;return Ls[e[n++]]+Ls[e[n++]]+Ls[e[n++]]+Ls[e[n++]]+"-"+Ls[e[n++]]+Ls[e[n++]]+"-"+Ls[e[n++]]+Ls[e[n++]]+"-"+Ls[e[n++]]+Ls[e[n++]]+"-"+Ls[e[n++]]+Ls[e[n++]]+Ls[e[n++]]+Ls[e[n++]]+Ls[e[n++]]+Ls[e[n++]]}var Ks=_s(),Ws=[1|Ks[0],Ks[1],Ks[2],Ks[3],Ks[4],Ks[5]],Ys=16383&(Ks[6]<<8|Ks[7]),Zs=0,Xs=0;function Js(e,t,n){var r=t&&n||0,a=t||[],i=null!=(e=e||{}).clockseq?e.clockseq:Ys,o=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:Xs+1,s=o-Zs+(u-Xs)/1e4;if(s<0&&null==e.clockseq&&(i=i+1&16383),(s<0||o>Zs)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Zs=o,Xs=u,Ys=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||Ws,f=0;f<6;f++)a[r+f]=d[f];return t||Vs(a)}function Qs(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new Gs(16):null,e=null);var a=(e=e||{}).random||(e.rng||_s)();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||Vs(a)}(js=Qs).v1=Js,js.v4=Qs,js.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++]=Hs[e])}));a<16;)t[r+a++]=0;return t},js.unparse=Vs,js.BufferClass=Gs,i._uuid=Js();var el=Qs,tl=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function nl(){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 rl(e){il(e),wa(t.parent===e,"Source of the response must be the parent window.")}function al(e){il(e),wa(e.parent===t,"Respondable target must be a frame in the current window")}function il(e){wa(t!==e,"Messages can not be sent to the same window.")}var ol={},ul=[];function sl(){var e="".concat(Qs(),":").concat(Qs());return ul.includes(e)?sl():(ul.push(e),e)}function ll(e,t,n,r){if(n?rl(e):al(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:nl()};return t instanceof Error?n.error={name:t.name,message:t.message,stack:t.stack}:n.payload=t,JSON.stringify(n)}(q({messageId:sl()},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];wa(!Object.prototype.hasOwnProperty.call(ol,e),"A replyHandler already exists for this message channel."),ol[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 cl(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r,a,i){ll(e,{channelId:t,message:r,keepalive:a},n,i)}}function dl(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===nl()){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=tl.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)||ul.includes(r=f)||(ul.push(r),0))return;if(d instanceof Error&&s.parent!==t)return i.log(d),!1;try{if(l.topic){var h=cl(s,c);rl(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(ol,e)?ol[e]:void 0}(n)||{},u=o.replyHandler,s=o.sendToParent;if(u){s?rl(e):al(e);var l=cl(e,n,s);!a&&n&&function(e){delete ol[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{ll(e,{topic:null,channelId:r,message:n,messageId:sl(),keepalive:!0},!0)}catch(e){return i.log(e)}}(s,e,c)}}catch(e){return i.log(e),!1}}var fl,hl,pl={open:function(e){if("function"==typeof t.addEventListener){var n=function(t){dl(t,e)};return t.addEventListener("message",n,!1),function(){t.removeEventListener("message",n,!1)}}},post:function(e,n,r){return"function"==typeof t.addEventListener&&ll(e,n,!1,r)}};function ml(e){e.updateMessenger(pl)}var vl={};function bl(e,t,n,r,a){var i={topic:t,message:n,channelId:"".concat(Qs(),":").concat(Qs()),keepalive:r};return hl(e,i,a)}function gl(e,t){var n=e.topic,r=e.message,a=e.keepalive,o=Object.prototype.hasOwnProperty.call(vl,n)?vl[n]:void 0;if(o)try{o(r,a,t)}catch(e){i.log(e),t(e,a)}}function yl(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 ia("Frame does not have a content window",e),void n(null);if(0!==u){var s=setTimeout((function(){s=setTimeout((function(){t.debug?r(wl("No response from frame",e)):n(null)}),0)}),u);bl(o,"axe.ping",null,void 0,(function(){clearTimeout(s),Dl(e,t,n,r)}))}else Dl(e,t,n,r)}function Dl(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(wl("Axe in frame timed out",e))}),o);bl(u,"axe.start",t,void 0,(function(e){clearTimeout(s),e instanceof Error==0?n(e):r(e)}))}function wl(e,t){var n;return i._tree&&(n=ns(t)),new Error(e+": "+(n||t))}bl.updateMessenger=function(e){var t=e.open,n=e.post;wa("function"==typeof t,"open callback must be a function"),wa("function"==typeof n,"post callback must be a function"),fl&&fl();var r=t(gl);r?(wa("function"==typeof r,"open callback must return a cleanup function"),fl=r):fl=null,hl=n},bl.subscribe=function(e,t){wa("function"==typeof t,"Subscriber callback must be a function"),wa(!Object.prototype.hasOwnProperty.call(vl,e),"Topic ".concat(e," is already registered to.")),vl[e]=t},bl.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:t).frameElement},ml(bl);var Fl=null,El={update:function(e){wa("object"===a(e),"serializer must be an object"),Fl=e},toSpec:function(e){return El.dqElmToSpec(new ms(e))},dqElmToSpec:function(e,t){var n;return e instanceof ms==0?e:(t&&(e=function(e,t){var n=e.fromFrame;return(e=new ms(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=Fl)||void 0===n?void 0:n.toSpec)?Fl.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var n;return"function"==typeof(null===(n=Fl)||void 0===n?void 0:n.mergeSpecs)?Fl.mergeSpecs(e,t):ms.mergeSpecs(e,t)},mapRawResults:function(e){return e.map((function(e){return q({},e,{nodes:El.mapRawNodeResults(e.nodes)})}))},mapRawNodeResults:function(e){return null==e?void 0:e.map((function(e){var t=e.node,n=O(e,d);n.node=El.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=O(e,f);return n.relatedNodes=t.map(El.dqElmToSpec),n}))}return n}))}},xl=El,Al=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},Cl=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 kl(){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 Rl=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?xl.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=xl.mergeSpecs(e.node,n),Al(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return xl.mergeSpecs(e,n)}))}))}))}(e.nodes,0,a);var n,r=Cl(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=kl((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(P(t)))}e.push.apply(e,P(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 kl(e.node.nodeIndexes,t.node.nodeIndexes)}))})),t};function Tl(e,t,n,r,a,i){t=q({},t,{elementRef:!1});var o=qs();e.frames.forEach((function(e){var a=e.node,i=O(e,h);o.defer((function(e,o){yl(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(Rl(e,t))})).catch(i)}function Sl(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 Ml=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},Ol=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){}}))},Nl=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],Bl=/^(?:[A-Za-z](?:[\x01-\x08\x0B\x0E-\x1F!-\.0-=\?-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*|(?:[:_\x80-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF])(?:[\x2D\.0-:A-Z_a-z\x80-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF])*)$/,Il=/[a-z]/,jl=/[A-Z]/;function _l(e){return!Nl.includes(e)&&Bl.test(e)&&Il.test(e[0])&&!jl.test(e)&&e.includes("-")}var ql=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],Pl=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(ql.includes(t)||_l(t))return!0}return!1},$l={};fe($l,{createGrid:function(){return Gc},findElmsInContext:function(){return Ll},findNearbyElms:function(){return Jc},findUp:function(){return Ul},findUpVirtual:function(){return Hl},focusDisabled:function(){return ad},getComposedParent:function(){return fc},getElementByReference:function(){return sd},getElementCoordinates:function(){return pc},getElementStack:function(){return hd},getModalDialog:function(){return Qc},getNodeGrid:function(){return Xc},getOverflowHiddenAncestors:function(){return Wl},getRootNode:function(){return Gl},getScrollOffset:function(){return hc},getTabbableElements:function(){return pd},getTargetRects:function(){return gd},getTargetSize:function(){return yd},getTextElementStack:function(){return rh},getViewportSize:function(){return mc},getVisibleChildTextRects:function(){return th},hasContent:function(){return lh},hasContentVirtual:function(){return sh},hasLangText:function(){return ch},idrefs:function(){return wd},insertedIntoFocusOrder:function(){return dh},isCurrentPageLink:function(){return ud},isFixedPosition:function(){return vc},isFocusable:function(){return vd},isHTML5:function(){return mh},isHiddenForEveryone:function(){return lc},isHiddenWithCSS:function(){return ph},isInTabOrder:function(){return bd},isInTextBlock:function(){return yh},isInert:function(){return ed},isModalOpen:function(){return Fh},isMultiline:function(){return Eh},isNativelyFocusable:function(){return md},isNode:function(){return xh},isOffscreen:function(){return yc},isOpaque:function(){return Ih},isSkipLink:function(){return jh},isVisible:function(){return $h},isVisibleOnScreen:function(){return wc},isVisibleToScreenReaders:function(){return gf},isVisualContent:function(){return ih},reduceToElementsBelowFloating:function(){return zh},shadowElementsFromPoint:function(){return Uh},urlPropsFromAttribute:function(){return Yh},visuallyContains:function(){return Gh},visuallyOverlaps:function(){return Zh},visuallySort:function(){return ld}});var zl=function(e){var t=e.getRootNode&&e.getRootNode()||r;return t===e&&(t=r),t},Gl=zl,Ll=function(e){var t,n=e.context,r=e.attr,a=e.elm,i=void 0===a?"":a,o=Ea(e.value);return t=9===n.nodeType||11===n.nodeType?n:Gl(n),Array.from(t.querySelectorAll(i+"["+r+"="+o+"]"))},Hl=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&&!Ta(n,t)&&n!==r.documentElement);return n&&Ta(n,t)?n:null},Ul=function(e,t){return Hl(cs(e),t)};function Vl(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 Kl=Pu((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Kl(e.parent))):t})),Wl=Kl,Yl=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Zl=/(\w+)\((\d+)/;function Xl(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Jl(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Ql(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function ec(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function tc(e){return"true"===e.attr("aria-hidden")}function nc(e){return"0"===e.getComputedStylePropertyValue("opacity")}function rc(e){var t=jp(e.actualNode),n=parseInt(e.getComputedStylePropertyValue("height")),r=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===n||0===r)}function ac(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=Wl(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||!Vl(r,a)}))}function ic(e){var t=e.getComputedStylePropertyValue("clip").match(Yl),n=e.getComputedStylePropertyValue("clip-path").match(Zl);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 oc(e,t){var n=Ns(e,"map");if(!n)return!0;var r=n.attr("name");if(!r)return!0;var a=zl(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=Cm(i._tree,'img[usemap="#'.concat(Ea(r),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function uc(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 sc=[Jl,Ql,ec,uc];function lc(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=im(e).vNode,n?cc(e,a):dc(e,a)}var cc=Pu((function(e,t){return!(!Xl(e)&&(!e.actualNode||!sc.some((function(n){return n(e,{isAncestor:t})}))&&e.actualNode.isConnected))})),dc=Pu((function(e,t){return!!cc(e,t)||!!e.parent&&dc(e.parent,!0)})),fc=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},hc=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}},pc=function(e){var t=hc(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}},mc=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 vc(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipAncestors,n=im(e).vNode;return!!n&&(t?bc(n):gc(n))}var bc=Pu((function(e){return"fixed"===e.getComputedStylePropertyValue("position")})),gc=Pu((function(e){return!!bc(e)||!!e.parent&&gc(e.parent)})),yc=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var n=im(e).domNode;if(n){var a=r.documentElement,i=t.getComputedStyle(n),o=t.getComputedStyle(r.body||a).getPropertyValue("direction"),u=vc(n),s=u?n.getBoundingClientRect():pc(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=fc(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=fc(e)}return!0}(n,s.bottom)||"absolute"===i.position))return!0;var l=mc(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))}},Dc=[nc,rc,ac,ic,yc];function wc(e){return e=im(e).vNode,Fc(e)}var Fc=Pu((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!oc(e,Fc):!lc(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!Dc.some((function(n){return n(e,{isAncestor:t})})))&&(!e.parent||Fc(e.parent,!0))}));function Ec(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 xc(e,t){var n=e.x,r=e.y;return r>=t.top&&n<=t.right&&r<=t.bottom&&n>=t.left}var Ac={};function Cc(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 kc(e){return new t.DOMPoint(e.left+e.width/2,e.top+e.height/2)}fe(Ac,{getBoundingRect:function(){return Ec},getIntersectionRect:function(){return Cc},getOffset:function(){return Sc},getRectCenter:function(){return kc},hasVisualOverlap:function(){return Nc},isPointInRect:function(){return xc},rectHasMinimumSize:function(){return Tc},rectsOverlap:function(){return Vl},splitRects:function(){return Bc}});var Rc=.05;function Tc(e,t){return t.width+Rc>=e&&t.height+Rc>=e}function Sc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,r=gd(e),a=gd(t);return r.length&&a.length?r.reduce((function(e,r){var i,o=kc(r),u=ee(a);try{for(u.s();!(i=u.n()).done;){var s=i.value;if(xc(o,s))return 0;var l=Oc(o,Mc(o,s));e=Math.min(e,l)}}catch(e){u.e(e)}finally{u.f()}var c=yd(t);if(Tc(2*n,c))return e;var d=Oc(o,kc(a.reduce(Ec)))-n;return Math.max(0,Math.min(e,d))}),1/0):null}function Mc(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 Oc(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Nc(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)&&ld(e,t)>0}function Bc(e,t){var n,r=Array.isArray(e)?e:[e],a=ee(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(Ic(t.top,a,o)&&l&&c.push({top:a,left:i,bottom:t.top,right:u}),Ic(t.right,i,u)&&s&&c.push({top:a,left:t.right,bottom:o,right:u}),Ic(t.bottom,a,o)&&l&&c.push({top:t.bottom,right:u,bottom:o,left:i}),Ic(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(jc)}(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 Ic=function(e,t,n){return e>t&&e<n};function jc(e){return new t.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var _c=0,qc=.1,Pc=.2,$c=.3,zc=0;function Gc(){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(ls.get("gridCreated")&&!a)return aa.gridSize;if(ls.set("gridCreated",!0),!a){var o=cs(r.documentElement);if(o||(o=new Jh(r.documentElement)),zc=0,o._stackingOrder=[Vc(_c,zc++,null)],null!=n||(n=new Yc),Wc(n,o),jp(o.actualNode)){var u=new Yc(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=cs(l);c&&c.parent?a=c.parent:l.assignedSlot?a=cs(l.assignedSlot):l.parentElement?a=cs(l.parentElement):l.parentNode&&cs(l.parentNode)&&(a=cs(l.parentNode)),c||(c=new i.VirtualNode(l,a)),c._stackingOrder=Uc(c,a,zc++);var d=Kc(c,a),f=d?d._subGrid:n;if(jp(c.actualNode)){var h=new Yc(c);c._subGrid=h}var p=c.boundingClientRect;0!==p.width&&0!==p.height&&wc(l)&&Wc(f,c),Pl(l)&&Gc(l.shadowRoot,f,c),l=s.nextNode()}return aa.gridSize}function Lc(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||!Hc(t))}function Hc(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function Uc(e,t,n){var r=t._stackingOrder.slice();if(Lc(e,t)){var a=r.findIndex((function(e){return[_c,Pc,$c].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")||Hc(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);return["auto","0"].includes(n)?"static"!==e.getComputedStylePropertyValue("position")?$c:"none"!==e.getComputedStylePropertyValue("float")?Pc:Lc(e,t)?qc:null:parseInt(n)}(e,t);return null!==i&&r.push(Vc(i,n,e)),r}function Vc(e,t,n){return{stackLevel:e,treeOrder:t,vNode:n}}function Kc(e,t){for(var n=null,r=[e];t;){if(jp(t.actualNode)){n=t;break}if(t._scrollRegionParent){n=t._scrollRegionParent;break}r.push(t),t=cs(t.actualNode.parentElement||t.actualNode.parentNode)}return r.forEach((function(e){return e._scrollRegionParent=n})),n}function Wc(e,t){var n=Wl(t);t.clientRects.forEach((function(r){var a,i=n.reduce((function(e,t){return e&&Cc(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 Yc=J((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Z(this,e),this.container=t,this.cells=[]}),[{key:"toGridIndex",value:function(e){return Math.floor(e/aa.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,n,r=e.x,a=e.y;wa(this.boundaries,"Grid does not have cells added");var i=this.toGridIndex(a),o=this.toGridIndex(r);wa(xc({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=Ec(this.boundaries,e)),this.boundaries=e,Zc(this.cells,a,i,(function(e,a){Zc(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 Zc(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 Xc(e){return Gc(),im(e).vNode._grid}function Jc(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=Xc(e);if(null==r||null===(t=r.cells)||void 0===t||!t.length)return[];var a=e.boundingClientRect,i=vc(e),o=r.getGridPositionOfRect(a,n),u=[];return r.loopGridPosition(o,(function(t){var n,r=ee(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;a&&a!==e&&!u.includes(a)&&i===vc(a)&&u.push(a)}}catch(e){r.e(e)}finally{r.f()}})),u}var Qc=Pu((function(){var e;if(!i._tree)return null;var n=mm(i._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return r.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&wc(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){Gc();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=Cc(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 ed(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.isAncestor;return t.skipAncestors?td(e,n):nd(e,n)}var td=Pu((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var n=Qc();if(n&&!Sl(n,e))return!0}return!1})),nd=Pu((function(e,t){return!!td(e,t)||!!e.parent&&nd(e.parent,!0)})),rd=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],ad=function(e){var t=im(e).vNode;if(rd.includes(t.props.nodeName)&&t.hasAttr("disabled")||ed(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&&lc(t)},id=/^\/\#/,od=/^#[!/]/;function ud(e){var n,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(id.test(r))return!0;var a=e.protocol,i=e.hostname,o=e.port,u=e.pathname;if(od.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 sd=function(e,t){var n=e.getAttribute(t);if(!n)return null;if("href"===t&&!ud(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 ld(e,n){Gc();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=cd(e),v=cd(n);return m===v||p?h:v-m}function cd(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:dd(e)?1:0}function dd(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=dd(e.parent);return e._isFloated=t,t}function fd(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=kc(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=fd(l._grid,l.boundingClientRect,!0).concat(s)),n||(s=s.sort(ld).map((function(e){return e.actualNode})).concat(r.documentElement).filter((function(e,t,n){return n.indexOf(e)===t}))),s}var hd=function(e){var t=Xc(e);return t?fd(t,cs(e).boundingClientRect):[]},pd=function(e){return Cm(e,"*").filter((function(e){var t=e.isFocusable,n=lm(e.actualNode.getAttribute("tabindex"));return null!==n?t&&n>=0:t}))},md=function(e){var t=im(e).vNode;if(!t||ad(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!Cm(t,"summary").length}return!1};function vd(e){var t=im(e).vNode;return!(1!==t.props.nodeType||ad(t)||!md(t)&&null===lm(t.attr("tabindex")))}function bd(e){var t=im(e).vNode;return 1===t.props.nodeType&&!(lm(t.attr("tabindex"))<=-1)&&vd(t)}var gd=Pu((function(e){var t="inline"===e.getComputedStylePropertyValue("display")?e.clientRects:[e.boundingClientRect],n=Jc(e).filter((function(t){return Nc(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return Sl(e,t)&&!bd(t)}(e,t)}));return n.length?Bc(t,n.map((function(e){return"inline"===e.getComputedStylePropertyValue("display")?e.clientRects:e.boundingClientRect})).flat(1/0)):t})),yd=Pu((function(e,t){return function(e,t){return e.reduce((function(e,n){var r=Tc(t,e);return r!==Tc(t,n)?r?e:n:e.width*e.height>n.width*n.height?e:n}))}(gd(e),t)})),Dd={};fe(Dd,{accessibleText:function(){return Fd},accessibleTextVirtual:function(){return Lf},autocomplete:function(){return Kf},formControlValue:function(){return Bf},formControlValueMethods:function(){return Of},hasUnicode:function(){return Df},isHumanInterpretable:function(){return Vf},isIconLigature:function(){return wf},isValidAutocomplete:function(){return Wf},label:function(){return Jf},labelText:function(){return _f},labelVirtual:function(){return Xf},nativeElementType:function(){return Qf},nativeTextAlternative:function(){return Gf},nativeTextMethods:function(){return zf},removeUnicode:function(){return Uf},sanitize:function(){return $d},subtreeText:function(){return jf},titleText:function(){return pf},unsupported:function(){return bf},visible:function(){return Zf},visibleTextNodes:function(){return eh},visibleVirtual:function(){return Ff}});var wd=function(e,t){e=e.actualNode||e;try{var n=Gl(e),r=[],a=e.getAttribute(t);if(a){a=Qh(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")}},Fd=function(e,t){return Lf(cs(e),t)},Ed=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=im(e).vNode;return 1!==(null==n?void 0:n.props.nodeType)||1!==n.props.nodeType||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby")?"":wd(n,"aria-labelledby").filter((function(e){return e})).reduce((function(e,r){var a=Fd(r,q({inLabelledByContext:!0,startNode:t.startNode||n},t));return e?"".concat(e," ").concat(a):a}),"")};function xd(e){var t=im(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var Ad={"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}},Cd={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"]}},kd={ariaAttrs:Ad,ariaRoles:q({},Cd,{"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]}},Rd=q({},kd),Td=Rd,Sd=function(e){var t=Td.ariaRoles[e];return!!t&&!!t.unsupported},Md=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=Td.ariaRoles[e],o=Sd(e);return!(!i||a&&o||!n&&"abstract"===i.type)},Od=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 ua?e:cs(e)).props.nodeType)return null;var i=(e.attr("role")||"").trim().toLowerCase();return(n?Qh(i):[i]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&Md(e,{allowAbstract:r})}))||null},Nd=function(e){return Object.keys(Td.htmlElms).filter((function(t){var n=Td.htmlElms[t];return n.contentTypes?n.contentTypes.includes(e):!!n.variant&&!(!n.variant.default||!n.variant.default.contentTypes)&&n.variant.default.contentTypes.includes(e)}))},Bd=function(){return ls.get("globalAriaAttrs",(function(){return Object.keys(Td.ariaAttrs).filter((function(e){return Td.ariaAttrs[e].global}))}))},Id=Pu((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})),jd=Pu((function(e,t){var n,r;for(t||(t=Id(Ul(e,"table"))),n=0;n<t.length;n++)if(t[n]&&-1!==(r=t[n].indexOf(e)))return{x:r,y:n}}));function _d(e){var t=im(e),n=t.vNode,r=t.domNode,a=n.attr("scope"),i=Od(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=Id(Ul(r,"table")),u=jd(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 qd=function(e){return-1!==["col","auto"].indexOf(_d(e))},Pd=function(e){return["row","auto"].includes(_d(e))},$d=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},zd=function(){return ls.get("sectioningContentSelector",(function(){return Nd("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"}))},Gd=function(){return ls.get("sectioningContentPlusMainSelector",(function(){return zd()+" , main:not([role]), [role=main]"}))};function Ld(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,n=void 0!==t&&t;return!!($d(Ed(e))||$d(xd(e))||n&&1===(null==e?void 0:e.props.nodeType)&&$d(e.attr("title")))}var Hd={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Ns(e.parent,zd())&&!Ld(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 Ns(e,Gd())?null:"contentinfo"},form:function(e){return Ld(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Ns(e,Gd())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),n=Bd().find((function(t){return e.hasAttr(t)}));return!t||n||vd(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var n=wd(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 Ld(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=Ns(e,"table"),n=Od(t);return["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return qd(e)?"columnheader":Pd(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},Ud=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},Vd=function(e,t){return Ud(!!Lf(e),t)},Kd=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 Ud(e(n),t[n])}))},Wd=function(e,t){return e=im(e).vNode,Kd((function(t){return e.attr(t)}),t)};function Yd(e,t){return!!t(e)}var Zd=function(e,t){return Ud(Od(e),t)},Xd=function(e,t){return Ud(uf(e),t)},Jd=function(e,t){return e=im(e).vNode,Ud(e.props.nodeName,t)},Qd=function(e,t){return e=im(e).vNode,Kd((function(t){return e.props[t]}),t)},ef=function(e,t){return Ud(ff(e),t)},tf={hasAccessibleName:Vd,attributes:Wd,condition:Yd,explicitRole:Zd,implicitRole:Xd,nodeName:Jd,properties:Qd,semanticRole:ef},nf=function e(t,n){return t=im(t).vNode,Array.isArray(n)?n.some((function(n){return e(t,n)})):"string"==typeof n?ws(t,n):Object.keys(n).every((function(e){if(!tf[e])throw new Error('Unknown matcher type "'.concat(e,'"'));return(0,tf[e])(t,n[e])}))},rf=function(e,t){return nf(e,t)};rf.hasAccessibleName=Vd,rf.attributes=Wd,rf.condition=Yd,rf.explicitRole=Zd,rf.fromDefinition=nf,rf.fromFunction=Kd,rf.fromPrimative=Ud,rf.implicitRole=Xd,rf.nodeName=Jd,rf.properties=Qd,rf.semanticRole=ef;var af=rf,of=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,n=void 0!==t&&t,r=Td.htmlElms[e.props.nodeName];if(!r)return{};if(!r.variant)return r;var a=r.variant,i=O(r,p);for(var o in a)if(a.hasOwnProperty(o)&&"default"!==o){for(var u=a[o],s=u.matches,l=O(u,m),c=Array.isArray(s)?s:[s],d=0;d<c.length&&n;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return r;if(af(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},uf=function(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=im(e).vNode;if(!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");if(null!==(t=r.elementInternals)&&void 0!==t&&t.role)return r.elementInternals.role;var a=Hd[r.props.nodeName];return!a&&n?of(r).chromiumRole||null:"function"==typeof a?a(r):a||null},sf={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 lf(e,t){var n=sf[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=Od(e.parent,t);return["none","presentation"].includes(r)&&!df(e.parent)?r:r?null:lf(e.parent,t)}function cf(e,t){var n=t.chromium,r=O(t,v),a=uf(e,{chromium:n});return a?lf(e,r)||a:null}function df(e){return Bd().some((function(t){return e.hasAttr(t)}))||vd(e)}var ff=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=O(t,b),a=im(e).vNode;if(1!==a.props.nodeType)return null;var i=Od(a,r);return i?["presentation","none"].includes(i)&&df(a)?n?null:cf(a,r):i:n?null:cf(a,r)}(e,O(t,g));return n&&["presentation","none"].includes(r)?null:r},hf=["iframe"],pf=function(e){var t=im(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!rf(t,hf)&&["none","presentation"].includes(ff(t))?"":t.attr("title"):""},mf=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof ua?e:cs(e)).props.nodeType)return!1;var n=ff(e),r=Td.ariaRoles[n];return!(!r||!r.nameFromContent)||!t&&(!r||["presentation","none"].includes(n))},vf=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=wd(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(P(o),P(a))}return P(n)},bf={accessibleNameFromFieldValue:["progressbar"]};function gf(e){return e=im(e).vNode,yf(e)}var yf=Pu((function(e,t){return!tc(e)&&!ed(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!oc(e,yf):!lc(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||yf(e.parent,!0)))})),Df=function(e,t){var n=t.nonBmp,r=t.punctuations,a=!1;return t.emoji&&(a||(a=qa().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 wf(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(!$d(i)||Df(i,{emoji:!0,nonBmp:!0}))return!1;var o=ls.get("canvasContext",(function(){return r.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),u=o.canvas,s=ls.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)}var Ff=function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=im(t).vNode,o=!t.actualNode||t.actualNode&&(n?gf:wc)(t),u=a.ignoreIconLigature,s=a.pixelThreshold,l=a.occurrenceThreshold,c=i.children.map((function(t){var i=t.props,c=i.nodeValue,d=i.nodeName;return 3===i.nodeType?c&&o?u&&wf(t,s,l)?"":c:"":"br"===d?" ":r?void 0:e(t,n,!1,a)})).join("");return $d(c)},Ef=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],xf=function(e){var t=(e=e instanceof ua?e:cs(e)).props.nodeName;return"textarea"===t||"input"===t&&!Ef.includes((e.attr("type")||"").toLowerCase())},Af=function(e){return"select"===(e=e instanceof ua?e:cs(e)).props.nodeName},Cf=function(e){return"textbox"===Od(e)},kf=function(e){return"listbox"===Od(e)},Rf=function(e){return"combobox"===Od(e)},Tf=["progressbar","scrollbar","slider","spinbutton"],Sf=function(e){var t=Od(e);return Tf.includes(t)},Mf=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],Of={nativeTextboxValue:function(e){var t=im(e).vNode;return xf(t)&&t.props.value||""},nativeSelectValue:function(e){var t=im(e).vNode;if(!Af(t))return"";var n=Cm(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=im(e),n=t.vNode,r=t.domNode;return Cf(n)?!r||r&&!lc(r)?Ff(n,!0):r.textContent:""},ariaListboxValue:Nf,ariaComboboxValue:function(e,t){var n=im(e).vNode;if(!Rf(n))return"";var r=vf(n).filter((function(e){return"listbox"===ff(e)}))[0];return r?Nf(r,t):""},ariaRangeValue:function(e){var t=im(e).vNode;if(!Sf(t)||!t.hasAttr("aria-valuenow"))return"";var n=+t.attr("aria-valuenow");return isNaN(n)?"0":String(n)}};function Nf(e,t){var n=im(e).vNode;if(!kf(n))return"";var r=vf(n).filter((function(e){return"option"===ff(e)&&"true"===e.attr("aria-selected")}));return 0===r.length?"":Lf(r[0],t)}var Bf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode,r=bf.accessibleNameFromFieldValue||[],a=ff(e);if(t.startNode===e||!Mf.includes(a)||r.includes(a))return"";var i=Object.keys(Of).map((function(e){return Of[e]})).reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&ia(i||"{empty-value}",n,t),i},If=Nd("phrasing").concat(["#text"]),jf=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Lf.alreadyProcessed;t.startNode=t.startNode||e;var r=t.strict,a=t.inControlContext,i=t.inLabelledByContext,o=ff(e),u=of(e,{noMatchAccessibleName:!0}).contentTypes;return n(e,t)||1!==e.props.nodeType||null!=u&&u.includes("embedded")||Mf.includes(o)?"":t.subtreeDescendant||t.inLabelledByContext||mf(e,{strict:r})?(r||(t=q({subtreeDescendant:!a&&!i},t)),vf(e).reduce((function(e,n){return function(e,t,n){var r=t.props.nodeName,a=Lf(t,n);return a?(If.includes(r)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,n,t)}),"")):""},_f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.inControlContext||t.inLabelledByContext||(0,Lf.alreadyProcessed)(e,t))return"";t.startNode||(t.startNode=e);var n,r=q({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 Ll({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Ns(e,"label");return i?(n=[].concat(P(a),[i.actualNode])).sort(am):n=a,n.map((function(e){return Fd(e,r)})).filter((function(e){return""!==e})).join(" ")},qf={submit:"Submit",image:"Submit",reset:"Reset",button:""};function Pf(e,t){return t.attr(e)||""}function $f(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?Fd(i,n):""}var zf={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return qf[e.props.type]||""},tableCaptionText:$f.bind(null,"caption"),figureText:$f.bind(null,"figcaption"),svgTitleText:$f.bind(null,"title"),fieldsetLegendText:$f.bind(null,"legend"),altText:Pf.bind(null,"alt"),tableSummaryText:Pf.bind(null,"summary"),titleText:pf,subtreeText:jf,labelText:_f,singleSpace:function(){return" "},placeholderText:Pf.bind(null,"placeholder")};function Gf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(ff(e)))return"";var r=function(e){return(of(e,{noMatchAccessibleName:!0}).namingMethods||[]).map((function(e){return zf[e]}))}(e),a=r.reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&i.log(a||"{empty-value}",n,t),a}function Lf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=q({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=q({includeHidden:!gf(e)},t)),t}(e,t),function(e,t){return!(!e||t.includeHidden&&!Xl(e)||1!==e.props.nodeType||gf(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)&&wf(e,t.pixelThreshold,r)}(e,t))return"";var n=[Ed,xd,Gf,Bf,jf,Hf,pf].reduce((function(n,r){return t.startNode===e&&(n=$d(n)),""!==n?n:r(e,t)}),"");return t.debug&&i.log(n||"{empty-value}",e.actualNode,t),n}function Hf(e){return 3!==e.props.nodeType?"":e.props.nodeValue}Lf.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var Uf=function(e,t){var n=t.nonBmp,r=t.punctuations;return t.emoji&&(e=e.replace(qa(),"")),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},Vf=function(e){return function(e){return 0===$d(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=Uf(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!$d(t)}(e)?0:1},Kf={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"]},Wf=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(Kf.stateTerms)).includes(e)||""===e)return!0;l=l.concat(Kf.qualifiers),u=u.concat(Kf.locations),d=d.concat(Kf.standaloneTerms),h=h.concat(Kf.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)},Yf=function(e){var t;return e.attr("aria-labelledby")&&(t=wd(e.actualNode,"aria-labelledby").map((function(e){var t=cs(e);return t?Ff(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=$d(t))?t:null},Zf=function(e,t,n){return e=cs(e),Ff(e,t,n)},Xf=function(e){var t,n;if(n=Yf(e))return n;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var r=Ea(e.attr("id"));if(n=(t=Gl(e.actualNode).querySelector('label[for="'+r+'"]'))&&Zf(t,!0))return n}return(n=(t=Ns(e,"label"))&&Ff(t,!0))||null},Jf=function(e){return e=cs(e),Xf(e)},Qf=[{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"]}],eh=function e(t){var n=wc(t),r=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?n&&r.push(t):r=r.concat(e(t))})),r},th=Pu((function(e){var t=cs(e),n=t.boundingClientRect,a=[],i=Wl(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==$d(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!xc(kc(e),t)}))})(t,n)||a.push.apply(a,P(nh(t,i)))}})),a.length?a:nh([n],i)}));function nh(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&&Cc(e,t.boundingClientRect)}),e);r&&n.push(r)}})),n}var rh=function(e){var t=Xc(e);return t?th(e).map((function(e){return fd(t,e)})):[]},ah=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],ih=function(e){var t=im(e).vNode,n=i.commons.aria.getExplicitRole(t);if(n)return-1!==ah.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}},oh=["head","title","template","script","style","iframe","object","video","audio","noscript"];function uh(e){return!oh.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var sh=function e(t,n,r){return uh(t)||ih(t.actualNode)||!r&&!!Yf(t)||!n&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))},lh=function(e,t,n){return e=cs(e),sh(e,t,n)};function ch(e){return!(void 0!==e.children&&!uh(e))||(1===e.props.nodeType&&ih(e)?!!i.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&ch(e)&&!lc(e)})))}var dh=function(e){return lm(e.getAttribute("tabindex"))>-1&&vd(e)&&!md(e)};function fh(e,t){var n=im(e),r=n.vNode,a=n.domNode;return r?(void 0===r._isHiddenWithCSS&&(r._isHiddenWithCSS=hh(a,t)),r._isHiddenWithCSS):hh(a,t)}function hh(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=fc(e);return!(!o||a.includes(i))&&fh(o,i)}var ph=fh,mh=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId},vh=function(e){var n;(e instanceof ua||null!==(n=t)&&void 0!==n&&n.Node&&e instanceof t.Node)&&(e=i.commons.aria.getRole(e));var r=Td.ariaRoles[e];return(null==r?void 0:r.type)||null},bh=["block","list-item","table","flex","grid"],gh=["inline-block","inline-flex","inline-grid"],yh=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=im(e),o=i.vNode,u=i.domNode;if(Dh(u)||!a&&function(e){var t=e.getComputedStylePropertyValue("display");return gh.includes(t)}(o))return!1;var s=function(e){for(var t=fc(e);t&&!Dh(t);)t=fc(t);return cs(t)}(u),l="",c="",d=0;return wh(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=Dh(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"===vh(e)?(c+=e.textContent,!1):void 0)}})),l=$d(l),n?0!==l.length:(c=$d(c),l.length>c.length)};function Dh(e){var t=im(e).vNode.getComputedStylePropertyValue("display");return bh.includes(t)||"table-"===t.substr(0,6)}function wh(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return wh(e,t)}))}var Fh=function(e){var n=(e=e||{}).modalPercent||.75;if(ls.get("isModalOpen"))return ls.get("isModalOpen");if(mm(i._tree[0],"dialog, [role=dialog], [aria-modal=true]",wc).length)return ls.set("isModalOpen",!0),!0;for(var a,o=mc(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 ls.set("isModalOpen",!0),{v:!0}},h=0;h<d.length;h++)if(a=f())return a.v;ls.set("isModalOpen",void 0)};function Eh(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=ee(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 xh=function(e){return e instanceof t.Node},Ah="color.incompleteData",Ch={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var n=ls.get(Ah,(function(){return{}}));return t&&(n[e]=t),n[e]},get:function(e){var t=ls.get(Ah);return null==t?void 0:t[e]},clear:function(){ls.set(Ah,{})}},kh=function(e,n){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return Ch.set("bgColor","imgNode"),!0;var a=(n=n||t.getComputedStyle(e)).getPropertyValue("background-image"),i="none"!==a;if(i){var o=/gradient/.test(a);Ch.set("bgColor",o?"bgGradient":"bgImage")}return i},Rh=/^#[0-9a-f]{3,8}$/i,Th=/hsl\(\s*([-\d.]+)(rad|turn)/,Sh=(I=new WeakMap,_=new WeakMap,L=new WeakMap,X=new WeakMap,Q=new WeakMap,re=new WeakMap,ae=new WeakSet,J((function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(Z(this,e),G(this,ae),z(this,I,void 0),z(this,_,void 0),z(this,L,void 0),z(this,X,void 0),z(this,Q,void 0),z(this,re,void 0),t instanceof Sh){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 H(I,this)},set:function(e){U(I,this,e),U(X,this,Math.round(255*Nh(e,0,1)))}},{key:"g",get:function(){return H(_,this)},set:function(e){U(_,this,e),U(Q,this,Math.round(255*Nh(e,0,1)))}},{key:"b",get:function(){return H(L,this)},set:function(e){U(L,this,e),U(re,this,Math.round(255*Nh(e,0,1)))}},{key:"red",get:function(){return H(X,this)},set:function(e){U(I,this,e/255),U(X,this,Nh(e,0,255))}},{key:"green",get:function(){return H(Q,this)},set:function(e){U(_,this,e/255),U(Q,this,Nh(e,0,255))}},{key:"blue",get:function(){return H(re,this)},set:function(e){U(L,this,e/255),U(re,this,Nh(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(Th,(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=qu.default);var r=new Nu(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 Ch.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(Rh)&&![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 V(ae,this,Mh).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 Sh(this),n=K([{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 Sh(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 Mh(e){var t=new Sh(this);return t.r+=e,t.g+=e,t.b+=e,t}var Oh=Sh;function Nh(e,t,n){return Math.min(Math.max(t,e),n)}var Bh=function(e){var t=new Oh;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var n=e.getPropertyValue("opacity");t.alpha=t.alpha*n}return t},Ih=function(e){var n=t.getComputedStyle(e);return kh(e,n)||1===Bh(n).alpha};function jh(e){if(!e.href)return!1;var t=ls.get("firstPageLink",_h);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function _h(){return(t.location.origin?Cm(i._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!ud(e.actualNode)})):Cm(i._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var qh=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Ph=/(\w+)\((\d+)/;var $h=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 ua?n:cs(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=Ul(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var u=Gl(t);if(!u||9!==u.nodeType)return!1;var s=Cm(i._tree,'img[usemap="#'.concat(Ea(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=jp(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(qh),n=e.getPropertyValue("clip-path").match(Ph);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&&yc(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},zh=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 Gh(e,t){var n=Lh(t);do{var r=Lh(e);if(r===n||r===t)return Hh(e,t);e=r}while(e);return!1}function Lh(e){for(var t=cs(e).parent;t;){if(jp(t.actualNode))return t.actualNode;t=t.parent}}function Hh(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 Uh=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 Gl(e)===a})).reduce((function(r,a){if(Pl(a)){var o=e(t,n,a.shadowRoot,i+1);(r=r.concat(o)).length&&Gh(r[0],a)&&r.push(a)}else r.push(a);return r}),[])};function Vh(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=K(n[r].split("="),2),i=a[1],o=void 0===i?"":i;t[decodeURIComponent(a[0])]=decodeURIComponent(o)}return t}function Kh(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===K(t,1)[0]?"":e:""}var Wh,Yh=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:Vh(a.search),hash:Kh(a.hash),filename:l}}},Zh=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},Xh=0,Jh=function(e){function n(e,t,r){var a;if(Z(this,n),(a=N(this,n)).shadowId=r,a.children=[],a.actualNode=e,a.parent=t,t||(Xh=0),a.nodeIndex=Xh++,a._isHidden=null,a._cache={},a._isXHTML=$u(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var i=e.getAttribute("type");i=a._isXHTML?i:(i||"").toLowerCase(),$m().includes(i)||(i="text"),a._type=i}return ls.get("nodeMap")&&ls.get("nodeMap").set(e,a),a}return j(n,e),J(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=vd(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=pd(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}},{key:"elementInternals",get:function(){if(i._enableElementInternals)return this._cache.hasOwnProperty("elementInternals")||(this._cache.elementInternals=Hp(this.actualNode)),this._cache.elementInternals},set:function(e){this._cache.elementInternals=e}}])}(ua),Qh=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},ep=" [idsMap]";function tp(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 np(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(np(r))a=t["*"];else{if(r.id){var o;if(!t[ep]||!Object.hasOwn(t[ep],r.id)||null===(o=t[ep][r.id])||void 0===o||!o.length)return;a=t[ep][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?rp(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?rp(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?rp(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&&!Os(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 np(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function rp(e,t){return e.filter((function(e){return t.includes(e)}))}function ap(e,t,n){Object.hasOwn(n,e)||(n[e]=[]),n[e].push(t)}function ip(e,t){1===e.props.nodeType&&(ap(e.props.nodeName,e,t),ap("*",e,t),e.attrNames.forEach((function(n){"id"===n&&(t[ep]=t[ep]||{},Qh(e.attr(n)).forEach((function(n){ap(n,e,t[ep])}))),ap("[".concat(n,"]"),e,t)})))}function op(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.documentElement,t=arguments.length>1?arguments[1]:void 0;Wh=!1;var n={};ls.set("nodeMap",new WeakMap),ls.set("selectorMap",n);var a=lp(e,t,null);return a[0]._selectorMap=n,a[0]._hasShadowRoot=Wh,a}function up(e,t,n){var r=new Jh(e,t,n);return ip(r,ls.get("selectorMap")),r}function sp(e,t,n){var r=[];return e.forEach((function(e){var a=lp(e,n,t);a&&r.push.apply(r,P(a))})),r}function lp(e,n,a){var i,o;e.documentElement&&(e=e.documentElement);var u=e.nodeName.toLowerCase();return Pl(e)?(Wh=!0,i=up(e,a,n),n="a"+Math.random().toString().substring(2),o=Array.from(e.shadowRoot.childNodes),i.children=sp(o,i,n),[i]):"content"===u&&"function"==typeof e.getDistributedNodes?sp(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),sp(o,a,n)):e.nodeType===r.ELEMENT_NODE?(i=up(e,a,n),o=Array.from(e.childNodes),i.children=sp(o,i,n),[i]):e.nodeType===r.TEXT_NODE?[up(e,a)]:void 0}var cp=function(e){return e?e.trim().split("-")[0].toLowerCase():""},dp=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 fp(){var e=i._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var hp=aa.resultGroups;function pp(e,t){var n=i.utils.aggregateResult(e);return hp.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=mp(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 mp(e,t)}))}))}))}(e,t),e}))),hp.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),n}function mp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=xl.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 vp=/\$\{\s?data\s?\}/g;function bp(e,t){if("string"==typeof t)return e.replace(vp,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 gp=function e(t,n){if(t){if(Array.isArray(n))return n.values=n.join(", "),bp("string"==typeof t.singular&&"string"==typeof t.plural?1===n.length?t.singular:t.plural:t,n);if("string"==typeof t)return bp(t,n);if("string"==typeof n)return bp(t[n],n);var r=t.default||fp();return n&&n.messageKey&&t[n.messageKey]&&(r=t[n.messageKey]),e(r,n)}},yp=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 gp(r.messages[t],n)},Dp=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 wp(){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:Fp(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function Fp(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 Ep(e,t){var n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:t.focusable&&xp(e),size:Ap(e),page:n}}function xp(e){var t=lm(e.getAttribute("tabindex"));return null===t||t>=0}function Ap(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 Cp(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];Vp(n)||(n=[n]);for(var a=0;a<n.length;a++){var i=(e=n[a])instanceof t.Node?e:"string"==typeof e?[e]:(Xp(e)?(function(e){Tp(Array.isArray(e.fromFrames),"fromFrames property must be an array"),Tp(e.fromFrames.every((function(e){return!Kp(e,"fromFrames")})),"Invalid context; fromFrames selector must be appended, rather than nested"),Tp(!Kp(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):Jp(e)&&(e=[e]),function(e){if(Array.isArray(e)){var t,n=[],r=ee(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(Jp(a)&&(kp(a),a=a.fromShadowDom),"string"!=typeof a&&!Rp(a))return;n.push(a)}}catch(e){r.e(e)}finally{r.f()}return n}}(e));i&&r.push(i)}return r}function kp(e){Tp(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),Tp(e.fromShadowDom.every((function(e){return!Kp(e,"fromFrames")})),"shadow selector must be inside fromFrame instead"),Tp(e.fromShadowDom.every((function(e){return!Kp(e,"fromShadowDom")})),"fromShadowDom selector must be appended, rather than nested")}function Rp(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function Tp(e,t){wa(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function Sp(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 cs(e)}));r.push.apply(r,P(u))}else r.push(cs(o));else if(o&&o.length)if(o.length>1)Mp(e,n,o);else{var s=qm(o[0]);r.push.apply(r,P(s.map((function(e){return cs(e)}))))}}return r.filter((function(e){return e}))}function Mp(e,t,n){e.frames=e.frames||[],qm(n.shift()).forEach((function(r){var a=e.frames.find((function(e){return e.node===r}));a||(a=Ep(r,e),e.frames.push(a)),a[t].push(n)}))}function Op(e,n){var i,o,u,s,l,c=this;e=bs(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(Yp(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Tp(!Kp(e,"fromFrames"),"fromFrames"+t),Tp(!Kp(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Zp(e))return{include:[r],exclude:[]};e={include:e,exclude:[]}}var n=Cp(e.include);return 0===n.length&&n.push(r),{include:n,exclude:Cp(e.exclude)}}(e),this.flatTree=null!=n?n:op(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=Sp(this,"include"),this.exclude=Sp(this,"exclude"),Sm("frame, iframe",this).forEach((function(e){tm(e,c)&&function(e,t){gf(t)&&!Cl(e.frames,"node",t)&&e.frames.push(Ep(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=bl.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(am)}function Np(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Op(e).frames.map((function(e){var t=e.node,n=O(e,y);return n.initiator=!1,{frameSelector:is(t),frameContext:n}}))}function Bp(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 Ip(e,t){var n=e.getPropertyValue(t);return["scroll","auto"].includes(n)}var jp=Pu((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=Ip(i,"overflow-x"),u=Ip(i,"overflow-y");return r&&o||a&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}));function _p(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var n=jp(t);return n&&e.push(n),e.concat(_p(t))}),[])}var qp=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(_p(r.body))};function Pp(){return bs(Td)}var $p,zp=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}}},Gp=["_internals","internals","internals_"],Lp=["internals","privateInternals"];function Hp(e){var n;if(_l(e.nodeName.toLowerCase())){var r=null===(n=globalThis._elementInternals)||void 0===n?void 0:n.get(e);if(r)return r;if("ElementInternals"in t){var a,i=ee(Gp);try{for(i.s();!(a=i.n()).done;){var o,u=a.value;if((null===(o=Object.getOwnPropertyDescriptor(e,u))||void 0===o||!o.get)&&e[u]instanceof t.ElementInternals)return e[u]}}catch(e){i.e(e)}finally{i.f()}var s=Object.getOwnPropertySymbols(e);if(s.length){var l,c=ee(Lp);try{var d,f=function(){var n=l.value,r=s.find((function(e){return e.description===n}));if(r){var a;if(null!==(a=Object.getOwnPropertyDescriptor(e,r))&&void 0!==a&&a.get)return 0;if(e[r]instanceof t.ElementInternals)return{v:e[r]}}};for(c.s();!(l=c.n()).done;)if(0!==(d=f())&&d)return d.v}catch(e){c.e(e)}finally{c.f()}}}}}var Up=function(e){if($p&&$p.parentNode)return void 0===$p.styleSheet?$p.appendChild(r.createTextNode(e)):$p.styleSheet.cssText+=e,$p;if(e){var t=r.head||r.getElementsByTagName("head")[0];return($p=r.createElement("style")).type="text/css",void 0===$p.styleSheet?$p.appendChild(r.createTextNode(e)):$p.styleSheet.cssText=e,t.appendChild($p),$p}};function Vp(e){return!!e&&"object"===a(e)&&"number"==typeof e.length&&e instanceof t.Node==0}function Kp(e,t){return!(!e||"object"!==a(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Wp(e){return Yp(e)||Zp(e)}function Yp(e){return["include","exclude"].some((function(t){return Kp(e,t)&&Zp(e[t])}))}function Zp(e){return"string"==typeof e||e instanceof t.Node||Xp(e)||Jp(e)||Vp(e)}function Xp(e){return Kp(e,"fromFrames")}function Jp(e){return Kp(e,"fromShadowDom")}var Qp=function e(n,r){var a=cs(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};function em(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&&!!Td.htmlElms[r]}function tm(e,t){var n=t.include,r=t.exclude,a=void 0===r?[]:r,i=(void 0===n?[]:n).filter((function(t){return Sl(t,e)}));if(0===i.length)return!1;var o=a.filter((function(t){return Sl(t,e)}));if(0===o.length)return!0;var u=nm(i);return Sl(nm(o),u)}function nm(e){var t,n,r=ee(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;t&&Sl(a,t)||(t=a)}}catch(e){r.e(e)}finally{r.f()}return t}function rm(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 am=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function im(e){return e instanceof ua?{vNode:e,domNode:e.actualNode}:{vNode:cs(e),domNode:e}}var om=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(P(n),[a]),o=/^https?:\/\/|^\/\//i.test(e);return sm(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)},um=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)?om(e,t,n,r,a):sm(e.href,t,n,r,!0)},sm=function(e,n,r,a,i){return null==e?Promise.resolve():(a.push(e),new Promise((function(n,r){var a=new t.XMLHttpRequest;a.open("GET",e),a.timeout=aa.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 um(t.sheet,n,r,a,t.isCrossOrigin)})))},lm=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},cm=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){ia(e)}}}(),dm=cm;function fm(){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=fm());var hm=function(e,t){return e.concat(t).filter((function(e,t,n){return n.indexOf(e)===t}))};function pm(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 mm=function(e,t,n){e=Array.isArray(e)?e:[e];var r=Ss(t);return tp(e,r,n)||function(e,t,n){for(var r=ls.get("qsa.recycledLocalVariables",(function(){return[]})),a=[],i=pm(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)&&Os(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=pm(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)},vm=function(e){var t=e.treeRoot,n=function(e){var t=[],n=mm(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:zl(e.actualNode)}}));return hm(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(gm).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&&ym(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 um(e,s,[u,t],l)})));n.push(c)})),Promise.all(n)}(n,zp(a)).then((function(e){return bm(e)}))};function bm(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(bm(t)):e.concat(t)}),[])}function gm(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&&ym(e.media)}function ym(e){return!e||!e.toUpperCase().includes("PRINT")}var Dm=function(e){var t=e.treeRoot,n=mm(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 wm(e){var t={cssom:vm,media:Dm};return Fm(e)?new Promise((function(n,r){var a=Em(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 S({},n,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return q({},e,t)}),{});clearTimeout(o),n(t)})).catch((function(e){clearTimeout(o),r(e)}))})):Promise.resolve()}function Fm(e){return!e||null==e.preload||("boolean"==typeof e.preload?e.preload:"object"===a(t=e.preload)&&Array.isArray(t.assets));var t}function Em(e){var t=aa.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=hm(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 xm(e){var t=i._audit.data.checks||{},n=i._audit.data.rules||{},r=Cl(i._audit.rules,"id",e.id)||{};e.tags=bs(r.tags||[]);var a=Am(t,!0,r),o=Am(t,!1,r);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),Ol(e,bs(n[e.id]||{}))}function Am(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:fp()}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=gp(u.message,r.data)),Ol(r,u)}}var Cm=function(e,t){return mm(e,t)};var km=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 Rm(e,t){if(!t)return e;var n=e.cloneNode(!1),r=Ra(n);return n=1===n.nodeType?ls.get(n.outerHTML,(function(){return Tm(n,r,e,t)})):Tm(n,r,e,t),Array.from(e.childNodes).forEach((function(e){n.appendChild(Rm(e,t))})),n}function Tm(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]||Ta(e,n[t]))})(n,t.name,a)||e.setAttribute(t.name,t.value)})),e):e}function Sm(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&&Sl(e[e.length-1],t)||e.push(t),e}),[]),s=function(e){return e.exclude&&0!==e.exclude.length?function(t){return tm(t,e)}:null}(t),l=0;l<u.length;l++)n=Mm(n,mm(u[l],e,s));return i._selectCache&&i._selectCache.push({selector:e,result:n}),n}function Mm(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 Om(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=ee(aa.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?Om(e.cause,t+1):"..."),r}var Nm=function(e){function t(e){var n,r,a=e.error,i=e.ruleId,o=e.method,u=e.errorNode;return Z(this,t),(r=N(this,t)).name=null!==(n=a.name)&&void 0!==n?n:"RuleError",r.message=a.message,r.stack=a.stack,a.cause&&(r.cause=Om(a.cause)),i&&(r.ruleId=i,r.message+=" Skipping ".concat(r.ruleId," rule.")),o&&(r.method=o),u&&(r.errorNode=u),r}return j(t,e),J(t)}(T(Error)),Bm=Nm,Im=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 jm(e){return _m(Array.isArray(e)?P(e):[e],r)}function _m(e,t){var n=e.shift(),r=n?t.querySelector(n):null;return 0===e.length?r:null!=r&&r.shadowRoot?_m(e,r.shadowRoot):null}function qm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=Array.isArray(e)?P(e):[e];return 0===e.length?[]:Pm(n,t)}function Pm(e,t){var n,r=Y(n=e)||$(n)||te(n)||W(),a=r[0],i=ne(r).slice(1),o=t.querySelectorAll(a);if(0===i.length)return Array.from(o);var u,s=[],l=ee(o);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,P(Pm(i,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var $m=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"]},zm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,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 Gm(e){e=Array.isArray(e)?e:zm;var t=[];return e.forEach((function(e,n){var r=String.fromCharCode(n+96).replace("`","");Array.isArray(e)?t=t.concat(Gm(e).map((function(e){return r+e}))):t.push(r)})),t}var Lm=function(e){for(var t=zm;e.length<3;)e+="`";for(var n=0;n<=e.length-1;n++)if(!(t=t[e.charCodeAt(n)-96]))return!1;return!0};function Hm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=[],n=[];if(i._audit.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}var Um=function(e){function t(e){var n,r,i,o;return Z(this,t),(n=N(this,t))._props=function(e){var t,n,r,a=null!==(t=e.nodeName)&&void 0!==t?t:Km[e.nodeType],i=null!==(n=null!==(r=e.nodeType)&&void 0!==r?r:Vm[e.nodeName])&&void 0!==n?n:1;wa("number"==typeof i,"nodeType has to be a number, got '".concat(i,"'")),wa("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(),$m().includes(o)||(o="text"));var u=q({},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 wa("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 j(t,e),J(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)}}])}(ua),Vm={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Km={};Object.keys(Vm).forEach((function(e){Km[Vm[e]]=e}));var Wm,Ym=Um,Zm=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)},Xm={};function Jm(e){return Xm.hasOwnProperty(e)}function Qm(e){return"string"==typeof e&&Xm[e]?Xm[e]:"function"==typeof e?e:Wm}var ev,tv;function nv(e){return null!=e}function rv(e){return av.apply(this,arguments)}function av(){return(av=R(A().m((function e(t){return A().w((function(e){for(;;)if(0===e.n)return e.a(2,new Promise((function(e){return setTimeout(e,t,"timeout")})))}),e)})))).apply(this,arguments)}function iv(){return iv=R(A().m((function e(){var t,n,r,i,o,u,s,l,c,d,f,h,p,m,v,b,g=arguments;return A().w((function(e){for(;;)switch(e.n){case 0:if(t=g.length>0&&void 0!==g[0]?g[0]:ia,ev){e.n=1;break}return e.a(2);case 1:return e.n=2,Promise.race([rv(tv),ev()]);case 2:if(wa("timeout"!==(n=e.v),"Timeout called for elementInternals"),(r=bs(n))&&Array.isArray(r)){e.n=3;break}return t("externalAPIs.getElementInternals() did not return an array"),e.a(2);case 3:i=0;case 4:if(!(i<r.length)){e.n=14;break}if(r[i]&&"object"===a(r[i])){e.n=5;break}return t("externalAPIs.getElementInternals()[".concat(i,"] is not an object")),e.a(3,13);case 5:if(s=(o=r[i]).ancestry,(u=o.internals)&&"object"===a(u)){e.n=6;break}return t("externalAPIs.getElementInternals()[".concat(i,"].internals is not an object")),e.a(3,13);case 6:if(s&&(Array.isArray(s)||"string"==typeof s)){e.n=7;break}return t("externalAPIs.getElementInternals()[".concat(i,"].ancestry is not a string or an array of strings")),e.a(3,13);case 7:if(l=jm(s),c=cs(l)){e.n=8;break}return t("Unable to locate node using selector ".concat(s," from externalAPIs.getElementInternals()[").concat(i,"]")),e.a(3,13);case 8:d=0,f=Object.entries(u);case 9:if(!(d<f.length)){e.n=12;break}if(h=K(f[d],2),p=h[0],"string"!=typeof(m=h[1])){e.n=10;break}return e.a(3,11);case 10:b=m.value,(v=m.type)||t("externalAPIs.getElementInternals()[".concat(i,"].internals.").concat(p,' is an object but has no "type" property')),b||t("externalAPIs.getElementInternals()[".concat(i,"].internals.").concat(p,' is an object but has no "value" property')),"HTMLElement"===v?uv(u,p,b):"NodeList"===v&&sv(u,p,b);case 11:d++,e.n=9;break;case 12:c.elementInternals=u;case 13:i++,e.n=4;break;case 14:return e.a(2)}}),e)}))),iv.apply(this,arguments)}var ov={loadElementInternals:function(){return iv.apply(this,arguments)}};function uv(e,t,n){var r=jm(n);r?e[t]=r:Object.defineProperty(e,t,{get:function(){throw new Error("Unable to locate node using selector: ".concat(n))}})}function sv(e,t,n){var r,a=[],i=[],o=ee(n);try{for(o.s();!(r=o.n()).done;){var u=r.value,s=jm(u);s?a.push(s):i.push(u)}}catch(e){o.e(e)}finally{o.f()}0===i.length?e[t]=a:Object.defineProperty(e,t,{get:function(){throw new Error("Unable to locate nodes using selectors: ".concat(i.join(",")))}})}var lv={};fe(lv,{getAllCells:function(){return cv},getCellPosition:function(){return jd},getHeaders:function(){return fv},getScope:function(){return _d},isColumnHeader:function(){return qd},isDataCell:function(){return hv},isDataTable:function(){return pv},isHeader:function(){return mv},isRowHeader:function(){return Pd},toArray:function(){return Id},toGrid:function(){return Id},traverse:function(){return bv}});var cv=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 dv(e,t,n){for(var r,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?Pd:qd,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 fv=function(e,t){if(e.getAttribute("headers")){var n=wd(e,"headers");if(n.filter((function(e){return e})).length)return n}t||(t=Id(Ul(e,"table")));var r=jd(e,t),a=dv("row",r,t),i=dv("col",r,t);return[].concat(a,i).reverse()},hv=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=Od(e);return t?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},pv=function(e){var n=Od(e);if(("presentation"===n||"none"===n)&&!vd(e))return!1;if("true"===e.getAttribute("contenteditable")||Ul(e,'[contenteditable="true"]'))return!0;if("grid"===n||"treegrid"===n||"table"===n)return!0;if("landmark"===vh(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(Od(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||!(pc(e).width>.95*mc(t).width)&&!(u<10)&&!e.querySelector("object, embed, iframe, applet")},mv=function(e){if(qd(e)||Pd(e))return!0;if(e.getAttribute("id")){var t=Ea(e.getAttribute("id"));return!!r.querySelector('[headers~="'.concat(t,'"]'))}return!1};function vv(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=vv(e,{x:t.x+e.x,y:t.y+e.y},n,r)).unshift(i),a):[]}var bv=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 vv(e,{x:t.x+e.x,y:t.y+e.y},n,r)},gv={};fe(gv,{allowedAttr:function(){return yv},arialabelText:function(){return xd},arialabelledbyText:function(){return Ed},getAccessibleRefs:function(){return Fv},getElementUnallowedRoles:function(){return Cv},getExplicitRole:function(){return Od},getImplicitRole:function(){return uf},getOwnedVirtual:function(){return vf},getRole:function(){return ff},getRoleType:function(){return vh},getRolesByType:function(){return Rv},getRolesWithNameFromContents:function(){return Sv},implicitNodes:function(){return Iv},implicitRole:function(){return uf},isAccessibleRef:function(){return jv},isAriaRoleAllowedOnElement:function(){return Ev},isComboboxPopup:function(){return _v},isUnsupportedRole:function(){return Sd},isValidRole:function(){return Md},label:function(){return Pv},labelVirtual:function(){return Yf},lookupTable:function(){return Bv},namedFromContents:function(){return mf},requiredAttr:function(){return $v},requiredContext:function(){return zv},requiredOwned:function(){return Gv},validateAttr:function(){return Hv},validateAttrValue:function(){return Lv}});var yv=function(e){var t=Td.ariaRoles[e],n=P(Bd());return t?(t.allowedAttrs&&n.push.apply(n,P(t.allowedAttrs)),t.requiredAttrs&&n.push.apply(n,P(t.requiredAttrs)),n):n},Dv=/^idrefs?$/;function wv(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=$d(e.getAttribute(n[a])||"");if(i){var o,u=ee(Qh(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&&wv(e.childNodes[l],t,n)}var Fv=function(e){var t,n=Gl(e=e.actualNode||e);n=n.documentElement||n;var r=ls.get("idRefsByRoot",(function(){return new Map})),a=r.get(n);return a||(a=new Map,r.set(n,a),wv(n,a,Object.keys(Td.ariaAttrs).filter((function(e){return Dv.test(Td.ariaAttrs[e].type)})))),null!==(t=a.get(e.id))&&void 0!==t?t:[]},Ev=function(e,t){var n=e instanceof ua?e:cs(e),r=uf(n),a=of(n);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==r&&!!a.allowedRoles},xv=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],Av={header:"banner",footer:"contentinfo"},Cv=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=im(e).vNode;if(!em(n))return[];var r=n.props.nodeName,a=uf(n)||Av[r];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var n=Qh(e.attr("role").toLowerCase());t=t.concat(n)}return t.filter((function(e){return Md(e)}))}(n).filter((function(e){return!function(e,t,n,r){return!(!n||e!==r)||(!xv.includes(e)||vh(e)===r)&&Ev(t,e)}(e,n,t,a)}))},kv=function(e){return Object.keys(Td.ariaRoles).filter((function(t){return Td.ariaRoles[t].type===e}))},Rv=function(e){return kv(e)},Tv=function(){return ls.get("ariaRolesNameFromContent",(function(){return Object.keys(Td.ariaRoles).filter((function(e){return Td.ariaRoles[e].nameFromContent}))}))},Sv=function(){return Tv()},Mv=function(e){return null===e},Ov=function(e){return null!==e},Nv={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"]};Nv.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:Ov}}]},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:Ov}}]},"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:Ov}}]},"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:Ov}}]},"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:Ov}}]},"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:Ov}}]},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:Ov}}]},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:Ov}}]},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:Ov}}]},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:Ov}}]},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:Ov}}]},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:Ov}}]},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:Ov}}]},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:Ov}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Nv.implicitHtmlRole=Hd,Nv.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:Ov}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Ov}},{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"]}],Nv.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Mv}},{nodeName:"img",attributes:{alt:Mv}},{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"]}],Nv.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}},Nv.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 Bv=Nv,Iv=function(e){var t=null,n=Bv.role[e];return n&&n.implicit&&(t=bs(n.implicit)),t},jv=function(e){return!!Fv(e).length};function _v(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,n=ff(e);if(null!=t||(t=Ad["aria-haspopup"].values),!t.includes(n))return!1;var r=function(e){for(;e=e.parent;)if(null!==ff(e,{noPresentational:!0}))return e;return null}(e);if(qv(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=zl(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(qv)}var qv=function(e){return e&&"combobox"===ff(e)},Pv=function(e){return e=cs(e),Yf(e)},$v=function(e){var t=Td.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?P(t.requiredAttrs):[]},zv=function(e){var t=Td.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?P(t.requiredContext):null},Gv=function(e){var t=Td.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?P(t.requiredOwned):null},Lv=function(e,t){var n,r,a=(e=e instanceof ua?e:cs(e)).attr(t),i=Td.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=Qh(a)).reduce((function(e,t){return e&&i.values.includes(t)}),0!==r.length);case"idref":try{var o=Gl(e.actualNode);return!(!a||!o.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return wd(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}},Hv=function(e){return!!Td.ariaAttrs[e]},Uv=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],Vv=Uv[0],Kv=Uv[1],Wv=Uv[2],Yv=Uv[3];function Zv(e){return"caption"===e.props.nodeName}var Xv={};fe(Xv,{getAriaRolesByType:function(){return kv},getAriaRolesSupportingNameFromContent:function(){return Tv},getElementSpec:function(){return of},getElementsByContentType:function(){return Nd},getGlobalAriaAttrs:function(){return Bd},implicitHtmlRoles:function(){return Hd}});var Jv=["alert","log","status"];function Qv(e,t){var n=e.actualNode;if("button"===ff(e)||function(e,t){var n=e.actualNode,r=ff(e),a=(n.getAttribute("aria-live")||"").toLowerCase().trim(),i=kv("landmark");return!!(["assertive","polite"].includes(a)||Jv.includes(r)||i.includes(r)||t.regionMatcher&&af(e,t.regionMatcher))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||jh(e.actualNode)&&sd(e.actualNode,"href")||!gf(n)){for(var a=e;a;)a._hasRegionDescendant=!0,a=a.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return n!==r.body&&lh(n,!0)&&!function(e){return["none","presentation"].includes(ff(e))&&!uh(e)}(e)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return Qv(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}function eb(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 tb(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:eb(n.getPropertyValue("font-weight")),fontSize:parseInt(n.getPropertyValue("font-size")),isItalic:"italic"===n.getPropertyValue("font-style")}}function nb(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 rb=/[;,\s]/,ab=/^[0-9.]+$/,ib={};fe(ib,{aria:function(){return gv},color:function(){return ob},dom:function(){return $l},forms:function(){return $b},matches:function(){return af},math:function(){return Ac},standards:function(){return Xv},table:function(){return lv},text:function(){return Dd},utils:function(){return sa}});var ob={};fe(ob,{Color:function(){return Oh},centerPointOfRect:function(){return ub},elementHasImage:function(){return kh},elementIsDistinct:function(){return lb},filteredRectStack:function(){return db},flattenColors:function(){return pb},flattenShadowColors:function(){return vb},getBackgroundColor:function(){return Nb},getBackgroundStack:function(){return bb},getContrast:function(){return jb},getForegroundColor:function(){return _b},getOwnBackgroundColor:function(){return Bh},getRectStack:function(){return cb},getStackingContext:function(){return Rb},getStrokeColorsFromShadows:function(){return Eb},getTextShadowColors:function(){return Cb},hasValidContrastRatio:function(){return Pb},incompleteData:function(){return Ch},parseTextShadows:function(){return Ab},stackingContextToColor:function(){return Tb}});var ub=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 sb(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var lb=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 Oh;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(sb(r)[0]!==sb(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},cb=function(e){var t=hd(e),n=rh(e);return!n||n.length<=1?[t]:n.some((function(e){return void 0===e}))?null:(n.splice(0,0,t),n)},db=function(e){var t=cb(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]:(Ch.set("bgColor","elmPartiallyObscuring"),null)}return Ch.set("bgColor","outsideViewport"),null},fb=["hue","saturation","color","luminosity"],hb={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 pb(e,t){var n=function(e,t,n){if(fb.includes(n))return hb[n](e,t);var r=new Oh;return["r","g","b"].forEach((function(a){r[a]=hb[n](e[a],t[a])})),r}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),r=mb(e.red,e.alpha,t.red,t.alpha,255*n.r),a=mb(e.green,e.alpha,t.green,t.alpha,255*n.g),i=mb(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 Oh(r,a,i,o);var u=Math.round(r/o),s=Math.round(a/o),l=Math.round(i/o);return new Oh(u,s,l,o)}function mb(e,t,n,r,a){return t*(1-r)*e+t*r*a+(1-t)*r*n}function vb(e,t){var n=e.alpha;return new Oh((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 bb(e){for(var n=rh(e).map((function(n){return function(e){var n=e.indexOf(r.body),a=e,i=Bh(t.getComputedStyle(r.documentElement));if(n>1&&0===i.alpha&&!kh(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=zh(n,e))})),a=0;a<n.length;a++){var i=n[a];if(i[0]!==e)return Ch.set("bgColor","bgOverlap"),null;if(0!==a&&!gb(i,n[0]))return Ch.set("bgColor","elmPartiallyObscuring"),null}return n[0]||null}function gb(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 yb=.54,Db=.5,wb=1.5,Fb=["top","right","bottom","left"];function Eb(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=ee(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=K(u,2),c=l[0],d=l[1];c>Db?s.right.push(c):-c>Db&&s.left.push(-c),d>Db?s.bottom.push(d):-d>Db&&s.top.push(-d)}}catch(e){r.e(e)}finally{r.f()}return n}(e),a=Object.entries(r).map((function(e){var t=K(e,2),n=t[0],r=t[1],a=Fb.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(xb).filter((function(e){return null!==e}))}function xb(e){var t=e.colorStr,n=e.sides;if(4!==e.edgeCount)return null;var r=new Oh;r.parseString(t);var a=0,i=!0;return Fb.forEach((function(e){a+=n[e].length/4,i&&(i=n[e].every((function(e){return e>wb})))})),i||(r.alpha=1-Math.pow(yb,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)wa(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),n=n.replace(a[0],"").trim(),t.colorStr=a[0];else if(i){wa(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));wa(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 Cb(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);wa(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,f=[],h=ee(Ab(s));try{for(h.s();!(d=h.n()).done;){var p=d.value,m=p.colorStr||u.getPropertyValue("color"),v=K(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=Eb(f,{ignoreEdgeCount:i});if(null===w)return null;o.push.apply(o,P(w)),f.splice(0,f.length)}var F=kb({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=Eb(f,{ignoreEdgeCount:i});if(null===E)return null;o.push.apply(o,P(E))}return o}function kb(e){var t=e.colorStr,n=e.blurRadius,r=e.fontSize;if(e.offsetX>n||e.offsetY>n)return new Oh(0,0,0,0);var a=new Oh;return a.parseString(t),a.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(n,r),a}function Rb(e,t){var n=cs(e);if(n._stackingContext)return n._stackingContext;var r=[],a=new Map;return(t=null!=t?t:bb(e)).forEach((function(e){var t,n=cs(e),i=function(e){var t=new Oh;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=Ob(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=Ob(a,n,u);o.length||r.unshift(s),s.bgColor=i})),n._stackingContext=r,r}function Tb(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=pb(e.descendants.reduce(Sb,Mb()),e.bgColor,e.descendants[0].blendMode);return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}function Sb(e,t){var n;return n=e instanceof Oh?e:Tb(e).color,pb(Tb(t).color,n,t.blendMode)}function Mb(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 Oh(0,0,0,0),blendMode:(r=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),r||void 0),descendants:[]}}function Ob(e,t,n){var r,a=e.get(n),i=null!==(r=e.get(t))&&void 0!==r?r:Mb(t,a);return a&&n!==t&&!a.descendants.includes(i)&&a.descendants.unshift(i),i}function Nb(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,i=cs(e),o=i._cache.getBackgroundColor;if(o)return n.push.apply(n,P(o.bgElms)),Ch.set("bgColor",o.incompleteData),o.bgColor;var u=function(e,n,a){var i,o,u=bb(e);if(!u)return null;var s=th(e),l=null!==(i=Cb(e,{minRatio:a,ignoreEdgeCount:!0}))&&void 0!==i?i:[];l.length&&(l=[{color:l.reduce(vb)}]);for(var c=0;c<u.length;c++){var d=u[c],f=t.getComputedStyle(d);if(kh(d,f))return n.push(d),null;var h=void 0;try{if(0===(h=Bh(f)).alpha)continue}catch(e){if(e&&Ch.get("colorParse"))return null;throw e}if("inline"!==f.getPropertyValue("display")&&!Bb(d,s))return n.push(d),Ch.set("bgColor","elmPartiallyObscured"),null;if(n.push(d),1===h.alpha)break}l=Rb(e,u).map(Tb).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=Bh(o),l=Bh(u),c=0!==l.alpha&&Bb(i,e.getBoundingClientRect());(0!==l.alpha&&0===s.alpha||c&&1!==l.alpha)&&a.unshift({color:l,blendMode:Ib(u.getPropertyValue("mix-blend-mode"))}),0!==s.alpha&&(!c||c&&1!==l.alpha)&&a.unshift({color:s,blendMode:Ib(o.getPropertyValue("mix-blend-mode"))})}return a}(e,u.includes(r.body));if((o=l).unshift.apply(o,P(p)),0===l.length)return new Oh(255,255,255,1);var m=l.reduce((function(e,t){return pb(t.color,e.color instanceof Oh?e.color:e,t.blendMode)}));return pb(m.color instanceof Oh?m.color:m,new Oh(255,255,255,1))}(e,n,a);return i._cache.getBackgroundColor={bgColor:u,bgElms:n,incompleteData:Ch.get("bgColor")},u}function Bb(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 Ib(e){return e||void 0}var jb=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=pb(t,e));var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};function _b(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 Oh).parseString(u)}(i,a)},function(){return function(e){return(new Oh).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(i)},function(){return Cb(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&&Ch.get("colorParse"))return null;throw e}var d=u.reduce((function(e,t){return pb(e,t)}));if(null!=r||(r=Nb(e,[])),null===r){var f=Ch.get("bgColor");return Ch.set("fgColor",f),null}var h=Rb(e);return pb(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(Tb);if(i.length){var o=i.reduce((function(e,t){return pb(t.color,e.color instanceof Oh?e.color:e)}),{color:new Oh(0,0,0,0),blendMode:"normal"});e=pb(e,o),t=t.ancestor}else t=t.ancestor}}return e}(d,qb(h,e),h),new Oh(255,255,255,1))}function qb(e,t){var n,r=ee(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=qb(i.descendants,t);if(o)return o}}catch(e){r.e(e)}finally{r.f()}}var Pb=function(e,t,n,r){var a=jb(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}},$b={};fe($b,{isAriaCombobox:function(){return Rf},isAriaListbox:function(){return kf},isAriaRange:function(){return Sf},isAriaTextbox:function(){return Cf},isDisabled:function(){return Gb},isNativeSelect:function(){return Af},isNativeTextbox:function(){return xf}});var zb=["fieldset","button","select","input","textarea"],Gb=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=!(!zb.includes(r)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=n,n};function Lb(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)?Lb(r,i):r===i)}))}function Hb(e){var t=ff(e),n=t&&t.includes("heading"),r=e.attr("aria-level"),a=parseInt(r,10),i=K(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 Ub(e,t){var n,r=null===(n=t.data)||void 0===n?void 0:n.headingOrder,a=Kb(t.node.ancestry,1);if(!r)return e;var i=r.map((function(e){return function(e,t){return q({},e,{ancestry:t.concat(e.ancestry)})}(e,a)})),o=function(e,t){for(;t.length;){var n=Vb(e,t);if(-1!==n)return n;t=Kb(t,1)}return-1}(e,a);return-1===o?e.push.apply(e,P(i)):e.splice.apply(e,[o,0].concat(P(i))),e}function Vb(e,t){return e.findIndex((function(e){return rm(e.ancestry,t)}))}function Kb(e,t){return e.slice(0,e.length-t)}function Wb(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 Yb(e){return e.getComputedStylePropertyValue("pointer-events")}function Zb(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function Xb(e,t){return Sl(e,t)&&!bd(t)}function Jb(e){return e.map((function(e){return e.actualNode}))}function Qb(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||!gf(e))return!1;var d=Od(e),f=ff(e);return d?!a.includes(d)&&c+"[role=".concat(f,"]"):!o.includes(s)&&!a.includes(f)&&c+s}function eg(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}function tg(e){return""!==(e||"").trim()}function ng(e){var t=Uf(e,{emoji:!0,nonBmp:!0,punctuations:!0});return $d(t)}function rg(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"===vh(e)&&vd(e)?t.push(e):t.push.apply(t,P(rg(e)))})),t}function ag(e){var t=lm(e.attr("tabindex"));return null!==t&&t<0}function ig(e){if(bd(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 ig(e)}))}var og=["block","list-item","table","flex","grid","inline-block"];function ug(e){var n=t.getComputedStyle(e).getPropertyValue("display");return-1!==og.indexOf(n)||"table-"===n.substr(0,6)}function sg(e,t){var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var lg=["block","list-item","table","flex","grid","inline-block"];function cg(e){var n=t.getComputedStyle(e).getPropertyValue("display");return-1!==lg.indexOf(n)||"table-"===n.substr(0,6)}var dg=Pu((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===Bh(r).alpha&&a("background-image","none"))return 0;var i=fg(r.getPropertyValue("width")),o=fg(r.getPropertyValue("height"));return"px"!==i.unit||"px"!==o.unit?0===i.value||0===o.value?0:1/0:i.value*o.value}));function fg(e){var t=K(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 hg={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},pg={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 mg(e,t,n,r){var a=Od(e);if(n||(n=zv(a)),!n)return null;for(var i=n.includes("group"),o=r?e:e.parent;o;){var u=ff(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 vg(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:sh(t,!1,!0)}var bg=Pu((function(e){if(e){var t=ff(e,{noPresentational:!0,chromium:!0});return t?vh(t):bg(e.parent)}}));function gg(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 Ns(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=o&&ff(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 yg(e,t,n){var r,a=n.props,i=a.nodeName,o=a.type,u=(r=n.attr("aria-checked"))?"true"===(r=r.toLowerCase())?r:"false":"";if("input"!==i||"radio"!==o||!u)return!0;var s=n.props.checked?"true":"false";return u===s||(this.data({messageKey:"radio",checkState:s}),!1)}function Dg(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 wg={row:gg,checkbox:Dg,radio:yg};function Fg(e,t,n){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!n.hasAttr("contenteditable"))}var Eg=function(e,t){try{return"svg"===t.props.nodeName||!!Ns(t,"svg")}catch(e){return!1}},xg=[function(e,t){return Ag(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!Eg(0,t)},function(e,t){return vd(t)},function(e,t){return bd(t)||!Cg(t)},function(e){return!yh(e,{noLengthCompare:!0,includeInlineBlock:!0})}];function Ag(e){return"widget"===vh(e)}var Cg=Pu((function e(t){return!(null==t||!t.parent)&&(!(!Ag(t.parent)||!bd(t.parent))||e(t.parent))})),kg=function(e,t){var n=Od(t);return!(n&&!["none","presentation"].includes(n)&&!(Cd[n]||{}).accessibleNameRequired&&!vd(t))};function Rg(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 Tg=function(e,t,n){return n.initiator},Sg={emoji:!0,nonBmp:!1,punctuations:!0};function Mg(e){return!e||"true"!==e.getAttribute("aria-hidden")&&Mg(fc(e))}var Og={"abstractrole-evaluate":function(e,t,n){var r=Qh(n.attr("role")).filter((function(e){return"abstract"===vh(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 lc(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=of(n);if(!r.allowedAriaAttrs)return!0;if(Od(n))return!0;var a,i=r.allowedAriaAttrs,o=Bd(),u=[],s=ee(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=ff(n),i=yv(a);Array.isArray(t[a])&&(i=hm(t[a].concat(i)));var o,u=ee(n.attrNames);try{for(u.s();!(o=u.n()).done;){var s=o.value;!Hv(s)||i.includes(s)||Fg(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||em(n)||vd(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=Cv(t,r);if(o.length){if(this.data(o),!gf(t))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==Od(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=ff(n);return!wg[r]||wg[r].call(this,e,t,n)},"aria-conditional-checkbox-attr-evaluate":Dg,"aria-conditional-radio-attr-evaluate":yg,"aria-conditional-row-attr-evaluate":gg,"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(Qh(r)),function(e){if(""===e.trim())return Td.ariaAttrs["aria-errormessage"].allowEmpty;var t,r=Qh(e);if(r.length>1)return this.data({messageKey:"unsupported",values:r}),!1;try{t=e&&wd(n,"aria-errormessage")[0]}catch(e){return void this.data({messageKey:"idrefs",values:r})}if(t){if(!gf(t))return this.data({messageKey:"hidden",values:r}),!1;var a=Qh(n.attr("aria-describedby"));return"alert"===Od(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 Mg(fc(e))},"aria-label-evaluate":function(e,t,n){return!!$d(xd(n))},"aria-labelledby-evaluate":function(e,t,n){try{return!!$d(Ed(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=ff(t,{chromium:!0,fallback:!0}),i=function(e,t,n,r){var a=Td.ariaRoles[t];return a?a.prohibitedAttrs||[]:t||r.includes(n)||"widget"===bg(e)?[]:["aria-label","aria-labelledby"]}(t,a,r,n).filter((function(e){return!!t.attrNames.includes(e)&&""!==$d(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=jf(t,{subtreeDescendant:!0});return""===$d(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=Od(n),a=n.attrNames,i=$v(r);if(Array.isArray(t[r])&&(i=hm(t[r],i)),!r||!a.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!vd(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=of(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=Od(n,{dpub:!0}),i=Gv(a);if(null===i)return!0;var o=function(e,t){for(var n,r=[],a=vf(e),i=function(){if(3===n.props.nodeType&&r.push({vNode:n,role:null}),1!==n.props.nodeType||!gf(n))return 1;var e=ff(n,{noPresentational:!0}),i=function(e){return Bd().find((function(t){return e.hasAttr(t)}))}(n),o=!!i||vd(n);if(!e&&!o||["group","rowgroup"].includes(e)&&t.some((function(t){return t===e})))a.push.apply(a,P(n.children));else if(e||o){var u=i||(n.hasAttr("tabindex")?"tabindex":void 0);r.push({role:e,attr:u,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=Od(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(vg))&&void 0))},"aria-required-children-matches":function(e,t){var n=Od(t,{dpub:!0});return!!Gv(n)},"aria-required-parent-evaluate":function(e,t,n){var r=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=mg(n,r);if(!a)return!0;var i=function(e){for(var t=[],n=null;e;){if(e.getAttribute("id")){var r=Ea(e.getAttribute("id"));(n=Gl(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=mg(cs(i[o]),r,a,!0)))return!0;return this.data(a),!1},"aria-required-parent-matches":function(e,t){var n=Od(t);return!!zv(n)},"aria-roledescription-evaluate":function(){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=ff(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=Td.ariaAttrs[t];if(!Hv(t))return!1;var r=n.unsupported;return"object"!==a(r)?!!r:!af(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)&&!Hv(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=Lv(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=Td.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!!$d(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(Kf.stateTerms.includes(s))return!0;var l=o[s],c=n.hasAttr("type")?$d(n.attr("type")).toLowerCase():"text";return c=$m().includes(c)?c:"text",void 0===l?"text"===c:l.includes(c)},"autocomplete-matches":function(e,t){var n=t.attr("autocomplete");if(!n||""===$d(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=Od(t),u=lm(t.attr("tabindex"));if(u<0&&t.hasAttr("role")){var s=Td.ariaRoles[o];if(void 0===s||"widget"!==s.type)return!1}return!(u<0&&t.actualNode&&!wc(t)&&!gf(t))},"autocomplete-valid-evaluate":function(e,t,n){var r=n.attr("autocomplete")||"";return Wf(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""!==$d(Lf(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(""===$d(a))return!0;var i=n.attr("aria-roledescription");return"string"!=typeof i?(this.data({messageKey:"noRoleDescription"}),!1):""!==$d(i)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,n){return!Tg(0,0,n)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,n){return!Cm(n,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0},"caption-faked-evaluate":function(e){var t=Id(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(!wc(e))return this.data({messageKey:"hidden"}),!0;var h=Ff(r,!1,!0);if(a&&function(e){var t={nonBmp:!0},n=Df(e,t),r=""===$d(Uf(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(dg(e.actualNode,":before")+dg(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=Cb(e,{minRatio:.001,maxRatio:d});if(null!==x){var A=[],C=Nb(e,A,d),k=_b(e,!1,C,n),R=null,T=null,S=null;if(0===x.length)R=jb(C,k);else if(k&&C){S=[].concat(P(x),[C]).reduce(vb);var M=jb(C,k),O=jb(C,S),N=jb(S,k);(R=Math.max(M,O,N))!==M&&(T=O>N?"shadowOnBgColor":"fgOnShadowColor")}var B=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,j,_=Math.floor(100*R)/100;null===C?Ch.get("colorParse")?(I="colorParse",j=Ch.get("colorParse")):I=Ch.get("bgColor"):B||(I=T),null===k&&Ch.get("colorParse")&&(I="colorParse",j=Ch.get("colorParse"));var q=1===_,$=1===h.length;return q?I=Ch.set("bgColor","equalRatio"):B||!$||i||(I="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:C?C.toHexString():void 0,contrastRatio:_,fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:b?"bold":"normal",messageKey:I,expectedContrastRatio:D+":1",shadowColor:S?S.toHexString():void 0,colorParse:j}),null===k||null===C||q||$&&!i&&!B?(I=null,Ch.clear(),void this.relatedNodes(A)):(B||this.relatedNodes(A),B)}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(Gb(n)||ed(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(!Zh(s={top:s.top,bottom:s.bottom,left:s.left+u,right:s.right+u},e))return!1}return!0}var l=Hl(n,"label");if("label"===i||l){var c=l||e,d=l?cs(l):n;if(c.htmlFor){var f=Gl(c).getElementById(c.htmlFor),h=f&&cs(f);if(h&&Gb(h))return!1}var p=Cm(d,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(p&&Gb(p))return!1}for(var m=[],v=n;v;){if(v.props.id){var b=Fv(v).filter((function(e){return Qh(e.getAttribute("aria-labelledby")||"").includes(v.props.id)})).map((function(e){return cs(e)}));m.push.apply(m,P(b))}v=v.parent}if(m.length>0&&m.every(Gb))return!1;if(!function(e){var t=Ff(e,!1,!0);return""!==t&&""!==Uf(t,Sg)&&e.children.some((function(e){return"#text"===e.props.nodeName&&!wf(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&&""!==$d(w.actualNode.nodeValue)&&g.selectNodeContents(w.actualNode)}var F=Array.from(g.getClientRects()),E=Wl(n);return F.some((function(t){var n=Zh(t,e);if(!E.length)return n;var r=E.some((function(e){return Vl(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=K(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=K(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=K(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=K(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(pv(e)){var t=Id(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 pv(e)},"deprecatedrole-evaluate":function(e,t,n){var r=ff(n,{dpub:!0,fallback:!0}),a=Td.ariaRoles[r];return!(null==a||!a.deprecated||(this.data(r),0))},"dlitem-evaluate":function(e){var t=fc(e),n=t.nodeName.toUpperCase(),r=Od(t);return"DIV"===n&&["presentation","none",null].includes(r)&&(n=(t=fc(t)).nodeName.toUpperCase(),r=Od(t)),"DL"===n&&!(r&&!["presentation","none","list"].includes(r))},"doc-has-title-evaluate":function(){return!!$d(r.title)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),n='*[id="'.concat(Ea(t),'"]'),r=Array.from(Gl(e).querySelectorAll(n));return!jv(e)&&r.some(vd)},"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 jv(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var n=Gl(e),r=Array.from(n.querySelectorAll('[id="'.concat(Ea(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(Ea(t),'"]'),r=Array.from(Gl(e).querySelectorAll(n));return!jv(e)&&r.every((function(e){return!vd(e)}))},"duplicate-img-label-evaluate":function(e,t,n){if(["none","presentation"].includes(ff(n)))return!1;var r=Ns(n,t.parentSelector);if(!r)return!1;var a=Ff(r,!0).toLowerCase();return""!==a&&a===Lf(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=Gl(n.actualNode),i=Ea(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(wc(e)){var t=$d(Fd(e,{inControlContext:!0,startNode:n}));return r.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}},"fallbackrole-evaluate":function(e,t,n){var r=Qh(n.attr("role"));return!(r.length<=1)&&(!function(e,t){return!uf(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&&!Fh())||!!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=Ns(n.parent,"[contenteditable]");return!!a&&e(a)}(n))||bd(n)},"focusable-modal-open-evaluate":function(e,t,n){var r=n.tabbableElements.map((function(e){return e.actualNode}));return!r||!r.length||!Fh()||void this.relatedNodes(r)},"focusable-no-name-evaluate":function(e,t,n){if(!bd(n))return!1;try{return!Lf(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&&!Fh())||!!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 ig(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!!$d(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&&Fh())return!0;var r=mm(n,t.selector,(function(e){return gf(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=Bd().filter((function(e){return n.hasAttr(e)}));return this.data(r),r.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==uf(t,{chromium:!0})},"has-lang-evaluate":function(e,t,n){var a=void 0!==r&&$u(r);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&tg(n.attr("xml:lang"))&&!tg(n.attr("lang"))&&!a?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return tg(n.attr(e))}))||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,n){try{return""!==$d(jf(n))}catch(e){return}},"has-widget-role-evaluate":function(e,t,n){var r=Od(n);if(null===r)return!1;var a=vh(r);return"widget"===a||"composite"===a},"heading-matches":function(e,t){return"heading"===ff(t)},"heading-order-after":function(e){var t=function(e){return(e=P(e)).sort((function(e,t){return e.node.ancestry.length-t.node.ancestry.length})),e.reduce(Ub,[]).filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var n,r,a,i,o=Vb(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=ls.get("headingOrder");if(e)return!0;var t=mm(i._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",gf);return e=t.map((function(e){return{ancestry:[is(e.actualNode)],level:Hb(e)}})),this.data({headingOrder:e}),ls.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,n){var r=Xf(n),a=e.getAttribute("title");return!!r&&(a||(a="",e.getAttribute("aria-describedby")&&(a=wd(e,"aria-describedby").map((function(e){return e?Fd(e):""})).join(""))),$d(a)===$d(r))},"hidden-content-evaluate":function(e,n,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&sh(r)){var a=t.getComputedStyle(e);if("none"===a.getPropertyValue("display"))return;if("hidden"===a.getPropertyValue("visibility")){var i=fc(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=Gl(e),a=Ea(e.getAttribute("id")),i=r.querySelector('label[for="'.concat(a,'"]'));if(i&&!gf(i)){var o;try{o=Lf(n).trim()}catch(e){return}return""===o}}return!1},"html-namespace-matches":function(e,t){return!Eg(0,t)},"html5-scope-evaluate":function(e){return!mh(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 Lb(e.data.urlProps,s)}));l.length&&!c&&(i.result=void 0),i.relatedNodes=[],(a=i.relatedNodes).push.apply(a,P(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=Dd.accessibleTextVirtual(n),a=Dd.sanitize(Dd.removeUnicode(r,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var i={name:a,urlProps:$l.urlPropsFromAttribute(e,"href")};return this.data(i),this.relatedNodes([e]),!0}},"identical-links-same-purpose-matches":function(e,t){if(!Lf(t))return!1;var n=ff(e);return!n||"link"===n},"implicit-evaluate":function(e,t,n){try{var r=Ns(n,"label");if(r){var a=$d(Lf(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&&!Eh(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(q({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(q({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 dh(e)},"internal-link-present-evaluate":function(e,t,n){return Cm(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=eg(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!==Od(a)){var c=Qb(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=eg(s.children,!0);i.push.apply(i,P(d))}}return 0!==r.length&&(this.data({values:r.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":function(e,t,n){var r=Qh(n.attr("role"));return!!r.every((function(e){return!Md(e.toLowerCase(),{allowAbstract:!0})}))&&(this.data(r),!0)},"is-element-focusable-evaluate":function(e,t,n){return vd(n)},"is-initiator-matches":Tg,"is-on-screen-evaluate":function(e){return wc(e)},"is-visible-matches":function(e){return wc(e)},"is-visible-on-screen-matches":function(e,t){return wc(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=Fd(e).toLowerCase(),c=Ff(n,!1,!1,{ignoreIconLigature:!0,pixelThreshold:u,occurrenceThreshold:s}).toLowerCase();return!c||(Vf(l)<1||Vf(c)<1?void 0:(a=c,i=ng(l),o=ng(a),!(!i||!o)&&i.includes(o)))},"label-content-name-mismatch-matches":function(e,t){var n=ff(e);return!!(n&&kv("widget").includes(n)&&Tv().includes(n)&&($d(xd(t))||$d(Ed(e)))&&$d(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")||!Hl(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=kv("landmark"),n=fc(e),r=ff(e);for(this.data({role:r});n;){var a=Od(n);if(a||"FORM"===n.nodeName.toUpperCase()||(a=uf(n)),a&&t.includes(a)&&("main"!==a||"complementary"!==r))return!1;n=fc(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=ff(e),a=Lf(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=kv("landmark"),n=ff(e);if(!n)return!1;var r=e.props.nodeName;return"section"===r||"form"===r?!!Lf(e):t.indexOf(n)>=0||"region"===n}(t)&&gf(t)},"layout-table-matches":function(e){return!pv(e)&&!vd(e)},"link-in-text-block-evaluate":function(e,t){var n=t.requiredContrastRatio,r=t.allowSameColor;if(cg(e))return!1;for(var a=fc(e);a&&1===a.nodeType&&!cg(a);)a=fc(a);if(a){this.relatedNodes([a]);var i=_b(e),o=_b(a),u=Nb(e),s=Nb(a),l=i&&o?sg(i,o):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=n)return!0;var c=u&&s?sg(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=n)return!0;if(!c){var d,f=null!==(d=Ch.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:f}),void Ch.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=$d(e.innerText),n=Od(e);return(!n||"link"===n)&&!!t&&!!wc(e)&&yh(e)},"link-in-text-block-style-evaluate":function(e){if(ug(e))return!1;for(var n=fc(e);n&&1===n.nodeType&&!ug(n);)n=fc(n);if(n){if(this.relatedNodes([n]),lb(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=Od(r),i=ff(r);return!!["presentation","none","list"].includes(i)||(a&&Md(a)&&this.data({messageKey:"roleNotValid"}),!1)}},"matches-definition-evaluate":function(e,t,n){return af(n,t.matcher)},"meta-refresh-evaluate":function(e,t,n){var r=t||{},a=r.minDelay,i=r.maxDelay,o=K((n.attr("content")||"").trim().split(rb),1)[0];if(!o.match(ab))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=K(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=Ea(e.getAttribute("id")),n=e.parentNode,r=Gl(e);r=r.documentElement||r;var a=Array.from(r.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter((function(e){return!lc(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 gf(e)}));if(i.length>1)return;return!wd(e,"aria-labelledby").includes(i[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var n=ff(t);return!!n&&!!Td.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 K(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":kg,"no-focusable-content-evaluate":function(e,t,n){if(n.children)try{var r=rg(n);if(!r.length)return!0;var a=r.filter(ag);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=ff(n,{noImplicit:!0});this.data(i);try{r=$d(_f(n)).toLowerCase(),a=$d(Lf(n)).toLowerCase()}catch(e){return}return!(!a&&!r)&&!((a||!r)&&a.includes(r))&&void 0},"no-naming-method-matches":function(e,t){var n=of(t).namingMethods;return!(n&&0!==n.length||"combobox"===Od(t)&&Cm(t,'input:not([type="hidden"])').length||_v(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var n=lm(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[kg,Rg].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===ff(n)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var n=t.actualNode,a=n.nodeName.toUpperCase();if(1===n.nodeType&&gf(n)){var i=Od(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&&gf(t)){i=!1;var n="LI"===t.nodeName.toUpperCase(),l=ff(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=tb(e),l=o?tb(o):null,c=u?tb(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||!nb(s,l,i))return!0;var m=Hl(n,"blockquote");return!!(m&&"BLOCKQUOTE"===m.nodeName.toUpperCase()||c&&!nb(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(!ls.get(r)){ls.set(r,!0);var a=mm(i._tree[0],t.selector,(function(e){return gf(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!Hl(e,t.nativeScopeFilter)}))),"string"==typeof t.role&&(a=a.filter((function(e){return ff(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!==uf(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,n){var r=Od(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=ff(n);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(r))return!1;var i=Bd().some((function(e){return n.hasAttr(e)})),o=vd(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=ee(t);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(rm(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=ls.get("regionlessNodes",(function(){return function(e){var t=Qv(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(Zv),i=!!a&&$d(jf(a));return!(!i||!r)&&$d(r).toLowerCase()===$d(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!==jp(e,13)&&!1===_v(t)&&(a=(n=t).boundingClientRect,Cm(n,"*").some((function(e){if(!sh(e,!0,!0))return!1;var t,n=[];return uh(e)?(t=n).push.apply(t,P(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=sd(e,"href");return!!t&&(gf(t)||void 0)},"skip-link-matches":function(e){return jh(e)&&yc(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":Eg,"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(""===jf(r,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},"tabindex-evaluate":function(e,t,n){var r=lm(n.attr("tabindex"));return null===r||r<=0},"table-or-grid-role-matches":function(e,t){var n=ff(t);return["treegrid","grid","table"].includes(n)},"target-offset-evaluate":function(e,t,n){var r=(null==t?void 0:t.minOffset)||24;if(Tc(10*r,n.boundingClientRect))return this.data({messageKey:"large",minOffset:r}),!0;var a,i=[],o=r,u=ee(Jc(n,r));try{for(u.s();!(a=u.n()).done;){var s=a.value;if("widget"===vh(s)&&vd(s)){var l=null;try{l=Sc(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(bd)?(this.data({closestOffset:o,minOffset:r}),!bd(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(Tc(10*r,a))return this.data({messageKey:"large",minSize:r}),!0;var i=Tc.bind(null,r),o=Jc(n),u=function(e,t){return t.filter((function(t){return!Wb(t,e)&&Xb(e,t)}))}(n,o),s=function(e,t){var n,r=[],a=[],i=ee(t);try{for(i.s();!(n=i.n()).done;){var o=n.value;!Xb(e,o)&&Nc(e,o)&&"none"!==Yb(o)&&(Wb(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(Jb(u));if(l.length)return this.relatedNodes(Jb(l)),this.data({messageKey:"obscured"}),!0;var d=!bd(n)&&void 0;if(!i(a))return this.data(q({minSize:r},Zb(a))),d;var f=c.filter((function(e){return"widget"===vh(e)&&vd(e)}));if(!f.length)return this.data(q({minSize:r},Zb(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=Bc(a,i)}catch(e){return null}return function(e,t){return e.reduce((function(e,n){var r=Tc(t,e);return r!==Tc(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(Jb(u));var p=f.every(bd),m="partiallyObscured".concat(p?"":"NonTabbable");return this.data(q({messageKey:m,minSize:r},Zb(h))),this.relatedNodes(Jb(f)),p?d:void 0}return this.data(q({minSize:r},Zb(h||a))),this.relatedNodes(Jb(f)),!0}this.data({minSize:r,messageKey:"tooManyRects"})},"td-has-header-evaluate":function(e){var t=[],n=cv(e),r=Id(e);return n.forEach((function(e){lh(e)&&hv(e)&&!Pv(e)&&(fv(e,r).some((function(e){return null!==e&&!!lh(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]=ff(o))}var s=S(S(S(S({},Wv,new Set),Vv,new Set),Kv,new Set),Yv,new Set);t.forEach((function(e){if(e.hasAttribute("headers")&&gf(e)){var t=e.getAttribute("headers").trim();if(t){var r=e.getAttribute("id");Qh(t).forEach((function(t){r&&t===r?s[Wv].add(e):n[t]?["columnheader","rowheader"].includes(n[t])||s[Kv].add(e):s[Vv].add(e)}))}else s[Yv].add(e)}}));var l,c=ee(Uv);try{for(c.s();!(l=c.n()).done;){var d=l.value;if(s[d].size>0){if(this.relatedNodes(P(s[d])),d===Yv)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=cv(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""!==$d(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(Od(e)))})),i=Id(e),o=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!r.includes(e.getAttribute("id"))){var t=jd(e,i),a=!1;qd(e)&&(a=bv("down",t,i).find((function(t){return!qd(t)&&fv(t,i).includes(e)}))),!a&&Pd(e)&&(a=bv("right",t,i).find((function(t){return!Pd(t)&&fv(t,i).includes(e)}))),a||n.relatedNodes(e),o=o&&a}})),!!o||void 0},"title-only-evaluate":function(e,t,n){var r=Xf(n),a=pf(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=$d(n.attr("title")).toLowerCase();return this.data(r),!0},"unsupportedrole-evaluate":function(e,t,n){var r=ff(n,{dpub:!0,fallback:!0}),a=Sd(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=cp(a),o=t.value?!t.value.map(cp).includes(i):!Lm(i);(""!==i&&o||""!==a&&!$d(a))&&r.push(e+'="'+n.attr(e)+'"')}})),!(!r.length||"html"!==n.props.nodeName&&!ch(n)||(this.data(r),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var n=Od(e);return n&&(pg[n]||t.roles.includes(n))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return hg[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return xg.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 cp(n.attr("lang"))===cp(n.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=cp(e.getAttribute("lang")),n=cp(e.getAttribute("xml:lang"));return Lm(t)&&Lm(n)}},Ng=Og,Bg=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function Ig(e){if("string"==typeof e){if(Ng[e])return Ng[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 jg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==a(e))&&(e={value:e}),e}function _g(e){e&&(this.id=e.id,this.configure(e))}_g.prototype.enabled=!0,_g.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 Bg(this),l=vs(s,t,r,a);try{u=this.evaluate.call(l,e.actualNode,o,e,n)}catch(t){return e&&e.actualNode&&(t.errorNode=xl.toSpec(e)),void a(t)}l.isAsync||(s.result=u,r(s))}else r(null)},_g.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 Bg(this),u=vs(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=xl.toSpec(e)),t}return o.result=a,o},_g.prototype.configure=function(e){var t=this;e.evaluate&&!Ng[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this.options=this._internalCheck?jg(e.options):e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(n){return t[n]=Ig(e[n])}))},_g.prototype.getOptions=function(e){return this._internalCheck?Ml(this.options,jg(e||{})):e||this.options};var qg=_g,Pg=function(e){this.id=e.id,this.result=aa.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function $g(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(wa(aa.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=Ig(e.matches))}function zg(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}}$g.prototype.matches=function(){return!0},$g.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&&dm.mark(n);var o=Sm(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&dm.mark(a),o=o.filter((function(e){return gf(e)})),t.performanceTimer&&(dm.mark(i),dm.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,i))),t.performanceTimer&&(dm.mark(r),dm.measure("rule_"+this.id+"#gather",n,r)),o},$g.prototype.runChecks=function(e,t,n,r,a,i){var o=this,u=qs();this[e].forEach((function(e){var a=o._audit.checks[e.id||e],i=Dp(a,o.id,n);u.defer((function(e,n){a.run(t,i,r,e,(function(e){n(new Bm({ruleId:o.id,method:"".concat(a.id,"#evaluate"),errorNode:new ms(t),error:e}))}))}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(i)},$g.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=Dp(o,a.id,n);i.push(o.runSync(t,u,r))})),i=i.filter((function(e){return e})),{type:e,results:i}},$g.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=qs(),u=new Pg(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=qs();["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=zg(e);n&&(n.node=new ms(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)}))},$g.prototype.runSync=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var r=new Pg(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=zg(i);o&&(o.node=a.actualNode?new ms(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},$g.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},$g.prototype._logGatherPerformance=function(e){ia("gather for ".concat(this.id," (").concat(e.length," nodes): ").concat(dm.timeElapsed(),"ms")),dm.mark(this._markChecksStart)},$g.prototype._logRulePerformance=function(){dm.mark(this._markChecksEnd),dm.mark(this._markEnd),dm.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),dm.measure("rule_"+this.id,this._markStart,this._markEnd)},$g.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&&dm.mark(r),i=i.filter((function(t){try{return n.matches(t.actualNode,t,e)}catch(e){throw new Bm({ruleId:n.id,method:"#matches",errorNode:new ms(t),error:e})}})),t.performanceTimer&&(dm.mark(a),dm.measure("rule_"+this.id+"#matches",r,a)),i},$g.prototype.after=function(e,t){var n,r=this,a=Al(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){Al(e).forEach((function(t){t.id===a&&(t.node=e.node,i.push(t))}))})),i),s=Dp(n,r.id,t);try{o=n.after(u,s.options)}catch(t){var l;throw new Bm({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},$g.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=Ig(e.matches)),e.impact&&(wa(aa.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var Gg=/\{\{.+?\}\}/g,Lg=J((function e(t){Z(this,e),this.lang="en",this.defaultConfig=t,this.standards=Td,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]=Kg(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]=Wg(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]=Yg(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=Zg(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=Ug();this.allowedOrigins=[];var n,r=ee(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a===aa.allOrigins)return void(this.allowedOrigins=["*"]);a!==aa.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=bs(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var n=Ug();t.allowedOrigins=n?[n]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=q({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,Vg(e.rules,this,"addRule"),Vg(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 $g(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 qg(e)}},{key:"run",value:function(e,t,n,r){var a=this;Hm(t),ms.setRunOptions(t);var o=qs();o.defer(ov.loadElementInternals()),o.then((function(){i._selectCache=[];var o=function(e,t,n){return e.reduce((function(e,r){return km(r,t,n)?r.preload?(e.later.push(r),e):(e.now.push(r),e):e}),{now:[],later:[]})}(a.rules,e,t),u=o.now,s=o.later,l=qs();u.forEach((function(n){l.defer(Xg(n,e,t))}));var c=qs();s.length&&c.defer((function(e){wm(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)}))}));var d=qs();d.defer(l),d.defer(c),d.then((function(a){var o=a.pop();if(o&&o.length){var u=o[0];u&&(e=q({},e,u))}var l=a[0];if(!s.length)return i._selectCache=void 0,void n(l.filter((function(e){return!!e})));var c=qs();s.forEach((function(n){var r=Xg(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)})).catch(r)}},{key:"after",value:function(e,t){var n=this.rules;return e.map((function(e){if(e.error)return e;var r=Cl(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 Jg(r,e)}}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"setBranding",value:function(e){"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)}},{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===Qg(t,r.id,n))&&(a.helpUrl=Qg(e,r.id,n))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),Hg=Lg;function Ug(){return t.origin&&"null"!==t.origin?t.origin:t.location&&t.location.origin&&"null"!==t.location.origin?t.location.origin:void 0}function Vg(e,t,n){var r,a;for(r=0,a=e.length;r<a;r++)t[n](e[r])}var Kg=function(e,t){var n=t.pass,r=t.fail;return"string"==typeof n&&Gg.test(n)&&(n=_a.default.compile(n)),"string"==typeof r&&Gg.test(r)&&(r=_a.default.compile(r)),q({},e,{messages:{pass:n||e.messages.pass,fail:r||e.messages.fail,incomplete:"object"===a(e.messages.incomplete)?q({},e.messages.incomplete,t.incomplete):t.incomplete}})},Wg=function(e,t){var n=t.help,r=t.description;return"string"==typeof n&&Gg.test(n)&&(n=_a.default.compile(n)),"string"==typeof r&&Gg.test(r)&&(r=_a.default.compile(r)),q({},e,{help:n||e.help,description:r||e.description})},Yg=function(e,t){var n=t.failureMessage;return"string"==typeof n&&Gg.test(n)&&(n=_a.default.compile(n)),q({},e,{failureMessage:n||e.failureMessage})},Zg=function(e,t){return"string"==typeof t&&Gg.test(t)&&(t=_a.default.compile(t)),t||e};function Xg(e,t,n){return n.performanceTimer&&dm.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(Jg(e,t))}))}}function Jg(e,t){var n=t.errorNode,a=Om(t),i=[{id:"error-occurred",result:void 0,data:a,relatedNodes:[]}],o=n||new ms(r.documentElement);return Object.assign(new Pg(e),{error:a,result:aa.CANTTELL,nodes:[{any:[],all:[],none:i,node:o}]})}function Qg(e,t,n){var r=e.application,a=e.lang;return aa.helpUrlBase+e.brand+"/"+(n||i.version.substring(0,i.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(r)+(a&&"en"!==a?"&lang="+encodeURIComponent(a):"")}function ey(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||(ls.set("globalDocumentSet",!0),r=e.ownerDocument),n||(ls.set("globalWindowSet",!0),t=r.defaultView)}}var ty=function(){ls.get("globalDocumentSet")&&(ls.set("globalDocumentSet",!1),r=null),ls.get("globalWindowSet")&&(ls.set("globalWindowSet",!1),t=null),i._memoizedFns.forEach((function(e){return e.clear()})),ls.clear(),i._tree=void 0,i._selectorData=void 0,i._selectCache=void 0};function ny(e,t,n,r){try{e=new Op(e),i._tree=e.flatTree,i._selectorData=Zu(e.flatTree)}catch(e){return ty(),r(e)}var a=qs(),o=i._audit;t.performanceTimer&&dm.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(n,r){Tl(e,t,"rules",null,n,r)})),a.defer((function(n,r){o.run(e,t,n,r)})),a.then((function(a){try{t.performanceTimer&&dm.auditEnd();var i=Rl(a.map((function(e){return{results:e}})));e.initiator&&(t.performanceTimer&&dm.mark("auditAfterStart"),i=o.after(i,t),t.performanceTimer&&(dm.mark("auditAfterEnd"),dm.measure("audit.after","auditAfterStart","auditAfterEnd"),dm.logMeasures("audit.after")),i.forEach(xm),i=i.map(va));try{n(i,ty)}catch(e){ty(),ia(e)}}catch(e){ty(),r(e)}})).catch((function(e){ty(),r(e)}))}function ry(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){i._audit.registerCommand(e)}))}t.top!==t&&(bl.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 ny(u,s,(function(e,t){e=xl.mapRawResults(e),a(e),t()}),o);case"cleanup-plugin":return Zm(a,o);default:if(i._audit&&i._audit.commands&&i._audit.commands[e.command])return i._audit.commands[e.command](e,n)}})),bl.subscribe("axe.ping",(function(e,t,n){n({axe:!0})}))),ry.prototype.run=function(){return this._run.apply(this,arguments)},ry.prototype.collect=function(){return this._collect.apply(this,arguments)},ry.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)},ry.prototype.add=function(e){this._registry[e.id]=e};function ay(e){var t,n,o,u=K(e,3),s=u[0],l=u[1],c=u[2],d=new TypeError("axe.run arguments are invalid");if(!Wp(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=bs(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 iy=function(){};function oy(e){var t=e.frames,n=e.frameSpec;return n?t.map((function(e){return xl.mergeSpecs(e,n)})):t}var uy=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=q({},e),n=0,r=["passes","violations","incomplete","inapplicable"];n<r.length;n++){var a=r[n];t[a]=xl.mapRawNodeResults(t[a])}return t})))};i._thisWillBeDeletedDoNotUse={base:{Audit:Hg,CheckResult:Bg,Check:qg,Context:Op,RuleResult:Pg,Rule:$g,metadataFunctionMap:Ng},public:{reporters:Xm,external:ov},helpers:{failureSummary:dp,incompleteFallbackMessage:fp,processAggregate:pp},utils:{setDefaultFrameMessenger:ml,cacheNodeSelectors:ip,getNodesMatchingExpression:tp,convertSelector:Ss},commons:{dom:{nativelyHidden:Xl,displayHidden:Jl,visibilityHidden:Ql,contentVisibiltyHidden:ec,ariaHidden:tc,opacityHidden:nc,scrollHidden:rc,overflowHidden:ac,clipHidden:ic,areaHidden:oc,detailsHidden:uc}}},i.constants=aa,i.log=ia,i._setLogger=function(e){ra=e},i.AbstractVirtualNode=ua,i.SerialVirtualNode=Ym,i.VirtualNode=Jh,i._cache=ls,i.imports=Sa,i.cleanup=Zm,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=K(n.split("-"),2),a=r[1],o=K(r[0].split(".").map(Number),3),u=o[0],s=o[1],l=o[2],c=K(i.version.split("-"),2),d=c[1],f=K(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||Jm(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=[];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"));v.push(e.id),t.addRule(e)}))}e.disableOtherRules&&t.rules.forEach((function(e){!1===v.includes(e.id)&&(e.enabled=!1)}));var b,g={brand:t.brand,application:t.application,lang:t.lang};if(void 0!==e.branding&&t.setBranding(e.branding),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),t._constructHelpUrls(g),e.standards&&(b=e.standards,Object.keys(Rd).forEach((function(e){b[e]&&(Rd[e]=Ml(Rd[e],b[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(aa.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}},i.externalAPIs=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.elementInternalsTimeout,n=e.getElementInternals;nv(t)?(wa("number"==typeof t,"elementInternalsTimeout must be a number"),tv=t):null===t&&(tv=1e3),nv(n)?(wa("function"==typeof n,"getElementInternals must be a function that returns a Promise"),ev=n):null===n&&(ev=null)},i.frameMessenger=function(e){bl.updateMessenger(e)},i.getRules=function(e){var t=i._audit,n=t.rules,r=t.data,a=t.tagExclude,o=(e=e||[]).length?n.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):n,u=r.rules||{};return o.map((function(e){var t=u[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds,enabled:e.enabled&&!e.tags.some((function(e){return a.includes(e)}))}}))},i._load=function(e){i._audit=new Hg(e)},i.plugins={},i.registerPlugin=function(e){i.plugins[e.id]=new ry(e)},i.hasReporter=Jm,i.getReporter=Qm,i.addReporter=function(e,t,n){Xm[e]=t,n&&(Wm=t)},i.reset=function(){var e=i._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(Rd).forEach((function(e){Rd[e]=kd[e]}))},i.resetLocale=function(){var e=i._audit;if(!e)throw new Error("No audit configured");e._resetLocale()},i._runRules=ny,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 ua||(t=new Ym(t));var r=Bp(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);xm(a),va(a);var o=ya([a]);return o.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=dp(e)}))})),q({},wp(),o,{toolOptions:n})},i.run=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];ey(t[0]);var r=ay(t),a=r.context,o=r.options,u=r.callback,s=void 0===u?iy:u,l=function(e){var t,n,r;return"function"==typeof Promise&&e===iy?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{wa(i._audit,"No audit configured"),wa(!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===iy)throw e;t(e.message)}(e,s)}return i._running=!0,o.performanceTimer&&dm.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&&dm.mark("reporterStart"),function(e,t,n,r){var a=Qm(t.reporter)(e,t,n,r);void 0!==a&&n(a)}(e,o,(function(e){o.performanceTimer&&(dm.mark("reporterEnd"),dm.measure("reporter","reporterStart","reporterEnd"),dm.logMeasures("reporter"),dm.end()),i._running=!1,t();try{d(e)}catch(e){i.log(e)}}),n)}catch(e){n(e)}}),(function(e){o.performanceTimer&&dm.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),ey(e),i._tree=op(e),i._selectorData=Zu(i._tree),i._tree[0]},i.teardown=ty,i.runPartial=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=ay(t),a=r.options,o=r.context;wa(i._audit,"Axe is not configured. Audit is missing."),wa(!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 Op(o,i._tree);return i._tree=u.flatTree,i._selectorData=Zu(u.flatTree),i._running=!0,a.elementRef=!1,new Promise((function(e,t){a.performanceTimer&&dm.auditStart(),i._audit.run(u,a,e,t)})).then((function(e){a.performanceTimer&&dm.auditEnd(),e=xl.mapRawResults(e);var t,n=u.frames.map((function(e){return xl.toSpec(e.node)}));return u.initiator&&(t=wp()),i._running=!1,ty(),{results:e,frames:n,environmentData:t}})).catch((function(e){return i._running=!1,ty(),Promise.reject(e)}))},i.finishRun=function(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=bs(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;Hm(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=ee(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=oy(a);n.unshift.apply(n,P(o))}}}catch(e){r.e(e)}finally{r.f()}}(e);var u=Rl(e);return(u=i._audit.after(u,a)).forEach(xm),function(e,t){return new Promise((function(n,r){Qm(t.reporter)(e,t,n,r)}))}(u=u.map(va),q({environmentData:o},a))},i.commons=ib,i.utils=sa,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=O(t,D);n(q({},wp(r),{toolOptions:a},pp(e,t)))})),i.addReporter("no-passes",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=O(t,w);t.resultTypes=["violations"];var i=pp(e,t).violations;n(q({},wp(r),{toolOptions:a,violations:i}))})),i.addReporter("rawEnv",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=O(t,F);uy(e,a,(function(e){var t=wp(r);n({raw:e,env:t})}))})),i.addReporter("raw",uy),i.addReporter("v1",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=O(t,E),i=pp(e,t),o=function(e){e.nodes.forEach((function(e){e.failureSummary=dp(e)}))};i.incomplete.forEach(o),i.violations.forEach(o),n(q({},wp(r),{toolOptions:a},i))})),i.addReporter("v2",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t.environmentData,a=O(t,x),i=pp(e,t);n(q({},wp(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-tab-name":{description:"Ensure every ARIA tab node has an accessible name",help:"ARIA tab nodes must have an accessible name"},"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',radio:'Remove aria-checked, or set it to "${data.checkState}" to match the real radio 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-tab-name",impact:"serious",selector:'[role="tab"]',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"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{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","deprecated"],enabled:!1,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:ay.exports)),ay.exports);
2
+ /*! axe v4.12.1
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 oy=null,uy=null;function sy(){if(oy)return;const e=Cp((function*(){const e=uy=yield*Lm(100),t=ey(e).pipe(ty((({context:e,onComplete:t})=>wp((n=>{iy.run(e,{},((e,r)=>{t(e,r),n(Sp)}))})))));yield*(e=>Ug(e,Dg))(t)}));oy=fm(e)}function ly(e){sy(),uy&&hm(uy.offer(e))}export{ly as enqueueValidation,sy as initializeValidationStream}