Files
dot-files/GitHub Desktop-dev/extensions/lhdoppojpmngadmnindnejefpokejbdd/background.bundle.js
klein panic 2bcc806b8b first commit
2024-09-29 01:05:25 -04:00

2 lines
436 KiB
JavaScript
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see background.bundle.js.LICENSE.txt */
(()=>{var e={8315:function(e,t,n){var r;!function(i,o){"use strict";var s="function",a="undefined",c="object",u="string",p="model",d="name",l="type",h="vendor",f="version",m="architecture",g="console",y="mobile",b="tablet",v="smarttv",w="wearable",k="embedded",x="Amazon",T="Apple",S="ASUS",O="BlackBerry",_="Firefox",E="Google",I="Huawei",j="LG",A="Microsoft",C="Motorola",P="Opera",R="Samsung",N="Sharp",D="Sony",U="Xiaomi",q="Zebra",L="Facebook",F=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},M=function(e,t){return typeof e===u&&-1!==B(t).indexOf(B(e))},B=function(e){return e.toLowerCase()},$=function(e,t){if(typeof e===u)return e=e.replace(/^\s\s*/,""),typeof t===a?e:e.substring(0,350)},z=function(e,t){for(var n,r,i,a,u,p,d=0;d<t.length&&!u;){var l=t[d],h=t[d+1];for(n=r=0;n<l.length&&!u;)if(u=l[n++].exec(e))for(i=0;i<h.length;i++)p=u[++r],typeof(a=h[i])===c&&a.length>0?2===a.length?typeof a[1]==s?this[a[0]]=a[1].call(this,p):this[a[0]]=a[1]:3===a.length?typeof a[1]!==s||a[1].exec&&a[1].test?this[a[0]]=p?p.replace(a[1],a[2]):o:this[a[0]]=p?a[1].call(this,p,a[2]):o:4===a.length&&(this[a[0]]=p?a[3].call(this,p.replace(a[1],a[2])):o):this[a]=p||o;d+=2}},J=function(e,t){for(var n in t)if(typeof t[n]===c&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(M(t[n][r],e))return"?"===n?o:n}else if(M(t[n],e))return"?"===n?o:n;return e},G={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},W={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[f,[d,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[f,[d,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[d,f],[/opios[\/ ]+([\w\.]+)/i],[f,[d,"Opera Mini"]],[/\bopr\/([\w\.]+)/i],[f,[d,P]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[d,f],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[f,[d,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[f,[d,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[f,[d,"WeChat"]],[/konqueror\/([\w\.]+)/i],[f,[d,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[f,[d,"IE"]],[/yabrowser\/([\w\.]+)/i],[f,[d,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[d,/(.+)/,"$1 Secure Browser"],f],[/\bfocus\/([\w\.]+)/i],[f,[d,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[f,[d,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[f,[d,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[f,[d,"Dolphin"]],[/coast\/([\w\.]+)/i],[f,[d,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[f,[d,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[f,[d,_]],[/\bqihu|(qi?ho?o?|360)browser/i],[[d,"360 Browser"]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[d,/(.+)/,"$1 Browser"],f],[/(comodo_dragon)\/([\w\.]+)/i],[[d,/_/g," "],f],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[d,f],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[d],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[d,L],f],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[d,f],[/\bgsa\/([\w\.]+) .*safari\//i],[f,[d,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[f,[d,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[d,"Chrome WebView"],f],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[f,[d,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[d,f],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[f,[d,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[f,d],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[d,[f,J,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[d,f],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[d,"Netscape"],f],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[f,[d,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[d,f],[/(cobalt)\/([\w\.]+)/i],[d,[f,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[m,"amd64"]],[/(ia32(?=;))/i],[[m,B]],[/((?:i[346]|x)86)[;\)]/i],[[m,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[m,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[m,"armhf"]],[/windows (ce|mobile); ppc;/i],[[m,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[m,/ower/,"",B]],[/(sun4\w)[;\)]/i],[[m,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[m,B]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[h,R],[l,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[p,[h,R],[l,y]],[/((ipod|iphone)\d+,\d+)/i],[p,[h,T],[l,y]],[/(ipad\d+,\d+)/i],[p,[h,T],[l,b]],[/\((ip(?:hone|od)[\w ]*);/i],[p,[h,T],[l,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[h,T],[l,b]],[/(macintosh);/i],[p,[h,T]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[h,I],[l,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[h,I],[l,y]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[p,/_/g," "],[h,U],[l,y]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[h,U],[l,b]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[h,"OPPO"],[l,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[h,"Vivo"],[l,y]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[p,[h,"Realme"],[l,y]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[h,C],[l,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[h,C],[l,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[h,j],[l,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[h,j],[l,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[h,"Lenovo"],[l,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[h,"Nokia"],[l,y]],[/(pixel c)\b/i],[p,[h,E],[l,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[h,E],[l,y]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[h,D],[l,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[h,D],[l,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[h,"OnePlus"],[l,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[h,x],[l,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[h,x],[l,y]],[/(playbook);[-\w\),; ]+(rim)/i],[p,h,[l,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[h,O],[l,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[h,S],[l,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[h,S],[l,y]],[/(nexus 9)/i],[p,[h,"HTC"],[l,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[h,[p,/_/g," "],[l,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[h,"Acer"],[l,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[h,"Meizu"],[l,y]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[h,N],[l,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[h,p,[l,y]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[h,p,[l,b]],[/(surface duo)/i],[p,[h,A],[l,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[h,"Fairphone"],[l,y]],[/(u304aa)/i],[p,[h,"AT&T"],[l,y]],[/\bsie-(\w*)/i],[p,[h,"Siemens"],[l,y]],[/\b(rct\w+) b/i],[p,[h,"RCA"],[l,b]],[/\b(venue[\d ]{2,7}) b/i],[p,[h,"Dell"],[l,b]],[/\b(q(?:mv|ta)\w+) b/i],[p,[h,"Verizon"],[l,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[h,"Barnes & Noble"],[l,b]],[/\b(tm\d{3}\w+) b/i],[p,[h,"NuVision"],[l,b]],[/\b(k88) b/i],[p,[h,"ZTE"],[l,b]],[/\b(nx\d{3}j) b/i],[p,[h,"ZTE"],[l,y]],[/\b(gen\d{3}) b.+49h/i],[p,[h,"Swiss"],[l,y]],[/\b(zur\d{3}) b/i],[p,[h,"Swiss"],[l,b]],[/\b((zeki)?tb.*\b) b/i],[p,[h,"Zeki"],[l,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[h,"Dragon Touch"],p,[l,b]],[/\b(ns-?\w{0,9}) b/i],[p,[h,"Insignia"],[l,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[h,"NextBook"],[l,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[h,"Voice"],p,[l,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[h,"LvTel"],p,[l,y]],[/\b(ph-1) /i],[p,[h,"Essential"],[l,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[h,"Envizen"],[l,b]],[/\b(trio[-\w\. ]+) b/i],[p,[h,"MachSpeed"],[l,b]],[/\btu_(1491) b/i],[p,[h,"Rotor"],[l,b]],[/(shield[\w ]+) b/i],[p,[h,"Nvidia"],[l,b]],[/(sprint) (\w+)/i],[h,p,[l,y]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[h,A],[l,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[h,q],[l,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[h,q],[l,y]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[h,p,[l,g]],[/droid.+; (shield) bui/i],[p,[h,"Nvidia"],[l,g]],[/(playstation [345portablevi]+)/i],[p,[h,D],[l,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[h,A],[l,g]],[/smart-tv.+(samsung)/i],[h,[l,v]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[h,R],[l,v]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[h,j],[l,v]],[/(apple) ?tv/i],[h,[p,"Apple TV"],[l,v]],[/crkey/i],[[p,"Chromecast"],[h,E],[l,v]],[/droid.+aft(\w)( bui|\))/i],[p,[h,x],[l,v]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[h,N],[l,v]],[/(bravia[\w ]+)( bui|\))/i],[p,[h,D],[l,v]],[/(mitv-\w{5}) bui/i],[p,[h,U],[l,v]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[h,$],[p,$],[l,v]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[l,v]],[/((pebble))app/i],[h,p,[l,w]],[/droid.+; (glass) \d/i],[p,[h,E],[l,w]],[/droid.+; (wt63?0{2,3})\)/i],[p,[h,q],[l,w]],[/(quest( 2)?)/i],[p,[h,L],[l,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[h,[l,k]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[p,[l,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[l,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[l,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[l,y]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[h,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[f,[d,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[f,[d,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[d,f],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[f,d]],os:[[/microsoft (windows) (vista|xp)/i],[d,f],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[d,[f,J,G]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[d,"Windows"],[f,J,G]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[f,/_/g,"."],[d,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[d,"Mac OS"],[f,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[f,d],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[d,f],[/\(bb(10);/i],[f,[d,O]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[f,[d,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[f,[d,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[f,[d,"webOS"]],[/crkey\/([\d\.]+)/i],[f,[d,"Chromecast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[d,"Chromium OS"],f],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[d,f],[/(sunos) ?([\w\.\d]*)/i],[[d,"Solaris"],f],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[d,f]]},V=function(e,t){if(typeof e===c&&(t=e,e=o),!(this instanceof V))return new V(e,t).getResult();var n=e||(typeof i!==a&&i.navigator&&i.navigator.userAgent?i.navigator.userAgent:""),r=t?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2==0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(W,t):W;return this.getBrowser=function(){var e,t={};return t.name=o,t.version=o,z.call(t,n,r.browser),t.major=typeof(e=t.version)===u?e.replace(/[^\d\.]/g,"").split(".")[0]:o,t},this.getCPU=function(){var e={};return e.architecture=o,z.call(e,n,r.cpu),e},this.getDevice=function(){var e={};return e.vendor=o,e.model=o,e.type=o,z.call(e,n,r.device),e},this.getEngine=function(){var e={};return e.name=o,e.version=o,z.call(e,n,r.engine),e},this.getOS=function(){var e={};return e.name=o,e.version=o,z.call(e,n,r.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===u&&e.length>350?$(e,350):e,this},this.setUA(n),this};V.VERSION="0.7.33",V.BROWSER=F([d,f,"major"]),V.CPU=F([m]),V.DEVICE=F([p,h,l,g,y,v,b,w,k]),V.ENGINE=V.OS=F([d,f]),typeof t!==a?(e.exports&&(t=e.exports=V),t.UAParser=V):n.amdO?(r=function(){return V}.call(t,n,t,e))===o||(e.exports=r):typeof i!==a&&(i.UAParser=V);var Z=typeof i!==a&&(i.jQuery||i.Zepto);if(Z&&!Z.ua){var H=new V;Z.ua=H.getResult(),Z.ua.get=function(){return H.getUA()},Z.ua.set=function(e){H.setUA(e);var t=H.getResult();for(var n in t)Z.ua[n]=t[n]}}}("object"==typeof window?window:this)},4925:(e,t,n)=>{"use strict";n.d(t,{fy:()=>Rt});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},r.apply(this,arguments)};function i(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)r[i]=o[s];return r}var o={log:console.log.bind(console),warn:console.warn.bind(console),error:console.error.bind(console)},s="?";function a(e,t){var n,r=void 0===t?0:+t;try{if(n=function(e){var t=p(e,"stacktrace");if(!t)return;for(var n,r=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,i=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\((.*)\))? in (.*):\s*$/i,o=t.split("\n"),a=[],c=0;c<o.length;c+=2){var u=void 0;r.exec(o[c])?u={args:[],column:void 0,func:(n=r.exec(o[c]))[3],line:+n[1],url:n[2]}:i.exec(o[c])&&(u={args:(n=i.exec(o[c]))[5]?n[5].split(","):[],column:+n[2],func:n[3]||n[4],line:+n[1],url:n[6]}),u&&(!u.func&&u.line&&(u.func=s),u.context=[o[c+1]],a.push(u))}if(!a.length)return;return{stack:a,message:p(e,"message"),name:p(e,"name")}}(e),n)return n}catch(e){if(c)throw e}try{if(n=function(e){var t=p(e,"stack");if(!t)return;for(var n,r,i,o,a=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,c=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,h=/\((\S*)(?::(\d+))(?::(\d+))\)/,f=t.split("\n"),m=[],g=0,y=f.length;g<y;g+=1){if(a.exec(f[g])){var b=(i=a.exec(f[g]))[2]&&0===i[2].indexOf("native");n=i[2]&&0===i[2].indexOf("eval"),r=h.exec(i[2]),n&&r&&(i[2]=r[1],i[3]=r[2],i[4]=r[3]),o={args:b?[i[2]]:[],column:i[4]?+i[4]:void 0,func:i[1]||s,line:i[3]?+i[3]:void 0,url:b?void 0:i[2]}}else if(u.exec(f[g]))o={args:[],column:(i=u.exec(f[g]))[4]?+i[4]:void 0,func:i[1]||s,line:+i[3],url:i[2]};else{if(!c.exec(f[g]))continue;n=(i=c.exec(f[g]))[3]&&i[3].indexOf(" > eval")>-1,r=d.exec(i[3]),n&&r?(i[3]=r[1],i[4]=r[2],i[5]=void 0):0!==g||i[5]||l(e.columnNumber)||(m[0].column=e.columnNumber+1),o={args:i[2]?i[2].split(","):[],column:i[5]?+i[5]:void 0,func:i[1]||s,line:i[4]?+i[4]:void 0,url:i[3]}}!o.func&&o.line&&(o.func=s),m.push(o)}if(!m.length)return;return{stack:m,message:p(e,"message"),name:p(e,"name")}}(e),n)return n}catch(e){if(c)throw e}try{if(n=function(e){var t=p(e,"message");if(!t)return;var n=t.split("\n");if(n.length<4)return;var r,i=/^\s*Line (\d+) of linked script ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,o=/^\s*Line (\d+) of inline#(\d+) script in ((?:file|https?|blob)\S+)(?:: in function (\S+))?\s*$/i,a=/^\s*Line (\d+) of function script\s*$/i,c=[],u=window&&window.document&&window.document.getElementsByTagName("script"),l=[];for(var h in u)d(u,h)&&!u[h].src&&l.push(u[h]);for(var f=2;f<n.length;f+=2){var m=void 0;if(i.exec(n[f]))m={args:[],column:void 0,func:(r=i.exec(n[f]))[3],line:+r[1],url:r[2]};else if(o.exec(n[f]))m={args:[],column:void 0,func:(r=o.exec(n[f]))[4],line:+r[1],url:r[3]};else if(a.exec(n[f])){r=a.exec(n[f]),m={url:window.location.href.replace(/#.*$/,""),args:[],column:void 0,func:"",line:+r[1]}}m&&(m.func||(m.func=s),m.context=[n[f+1]],c.push(m))}if(!c.length)return;return{stack:c,message:n[0],name:p(e,"name")}}(e),n)return n}catch(e){if(c)throw e}try{if(n=u(e,r+1))return n}catch(e){if(c)throw e}return{message:p(e,"message"),name:p(e,"name"),stack:[]}}var c=!1;function u(e,t){for(var n,r,i=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,o=[],c={},d=!1,l=u.caller;l&&!d;l=l.caller)l!==a&&(r={args:[],column:void 0,func:s,line:void 0,url:void 0},n=i.exec(l.toString()),l.name?r.func=l.name:n&&(r.func=n[1]),void 0===r.func&&(r.func=n?n.input.substring(0,n.input.indexOf("{")):void 0),c[l.toString()]?d=!0:c[l.toString()]=!0,o.push(r));t&&o.splice(0,t);var h={stack:o,message:p(e,"message"),name:p(e,"name")};return function(e,t,n){var r={url:t,line:n?+n:void 0};if(r.url&&r.line){e.incomplete=!1;var i=e.stack;if(i.length>0&&i[0].url===r.url){if(i[0].line===r.line)return!1;if(!i[0].line&&i[0].func===r.func)return i[0].line=r.line,i[0].context=r.context,!1}return i.unshift(r),e.partial=!0,!0}e.incomplete=!0}(h,p(e,"sourceURL")||p(e,"fileName"),p(e,"line")||p(e,"lineNumber")),h}function p(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}function d(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){return void 0===e}var h,f,m=1e3,g=6e4;function y(e,t,n){var r,i,o=!n||void 0===n.leading||n.leading,s=!n||void 0===n.trailing||n.trailing,a=!1;return{throttled:function(){for(var n=[],c=0;c<arguments.length;c++)n[c]=arguments[c];a?r=n:(o?e.apply(void 0,n):r=n,a=!0,i=setTimeout((function(){s&&r&&e.apply(void 0,r),a=!1,r=void 0}),t))},cancel:function(){clearTimeout(i),a=!1,r=void 0}}}function b(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,b)}function v(){}function w(e,t,n){if(null==e)return JSON.stringify(e);var r=[!1,void 0];k(e)&&(r=[!0,e.toJSON],delete e.toJSON);var i,o,s=[!1,void 0];"object"==typeof e&&k(i=Object.getPrototypeOf(e))&&(s=[!0,i.toJSON],delete i.toJSON);try{o=JSON.stringify(e,t,n)}catch(e){o="<error: unable to serialize object>"}finally{r[0]&&(e.toJSON=r[1]),s[0]&&(i.toJSON=s[1])}return o}function k(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"toJSON")}function x(e,t){return-1!==e.indexOf(t)}function T(e){return Object.keys(e).map((function(t){return e[t]}))}function S(e,t,n,r){return O(e,[t],n,r)}function O(e,t,n,r){var i=void 0===r?{}:r,o=i.once,s=i.capture,a=i.passive,c=Y(o?function(e){p(),n(e)}:n),u=a?{capture:s,passive:a}:s;t.forEach((function(t){return e.addEventListener(t,c,u)}));var p=function(){return t.forEach((function(t){return e.removeEventListener(t,c,u)}))};return{stop:p}}function _(e,t,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var e=new WeakSet;return{hasAlreadyBeenSeen:function(t){var n=e.has(t);return n||e.add(t),n}}}var t=[];return{hasAlreadyBeenSeen:function(e){var n=t.indexOf(e)>=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var i=Array.isArray(e)?e:[],o=0;o<t.length;++o)i[o]=_(i[o],t[o],n);return i}var s,a="object"==(null===(s=e)?"null":Array.isArray(s)?"array":typeof s)?e:{};for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(a[c]=_(a[c],t[c],n));return a}}function E(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=0,i=t;r<i.length;r++){var o=i[r];null!=o&&(e=_(e,o))}return e}!function(e){e.DOCUMENT="document",e.XHR="xhr",e.BEACON="beacon",e.FETCH="fetch",e.CSS="css",e.JS="js",e.IMAGE="image",e.FONT="font",e.MEDIA="media",e.OTHER="other"}(h||(h={})),function(e){e.FETCH="fetch",e.XHR="xhr"}(f||(f={}));var I,j,A="agent",C="console",P="logger",R="network",N="source";function D(e){var t=U(e);return e.stack.forEach((function(e){var n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?"("+e.args.join(", ")+")":"",i=e.line?":"+e.line:"",o=e.line&&e.column?":"+e.column:"";t+="\n at "+n+r+" @ "+e.url+i+o})),t}function U(e){return(e.name||"Error")+": "+e.message}function q(){var e,t=new Error;if(!t.stack)try{throw t}catch(e){}return Q((function(){var n=a(t);n.stack=n.stack.slice(2),e=D(n)})),e}function L(e){return!!j&&j.has(e)}function F(){var e=L("event-bridge")?window.DatadogEventBridge:null;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function M(){var e=F();return!!e&&x(e.getAllowedWebViewHosts(),window.location.hostname)}!function(e){e.HANDLED="handled",e.UNHANDLED="unhandled"}(I||(I={}));var B,$=/[^\u0000-\u007F]/,z=function(){function e(e,t,n,r,i,o){void 0===o&&(o=v),this.request=e,this.maxSize=t,this.bytesLimit=n,this.maxMessageSize=r,this.flushTimeout=i,this.beforeUnloadCallback=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0,this.flushOnVisibilityHidden(),this.flushPeriodically()}return e.prototype.add=function(e){this.addOrUpdate(e)},e.prototype.upsert=function(e,t){this.addOrUpdate(e,t)},e.prototype.flush=function(e){if(0!==this.bufferMessageCount){var t=i(this.pushOnlyBuffer,T(this.upsertBuffer));this.request.send(t.join("\n"),this.bufferBytesSize,e),this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesSize=0,this.bufferMessageCount=0}},e.prototype.sizeInBytes=function(e){return $.test(e)?void 0!==window.TextEncoder?(new TextEncoder).encode(e).length:new Blob([e]).size:e.length},e.prototype.addOrUpdate=function(e,t){var n=this.process(e),r=n.processedMessage,i=n.messageBytesSize;i>=this.maxMessageSize?o.warn("Discarded a message whose size was bigger than the maximum allowed size "+this.maxMessageSize+"KB."):(this.hasMessageFor(t)&&this.remove(t),this.willReachedBytesLimitWith(i)&&this.flush("willReachedBytesLimitWith"),this.push(r,i,t),this.isFull()&&this.flush("isFull"))},e.prototype.process=function(e){var t=w(e);return{processedMessage:t,messageBytesSize:this.sizeInBytes(t)}},e.prototype.push=function(e,t,n){this.bufferMessageCount>0&&(this.bufferBytesSize+=1),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.bufferBytesSize+=t,this.bufferMessageCount+=1},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=this.sizeInBytes(t);this.bufferBytesSize-=n,this.bufferMessageCount-=1,this.bufferMessageCount>0&&(this.bufferBytesSize-=1)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e.prototype.willReachedBytesLimitWith=function(e){return this.bufferBytesSize+e+1>=this.bytesLimit},e.prototype.isFull=function(){return this.bufferMessageCount===this.maxSize||this.bufferBytesSize>=this.bytesLimit},e.prototype.flushPeriodically=function(){var e=this;setTimeout(Y((function(){e.flush("flushPeriodically"),e.flushPeriodically()})),this.flushTimeout)},e.prototype.flushOnVisibilityHidden=function(){var e=this;navigator.sendBeacon&&(S(window,"beforeunload",this.beforeUnloadCallback),S(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&e.flush("visibilitychange")})),S(window,"beforeunload",(function(){return e.flush("beforeunload")})))},e}(),J=!1,G=function(){function e(e,t){this.endpointBuilder=e,this.bytesLimit=t}return e.prototype.send=function(e,t,n){var r=this.endpointBuilder.build(),i=!!navigator.sendBeacon&&t<this.bytesLimit;if(i)try{if(navigator.sendBeacon(r,e))return}catch(e){!function(e){W||(W=!0,te(e))}(e)}var o=new XMLHttpRequest;o.addEventListener("loadend",Y((function(e){return function(e){var o=null==e?void 0:e.currentTarget;o.status>=200&&o.status<300||J||(J=!0,ee("XHR fallback failed",{on_line:navigator.onLine,size:t,url:r,try_beacon:i,flush_reason:n,event:{is_trusted:e.isTrusted,total:e.total,loaded:e.loaded},request:{status:o.status,ready_state:o.readyState,response_text:o.responseText.slice(0,512)}}))}(e)}))),o.open("POST",r,!0),o.send(e)},e}(),W=!1;!function(e){e.info="info",e.error="error"}(B||(B={}));var V,Z,H={maxMessagesPerPage:0,sentMessageCount:0};function K(e){var t;if(M()){var n=F();V=function(e){return n.send("internal_log",i(e))}}else if(e.internalMonitoringEndpointBuilder){var r=function(e){var t,n=r(e.internalMonitoringEndpointBuilder);function r(t){return new z(new G(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout)}return void 0!==e.replica&&(t=r(e.replica.internalMonitoringEndpointBuilder)),{add:function(e){n.add(e),t&&t.add(e)}}}(e);V=function(e){return r.add(i(e))}}function i(e){return E({date:(new Date).getTime()},void 0!==t?t():{},e)}return function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];t.forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))}(H,{maxMessagesPerPage:e.maxInternalMonitoringMessagesPerPage,sentMessageCount:0}),{setExternalContextProvider:function(e){t=e}}}function X(e,t,n){var r=n.value;n.value=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=V?Y(r):r;return n.apply(this,e)}}function Y(e){return function(){return Q(e,this,arguments)}}function Q(e,t,n){try{return e.apply(t,n)}catch(e){ie(e);try{te(e)}catch(e){ie(e)}}}function ee(e,t){!function(e,t){H.debugMode&&o.log("[MONITORING MESSAGE]",e,t)}(e,t),ne(r(r({message:e},t),{status:B.info}))}function te(e){ne(r(r({},function(e){if(e instanceof Error){var t=a(e);return{error:{kind:t.name,stack:D(t)},message:t.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught "+w(e)}}(e)),{status:B.error}))}function ne(e){V&&H.sentMessageCount<H.maxMessagesPerPage&&(H.sentMessageCount+=1,V(e))}function re(e){H.debugMode=e}function ie(e){H.debugMode&&o.error("[INTERNAL ERROR]",e)}function oe(e,t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return e.apply(void 0,n)}catch(e){o.error(t,e)}}}function se(){var e={};return{get:function(){return e},add:function(t,n){e[t]=n},remove:function(t){delete e[t]},set:function(t){e=t}}}!function(e){e.RELEASE="release",e.CANARY="canary",e.E2E_TEST="e2e-test"}(Z||(Z={}));var ae,ce,ue,pe=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach((function(e){return e()})),this.buffer.length=0},e}();function de(e,t,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires="+i.toUTCString(),s=r&&r.crossSite?"none":"strict",a=r&&r.domain?";domain="+r.domain:"",c=r&&r.secure?";secure":"";document.cookie=e+"="+t+";"+o+";path=/;samesite="+s+a+c}function le(e){return function(e,t){var n=new RegExp("(?:^|;)\\s*"+t+"\\s*=\\s*([^;]+)").exec(e);return n?n[1]:void 0}(document.cookie,e)}function he(e,t){de(e,"",0,t)}function fe(){return Date.now()}function me(){return performance.now()}function ge(){return{relative:me(),timeStamp:fe()}}function ye(e,t){return t-e}function be(){return void 0===ce&&(ce=performance.timing.navigationStart),ce}function ve(e){return we(e,function(e){if(e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return e.protocol+"//"+t}(window.location)).href}function we(e,t){if(function(){if(void 0!==ue)return ue;try{var e=new URL("http://test/path");return ue="http://test/path"===e.href}catch(e){ue=!1}return ue}())return void 0!==t?new URL(e,t):new URL(e);if(void 0===t&&!/:/.test(e))throw new Error("Invalid URL: '"+e+"'");var n=document,r=n.createElement("a");if(void 0!==t){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,n.head.appendChild(i),n.body.appendChild(r)}return r.href=e,r}var ke={logs:"logs",rum:"rum",sessionReplay:"session-replay"},xe={logs:"logs",rum:"rum",sessionReplay:"replay"},Te="datadoghq.com";function Se(e,t,n,r,i){var o=e.site,s=void 0===o?Te:o,a=e.clientToken,c=s.split("."),u=c.pop(),p="https://"+(ke[n]+".browser-intake-"+c.join("-")+"."+u)+"/api/v2/"+xe[n],d=e.proxyUrl&&ve(e.proxyUrl);return{build:function(){var e="ddsource="+(i||"browser")+"&ddtags="+encodeURIComponent(["sdk_version:"+t.sdkVersion].concat(r).join(","))+"&dd-api-key="+a+"&dd-evp-origin-version="+encodeURIComponent(t.sdkVersion)+"&dd-evp-origin=browser&dd-request-id="+b();"rum"===n&&(e+="&batch_time="+fe());var o=p+"?"+e;return d?d+"?ddforward="+encodeURIComponent(o):o},buildIntakeUrl:function(){return d?d+"?ddforward":p}}}var Oe=/[^a-z0-9_:./-]/;function _e(e,t){var n=200-e.length-1;return(t.length>n||Oe.test(t))&&o.warn(e+" value doesn't meet tag requirements and will be sanitized"),e+":"+t.replace(/,/g,"_")}function Ee(e,t){var n=function(e){var t=e.env,n=e.service,r=e.version,i=e.datacenter,o=[];return t&&o.push(_e("env",t)),n&&o.push(_e("service",n)),r&&o.push(_e("version",r)),i&&o.push(_e("datacenter",i)),o}(e),i=function(e,t,n){if(t.buildMode===Z.E2E_TEST){var i=function(e){return{build:function(){return e},buildIntakeUrl:function(){return e}}};return{logsEndpointBuilder:i("<<< E2E LOGS ENDPOINT >>>"),rumEndpointBuilder:i("<<< E2E RUM ENDPOINT >>>"),sessionReplayEndpointBuilder:i("<<< E2E SESSION REPLAY ENDPOINT >>>"),internalMonitoringEndpointBuilder:i("<<< E2E INTERNAL MONITORING ENDPOINT >>>")}}var o={logsEndpointBuilder:Se(e,t,"logs",n),rumEndpointBuilder:Se(e,t,"rum",n),sessionReplayEndpointBuilder:Se(e,t,"sessionReplay",n)};if(e.internalMonitoringApiKey)return r(r({},o),{internalMonitoringEndpointBuilder:Se(r(r({},e),{clientToken:e.internalMonitoringApiKey}),t,"logs",n,"browser-agent-internal-monitoring")});return o}(e,t,n),o=T(i).map((function(e){return e.buildIntakeUrl()})),s=function(e,t,n,i){if(!e.replica)return;var o=r(r({},e),{site:Te,clientToken:e.replica.clientToken}),s={logsEndpointBuilder:Se(o,t,"logs",i),rumEndpointBuilder:Se(o,t,"rum",i),internalMonitoringEndpointBuilder:Se(o,t,"logs",i,"browser-agent-internal-monitoring")};return n.push.apply(n,T(s).map((function(e){return e.buildIntakeUrl()}))),r({applicationId:e.replica.applicationId},s)}(e,t,o,n);return r(r({isIntakeUrl:function(e){return o.some((function(t){return 0===e.indexOf(t)}))}},i),{replica:s})}function Ie(e,t){var n;if(e&&e.clientToken){var i,s;if(void 0===e.sampleRate||function(e){return"number"==typeof e}(i=e.sampleRate)&&i>=0&&i<=100)return s=e.enableExperimentalFeatures,Array.isArray(s)&&(j||(j=new Set(s)),s.filter((function(e){return"string"==typeof e})).forEach((function(e){j.add(e)}))),r(r({},Ee(e,t)),{beforeSend:e.beforeSend&&oe(e.beforeSend,"beforeSend threw an error:"),cookieOptions:je(e),sampleRate:null!==(n=e.sampleRate)&&void 0!==n?n:100,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxInternalMonitoringMessagesPerPage:15,flushTimeout:3e4,maxBatchSize:50,maxMessageSize:262144});o.error("Sample Rate should be a number between 0 and 100")}else o.error("Client Token is not configured, we will not send any data.")}function je(e){var t={};return t.secure=function(e){return!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie}(e),t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===ae){for(var e="dd_site_test_"+b(),t=window.location.hostname.split("."),n=t.pop();t.length&&!le(e);)n=t.pop()+"."+n,de(e,"test",m,{domain:n});he(e,{domain:n}),ae=n}return ae}()),t}var Ae,Ce={buildMode:"release",sdkVersion:"4.2.0"};var Pe={debug:"debug",error:"error",info:"info",warn:"warn"},Re=((Ae={})[Pe.debug]=0,Ae[Pe.info]=1,Ae[Pe.warn]=2,Ae[Pe.error]=3,Ae),Ne=(Object.keys(Pe),"console"),De="http",Ue=function(){function e(e,t,n,r){void 0===t&&(t=De),void 0===n&&(n=Pe.debug),void 0===r&&(r={}),this.sendLog=e,this.handlerType=t,this.level=n,this.contextManager=se(),this.contextManager.set(r)}return e.prototype.log=function(e,t,n){if(void 0===n&&(n=Pe.info),Re[n]>=Re[this.level]){var i=Array.isArray(this.handlerType)?this.handlerType:[this.handlerType];x(i,De)&&this.sendLog(r({message:e,status:n},E(this.contextManager.get(),t))),x(i,Ne)&&o.log(n+": "+e,E(this.contextManager.get(),t))}},e.prototype.debug=function(e,t){this.log(e,t,Pe.debug)},e.prototype.info=function(e,t){this.log(e,t,Pe.info)},e.prototype.warn=function(e,t){this.log(e,t,Pe.warn)},e.prototype.error=function(e,t){var n={error:{origin:P}};this.log(e,E(n,t),Pe.error)},e.prototype.setContext=function(e){this.contextManager.set(e)},e.prototype.addContext=function(e,t){this.contextManager.add(e,t)},e.prototype.removeContext=function(e){this.contextManager.remove(e)},e.prototype.setHandler=function(e){this.handlerType=e},e.prototype.setLevel=function(e){this.level=e},function(e,t,n,r){var i,o=arguments.length,s=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,n,s):i(t,n))||s);o>3&&s&&Object.defineProperty(t,n,s)}([X],e.prototype,"log",null),e}();var qe,Le,Fe=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter((function(t){return e!==t})),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach((function(t){return t(e)}))},e}();function Me(e){(function(){Le||(Le=new Fe,qe=console.error,console.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=q();Q((function(){qe.apply(console,e);var t=r(r({},Be(e,n)),{source:C,startClocks:ge(),handling:I.HANDLED});Le.notify(t)}))});return Le})().subscribe((function(t){return e.notify(t)}))}function Be(e,t){var n=function(e,t){for(var n=0;n<e.length;n+=1){var r=e[n];if(t(r,n,e))return r}}(e,(function(e){return e instanceof Error}));return{message:i(["console error:"],e).map((function(e){return function(e){if("string"==typeof e)return e;if(e instanceof Error)return U(a(e));return w(e,void 0,2)}(e)})).join(" "),stack:n?D(a(n)):void 0,handlingStack:t}}function $e(e,t,n){var r=e[t],i=n(r),o=function(){return i.apply(this,arguments)};return e[t]=o,{stop:function(){e[t]===o?e[t]=r:i=r}}}function ze(e,t,n){var r=n.before,i=n.after;return $e(e,t,(function(e){return function(){var t,n=arguments;return r&&Q(r,this,n),"function"==typeof e&&(t=e.apply(this,n)),i&&Q(i,this,n),t}}))}var Je,Ge=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;function We(e){var t=function(e){return ze(window,"onerror",{before:function(t,n,r,i,o){var s;if(o)s=a(o),e(s,o);else{var c,u={url:n,column:i,line:r},p=t;if("[object String]"==={}.toString.call(t)){var d=Ge.exec(p);d&&(c=d[1],p=d[2])}e(s={name:c,message:"string"==typeof p?p:void 0,stack:[u]},t)}}})}(e).stop,n=function(e){return ze(window,"onunhandledrejection",{before:function(t){var n=t.reason||"Empty reason",r=a(n);e(r,n)}})}(e).stop;return{stop:function(){t(),n()}}}function Ve(e){return We((function(t,n){var r=function(e,t,n,r){return e&&(void 0!==e.message||t instanceof Error)?{message:e.message||"Empty message",stack:D(e),handlingStack:r,type:e.name}:{message:n+" "+w(t),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}(t,n,"Uncaught"),i=r.stack,o=r.message,s=r.type;e.notify({message:o,stack:i,type:s,source:N,startClocks:ge(),originalError:n,handling:I.UNHANDLED})}))}function Ze(e,t,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&setTimeout((function(){r=0}),g),(r+=1)<=t||i)return i=!1,!1;if(r===t+1){i=!0;try{n({message:"Reached max number of "+e+"s by minute: "+t,source:A,startClocks:ge()})}finally{i=!1}}return!0}}}var He,Ke=new WeakMap;function Xe(){var e;return Je||(e=new Fe((function(){var t=ze(XMLHttpRequest.prototype,"open",{before:Ye}).stop,n=ze(XMLHttpRequest.prototype,"send",{before:function(){Qe.call(this,e)}}).stop,r=ze(XMLHttpRequest.prototype,"abort",{before:et}).stop;return function(){t(),n(),r()}})),Je=e),Je}function Ye(e,t){Ke.set(this,{state:"open",method:e,url:ve(t)})}function Qe(e){var t=this,n=Ke.get(this);if(n){var i=n;i.state="start",i.startTime=me(),i.startClocks=ge(),i.isAborted=!1,i.xhr=this;var o=!1,s=ze(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=Y((function(){if(t.removeEventListener("loadend",a),s(),!o){o=!0;var c=n;c.state="complete",c.duration=ye(i.startClocks.timeStamp,fe()),c.status=t.status,e.notify(r({},c))}}));this.addEventListener("loadend",a),e.notify(i)}}function et(){var e=Ke.get(this);e&&(e.isAborted=!0)}function tt(){var e;return He||(e=new Fe((function(){if(window.fetch)return $e(window,"fetch",(function(t){return function(n,r){var i,o=Q(nt,null,[e,n,r]);return o?(i=t.call(this,o.input,o.init),Q(rt,null,[e,i,o])):i=t.call(this,n,r),i}})).stop})),He=e),He}function nt(e,t,n){var r=n&&n.method||"object"==typeof t&&t.method||"GET",i=ve("object"==typeof t&&t.url||t),o={state:"start",init:n,input:t,method:r,startClocks:ge(),url:i};return e.notify(o),o}function rt(e,t,n){var r=function(t){var r=n;r.state="complete",r.duration=ye(r.startClocks.timeStamp,fe()),"stack"in t||t instanceof Error?(r.status=0,r.isAborted=t instanceof DOMException&&t.code===DOMException.ABORT_ERR,r.error=t,e.notify(r)):"status"in t&&(r.response=t,r.responseType=t.type,r.status=t.status,r.isAborted=!1,e.notify(r))};t.then(Y(r),Y(r))}function it(e,t){var n=Xe().subscribe((function(e){"complete"===e.state&&i(f.XHR,e)})),r=tt().subscribe((function(e){"complete"===e.state&&i(f.FETCH,e)}));function i(n,r){function i(e){t.notify({message:st(n)+" error "+r.method+" "+r.url,resource:{method:r.method,statusCode:r.status,url:r.url},source:R,stack:e||"Failed to load",startClocks:r.startClocks})}e.isIntakeUrl(r.url)||!function(e){return 0===e.status&&"opaque"!==e.responseType}(r)&&!function(e){return e.status>=500}(r)||("xhr"in r?function(e,t,n){"string"==typeof e.response?n(ot(e.response,t)):n(e.response)}(r.xhr,e,i):r.response?function(e,t,n){window.TextDecoder?e.body?function(e,t,n){!function(e,t,n){var r=e.getReader(),i=[],o=0;function s(){r.read().then(Y((function(e){e.done?a():(i.push(e.value),(o+=e.value.length)>t?a():s())})),Y((function(e){return n(e)})))}function a(){var e;if(r.cancel().catch(v),1===i.length)e=i[0];else{e=new Uint8Array(o);var s=0;i.forEach((function(t){e.set(t,s),s+=t.length}))}n(void 0,e.slice(0,t),e.length>t)}s()}(e,t,(function(e,t,r){if(e)n(e);else{var i=(new TextDecoder).decode(t);r&&(i+="..."),n(void 0,i)}}))}(e.clone().body,t.requestErrorResponseLengthLimit,(function(e,t){n(e?"Unable to retrieve response: "+e:t)})):n():e.clone().text().then(Y((function(e){return n(ot(e,t))})),Y((function(e){return n("Unable to retrieve response: "+e)})))}(r.response,e,i):r.error&&function(e,t,n){n(ot(D(a(e)),t))}(r.error,e,i))}return{stop:function(){n.unsubscribe(),r.unsubscribe()}}}function ot(e,t){return e.length>t.requestErrorResponseLengthLimit?e.substring(0,t.requestErrorResponseLengthLimit)+"...":e}function st(e){return f.XHR===e?"XHR":"Fetch"}var at=function(){function e(e){var t=this;this.expireDelay=e,this.previousContexts=[],this.clearOldContextsInterval=setInterval((function(){return t.clearOldContexts()}),6e4)}return e.prototype.find=function(e){if(void 0===e||void 0!==this.current&&void 0!==this.currentStart&&e>=this.currentStart)return this.current;for(var t=0,n=this.previousContexts;t<n.length;t++){var r=n[t];if(e>r.endTime)break;if(e>=r.startTime)return r.context}},e.prototype.setCurrent=function(e,t){this.current=e,this.currentStart=t},e.prototype.getCurrent=function(){return this.current},e.prototype.clearCurrent=function(){this.current=void 0,this.currentStart=void 0},e.prototype.closeCurrent=function(e){void 0!==this.current&&void 0!==this.currentStart&&(this.previousContexts.unshift({endTime:e,context:this.current,startTime:this.currentStart}),this.clearCurrent())},e.prototype.clearOldContexts=function(){for(var e=me()-this.expireDelay;this.previousContexts.length>0&&this.previousContexts[this.previousContexts.length-1].startTime<e;)this.previousContexts.pop()},e.prototype.reset=function(){this.clearCurrent(),this.previousContexts=[]},e.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},e}(),ct=9e5,ut=144e5;function pt(e,t,n){var r=new Fe,i=new Fe,o=setInterval(Y((function(){gt({options:e,process:function(e){return p(e)?void 0:{}},after:a})})),1e3),s=function(){var e=kt();if(p(e))return e;return{}}();function a(e){return p(e)||(e={}),c()&&(!function(e){if(s.id!==e.id)return e.id&&p(s)&&u(e,"different id"),!0;if(s[t]!==e[t])return u(e,"different tracking type"),!0;return!1}(e)?s=e:(s={},i.notify())),e}function c(){return void 0!==s[t]}function u(e,n){ee("Session inconsistencies detected",{debug:{productKey:t,sessionCache:s,cookieSession:e,cause:n}})}function p(e){return(void 0===e.created||Date.now()-Number(e.created)<ut)&&(void 0===e.expire||Date.now()<Number(e.expire))}return{expandOrRenewSession:y(Y((function(){var i;gt({options:e,process:function(e){var r=a(e);return i=function(e){var r=n(e[t]),i=r.trackingType,o=r.isTracked;e[t]=i,o&&!e.id&&(e.id=b(),e.created=String(Date.now()));return o}(r),r},after:function(e){i&&!c()&&function(e){s=e,r.notify()}(e),s=e}})})),1e3).throttled,expandSession:function(){gt({options:e,process:function(e){return c()?a(e):void 0}})},getSession:function(){return s},renewObservable:r,expireObservable:i,stop:function(){clearInterval(o)}}}var dt,lt=/^([a-z]+)=([a-z0-9-]+)$/,ht="&",ft="_dd_s",mt=[];function gt(e,t){var n;if(void 0===t&&(t=0),dt||(dt=e),e===dt){if(t>=100)return ee("Reach max lock retry"),void bt();var r,i=kt();if(L("cookie-lock")){if(i.lock)return void yt(e,t);if(r=b(),i.lock=r,wt(i,e.options),(i=kt()).lock!==r)return void yt(e,t)}var o=e.process(i);if(L("cookie-lock")&&(i=kt()).lock!==r)yt(e,t);else{if(o&&vt(o,e.options),L("cookie-lock")&&(!o||!xt(o))){if((i=kt()).lock!==r)return void yt(e,t);delete i.lock,wt(i,e.options),o=i}null===(n=e.after)||void 0===n||n.call(e,o||i),bt()}}else mt.push(e)}function yt(e,t){setTimeout(Y((function(){gt(e,t+1)})),10)}function bt(){dt=void 0;var e=mt.shift();e&&gt(e)}function vt(e,t){xt(e)?function(e){de(ft,"",0,e)}(t):(e.expire=String(Date.now()+ct),wt(e,t))}function wt(e,t){de(ft,function(e){return(t=e,Object.keys(t).map((function(e){return[e,t[e]]}))).map((function(e){return e[0]+"="+e[1]})).join(ht);var t}(e),ct,t)}function kt(){var e=le(ft),t={};return function(e){return void 0!==e&&(-1!==e.indexOf(ht)||lt.test(e))}(e)&&e.split(ht).forEach((function(e){var n=lt.exec(e);if(null!==n){var r=n[1],i=n[2];t[r]=i}})),t}function xt(e){return t=e,0===Object.keys(t).length;var t}var Tt=[];function St(e,t,n){!function(e){var t=le(ft),n=le("_dd"),r=le("_dd_r"),i=le("_dd_l");if(!t){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),vt(o,e)}}(e);var r=pt(e,t,n);Tt.push((function(){return r.stop()}));var i,o=new at(144e5);function s(){return{id:r.getSession().id,trackingType:r.getSession()[t]}}return Tt.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.setCurrent(s(),me())})),r.expireObservable.subscribe((function(){o.closeCurrent(me())})),r.expandOrRenewSession(),o.setCurrent(s(),[0,be()][0]),i=O(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,Tt.push(i),function(e){var t=Y((function(){"visible"===document.visibilityState&&e()})),n=S(document,"visibilitychange",t).stop;Tt.push(n);var r=setInterval(t,6e4);Tt.push((function(){clearInterval(r)}))}((function(){return r.expandSession()})),{findActiveSession:function(e){return o.find(e)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}var Ot;function _t(e){var t=St(e.cookieOptions,"logs",(function(t){return function(e,t){var n=function(e){return e===Ot.NOT_TRACKED||e===Ot.TRACKED}(t)?t:Et(e);return{trackingType:n,isTracked:n===Ot.TRACKED}}(e,t)}));return{findTrackedSession:function(e){var n=t.findActiveSession(e);return n&&n.trackingType===Ot.TRACKED?{id:n.id}:void 0}}}function Et(e){return 0!==(t=e.sampleRate)&&100*Math.random()<=t?Ot.TRACKED:Ot.NOT_TRACKED;var t}function It(e){var t=window.DD_RUM;return t&&t.getInternalContext?t.getInternalContext(e):void 0}!function(e){e.NOT_TRACKED="0",e.TRACKED="1"}(Ot||(Ot={}));var jt,At,Ct,Pt,Rt=function(e){var t,n,i=!1,s=se(),a={},c=new pe,u=function(e,t){c.add((function(){return u(e,t)}))},p=function(){},d=new Ue(l);return t={logger:d,init:Y((function(t){if(M()&&(t=function(e){return r(r({},e),{clientToken:"empty"})}(t)),function(e){return!i||(e.silentMultipleInit||o.error("DD_LOGS is already initialized."),!1)}(t)){var n=function(e){var t=Ie(e,Ce);if(t)return r(r({},t),{forwardErrorsToLogs:!!e.forwardErrorsToLogs,requestErrorResponseLengthLimit:32768})}(t);n&&(u=e(n,d),p=function(){return _(void 0,t)},c.drain(),i=!0)}})),getLoggerGlobalContext:Y(s.get),setLoggerGlobalContext:Y(s.set),addLoggerGlobalContext:Y(s.add),removeLoggerGlobalContext:Y(s.remove),createLogger:Y((function(e,t){return void 0===t&&(t={}),a[e]=new Ue(l,t.handler,t.level,r(r({},t.context),{logger:{name:e}})),a[e]})),getLogger:Y((function(e){return a[e]})),getInitConfiguration:Y((function(){return p()}))},n=r(r({},t),{onReady:function(e){e()}}),Object.defineProperty(n,"_setDebug",{get:function(){return re},enumerable:!1}),n;function l(e){u(e,E({date:Date.now(),view:{referrer:document.referrer,url:window.location.href}},s.get()))}}((function(e,t){var n=K(e),r=new Fe;e.forwardErrorsToLogs&&(Me(r),Ve(r),it(e,r));var i=function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_"+b(),n="test";de(t,n,m,e);var r=le(t)===n;return he(t,e),r}catch(e){return o.error(e),!1}}(e.cookieOptions)&&!M()?_t(e):function(e){var t=Et(e)===Ot.TRACKED?{}:void 0;return{findTrackedSession:function(){return t}}}(e);return function(e,t,n,r,i){n.setExternalContextProvider((function(){var e;return E({session_id:null===(e=r.findTrackedSession())||void 0===e?void 0:e.id},It(),{view:{name:null,url:null,referrer:null}})}));var o,s=function(e,t,n){var r,i=((r={})[Pe.error]=Ze(Pe.error,t.eventRateLimiterThreshold,n),r[Pe.warn]=Ze(Pe.warn,t.eventRateLimiterThreshold,n),r[Pe.info]=Ze(Pe.info,t.eventRateLimiterThreshold,n),r[Pe.debug]=Ze(Pe.debug,t.eventRateLimiterThreshold,n),r.custom=Ze("custom",t.eventRateLimiterThreshold,n),r);return function(n,r){var o,s,a=n.date?n.date-be():void 0,c=e.findTrackedSession(a);if(c){var u=E({service:t.service,session_id:c.id},r,It(a),n);if(!1!==(null===(o=t.beforeSend)||void 0===o?void 0:o.call(t,u))&&!(null!==(s=i[u.status])&&void 0!==s?s:i.custom).isLimitReached())return u}}}(r,e,u);if(M()){var a=F();o=function(e){return a.send("log",e)}}else{var c=function(e){var t,n=r(e.logsEndpointBuilder);function r(t){return new z(new G(t,e.batchBytesLimit),e.maxBatchSize,e.batchBytesLimit,e.maxMessageSize,e.flushTimeout)}return void 0!==e.replica&&(t=r(e.replica.logsEndpointBuilder)),{add:function(e){n.add(e),t&&t.add(e)}}}(e);o=function(e){return c.add(e)}}function u(e){i.error(e.message,E({date:e.startClocks.timeStamp,error:{kind:e.type,origin:e.source,stack:e.stack}},e.resource?{http:{method:e.resource.method,status_code:e.resource.statusCode,url:e.resource.url}}:void 0))}return t.subscribe(u),function(e,t){var n=s(e,t);n&&o(n)}}(e,r,n,i,t)}));jt=function(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}(),Ct=Rt,Pt=jt[At="DD_LOGS"],jt[At]=Ct,Pt&&Pt.q&&Pt.q.forEach((function(e){return oe(e,"onReady callback threw an error:")()}))},7968:(e,t)=>{"use strict";var n;t.wU=t.tt=void 0,function(e){e.axeDevToolsHTML="axe-devtools-html",e.axeDevToolsMobile="axe-devtools-mobile",e.axeDevToolsPro="axe-devtools-pro",e.axeDevToolsWatcher="axe-devtools-watcher",e.axeLinter="axe-linter",e.axeReports="axe-reports"}(n=t.tt||(t.tt={}));const r="none",i={[n.axeDevToolsHTML]:r,[n.axeDevToolsMobile]:r,[n.axeDevToolsPro]:r,[n.axeDevToolsWatcher]:r,[n.axeLinter]:r,[n.axeReports]:r},o={none:1,free:2,free_payment_failed:3,trial_ended:4,trial_payment_failed:5,paid_payment_failed:6,trialing:7,paid:8};t.wU=e=>{if(!Array.isArray(e))throw new TypeError("`subscriptions` must be an array");const t=Object.assign({},i);for(const n of e){const e=n.purchase_state,r=n.product_slug,i=t[r],s=o[i],a=o[e];i?a>s&&(t[r]=e):t[r]=e}if(t[n.axeDevToolsHTML]!==r){const e=o[t[n.axeDevToolsHTML]];o[t[n.axeDevToolsPro]]<e&&(t[n.axeDevToolsPro]=t[n.axeDevToolsHTML])}return t}},5562:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){this.browser=globalThis.browser}return e.prototype.get=function(t){if(this.contextIsBrowserApp)return new Promise((function(e){var n=localStorage.getItem(t);if(!n)return e(null);try{e(JSON.parse(n))}catch(t){e(n)}}));var n=this.browserStorageArea;return n?n.get(t).then((function(e){var n=e[t];if(!n)return null;try{return JSON.parse(n)}catch(e){return n}})):Promise.reject(new Error(e.STORAGE_AREA_ERROR))},e.prototype.set=function(t,n){var r,i=n;if("string"!=typeof n)try{i=JSON.stringify(n)}catch(e){}if(this.contextIsBrowserApp)return new Promise((function(e){localStorage.setItem(t,i),e()}));var o=this.browserStorageArea;return o?o.set((r={},r[t]=i,r)).then((function(){})):Promise.reject(new Error(e.STORAGE_AREA_ERROR))},Object.defineProperty(e.prototype,"contextIsBrowserApp",{get:function(){return void 0===this.browser||void 0===this.browser.storage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"browserStorageArea",{get:function(){var e,t,n,r;return(null===(t=null===(e=this.browser)||void 0===e?void 0:e.storage)||void 0===t?void 0:t.sync)||(null===(r=null===(n=this.browser)||void 0===n?void 0:n.storage)||void 0===r?void 0:r.local)},enumerable:!1,configurable:!0}),e.STORAGE_AREA_ERROR="Failed to determine which storage area is suitable to use.",e}();t.default=n},8020:function(e,t,n){"use strict";var r,i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},i.apply(this,arguments)},o=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.setDistinctIdCookie=t.getDistinctIdCookie=void 0;var c=n(7077),u=a(n(2741)),p=a(n(5562)),d=a(n(6707)),l="https://axe.deque.com",h=null===(r=globalThis.location)||void 0===r?void 0:r.origin,f="distinct_id",m=new p.default;t.getDistinctIdCookie=function(e){return void 0===e&&(e={}),o(void 0,void 0,void 0,(function(){var n,r,o,a,p,g,y,b,v,w,k,x,T,S;return s(this,(function(s){switch(s.label){case 0:return n=!!e.token,r=e.key,o=void 0===r?f:r,a=e.host,p=void 0===a?l:a,g=e.origin,y=void 0===g?h:g,[4,m.get(o)];case 1:return b=s.sent()||{},v=b.distinct_id,w=b.keycloak_id,[4,(0,d.default)({method:"GET",host:p,origin:y,token:e.token})];case 2:return k=s.sent()||{},x=k.distinct_id,T=k.keycloak_id,v&&v===x&&w&&w===T&&(0,u.default)(k.data,b.data)?[2,b]:(S={distinct_id:""},x||v?x?T?[3,10]:n?(S.distinct_id=x,S.data=v!==x?k.data:i(i({},b.data),k.data),[2,(0,t.setDistinctIdCookie)(S,e)]):v?[3,5]:(S.distinct_id=x,S.data=i(i({},b.data),k.data),(0,u.default)(S.data,k.data)?[4,m.set(o,S)]:[3,4]):[3,15]:(S.distinct_id=(0,c.v4)(),S.keycloak_id=T||w,S.data=T!==w&&w?k.data:i(i({},b.data),k.data),[2,(0,t.setDistinctIdCookie)(S,e)]));case 3:case 8:case 13:return s.sent(),[2,S];case 4:case 9:case 14:return[2,(0,t.setDistinctIdCookie)(S,e)];case 5:return v===x?[3,7]:[4,m.set(o,k)];case 6:case 11:return s.sent(),[2,k];case 7:return w?(S.keycloak_id=w,S.distinct_id=v,S.data=i(i({},b.data),k.data),[2,(0,t.setDistinctIdCookie)(S,e)]):(S.distinct_id=x,S.data=i(i({},b.data),k.data),(0,u.default)(S.data,k.data)?[4,m.set(o,S)]:[3,9]);case 10:return v&&x!==v?T===w?[3,12]:[4,m.set(o,k)]:[3,12];case 12:return S.distinct_id=x,S.keycloak_id=T,S.data=i(i({},b.data),k.data),(0,u.default)(S.data,k.data)?[4,m.set(o,S)]:[3,14];case 15:return T&&T!==w?(S.distinct_id=(0,c.v4)(),S.keycloak_id=T,S.data=k.data):(S.distinct_id=v,S.keycloak_id=w,S.data=i(i({},b.data),k.data)),[2,(0,t.setDistinctIdCookie)(S,e)]}}))}))};t.default=function(e){return void 0===e&&(e={}),o(void 0,void 0,void 0,(function(){return s(this,(function(n){switch(n.label){case 0:return[4,(0,t.getDistinctIdCookie)(e)];case 1:return[2,n.sent().distinct_id]}}))}))};t.setDistinctIdCookie=function(e,t){var n=void 0===t?{}:t,r=n.key,i=void 0===r?f:r,a=n.host,c=void 0===a?l:a,u=n.origin,p=void 0===u?h:u,g=n.token;return o(void 0,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return[4,m.set(i,e)];case 1:return t.sent(),[4,(0,d.default)({method:"POST",host:c,origin:p,token:g,payload:e})];case 2:return t.sent(),[2,e]}}))}))}},6707:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var n,r,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,a[0]&&(s=0)),s;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,r=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!(i=s.trys,(i=i.length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){s.label=a[1];break}if(6===a[0]&&s.label<i[1]){s.label=i[1],i=a;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(a);break}i[2]&&s.ops.pop(),s.trys.pop();continue}a=t.call(e,s)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,c])}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(n(7160));t.default=function(e){return r(void 0,void 0,void 0,(function(){var t,n,r,o,a;return i(this,(function(i){switch(i.label){case 0:t=(0,s.default)(e.host)+"/api/distinct_id",n={Origin:e.origin},e.payload&&(r=JSON.stringify(e.payload),n["Content-Type"]="application/json"),e.token&&(n.Authorization="Bearer ".concat(e.token)),o={credentials:"include",method:e.method,headers:n,body:r},i.label=1;case 1:return i.trys.push([1,4,,5]),[4,fetch(t,o)];case 2:return(a=i.sent()).ok?[4,a.json()]:[2,null];case 3:return[2,i.sent()];case 4:return i.sent(),[2,null];case 5:return[2]}}))}))}},7077:(e,t,n)=>{"use strict";var r;n.r(t),n.d(t,{NIL:()=>P,parse:()=>g,stringify:()=>p,v1:()=>m,v3:()=>_,v4:()=>E,v5:()=>C,validate:()=>a,version:()=>R});var i=new Uint8Array(16);function o(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(i)}const s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;const a=function(e){return"string"==typeof e&&s.test(e)};for(var c=[],u=0;u<256;++u)c.push((u+256).toString(16).substr(1));const p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!a(n))throw TypeError("Stringified UUID is invalid");return n};var d,l,h=0,f=0;const m=function(e,t,n){var r=t&&n||0,i=t||new Array(16),s=(e=e||{}).node||d,a=void 0!==e.clockseq?e.clockseq:l;if(null==s||null==a){var c=e.random||(e.rng||o)();null==s&&(s=d=[1|c[0],c[1],c[2],c[3],c[4],c[5]]),null==a&&(a=l=16383&(c[6]<<8|c[7]))}var u=void 0!==e.msecs?e.msecs:Date.now(),m=void 0!==e.nsecs?e.nsecs:f+1,g=u-h+(m-f)/1e4;if(g<0&&void 0===e.clockseq&&(a=a+1&16383),(g<0||u>h)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");h=u,f=m,l=a;var y=(1e4*(268435455&(u+=122192928e5))+m)%4294967296;i[r++]=y>>>24&255,i[r++]=y>>>16&255,i[r++]=y>>>8&255,i[r++]=255&y;var b=u/4294967296*1e4&268435455;i[r++]=b>>>8&255,i[r++]=255&b,i[r++]=b>>>24&15|16,i[r++]=b>>>16&255,i[r++]=a>>>8|128,i[r++]=255&a;for(var v=0;v<6;++v)i[r+v]=s[v];return t||p(i)};const g=function(e){if(!a(e))throw TypeError("Invalid UUID");var t,n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n};function y(e,t,n){function r(e,r,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=g(r)),16!==r.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var s=new Uint8Array(16+e.length);if(s.set(r),s.set(e,r.length),(s=n(s))[6]=15&s[6]|t,s[8]=63&s[8]|128,i){o=o||0;for(var a=0;a<16;++a)i[o+a]=s[a];return i}return p(s)}try{r.name=e}catch(e){}return r.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",r.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",r}function b(e){return 14+(e+64>>>9<<4)+1}function v(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function w(e,t,n,r,i,o){return v((s=v(v(t,e),v(r,o)))<<(a=i)|s>>>32-a,n);var s,a}function k(e,t,n,r,i,o,s){return w(t&n|~t&r,e,t,i,o,s)}function x(e,t,n,r,i,o,s){return w(t&r|n&~r,e,t,i,o,s)}function T(e,t,n,r,i,o,s){return w(t^n^r,e,t,i,o,s)}function S(e,t,n,r,i,o,s){return w(n^(t|~r),e,t,i,o,s)}const O=function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){for(var t=[],n=32*e.length,r="0123456789abcdef",i=0;i<n;i+=8){var o=e[i>>5]>>>i%32&255,s=parseInt(r.charAt(o>>>4&15)+r.charAt(15&o),16);t.push(s)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[b(t)-1]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,s=0;s<e.length;s+=16){var a=n,c=r,u=i,p=o;n=k(n,r,i,o,e[s],7,-680876936),o=k(o,n,r,i,e[s+1],12,-389564586),i=k(i,o,n,r,e[s+2],17,606105819),r=k(r,i,o,n,e[s+3],22,-1044525330),n=k(n,r,i,o,e[s+4],7,-176418897),o=k(o,n,r,i,e[s+5],12,1200080426),i=k(i,o,n,r,e[s+6],17,-1473231341),r=k(r,i,o,n,e[s+7],22,-45705983),n=k(n,r,i,o,e[s+8],7,1770035416),o=k(o,n,r,i,e[s+9],12,-1958414417),i=k(i,o,n,r,e[s+10],17,-42063),r=k(r,i,o,n,e[s+11],22,-1990404162),n=k(n,r,i,o,e[s+12],7,1804603682),o=k(o,n,r,i,e[s+13],12,-40341101),i=k(i,o,n,r,e[s+14],17,-1502002290),n=x(n,r=k(r,i,o,n,e[s+15],22,1236535329),i,o,e[s+1],5,-165796510),o=x(o,n,r,i,e[s+6],9,-1069501632),i=x(i,o,n,r,e[s+11],14,643717713),r=x(r,i,o,n,e[s],20,-373897302),n=x(n,r,i,o,e[s+5],5,-701558691),o=x(o,n,r,i,e[s+10],9,38016083),i=x(i,o,n,r,e[s+15],14,-660478335),r=x(r,i,o,n,e[s+4],20,-405537848),n=x(n,r,i,o,e[s+9],5,568446438),o=x(o,n,r,i,e[s+14],9,-1019803690),i=x(i,o,n,r,e[s+3],14,-187363961),r=x(r,i,o,n,e[s+8],20,1163531501),n=x(n,r,i,o,e[s+13],5,-1444681467),o=x(o,n,r,i,e[s+2],9,-51403784),i=x(i,o,n,r,e[s+7],14,1735328473),n=T(n,r=x(r,i,o,n,e[s+12],20,-1926607734),i,o,e[s+5],4,-378558),o=T(o,n,r,i,e[s+8],11,-2022574463),i=T(i,o,n,r,e[s+11],16,1839030562),r=T(r,i,o,n,e[s+14],23,-35309556),n=T(n,r,i,o,e[s+1],4,-1530992060),o=T(o,n,r,i,e[s+4],11,1272893353),i=T(i,o,n,r,e[s+7],16,-155497632),r=T(r,i,o,n,e[s+10],23,-1094730640),n=T(n,r,i,o,e[s+13],4,681279174),o=T(o,n,r,i,e[s],11,-358537222),i=T(i,o,n,r,e[s+3],16,-722521979),r=T(r,i,o,n,e[s+6],23,76029189),n=T(n,r,i,o,e[s+9],4,-640364487),o=T(o,n,r,i,e[s+12],11,-421815835),i=T(i,o,n,r,e[s+15],16,530742520),n=S(n,r=T(r,i,o,n,e[s+2],23,-995338651),i,o,e[s],6,-198630844),o=S(o,n,r,i,e[s+7],10,1126891415),i=S(i,o,n,r,e[s+14],15,-1416354905),r=S(r,i,o,n,e[s+5],21,-57434055),n=S(n,r,i,o,e[s+12],6,1700485571),o=S(o,n,r,i,e[s+3],10,-1894986606),i=S(i,o,n,r,e[s+10],15,-1051523),r=S(r,i,o,n,e[s+1],21,-2054922799),n=S(n,r,i,o,e[s+8],6,1873313359),o=S(o,n,r,i,e[s+15],10,-30611744),i=S(i,o,n,r,e[s+6],15,-1560198380),r=S(r,i,o,n,e[s+13],21,1309151649),n=S(n,r,i,o,e[s+4],6,-145523070),o=S(o,n,r,i,e[s+11],10,-1120210379),i=S(i,o,n,r,e[s+2],15,718787259),r=S(r,i,o,n,e[s+9],21,-343485551),n=v(n,a),r=v(r,c),i=v(i,u),o=v(o,p)}return[n,r,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,n=new Uint32Array(b(t)),r=0;r<t;r+=8)n[r>>5]|=(255&e[r/8])<<r%32;return n}(e),8*e.length))};const _=y("v3",48,O);const E=function(e,t,n){var r=(e=e||{}).random||(e.rng||o)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=r[i];return t}return p(r)};function I(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function j(e,t){return e<<t|e>>>32-t}const A=function(e){var t=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var r=unescape(encodeURIComponent(e));e=[];for(var i=0;i<r.length;++i)e.push(r.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,s=Math.ceil(o/16),a=new Array(s),c=0;c<s;++c){for(var u=new Uint32Array(16),p=0;p<16;++p)u[p]=e[64*c+4*p]<<24|e[64*c+4*p+1]<<16|e[64*c+4*p+2]<<8|e[64*c+4*p+3];a[c]=u}a[s-1][14]=8*(e.length-1)/Math.pow(2,32),a[s-1][14]=Math.floor(a[s-1][14]),a[s-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<s;++d){for(var l=new Uint32Array(80),h=0;h<16;++h)l[h]=a[d][h];for(var f=16;f<80;++f)l[f]=j(l[f-3]^l[f-8]^l[f-14]^l[f-16],1);for(var m=n[0],g=n[1],y=n[2],b=n[3],v=n[4],w=0;w<80;++w){var k=Math.floor(w/20),x=j(m,5)+I(k,g,y,b)+v+t[k]+l[w]>>>0;v=b,b=y,y=j(g,30)>>>0,g=m,m=x}n[0]=n[0]+m>>>0,n[1]=n[1]+g>>>0,n[2]=n[2]+y>>>0,n[3]=n[3]+b>>>0,n[4]=n[4]+v>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]};const C=y("v5",80,A),P="00000000-0000-0000-0000-000000000000";const R=function(e){if(!a(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},5741:(e,t,n)=>{"use strict";var r=n(4206),i=n(360);function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=o(r);const a=[{key:"devInstance",suffix:"DEV_INSTANCE",override:!0},{key:"loggedIn",suffix:"LOGGED_IN",override:!1}],c=[{key:"keycloakId",suffix:"KEYCLOAK_ID",override:!1},{key:"userId",suffix:"USER_ID",override:!1},{key:"organization",suffix:"ORGANIZATION",override:!0},{key:"department",suffix:"DEPARTMENT",override:!0},{key:"application",suffix:"APPLICATION",override:!1},{key:"sessionId",suffix:"SESSION_ID",override:!1},{key:"userStatus",suffix:"USER_STATUS",override:!1},{key:"userJobRole",suffix:"USER_JOB_ROLE",override:!1}],u=["userJobRole","applicationProperties","distinctId","keycloakId","loggedIn","userStatus"];function p(e){return{NODE_ENV:"production",COCONUT:"false",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,DOCS_SITE_URL:"https://docs.deque.com/devtools-html",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-whatslefttotest",ENV:"production",AXE_PRO_URL:"https://axe.deque.com",USAGE_SERVICE_URL:"https://usage.deque.com",AMPLITUDE_API_KEY:"a1ce09d0b14ddcc12ab7b508b6606a2f",DATADOG_CLIENT_TOKEN:"puba2eb4ed47c6eb69ce20ef237db754ff8"}[e]||null}e.exports=class{constructor(e,t,n){this.productName=e,this.productComponent=t,this.productComponentVersion=n;const r=p("AXE_TRACK_USAGE");this.myTrackUsage="true"===r,this.enableTrackingFromEnv=null!==r;const i=p("AXE_METRICS_URL");this.myUrl=i||"https://usage.deque.com",this.urlFromEnv=null!==i,p("AXE_DISTINCT_ID"),this.didFromEnv=!1}distinctId(e){return e&&(this.myDistinctId=e),this.myDistinctId}enableTracking(e){return void 0!==e&&(this.myTrackUsage=e),this.myTrackUsage}url(e){return void 0!==e&&(this.myUrl=e),this.myUrl}postEvent(e){if(!this.myTrackUsage)return;let t="v1";for(const n of u)if(Object.prototype.hasOwnProperty.call(e,n)){t="v2";break}const n={dateTime:new Date,productComponent:this.productComponent,productName:this.productName,version:t};"v2"===t&&(n.productComponentVersion=this.productComponentVersion,function(e){for(const{key:t,suffix:n,override:r}of a){if(t in e&&!r)continue;const i=p(`AXE_${n}`);null!==i&&(e[t]="true"===i)}for(const{key:t,suffix:n,override:r}of c){if(t in e&&!r)continue;const i=p(`AXE_${n}`);null!==i&&(e[t]=i)}}(e));const r=Object.assign(Object.assign({},n),e);s.default.post(`${this.myUrl}/${t}/event`,r).catch((e=>{if("ECONNREFUSED"!==e.code)return;const n=new i.URL(this.myUrl);"https:"===n.protocol&&(n.protocol="http:",n.pathname=`/${t}/event`,s.default.post(n.href,r).catch((()=>{})))}))}}},7050:e=>{e.exports=function(e,n,r){if(e.filter)return e.filter(n,r);if(null==e)throw new TypeError;if("function"!=typeof n)throw new TypeError;for(var i=[],o=0;o<e.length;o++)if(t.call(e,o)){var s=e[o];n.call(r,s,o,e)&&i.push(s)}return i};var t=Object.prototype.hasOwnProperty},9619:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}var i,o,s=n(1404).codes,a=s.ERR_AMBIGUOUS_ARGUMENT,c=s.ERR_INVALID_ARG_TYPE,u=s.ERR_INVALID_ARG_VALUE,p=s.ERR_INVALID_RETURN_VALUE,d=s.ERR_MISSING_ARGS,l=n(7366),h=n(1323).inspect,f=n(1323).types,m=f.isPromise,g=f.isRegExp,y=Object.assign?Object.assign:n(2098).assign,b=Object.is?Object.is:n(3822);new Map;function v(){var e=n(118);i=e.isDeepEqual,o=e.isDeepStrictEqual}var w=!1,k=e.exports=O,x={};function T(e){if(e.message instanceof Error)throw e.message;throw new l(e)}function S(e,t,n,r){if(!n){var i=!1;if(0===t)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var o=new l({actual:n,expected:!0,message:r,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function O(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];S.apply(void 0,[O,t.length].concat(t))}k.fail=function e(t,n,r,i,o){var s,a=arguments.length;if(0===a)s="Failed";else if(1===a)r=t,t=void 0;else{if(!1===w){w=!0;var c={}.emitWarning?{}.emitWarning:console.warn.bind(console);c("assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.","DeprecationWarning","DEP0094")}2===a&&(i="!=")}if(r instanceof Error)throw r;var u={actual:t,expected:n,operator:void 0===i?"fail":i,stackStartFn:o||e};void 0!==r&&(u.message=r);var p=new l(u);throw s&&(p.message=s,p.generatedMessage=!0),p},k.AssertionError=l,k.ok=O,k.equal=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");t!=n&&T({actual:t,expected:n,message:r,operator:"==",stackStartFn:e})},k.notEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");t==n&&T({actual:t,expected:n,message:r,operator:"!=",stackStartFn:e})},k.deepEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&v(),i(t,n)||T({actual:t,expected:n,message:r,operator:"deepEqual",stackStartFn:e})},k.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&v(),i(t,n)&&T({actual:t,expected:n,message:r,operator:"notDeepEqual",stackStartFn:e})},k.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&v(),o(t,n)||T({actual:t,expected:n,message:r,operator:"deepStrictEqual",stackStartFn:e})},k.notDeepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");void 0===i&&v();o(t,n)&&T({actual:t,expected:n,message:r,operator:"notDeepStrictEqual",stackStartFn:e})},k.strictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");b(t,n)||T({actual:t,expected:n,message:r,operator:"strictEqual",stackStartFn:e})},k.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new d("actual","expected");b(t,n)&&T({actual:t,expected:n,message:r,operator:"notStrictEqual",stackStartFn:e})};var _=function e(t,n,r){var i=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n.forEach((function(e){e in t&&(void 0!==r&&"string"==typeof r[e]&&g(t[e])&&t[e].test(r[e])?i[e]=r[e]:i[e]=t[e])}))};function E(e,t,n,r,i,s){if(!(n in e)||!o(e[n],t[n])){if(!r){var a=new _(e,i),c=new _(t,i,e),u=new l({actual:a,expected:c,operator:"deepStrictEqual",stackStartFn:s});throw u.actual=e,u.expected=t,u.operator=s.name,u}T({actual:e,expected:t,message:r,operator:s.name,stackStartFn:s})}}function I(e,t,n,o){if("function"!=typeof t){if(g(t))return t.test(e);if(2===arguments.length)throw new c("expected",["Function","RegExp"],t);if("object"!==r(e)||null===e){var s=new l({actual:e,expected:t,message:n,operator:"deepStrictEqual",stackStartFn:o});throw s.operator=o.name,s}var a=Object.keys(t);if(t instanceof Error)a.push("name","message");else if(0===a.length)throw new u("error",t,"may not be an empty object");return void 0===i&&v(),a.forEach((function(r){"string"==typeof e[r]&&g(t[r])&&t[r].test(e[r])||E(e,t,r,n,a,o)})),!0}return void 0!==t.prototype&&e instanceof t||!Error.isPrototypeOf(t)&&!0===t.call({},e)}function j(e){if("function"!=typeof e)throw new c("fn","Function",e);try{e()}catch(e){return e}return x}function A(e){return m(e)||null!==e&&"object"===r(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function C(e){return Promise.resolve().then((function(){var t;if("function"==typeof e){if(!A(t=e()))throw new p("instance of Promise","promiseFn",t)}else{if(!A(e))throw new c("promiseFn",["Function","Promise"],e);t=e}return Promise.resolve().then((function(){return t})).then((function(){return x})).catch((function(e){return e}))}))}function P(e,t,n,i){if("string"==typeof n){if(4===arguments.length)throw new c("error",["Object","Error","Function","RegExp"],n);if("object"===r(t)&&null!==t){if(t.message===n)throw new a("error/message",'The error message "'.concat(t.message,'" is identical to the message.'))}else if(t===n)throw new a("error/message",'The error "'.concat(t,'" is identical to the message.'));i=n,n=void 0}else if(null!=n&&"object"!==r(n)&&"function"!=typeof n)throw new c("error",["Object","Error","Function","RegExp"],n);if(t===x){var o="";n&&n.name&&(o+=" (".concat(n.name,")")),o+=i?": ".concat(i):".";var s="rejects"===e.name?"rejection":"exception";T({actual:void 0,expected:n,operator:e.name,message:"Missing expected ".concat(s).concat(o),stackStartFn:e})}if(n&&!I(t,n,i,e))throw t}function R(e,t,n,r){if(t!==x){if("string"==typeof n&&(r=n,n=void 0),!n||I(t,n)){var i=r?": ".concat(r):".",o="doesNotReject"===e.name?"rejection":"exception";T({actual:t,expected:n,operator:e.name,message:"Got unwanted ".concat(o).concat(i,"\n")+'Actual message: "'.concat(t&&t.message,'"'),stackStartFn:e})}throw t}}function N(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];S.apply(void 0,[N,t.length].concat(t))}k.throws=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];P.apply(void 0,[e,j(t)].concat(r))},k.rejects=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return C(t).then((function(t){return P.apply(void 0,[e,t].concat(r))}))},k.doesNotThrow=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];R.apply(void 0,[e,j(t)].concat(r))},k.doesNotReject=function e(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return C(t).then((function(t){return R.apply(void 0,[e,t].concat(r))}))},k.ifError=function e(t){if(null!=t){var n="ifError got unwanted exception: ";"object"===r(t)&&"string"==typeof t.message?0===t.message.length&&t.constructor?n+=t.constructor.name:n+=t.message:n+=h(t);var i=new l({actual:t,expected:null,operator:"ifError",message:n,stackStartFn:e}),o=t.stack;if("string"==typeof o){var s=o.split("\n");s.shift();for(var a=i.stack.split("\n"),c=0;c<s.length;c++){var u=a.indexOf(s[c]);if(-1!==u){a=a.slice(0,u);break}}i.stack="".concat(a.join("\n"),"\n").concat(s.join("\n"))}throw i}},k.strict=y(N,k,{equal:k.strictEqual,deepEqual:k.deepStrictEqual,notEqual:k.notStrictEqual,notDeepEqual:k.notDeepStrictEqual}),k.strict.strict=k.strict},7366:(e,t,n)=>{"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(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,r.key,r)}}function o(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?s(e):t}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a(e){var t="function"==typeof Map?new Map:void 0;return a=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;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,r)}function r(){return u(e,arguments,d(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),p(r,e)},a(e)}function c(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,n){return u=c()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&p(i,n.prototype),i},u.apply(null,arguments)}function p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var h=n(1323).inspect,f=n(1404).codes.ERR_INVALID_ARG_TYPE;function m(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}var g="",y="",b="",v="",w={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function k(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach((function(t){n[t]=e[t]})),Object.defineProperty(n,"message",{value:e.message}),n}function x(e){return h(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function T(e,t,n){var r="",i="",o=0,s="",a=!1,c=x(e),u=c.split("\n"),p=x(t).split("\n"),d=0,h="";if("strictEqual"===n&&"object"===l(e)&&"object"===l(t)&&null!==e&&null!==t&&(n="strictEqualObject"),1===u.length&&1===p.length&&u[0]!==p[0]){var f=u[0].length+p[0].length;if(f<=10){if(!("object"===l(e)&&null!==e||"object"===l(t)&&null!==t||0===e&&0===t))return"".concat(w[n],"\n\n")+"".concat(u[0]," !== ").concat(p[0],"\n")}else if("strictEqualObject"!==n){if(f<({}.stderr&&{}.stderr.isTTY?{}.stderr.columns:80)){for(;u[0][d]===p[0][d];)d++;d>2&&(h="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,n-e.length)}(" ",d),"^"),d=0)}}}for(var k=u[u.length-1],T=p[p.length-1];k===T&&(d++<2?s="\n ".concat(k).concat(s):r=k,u.pop(),p.pop(),0!==u.length&&0!==p.length);)k=u[u.length-1],T=p[p.length-1];var S=Math.max(u.length,p.length);if(0===S){var O=c.split("\n");if(O.length>30)for(O[26]="".concat(g,"...").concat(v);O.length>27;)O.pop();return"".concat(w.notIdentical,"\n\n").concat(O.join("\n"),"\n")}d>3&&(s="\n".concat(g,"...").concat(v).concat(s),a=!0),""!==r&&(s="\n ".concat(r).concat(s),r="");var _=0,E=w[n]+"\n".concat(y,"+ actual").concat(v," ").concat(b,"- expected").concat(v),I=" ".concat(g,"...").concat(v," Lines skipped");for(d=0;d<S;d++){var j=d-o;if(u.length<d+1)j>1&&d>2&&(j>4?(i+="\n".concat(g,"...").concat(v),a=!0):j>3&&(i+="\n ".concat(p[d-2]),_++),i+="\n ".concat(p[d-1]),_++),o=d,r+="\n".concat(b,"-").concat(v," ").concat(p[d]),_++;else if(p.length<d+1)j>1&&d>2&&(j>4?(i+="\n".concat(g,"...").concat(v),a=!0):j>3&&(i+="\n ".concat(u[d-2]),_++),i+="\n ".concat(u[d-1]),_++),o=d,i+="\n".concat(y,"+").concat(v," ").concat(u[d]),_++;else{var A=p[d],C=u[d],P=C!==A&&(!m(C,",")||C.slice(0,-1)!==A);P&&m(A,",")&&A.slice(0,-1)===C&&(P=!1,C+=","),P?(j>1&&d>2&&(j>4?(i+="\n".concat(g,"...").concat(v),a=!0):j>3&&(i+="\n ".concat(u[d-2]),_++),i+="\n ".concat(u[d-1]),_++),o=d,i+="\n".concat(y,"+").concat(v," ").concat(C),r+="\n".concat(b,"-").concat(v," ").concat(A),_+=2):(i+=r,r="",1!==j&&0!==d||(i+="\n ".concat(C),_++))}if(_>20&&d<S-2)return"".concat(E).concat(I,"\n").concat(i,"\n").concat(g,"...").concat(v).concat(r,"\n")+"".concat(g,"...").concat(v)}return"".concat(E).concat(a?I:"","\n").concat(i).concat(r).concat(s).concat(h)}var S=function(e){function t(e){var n;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),"object"!==l(e)||null===e)throw new f("options","Object",e);var r=e.message,i=e.operator,a=e.stackStartFn,c=e.actual,u=e.expected,p=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)n=o(this,d(t).call(this,String(r)));else if({}.stderr&&{}.stderr.isTTY&&({}.stderr&&{}.stderr.getColorDepth&&1!=={}.stderr.getColorDepth()?(g="",y="",v="",b=""):(g="",y="",v="",b="")),"object"===l(c)&&null!==c&&"object"===l(u)&&null!==u&&"stack"in c&&c instanceof Error&&"stack"in u&&u instanceof Error&&(c=k(c),u=k(u)),"deepStrictEqual"===i||"strictEqual"===i)n=o(this,d(t).call(this,T(c,u,i)));else if("notDeepStrictEqual"===i||"notStrictEqual"===i){var h=w[i],m=x(c).split("\n");if("notStrictEqual"===i&&"object"===l(c)&&null!==c&&(h=w.notStrictEqualObject),m.length>30)for(m[26]="".concat(g,"...").concat(v);m.length>27;)m.pop();n=1===m.length?o(this,d(t).call(this,"".concat(h," ").concat(m[0]))):o(this,d(t).call(this,"".concat(h,"\n\n").concat(m.join("\n"),"\n")))}else{var S=x(c),O="",_=w[i];"notDeepEqual"===i||"notEqual"===i?(S="".concat(w[i],"\n\n").concat(S)).length>1024&&(S="".concat(S.slice(0,1021),"...")):(O="".concat(x(u)),S.length>512&&(S="".concat(S.slice(0,509),"...")),O.length>512&&(O="".concat(O.slice(0,509),"...")),"deepEqual"===i||"equal"===i?S="".concat(_,"\n\n").concat(S,"\n\nshould equal\n\n"):O=" ".concat(i," ").concat(O)),n=o(this,d(t).call(this,"".concat(S).concat(O)))}return Error.stackTraceLimit=p,n.generatedMessage=!r,Object.defineProperty(s(n),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),n.code="ERR_ASSERTION",n.actual=c,n.expected=u,n.operator=i,Error.captureStackTrace&&Error.captureStackTrace(s(n),a),n.stack,n.name="AssertionError",o(n)}var n,a,c;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(t,e),n=t,a=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:h.custom,value:function(e,t){return h(this,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}({},t,{customInspect:!1,depth:0}))}}],a&&i(n.prototype,a),c&&i(n,c),t}(a(Error));e.exports=S},1404:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function i(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}var a,c,u={};function p(e,t,n){n||(n=Error);var r=function(n){function r(n,s,a){var c;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),c=i(this,o(r).call(this,function(e,n,r){return"string"==typeof t?t:t(e,n,r)}(n,s,a))),c.code=e,c}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(r,n),r}(n);u[e]=r}function d(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map((function(e){return String(e)})),n>2?"one of ".concat(t," ").concat(e.slice(0,n-1).join(", "),", or ")+e[n-1]:2===n?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}p("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),p("ERR_INVALID_ARG_TYPE",(function(e,t,i){var o,s,c,u;if(void 0===a&&(a=n(9619)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(s="not ",t.substr(!c||c<0?0:+c,s.length)===s)?(o="must not be",t=t.replace(/^not /,"")):o="must be",function(e,t,n){return(void 0===n||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}(e," argument"))u="The ".concat(e," ").concat(o," ").concat(d(t,"type"));else{var p=function(e,t,n){return"number"!=typeof n&&(n=0),!(n+t.length>e.length)&&-1!==e.indexOf(t,n)}(e,".")?"property":"argument";u='The "'.concat(e,'" ').concat(p," ").concat(o," ").concat(d(t,"type"))}return u+=". Received type ".concat(r(i))}),TypeError),p("ERR_INVALID_ARG_VALUE",(function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===c&&(c=n(1323));var i=c.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(r,". Received ").concat(i)}),TypeError,RangeError),p("ERR_INVALID_RETURN_VALUE",(function(e,t,n){var i;return i=n&&n.constructor&&n.constructor.name?"instance of ".concat(n.constructor.name):"type ".concat(r(n)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")}),TypeError),p("ERR_MISSING_ARGS",(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];void 0===a&&(a=n(9619)),a(t.length>0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map((function(e){return'"'.concat(e,'"')})),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", "),i+=", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")}),TypeError),e.exports.codes=u},118:(e,t,n)=>{"use strict";function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return i="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},i(e)}var o=void 0!==/a/g.flags,s=function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t},a=function(e){var t=[];return e.forEach((function(e,n){return t.push([n,e])})),t},c=Object.is?Object.is:n(3822),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},p=Number.isNaN?Number.isNaN:n(4866);function d(e){return e.call.bind(e)}var l=d(Object.prototype.hasOwnProperty),h=d(Object.prototype.propertyIsEnumerable),f=d(Object.prototype.toString),m=n(1323).types,g=m.isAnyArrayBuffer,y=m.isArrayBufferView,b=m.isDate,v=m.isMap,w=m.isRegExp,k=m.isSet,x=m.isNativeError,T=m.isBoxedPrimitive,S=m.isNumberObject,O=m.isStringObject,_=m.isBooleanObject,E=m.isBigIntObject,I=m.isSymbolObject,j=m.isFloat32Array,A=m.isFloat64Array;function C(e){if(0===e.length||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return 10===e.length&&e>=Math.pow(2,32)}function P(e){return Object.keys(e).filter(C).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function R(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function N(e,t,n,r){if(e===t)return 0!==e||(!n||c(e,t));if(n){if("object"!==i(e))return"number"==typeof e&&p(e)&&p(t);if("object"!==i(t)||null===e||null===t)return!1;if(Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(null===e||"object"!==i(e))return(null===t||"object"!==i(t))&&e==t;if(null===t||"object"!==i(t))return!1}var s,a,u,d,l=f(e);if(l!==f(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var h=P(e),m=P(t);return h.length===m.length&&U(e,t,n,r,1,h)}if("[object Object]"===l&&(!v(e)&&v(t)||!k(e)&&k(t)))return!1;if(b(e)){if(!b(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(w(e)){if(!w(t)||(u=e,d=t,!(o?u.source===d.source&&u.flags===d.flags:RegExp.prototype.toString.call(u)===RegExp.prototype.toString.call(d))))return!1}else if(x(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else{if(y(e)){if(n||!j(e)&&!A(e)){if(!function(e,t){return e.byteLength===t.byteLength&&0===R(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))}(e,t))return!1}else if(!function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}(e,t))return!1;var C=P(e),N=P(t);return C.length===N.length&&U(e,t,n,r,0,C)}if(k(e))return!(!k(t)||e.size!==t.size)&&U(e,t,n,r,2);if(v(e))return!(!v(t)||e.size!==t.size)&&U(e,t,n,r,3);if(g(e)){if(a=t,(s=e).byteLength!==a.byteLength||0!==R(new Uint8Array(s),new Uint8Array(a)))return!1}else if(T(e)&&!function(e,t){return S(e)?S(t)&&c(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):O(e)?O(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):_(e)?_(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):E(e)?E(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):I(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}(e,t))return!1}return U(e,t,n,r,0)}function D(e,t){return t.filter((function(t){return h(e,t)}))}function U(e,t,n,r,i,o){if(5===arguments.length){o=Object.keys(e);var s=Object.keys(t);if(o.length!==s.length)return!1}for(var a=0;a<o.length;a++)if(!l(t,o[a]))return!1;if(n&&5===arguments.length){var c=u(e);if(0!==c.length){var p=0;for(a=0;a<c.length;a++){var d=c[a];if(h(e,d)){if(!h(t,d))return!1;o.push(d),p++}else if(h(t,d))return!1}var f=u(t);if(c.length!==f.length&&D(t,f).length!==p)return!1}else{var m=u(t);if(0!==m.length&&0!==D(t,m).length)return!1}}if(0===o.length&&(0===i||1===i&&0===e.length||0===e.size))return!0;if(void 0===r)r={val1:new Map,val2:new Map,position:0};else{var g=r.val1.get(e);if(void 0!==g){var y=r.val2.get(t);if(void 0!==y)return g===y}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var b=$(e,t,n,o,r,i);return r.val1.delete(e),r.val2.delete(t),b}function q(e,t,n,r){for(var i=s(e),o=0;o<i.length;o++){var a=i[o];if(N(t,a,n,r))return e.delete(a),!0}return!1}function L(e){switch(i(e)){case"undefined":return null;case"object":return;case"symbol":return!1;case"string":e=+e;case"number":if(p(e))return!1}return!0}function F(e,t,n){var r=L(n);return null!=r?r:t.has(r)&&!e.has(r)}function M(e,t,n,r,i){var o=L(n);if(null!=o)return o;var s=t.get(o);return!(void 0===s&&!t.has(o)||!N(r,s,!1,i))&&(!e.has(o)&&N(r,s,!1,i))}function B(e,t,n,r,i,o){for(var a=s(e),c=0;c<a.length;c++){var u=a[c];if(N(n,u,i,o)&&N(r,t.get(u),i,o))return e.delete(u),!0}return!1}function $(e,t,n,o,c,u){var p=0;if(2===u){if(!function(e,t,n,r){for(var o=null,a=s(e),c=0;c<a.length;c++){var u=a[c];if("object"===i(u)&&null!==u)null===o&&(o=new Set),o.add(u);else if(!t.has(u)){if(n)return!1;if(!F(e,t,u))return!1;null===o&&(o=new Set),o.add(u)}}if(null!==o){for(var p=s(t),d=0;d<p.length;d++){var l=p[d];if("object"===i(l)&&null!==l){if(!q(o,l,n,r))return!1}else if(!n&&!e.has(l)&&!q(o,l,n,r))return!1}return 0===o.size}return!0}(e,t,n,c))return!1}else if(3===u){if(!function(e,t,n,o){for(var s=null,c=a(e),u=0;u<c.length;u++){var p=r(c[u],2),d=p[0],l=p[1];if("object"===i(d)&&null!==d)null===s&&(s=new Set),s.add(d);else{var h=t.get(d);if(void 0===h&&!t.has(d)||!N(l,h,n,o)){if(n)return!1;if(!M(e,t,d,l,o))return!1;null===s&&(s=new Set),s.add(d)}}}if(null!==s){for(var f=a(t),m=0;m<f.length;m++){var g=r(f[m],2),y=(d=g[0],g[1]);if("object"===i(d)&&null!==d){if(!B(s,e,d,y,n,o))return!1}else if(!(n||e.has(d)&&N(e.get(d),y,!1,o)||B(s,e,d,y,!1,o)))return!1}return 0===s.size}return!0}(e,t,n,c))return!1}else if(1===u)for(;p<e.length;p++){if(!l(e,p)){if(l(t,p))return!1;for(var d=Object.keys(e);p<d.length;p++){var h=d[p];if(!l(t,h)||!N(e[h],t[h],n,c))return!1}return d.length===Object.keys(t).length}if(!l(t,p)||!N(e[p],t[p],n,c))return!1}for(p=0;p<o.length;p++){var f=o[p];if(!N(e[f],t[f],n,c))return!1}return!0}e.exports={isDeepEqual:function(e,t){return N(e,t,false)},isDeepStrictEqual:function(e,t){return N(e,t,true)}}},4206:(e,t,n)=>{e.exports=n(8057)},4387:(e,t,n)=>{"use strict";var r=n(7485),i=n(4570),o=n(2940),s=n(581),a=n(574),c=n(3845),u=n(8338),p=n(8524);e.exports=function(e){return new Promise((function(t,n){var d=e.data,l=e.headers,h=e.responseType;r.isFormData(d)&&delete l["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";l.Authorization="Basic "+btoa(m+":"+g)}var y=a(e.baseURL,e.url);function b(){if(f){var r="getAllResponseHeaders"in f?c(f.getAllResponseHeaders()):null,o={data:h&&"text"!==h&&"json"!==h?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:r,config:e,request:f};i(t,n,o),f=null}}if(f.open(e.method.toUpperCase(),s(y,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,"onloadend"in f?f.onloadend=b:f.onreadystatechange=function(){f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))&&setTimeout(b)},f.onabort=function(){f&&(n(p("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){n(p("Network Error",e,null,f)),f=null},f.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(p(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=(e.withCredentials||u(y))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;v&&(l[e.xsrfHeaderName]=v)}"setRequestHeader"in f&&r.forEach(l,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete l[t]:f.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),h&&"json"!==h&&(f.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),n(e),f=null)})),d||(d=null),f.send(d)}))}},8057:(e,t,n)=>{"use strict";var r=n(7485),i=n(875),o=n(5029),s=n(4941);function a(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n}var c=a(n(3141));c.Axios=o,c.create=function(e){return a(s(c.defaults,e))},c.Cancel=n(7132),c.CancelToken=n(4603),c.isCancel=n(1475),c.all=function(e){return Promise.all(e)},c.spread=n(5739),c.isAxiosError=n(5835),e.exports=c,e.exports.default=c},7132:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4603:(e,t,n)=>{"use strict";var r=n(7132);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},1475:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5029:(e,t,n)=>{"use strict";var r=n(7485),i=n(581),o=n(8096),s=n(5009),a=n(4941),c=n(6144),u=c.validators;function p(e){this.defaults=e,this.interceptors={request:new o,response:new o}}p.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutError:u.transitional(u.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var i,o=[];if(this.interceptors.response.forEach((function(e){o.push(e.fulfilled,e.rejected)})),!r){var p=[s,void 0];for(Array.prototype.unshift.apply(p,n),p=p.concat(o),i=Promise.resolve(e);p.length;)i=i.then(p.shift(),p.shift());return i}for(var d=e;n.length;){var l=n.shift(),h=n.shift();try{d=l(d)}catch(e){h(e);break}}try{i=s(d)}catch(e){return Promise.reject(e)}for(;o.length;)i=i.then(o.shift(),o.shift());return i},p.prototype.getUri=function(e){return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){p.prototype[e]=function(t,n){return this.request(a(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){p.prototype[e]=function(t,n,r){return this.request(a(r||{},{method:e,url:t,data:n}))}})),e.exports=p},8096:(e,t,n)=>{"use strict";var r=n(7485);function i(){this.handlers=[]}i.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},574:(e,t,n)=>{"use strict";var r=n(2642),i=n(2288);e.exports=function(e,t){return e&&!r(t)?i(e,t):t}},8524:(e,t,n)=>{"use strict";var r=n(9953);e.exports=function(e,t,n,i,o){var s=new Error(e);return r(s,t,n,i,o)}},5009:(e,t,n)=>{"use strict";var r=n(7485),i=n(9212),o=n(1475),s=n(3141);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=i.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=i.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(a(e),t&&t.response&&(t.response.data=i.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},9953:e=>{"use strict";e.exports=function(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},4941:(e,t,n)=>{"use strict";var r=n(7485);e.exports=function(e,t){t=t||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function c(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function u(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=c(void 0,e[i])):n[i]=c(e[i],t[i])}r.forEach(i,(function(e){r.isUndefined(t[e])||(n[e]=c(void 0,t[e]))})),r.forEach(o,u),r.forEach(s,(function(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=c(void 0,e[i])):n[i]=c(void 0,t[i])})),r.forEach(a,(function(r){r in t?n[r]=c(e[r],t[r]):r in e&&(n[r]=c(void 0,e[r]))}));var p=i.concat(o).concat(s).concat(a),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===p.indexOf(e)}));return r.forEach(d,u),n}},4570:(e,t,n)=>{"use strict";var r=n(8524);e.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},9212:(e,t,n)=>{"use strict";var r=n(7485),i=n(3141);e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},3141:(e,t,n)=>{"use strict";var r=n(7485),i=n(1446),o=n(9953),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"[object process]"===Object.prototype.toString.call({}))&&(c=n(4387)),c),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e,t,n){if(r.isString(e))try{return(t||JSON.parse)(e),r.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,i=t&&t.forcedJSONParsing,s=!n&&"json"===this.responseType;if(s||i&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw o(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){u.headers[e]=r.merge(s)})),e.exports=u},875:e=>{"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},581:(e,t,n)=>{"use strict";var r=n(7485);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(r.isURLSearchParams(t))o=t.toString();else{var s=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},2288:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},2940:(e,t,n)=>{"use strict";var r=n(7485);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2642:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},5835:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},8338:(e,t,n)=>{"use strict";var r=n(7485);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},1446:(e,t,n)=>{"use strict";var r=n(7485);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},3845:(e,t,n)=>{"use strict";var r=n(7485),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,o,s={};return e?(r.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=r.trim(e.substr(0,o)).toLowerCase(),n=r.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([n]):s[t]?s[t]+", "+n:n}})),s):s}},5739:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},6144:(e,t,n)=>{"use strict";var r=n(9843),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var o={},s=r.version.split(".");function a(e,t){for(var n=t?t.split("."):s,r=e.split("."),i=0;i<3;i++){if(n[i]>r[i])return!0;if(n[i]<r[i])return!1}return!1}i.transitional=function(e,t,n){var i=t&&a(t);function s(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,a){if(!1===e)throw new Error(s(r," has been removed in "+t));return i&&!o[r]&&(o[r]=!0,console.warn(s(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,a)}},e.exports={isOlderVersion:a,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],s=t[o];if(s){var a=e[o],c=void 0===a||s(a,o,e);if(!0!==c)throw new TypeError("option "+o+" must be "+c)}else if(!0!==n)throw Error("Unknown option "+o)}},validators:i}},7485:(e,t,n)=>{"use strict";var r=n(875),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function c(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function u(e){return"[object Function]"===i.call(e)}function p(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isPlainObject:c,isUndefined:s,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:u,isStream:function(e){return a(e)&&u(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:p,merge:function e(){var t={};function n(n,r){c(t[r])&&c(n)?t[r]=e(t[r],n):c(n)?t[r]=e({},n):o(n)?t[r]=n.slice():t[r]=n}for(var r=0,i=arguments.length;r<i;r++)p(arguments[r],n);return t},extend:function(e,t,n){return p(t,(function(t,i){e[i]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},6825:(e,t,n)=>{"use strict";async function r(){const{axeServerURL:e}=await browser.storage.local.get("axeServerURL");return e&&"default"!==e?e:"https://axe.deque.com"}n.d(t,{Z:()=>r})},8969:(e,t,n)=>{"use strict";n.d(t,{xJ:()=>b,Wp:()=>g,aA:()=>y,Sj:()=>p});n(7968);var r=n(2257);n(9289),n(8176),n(2249);var i=n(6825);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=()=>Math.floor(Date.now()/1e3);let u;const p=(e,t)=>{u||(u=new BroadcastChannel("auth")),u.postMessage&&u.postMessage({topic:e,message:t}),r.J.send(r.D.background,e,t)};let d=null,l=null;const h=e=>{const t=s(s({},e),{},{expires_at:c()+e.expires_in,refresh_expires_at:c()+e.refresh_expires_in});p("auth:session",t),(e=>{if((d||l)&&m(),!e)return;const t=1e3*(e.refresh_expires_at-c()-120);d=setTimeout((()=>{p("auth:session",s(s({},e),{},{expires_in:e.expires_at-c(),refresh_expires_in:e.refresh_expires_at-c()}))}),t),l=setTimeout((()=>{f()}),1e3*(e.refresh_expires_at-c()))})(t),browser.storage.local.set({session:t})},f=async()=>{try{const{"sso-config":e,user:t,session:n}=await browser.storage.local.get();await fetch(e.logoutUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:encodeURI(`client_id=${e.publicClientId}&refresh_token=${n.refresh_token}`)}),await browser.storage.local.remove(["sso-config","session","user"]),null!=t&&t.company&&await browser.storage.local.set({cachedUserCompany:t.company}),p("auth:logout"),m(),r.J.send(r.D.background,"extension:logout")}catch(e){const{message:t}=e;p("auth:error",t)}},m=()=>{clearTimeout(d),clearTimeout(l)},g=e=>{e instanceof URL||(e=new URL(e));const t=e.searchParams.get("code"),n=e.hash?new URLSearchParams(e.hash.substr(1)).get("code"):null;return t||n||null},y=async()=>{const e=await(0,i.Z)(),t=await fetch(`${e}/api/sso-config`);if(!t.ok)throw new Error(`Unable to get SSO config (${t.statusCode})`);const{url:n,realm:r,publicClientId:o}=await t.json();return{url:n,realm:r,publicClientId:o,openIdConnectUrl:`${n}/auth/realms/${r}/protocol/openid-connect`}},b=async()=>{const{session:e,"sso-config":t}=await browser.storage.local.get();if(!e)return;const n={grant_type:"refresh_token",refresh_token:e.refresh_token,client_id:t.publicClientId},r=await fetch(t.tokenUrl,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:encodeURI(Object.entries(n).map((([e,t])=>`${e}=${t}`)).join("&"))});if(401===r.status||400===r.status)return void f();200!==r.status&&p("auth:error","Unexpected error");const i=await r.json();return h(i),i};r.J.listen("app:logout",f)},2249:(e,t,n)=>{"use strict";n.d(t,{q_:()=>r});const r=()=>"chrome";let i;i="AxeChrome"},5581:(e,t,n)=>{"use strict";n.d(t,{Z:()=>P});var r=n(9619),i=n.n(r),o=n(2607),s=n(1719),a=n(8969),c=n(6292);const u=n.n(c)()("request-interception"),p=["get","post","put","delete"],d=function(){const e=new Map(p.map((e=>[e,[]])));for(const t of p)this[t]=(n,r)=>{if(p.includes(t)){const i=e.get(t);e.set(t,[...i,{pattern:n,handler:r}])}return this};return this.intercept=(t,n,r)=>{const i=t.toLowerCase();if(!p.includes(i))return!1;for(const{pattern:t,handler:o}of e.get(i)){const e=new URLPattern({pathname:t}),[s,a]=n.split("?"),c=e.exec(s,"https://axe.deque.com");if(c){const e=c.pathname.groups,n=Object.fromEntries(new URLSearchParams(a));return u(`${i} ${t}`,{endpoint:s,params:e,query:n,body:r}),o(r,{endpoint:s,params:e,query:n})}}},this},l=(new Error("timeout while waiting for mutex to become available"),new Error("mutex already locked"),new Error("request for lock canceled"));var h=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))};class f{constructor(e,t=l){this._value=e,this._cancelError=t,this._weightedQueues=[],this._weightedWaiters=[]}acquire(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);return new Promise(((t,n)=>{this._weightedQueues[e-1]||(this._weightedQueues[e-1]=[]),this._weightedQueues[e-1].push({resolve:t,reject:n}),this._dispatch()}))}runExclusive(e,t=1){return h(this,void 0,void 0,(function*(){const[n,r]=yield this.acquire(t);try{return yield e(n)}finally{r()}}))}waitForUnlock(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);return new Promise((t=>{this._weightedWaiters[e-1]||(this._weightedWaiters[e-1]=[]),this._weightedWaiters[e-1].push(t),this._dispatch()}))}isLocked(){return this._value<=0}getValue(){return this._value}setValue(e){this._value=e,this._dispatch()}release(e=1){if(e<=0)throw new Error(`invalid weight ${e}: must be positive`);this._value+=e,this._dispatch()}cancel(){this._weightedQueues.forEach((e=>e.forEach((e=>e.reject(this._cancelError))))),this._weightedQueues=[]}_dispatch(){var e;for(let t=this._value;t>0;t--){const n=null===(e=this._weightedQueues[t-1])||void 0===e?void 0:e.shift();if(!n)continue;const r=this._value,i=t;this._value-=t,t=this._value+1,n.resolve([r,this._newReleaser(i)])}this._drainUnlockWaiters()}_newReleaser(e){let t=!1;return()=>{t||(t=!0,this.release(e))}}_drainUnlockWaiters(){for(let e=this._value;e>0;e--)this._weightedWaiters[e-1]&&(this._weightedWaiters[e-1].forEach((e=>e())),this._weightedWaiters[e-1]=[])}}var m=function(e,t,n,r){return new(n||(n=Promise))((function(i,o){function s(e){try{c(r.next(e))}catch(e){o(e)}}function a(e){try{c(r.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}c((r=r.apply(e,t||[])).next())}))};class g{constructor(e){this._semaphore=new f(1,e)}acquire(){return m(this,void 0,void 0,(function*(){const[,e]=yield this._semaphore.acquire();return e}))}runExclusive(e){return this._semaphore.runExclusive((()=>e()))}isLocked(){return this._semaphore.isLocked()}waitForUnlock(){return this._semaphore.waitForUnlock()}release(){this._semaphore.isLocked()&&this._semaphore.release()}cancel(){return this._semaphore.cancel()}}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const w="appData",k=new g;const x=class{constructor(){this.set=async(e,t)=>this.setAppData(e,t,!1),this.update=async(e,t)=>this.setAppData(e,t,!0)}async setAppData(e,t,n){return await k.runExclusive((async()=>{let{[w]:r={}}=await browser.storage.local.get(w);return t?r[t]=n?b(b({},r[t]),e):e:r=e,await browser.storage.local.set({[w]:r}),t?r[t]:r}))}async get(e){return await k.runExclusive((async()=>{const{[w]:t={}}=await browser.storage.local.get(w);return e?t[e]:t}))}async clear(){await browser.storage.local.remove(w)}};function T(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){_(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const E=new g,I=new x,j=new d;j.post("/api/tests",(async e=>{const t=(0,s.v4)();return await I.set(O({id:t,updated_at:(new Date).toISOString(),created_at:(new Date).toISOString(),issues:[],manifests:[]},e),`/api/tests/${t}`)})).put("/api/tests/:testId",(async(e,{params:t})=>{const n=`/api/tests/${t.testId}`,r=await I.update(O(O({},e),{},{updated_at:(new Date).toISOString()}),n),{issues:i,manifests:o}=r;return T(r,["issues","manifests"])})).post("/api/tests/:testId/issues",(async(e,{params:t})=>{const{manifestGuideName:n,manifestId:r,test_name:i,violations:o}=e,a=`/api/tests/${t.testId}`,c=await I.get(a),u=new Date,p=[];for(const e of o){var d,l;p.push(O(O({},e),{},{id:(0,s.v4)(),created_at:u.toISOString(),test_id:t.testId,test_name:i||c.name,test_url:e.test_url||c.url,manifest_id:r,manifest_scope:(null===(d=e.stepScope)||void 0===d?void 0:d.name)||null,manifest_index:(null===(l=e.stepScope)||void 0===l?void 0:l.index)||null,manifest_key:e.stepName,manifest_guide:n}))}return c.issues=[...p,...null==c?void 0:c.issues],await I.update(c,a),c.issues})).put("/api/tests/:testId/issues/:issueId",(async(e,{params:t})=>{const n=`/api/tests/${t.testId}`,r=await I.get(n);let i={};const o=null==r?void 0:r.issues.map((n=>n.id!==t.issueId?n:(i=O(O({},n),e),i)));return await I.set(O(O({},r),{},{issues:o}),n),i})).delete("/api/tests/:testId/issues",(async(e,{params:t,query:n})=>{const r=`/api/tests/${t.testId}`,i=await I.get(r),o=(null==i?void 0:i.issues.filter((e=>Object.entries(n).every((([t,n])=>{const r="true"===n||"false"===n?JSON.parse(n):n;return e[t]!==r})))))||[];await I.set(O(O({},i),{},{issues:o}),r)})).post("/api/tests/:testId/manifests",(async(e,{params:t})=>{const n=`/api/tests/${t.testId}`,r=await I.get(n),i={id:(0,s.v4)(),test_id:t.testId,guide:e.guide||e.name,created_at:(new Date).toISOString()};return(r.manifests||[]).push(i),await I.set(r,n),i})).get("/api/tests/:testId/manifests/:manifestId",(async(e,{params:t})=>{const n=await I.get(`/api/tests/${t.testId}`);return(null==n?void 0:n.manifests.find((e=>e.id===t.manifestId)))||{}})).get("/api/tests/:testId/issues",(async(e,{params:t})=>{const n=await I.get(`/api/tests/${t.testId}`);return(null==n?void 0:n.issues)||[]})).get("/api/tests/:testId/manifests",(async(e,{params:t})=>{var n;const r=await I.get(`/api/tests/${t.testId}`);return(null==r||null===(n=r.manifests)||void 0===n?void 0:n.reduce(((e,t)=>{if(t.guide){const n=[...e[t.guide]||[],t];e[t.guide]=n}return e}),{}))||{}})).put("/api/tests/:testId/manifests/:manifestId",(async(e,{params:t})=>{const n=`/api/tests/${t.testId}`,r=await I.get(n);let i={};const o=null==r?void 0:r.manifests.map((n=>n.id!==t.manifestId?n:(i=O(O(O({},n),{},{updated_at:(new Date).toISOString()},"data"in e&&e.data?{body:e.data}:{}),"name"in e&&e.name?{name:e.name}:{}),i)));return await I.set(O(O({},r),{},{manifests:o}),n),i})).delete("/api/tests/:testId/manifests/:manifestId",(async(e,{params:t})=>await E.runExclusive((async()=>{const e=`/api/tests/${t.testId}`,n=await I.get(e),r=null==n?void 0:n.issues.filter((e=>e.manifest_id!==t.manifestId)),i=null==n?void 0:n.manifests.filter((e=>e.id!==t.manifestId));await I.set(O(O({},n),{},{issues:r||[],manifests:i||[]}),e)})))).get("/api/users/:id/tests",(async(e,{query:t})=>{var n;const r=new URLPattern({pathname:"/api/tests/:testId"}),i=await I.get(),o=[],s=(null===(n=t.tags)||void 0===n?void 0:n.split(","))||[];for(const[e,t]of Object.entries(i))if(r.test(e,"https://axe.deque.com")){const e=s.length?t.issues.filter((e=>!!e.tags.find((e=>s.includes(e))))):null==t?void 0:t.issues;o.push(O({best_practice_count:t.issues.filter((e=>{var t;return null===(t=e.tags)||void 0===t?void 0:t.includes("best-practice")})).length,needs_review_count:e.filter((e=>!!e.needs_review)).length,violation_count:e.filter((e=>"violation"===e.variant)).length},t))}return o.sort(((e,t)=>-e.updated_at.localeCompare(t.updated_at)))})).post("/api/analytics",(()=>{})).put("*",(async(e,{endpoint:t})=>I.set(e,t))).post("*",(async(e,{endpoint:t})=>I.update(e,t))).get("*",(async(e,{endpoint:t})=>I.get(t))).delete("*",(async(e,{endpoint:t})=>{const n=await I.get();delete n[t],await I.set(n)}));const A=async(e,t,n,r)=>{const{axeServerURL:i,session:s}=await browser.storage.local.get();if(null==s||!s.access_token)throw new Error(o.ZP`You are not logged in and you need to be logged in to perform this action`);let c;if(s.expires_at<Math.floor(Date.now()/1e3)-6e4)try{c=(await(0,a.xJ)()).access_token}catch(e){}const u=await fetch(`${"default"===i?"https://axe.deque.com":i}${t}`,{method:e,headers:O(O({},n),{},{Authorization:`Bearer ${c||s.access_token}`}),body:r});if(401===u.status)throw new Error("access denied");return u},C=async(e,t,n,{jsonResponse:r=!0}={})=>{const{enableOffline:o}=await browser.storage.local.get("enableOffline");if(o)try{return await j.intercept(e,t,n)}catch(e){throw console.error(e),e}const s=await A(e,t,O({"Content-Type":"application/json"},r?{Accept:"application/json"}:{}),JSON.stringify(n));if(204!==s.status)return i()(s.ok),r?s.json():s.text()};const P={delete:function(e,t,n){return C("DELETE",e,t,n)},get:function(e,t){return C("GET",e,void 0,t)},post:function(e,t,n){return C("POST",e,t,n)},put:function(e,t,n){return C("PUT",e,t,n)},stream:{post:function(e,t,n){return A("POST",e,t,n)},get:function(e,t,n){return A("GET",e,t,n)}}}},5917:(e,t,n)=>{"use strict";n.r(t),n.d(t,{TAB_TIMEOUT:()=>ge});var r=n(6292),i=n.n(r),o=n(2607);const s=()=>chrome.runtime.lastError&&chrome.runtime.lastError.message&&"Cannot attach to this target."===chrome.runtime.lastError.message;function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const u=i()("debugger:command"),p=i()("debugger:response"),d=(e=browser.devtools.inspectedWindow.tabId)=>new Promise(((t,n)=>{try{chrome.debugger.attach({tabId:e},"1.3",(()=>{try{chrome.runtime.lastError?u(chrome.runtime.lastError.message):u(`attach:${e}`)}finally{t(!0)}}))}catch{n()}})),l=async(e,t,n)=>new Promise((r=>{u(`[${t}] command:${e.tabId}`,n),chrome.debugger.sendCommand(e,t,n,(n=>{try{chrome.runtime.lastError&&u(chrome.runtime.lastError.message)}finally{p(`[${t}] command:${e.tabId}`,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n)),r(n)}}))})),h=(e=browser.devtools.inspectedWindow.tabId)=>new Promise(((t,n)=>{try{chrome.debugger.detach({tabId:e},(()=>{u(`detach:${e}`),t(!0)}))}catch{n()}}));async function f(e,t={}){return l(this,e,t)}const m=async e=>(await d(e),Promise.resolve(f.bind({tabId:e})));class g{constructor(e){this.tabId=e}async start(){if(this.command=await m(this.tabId),s())throw new Error(browser.runtime.lastError.message);await this.command("Input.enable"),await this.fireTab()}stop(){h(this.tabId)}async fireKey(e,t){await this.command("Input.dispatchKeyEvent",{type:"keyDown",windowsVirtualKeyCode:e,code:t,key:t}),await this.command("Input.dispatchKeyEvent",{type:"keyUp",windowsVirtualKeyCode:e,code:t,key:t})}async fireTab(){await this.fireKey(9,"Tab")}async fireEscape(){this.command=await m(this.tabId),await this.command("Input.enable"),await this.fireKey(27,"Escape"),this.stop()}}var y=n(2257),b=n(5581),v=n(4295);var w=n(3152),k=n.n(w);const x=(e,t)=>t.reduce(((e,t)=>e.find((e=>e.vnodeId===t.vnodeId))?e:[...e,t]),[...e]);function T(e=[],t){const n=k()(t,"metadata.scope",{});return e.reduce(((e,n)=>{const r=t[n];return r?r.hasOwnProperty("vnodeId")?x(e,[r]):Array.isArray(r)?x(e,(e=>e.reduce(((e,t)=>t.vnodes?[...e,...t.vnodes]:[...e,t]),e))(r)):e:e}),n?[n]:[]).filter((e=>"number"==typeof e.vnodeId))}const S=[{id:"alt-text-area-missing",descriptions:{en:{shortText:"AREA alt text is missing",description:"An AREA element has no text alternative."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"alt-text-complex-missing",descriptions:{en:{shortText:"Short and detailed text alternatives missing for complex image",description:"The complex image is missing both short and detailed text alternatives."}},checkpoints:[{checkpoint:"1.1.1.c",standards:["wcag2a"],type:"issue",impact:4}]},{id:"alt-text-decorative-inappropriate",descriptions:{en:{shortText:"The decorative image is not hidden from screen readers",description:"The decorative image is not hidden from screen readers."}},checkpoints:[{checkpoint:"1.1.1.d",standards:["wcag2a"],type:"issue",impact:2}]},{id:"alt-text-different",descriptions:{en:{shortText:"Text alternative does not present same info as image",description:"The text alternative does not present the same information as the image."}},checkpoints:[{checkpoint:"1.1.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-dynamic-image-inconsistent",descriptions:{en:{shortText:"Text alternative does not match dynamically changing image",description:"The image is changing dynamically but the text alternative doesn't correspond to the image displayed."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.1.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-essential-image-text",descriptions:{en:{shortText:"Text alternative does not include essential text in image",description:"The text alternative does not contain the essential text in the image, and therefore does not present the same information as the image."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.1.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-image-map-nonunique",descriptions:{en:{shortText:"Non-unique text alternative for image map areas",description:"The text alternative for each area of the image map is not unique."}},checkpoints:[{checkpoint:"2.4.4.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-image-text-mismatch",descriptions:{en:{shortText:"Alt text does not match text in image",description:"The text alternative does not exactly match text that is embedded in the image."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.b",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.h",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"alt-text-inappropriate",descriptions:{en:{shortText:"Text alternative is not appropriate",description:"The text alternative is not appropriate."}},checkpoints:[{checkpoint:"1.1.1.h",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-inappropriate-captcha",descriptions:{en:{shortText:"Text alternative for CAPTCHA is not appropriate",description:"The text alternative for the CAPTCHA image does not describe its purpose."}},checkpoints:[{checkpoint:"1.1.1.g",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-inconsistent",descriptions:{en:{shortText:"Text alternative does not serve same purpose as image",description:"The text alternative does not serve the same purpose as the image."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-longdesc-inadequate",descriptions:{en:{shortText:"Detailed alternative description not adequate",description:"The detailed textual description of the complex image is not adequate to convey its full meaning."}},checkpoints:[{checkpoint:"1.1.1.c",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-longdesc-missing",descriptions:{en:{shortText:"Detailed alternative description is missing",description:"The detailed textual description of the complex image is missing."}},checkpoints:[{checkpoint:"1.1.1.c",standards:["wcag2a"],type:"issue",impact:4}]},{id:"alt-text-missing",descriptions:{en:{shortText:"Text alternative is missing",description:"The text alternative is missing."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"issue",impact:4},{checkpoint:"1.1.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"alt-text-missing-captcha",descriptions:{en:{shortText:"CAPTCHA is missing text alternative",description:"The text alternative for the CAPTCHA image is missing."}},checkpoints:[{checkpoint:"1.1.1.g",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-missing-media-file",descriptions:{en:{shortText:"Media file is missing text alternative",description:"There is no text alternative to describe the media file."}},checkpoints:[{checkpoint:"1.1.1.h",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-redundancy-adjacent-link",descriptions:{en:{shortText:"Alt text duplicates adjacent link text",description:"The text alternative duplicates the adjacent link text for the same resource/destination."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.d",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"alt-text-redundancy-link-text",descriptions:{en:{shortText:"Alt text duplicates text of link or button",description:"The text alternative duplicates the text content of the link or button it is inside, and therefore should be null."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.d",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"alt-text-short-text-missing",descriptions:{en:{shortText:"Short text alternative is missing",description:"A short text alternative for a complex image is missing."}},checkpoints:[{checkpoint:"1.1.1.c",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-short-text-not-meaningful",descriptions:{en:{shortText:"Short text alternative is not appropriate",description:"The short text alternative for the complex image is not appropriate or meaningful."}},checkpoints:[{checkpoint:"1.1.1.c",standards:["wcag2a"],type:"issue",impact:3}]},{id:"alt-text-too-long",descriptions:{en:{shortText:"Alt text is greater than 150 chars",description:"The text alternative is greater than 150 characters."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.b",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.c",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.g",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.h",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"alt-text-trademark",descriptions:{en:{shortText:"Alt text does not reference trademark",description:"The text alternative does not include text to represent the trademark, service mark, registered trademark or copyright symbol that is embedded in the image."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.b",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.c",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.g",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.h",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"alt-text-verbose",descriptions:{en:{shortText:"Alt text is too verbose",description:"The text alternative should succinctly describe the content without being too verbose."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.b",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.c",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.g",standards:["wcag2a"],type:"best-practice",impact:1},{checkpoint:"1.1.1.h",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"aria-attribute-invalid",descriptions:{en:{shortText:"States/Properties: Invalid ARIA attribute",description:"The element has an invalid ARIA attribute (a misspelled attribute or one that does not exist)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"aria-attribute-missing",descriptions:{en:{shortText:"States/Properties: Required ARIA attribute missing",description:"The element is missing an ARIA attribute that is required for its role."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"aria-attribute-value-invalid",descriptions:{en:{shortText:"States/Properties: Invalid ARIA attribute value",description:"The element's ARIA attribute has an invalid value (a misspelled value or one that is not valid for the attribute)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"aria-custom-button-spacebar",descriptions:{en:{shortText:"Custom ARIA button does not activate with spacebar",description:"An element that visually appears like a button and has an ARIA role of button does not function the same as a native button because only the enter key activates it, not the spacebar."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"aria-invalid-missing",descriptions:{en:{shortText:"Field with data entry error missing aria-invalid",description:'The field has a data entry error but is missing aria-invalid="true"'}},checkpoints:[{checkpoint:"3.3.1.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"aria-landmark-not-used",descriptions:{en:{shortText:"Missing ARIA landmarks",description:"ARIA landmarks are not used to define the sections of the page."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"aria-landmark-outside",descriptions:{en:{shortText:"Element not within ARIA landmark",description:"ARIA landmarks are not used to define every section of the page. The element is not within an ARIA landmark."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"aria-name-missing-incorrect",descriptions:{en:{shortText:"Name: The element's name is missing or incorrect",description:"The element's accessible name is missing or is not appropriate for the element's purpose."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"aria-not-used",descriptions:{en:{shortText:"Missing ARIA on dynamic widget",description:"ARIA is not used to indicate Name, Role, Value and State on a dynamic widget. (It does work with keyboard alone, and screen readers. Name, Role, State and Value are provided via HTML.)"}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:2},{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"aria-region-not-labeled",descriptions:{en:{shortText:"Missing label on region landmark",description:'The section with generic role="region" is not labelled.'}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"aria-required-child-missing",descriptions:{en:{shortText:"Role: Required ARIA child role missing",description:"The element's ARIA role requires that other elements with specific roles be contained within it. At least one child role is missing."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"aria-required-missing",descriptions:{en:{shortText:"Required field missing aria-required",description:'The field is required but is missing aria-required="true"'}},checkpoints:[{checkpoint:"3.3.2.c",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"aria-required-parent-missing",descriptions:{en:{shortText:"Role: Required ARIA parent role missing",description:"The element's ARIA role requires that it be contained inside a parent element with a specific role. The parent role is missing."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"aria-role-invalid",descriptions:{en:{shortText:"Role: Invalid ARIA role value",description:"The element's role attribute has an invalid value (a misspelled value or one that does not exist)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"aria-role-missing",descriptions:{en:{shortText:"Role: The element's role is missing or incorrect",description:"The element's role is missing or is not appropriate for the element's function."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"aria-state-property-missing",descriptions:{en:{shortText:"States/Properties: The element has missing or incorrect states or properties",description:"The element has missing or incorrect states or properties that are necessary for screen reader users to interact with or understand the content conveyed by the element."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"asterisk-instruction-missing",descriptions:{en:{shortText:"Instruction to describe meaning of * is missing",description:'Asterisks are used to indicate required form fields, but an instruction like "Fields marked with * are required." is missing.'}},checkpoints:[{checkpoint:"3.3.2.c",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"audio-autoplay",descriptions:{en:{shortText:"Missing stop/pause mechanism for auto-playing audio",description:"Audio starts playing automatically, lasts more than 3 seconds, and does not have an accessible mechanism to stop, pause, mute or adjust the volume of the audio."}},checkpoints:[{checkpoint:"1.4.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"audio-description-hard-to-find",descriptions:{en:{shortText:"Audio description is hard to find",description:"An audio described version of the video is provided but it is difficult to locate."}},checkpoints:[{checkpoint:"1.2.3.a",standards:["wcag2a"],type:"best-practice",impact:2},{checkpoint:"1.2.5.a",standards:["wcag2aa"],type:"best-practice",impact:2}]},{id:"audio-description-inadequate",descriptions:{en:{shortText:"Audio description is incorrect or inadequate",description:"The audio description provided is not correct or is inadequate."}},checkpoints:[{checkpoint:"1.2.3.a",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.2.5.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"audio-description-missing",descriptions:{en:{shortText:"Audio description is not available",description:"An audio description is not provided."}},checkpoints:[{checkpoint:"1.2.5.a",standards:["wcag2aa"],type:"issue",impact:4}]},{id:"auth-requires-cognitive-function",descriptions:{en:{shortText:"Authentication requires a non-exempted cognitive function test",description:"Authentication process requires the completion of a non-exempted cognitive function test and no mechanism is available to assist the user in completing the cognitive function test."}},checkpoints:[{checkpoint:"3.3.8.a",standards:["wcag22aa"],type:"issue",impact:4}]},{id:"auth-show-password",descriptions:{en:{shortText:"Unable to show/hide password",description:"User is unable to show/hide password typed into a password field."}},checkpoints:[{checkpoint:"3.3.7.a",standards:["wcag22aa"],type:"best-practice",impact:2}]},{id:"button-acts-like-link",descriptions:{en:{shortText:"Button acts like link",description:"Button acts like a link, Activating this button only changes browser focus or URL. Buttons should activate scripted functionality."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"button-link-nested",descriptions:{en:{shortText:"Anchor or button nested inside other anchor or button",description:"Nesting an anchor or button inside another anchor or button fails validation and may cause troubles for keyboard and screen reader users."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:2}]},{id:"button-looks-like-link",descriptions:{en:{shortText:"Button looks like link",description:"Button looks like a link, but activating this element triggers scripted functionality without changing browser focus or URL."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"button-missing-role",descriptions:{en:{shortText:"Button: Button does not have a role",description:"The button does not have a role."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"button-name-inaccessible",descriptions:{en:{shortText:"Button: Button does not have a name",description:"The button is missing an accessible name/label. As a result its functionality or purpose is not conveyed to screen reader users."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"button-role-name-missing",descriptions:{en:{shortText:"Button: Button is missing both a role and a name",description:"The button is missing both a role and an accessible name/label."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"button-state-disabled",descriptions:{en:{shortText:"Button: Button disabled state is not conveyed",description:"The disabled state of a button is not conveyed to screen reader users."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"button-state-pressed",descriptions:{en:{shortText:"Button: Button pressed state is not conveyed",description:"The pressed state of a button is not conveyed to screen reader users."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"button-value-text-mismatch",descriptions:{en:{shortText:"Button's programmatic name and visible text label not identical",description:"The button has a very minor mismatch between its programmatic name and the visual text label. While not identical, the programmatic name does convey the purpose of the button."}},checkpoints:[{checkpoint:"2.4.6.b",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"buttons-confusing",descriptions:{en:{shortText:"Controls have same name but different actions",description:"Multiple controls have the same labels/names but perform different actions. This is not conveyed via text associated with individual controls."}},checkpoints:[{checkpoint:"2.4.6.b",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"captcha-requires-vision",descriptions:{en:{shortText:"CAPTCHA task has only one option",description:"There is only one option for the CAPTCHA task and it requires vision to complete it successfully."}},checkpoints:[{checkpoint:"1.1.1.g",standards:["wcag2a"],type:"issue",impact:4}]},{id:"captions-inadequate",descriptions:{en:{shortText:"Captions are incorrect or inadequate",description:"Captions are provided, but they are incorrect or inadequate."}},checkpoints:[{checkpoint:"1.2.2.a",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.2.4.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"captions-incomplete",descriptions:{en:{shortText:"Captions do not contain all dialogue",description:"Captions are provided, but some of the dialogue is missing."}},checkpoints:[{checkpoint:"1.2.2.a",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.2.4.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"captions-missing",descriptions:{en:{shortText:"Captions are not available",description:"Captions are not provided for the multimedia content."}},checkpoints:[{checkpoint:"1.2.2.a",standards:["wcag2a"],type:"issue",impact:4},{checkpoint:"1.2.4.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"captions-not-clearly-visible",descriptions:{en:{shortText:"Caption text has inadequate contrast",description:"Captions are provided, but they are difficult to read due to poor contrast between the captions and their background."}},checkpoints:[{checkpoint:"1.2.2.a",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.2.4.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"captions-not-synchronized",descriptions:{en:{shortText:"Captions are not synchronized",description:"Captions are provided, but they are not synchronized with the multimedia."}},checkpoints:[{checkpoint:"1.2.2.a",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.2.4.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"captions-undescribed-effects",descriptions:{en:{shortText:"Captions do not describe important sounds",description:"Captions are provided, but they do not describe all important sound effects."}},checkpoints:[{checkpoint:"1.2.2.a",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.2.4.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"captions-unidentified-speakers",descriptions:{en:{shortText:"Captions do not identify all speakers",description:"Captions are provided, but they do not identify all the speakers."}},checkpoints:[{checkpoint:"1.2.2.a",standards:["wcag2a"],type:"issue",impact:2},{checkpoint:"1.2.4.a",standards:["wcag2a"],type:"issue",impact:2}]},{id:"change-of-context-not-requested",descriptions:{en:{shortText:"A change of context not requested",description:"A change of context occurs without the user initiating it."}},checkpoints:[{checkpoint:"3.2.5.a",standards:["wcag2aaa","aenb-77"],type:"issue",impact:2}]},{id:"checkbox-missing-role-state",descriptions:{en:{shortText:"Checkbox: Custom checkbox does not have a role and/or state",description:"The custom checkbox element is missing a role and/or checked state."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"content-auto-play",descriptions:{en:{shortText:"Auto-playing media or animation has no mechanism to pause, stop, or hide",description:"Auto-playing media or animation has no mechanism to pause, stop, or hide the content."}},checkpoints:[{checkpoint:"2.2.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"content-blink",descriptions:{en:{shortText:"Blinking content is present",description:"The element uses a <blink> element or text-decoration: blink."}},checkpoints:[{checkpoint:"2.2.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"content-carousel-unstoppable",descriptions:{en:{shortText:"Carousel has no stop/pause mechanism",description:"The carousel does not have a mechanism to pause, stop, or control the changing content."}},checkpoints:[{checkpoint:"2.2.2.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"content-disappears",descriptions:{en:{shortText:"Content visually appears and disappears with no ability to adjust timing",description:"Content visually appears for a short time and then disappears. The user has no way to adjust when the content visually appears or disappears. Examples of content include error messages, success messages, and updating headlines."}},checkpoints:[{checkpoint:"2.2.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"content-does-not-remain-visible",descriptions:{en:{shortText:"Content does not remain visible",description:"Additional content does not remain visible until dismissed or invalid."}},checkpoints:[{checkpoint:"1.4.13.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"content-flashing",descriptions:{en:{shortText:"Flashing content is present",description:"The element flashes more than 3 times per second, but is small enough or dim enough that it probably will not cause seizures."}},checkpoints:[{checkpoint:"2.3.1.a",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"content-flashing-big",descriptions:{en:{shortText:"Large flashing content is present",description:"Content flashes more than 3 times per second and exceeds 25% of 10 degrees of visual field in area."}},checkpoints:[{checkpoint:"2.3.1.a",standards:["wcag2a"],type:"issue",impact:5}]},{id:"content-flashing-no-exception",descriptions:{en:{shortText:"Content flashes more than 3 times per second below threshold",description:"Content flashes more than 3 times per second but is below threshold."}},checkpoints:[{checkpoint:"2.3.2.a",standards:["wcag2aaa","aenb-77"],type:"issue",impact:2}]},{id:"content-horizontal-scroll",descriptions:{en:{shortText:"Content does not reflow to fit 320px width equivalent",description:"Content does not reflow to fit horizontally within the viewport when the page is adjusted to an equivalent width of 320px."}},checkpoints:[{checkpoint:"1.4.10.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"content-hover-disappears",descriptions:{en:{shortText:"Hover content disappearing",description:"Additional content that becomes available on hover does not allow the user to move the pointer over that same additional content without the additional content disappearing."}},checkpoints:[{checkpoint:"1.4.13.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"content-marquee",descriptions:{en:{shortText:"Marquee element is present",description:"A <marquee> element is present."}},checkpoints:[{checkpoint:"2.2.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"content-motion-uninterruptible",descriptions:{en:{shortText:"Moving/blinking content has no pause/stop mechanism",description:"Moving or blinking content that lasts more than 5 seconds does not have a mechanism to pause, stop or hide it."}},checkpoints:[{checkpoint:"2.2.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"content-not-dismissible",descriptions:{en:{shortText:"Additional content not dismissible",description:"Failure to make additional content dismissible without moving pointer hover or keyboard focus."}},checkpoints:[{checkpoint:"1.4.13.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"content-reflow-content-lost",descriptions:{en:{shortText:"Info or functionality is lost due to overlapping content at 320px equivalent",description:"Information or functionality is lost due to overlapping content when the page is adjusted to an equivalent width of 320px."}},checkpoints:[{checkpoint:"1.4.10.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"content-reflow-content-missing",descriptions:{en:{shortText:"Info or functionality is unavailable at 320px width equivalent",description:"Information or functionality is unavailable when the page is adjusted to an equivalent width of 320px."}},checkpoints:[{checkpoint:"1.4.10.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"content-restricts-input-mechanisms",descriptions:{en:{shortText:"Content restricts input modalities.",description:"Content restricts input modalities."}},checkpoints:[{checkpoint:"2.5.6.a",standards:["wcag21aaa","aenb-77"],type:"issue",impact:2}]},{id:"content-too-wide",descriptions:{en:{shortText:"Content requires excessive horizontal scrolling when enlarged",description:"Viewing all the content requires horizontal scrolling when the page content is resized to 200%."}},checkpoints:[{checkpoint:"1.4.4.a",standards:["wcag2aa"],type:"best-practice",impact:2}]},{id:"content-updates-uninterruptible",descriptions:{en:{shortText:"No control mechanism provided for automatically updating content",description:"Automatically updating content does not have a mechanism to pause, stop, hide, or control the timing of the updates."}},checkpoints:[{checkpoint:"2.2.2.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"contextual-help-not-present",descriptions:{en:{shortText:"Input is missing context-sensitive help",description:"Input is missing context-sensitive help."}},checkpoints:[{checkpoint:"3.3.5.a",standards:["wcag2aaa","aenb-77"],type:"issue",impact:2}]},{id:"contrast-focus-3-1",descriptions:{en:{shortText:"Visual focus lacks 3 to 1 contrast ratio",description:"The visual focus indicator does not have a color contrast ratio of at least 3 to 1."}},checkpoints:[{checkpoint:"1.4.3.b",standards:["wcag2aa"],type:"best-practice",impact:2},{checkpoint:"2.4.7.a",standards:["wcag2aa"],type:"best-practice",impact:2}]},{id:"contrast-focus-4.5-1",descriptions:{en:{shortText:"Visual focus lacks 4.5 to 1 contrast ratio",description:"The visual focus indicator does not have a color contrast ratio of at least 4.5 to 1."}},checkpoints:[{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"best-practice",impact:2},{checkpoint:"2.4.7.a",standards:["wcag2aa"],type:"best-practice",impact:2},{checkpoint:"1.4.11.b",standards:["wcag2aa"],type:"best-practice",impact:2}]},{id:"contrast-focus-indicator",descriptions:{en:{shortText:"Focus indicator lacks 3 to 1 contrast ratio",description:"Focus indicator lacks 3 to 1 contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.b",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"contrast-graphical-objects-3-1",descriptions:{en:{shortText:"Graphical object lacks 3 to 1 contrast ratio",description:"Parts of graphics (required to understand the content) do not have a contrast ratio of 3 to 1 against adjacent color(s)."}},checkpoints:[{checkpoint:"1.4.11.c",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"contrast-graphical-objects-3-1-plus-text",descriptions:{en:{shortText:"Graphical object with text lacks 3 to 1 contrast ratio",description:"A graphical object has visible text that conveys the same information as the graphical object. The graphical object (non-text) does not have at least a 3 to 1 color contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.c",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-graphical-objects-anti-aliasing",descriptions:{en:{shortText:"Graphical object contrast anti-aliasing",description:"A graphical object does not have a 3 to 1 luminosity contrast ratio with an adjacent background color due to browser rendering, smoothing or anti-aliasing."}},checkpoints:[{checkpoint:"1.4.11.c",standards:["wcag21aa"],type:"best-practice",impact:1}]},{id:"contrast-graphical-objects-both-3-1",descriptions:{en:{shortText:"Graphical object lacks 3 to 1 contrast with both",description:"A graphical object does not have at least a 3 to 1 luminosity contrast ratio with both the inner and outer adjacent background colors."}},checkpoints:[{checkpoint:"1.4.11.c",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-graphical-objects-flag",descriptions:{en:{shortText:"Flag graphical object lacks 3 to 1 contrast",description:"A flag (like for state, country, or organization) that is part of a graphical object does not have a 3 to 1 luminosity contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.c",standards:["wcag21aa"],type:"best-practice",impact:1}]},{id:"contrast-graphical-objects-icon-3-1",descriptions:{en:{shortText:"An icon lacks 3 to 1 contrast ratio",description:"Parts of an icon (with no text) do not have a contrast ratio of 3 to 1 against adjacent color(s). These icon parts are required for understanding."}},checkpoints:[{checkpoint:"1.4.11.c",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"contrast-graphical-objects-line-cross",descriptions:{en:{shortText:"Crossing data lines lack 3 to 1 contrast",description:"A line chart has different color data lines. Each data line has a symbol at each data point so it does not rely on color alone. When two of the data lines cross, that intersection does not have a 3 to 1 luminosity contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.c",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-graphical-objects-logo",descriptions:{en:{shortText:"Logo graphical object lacks 3 to 1 contrast",description:"A graphical object that is part of a logo does not have a 3 to 1 luminosity contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.c",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-icon-3-1",descriptions:{en:{shortText:"Active icon lacks 3 to 1 contrast ratio",description:"The non-text visual information in the meaningful or active icon does not have a color contrast ratio of at least 3 to 1."}},checkpoints:[{checkpoint:"1.4.3.b",standards:["wcag2aa"],type:"best-practice",impact:2},{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"best-practice",impact:2}]},{id:"contrast-icon-4.5-1",descriptions:{en:{shortText:"Active icon lacks 4.5 to 1 contrast ratio",description:"The non-text visual information in the meaningful or active icon does not have a color contrast ratio of at least 4.5 to 1."}},checkpoints:[{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"best-practice",impact:2},{checkpoint:"1.4.11.a",standards:["wcag2aa"],type:"best-practice",impact:2},{checkpoint:"1.4.11.c",standards:["wcag2aa"],type:"best-practice",impact:2}]},{id:"contrast-link-infocus-3-1",descriptions:{en:{shortText:"Large control text lacks 3:1 contrast ratio on hover or focus",description:"The contrast ratio between a control's large text and its background is not at least 3:1 on hover and/or on focus."}},checkpoints:[{checkpoint:"1.4.3.b",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"contrast-link-infocus-4.5-1",descriptions:{en:{shortText:"Control text lacks 4.5:1 contrast ratio on hover or focus",description:"The contrast ratio between a control's text and its background is not at least 4.5:1 on hover and/or on focus"}},checkpoints:[{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"contrast-optional-disabled-controls",descriptions:{en:{shortText:"Not an issue: Disabled/Inactive contrast",description:"Text or images of text that are part of an inactive user interface component have no contrast requirement."}},checkpoints:[{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"issue",impact:0},{checkpoint:"1.4.3.b",standards:["wcag2aa"],type:"issue",impact:0}]},{id:"contrast-optional-logotype",descriptions:{en:{shortText:"Not an issue: Logotype contrast",description:"Text that is part of a logo or brand name has no minimum contrast requirement."}},checkpoints:[{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"issue",impact:0},{checkpoint:"1.4.3.b",standards:["wcag2aa"],type:"issue",impact:0}]},{id:"contrast-text-3-1",descriptions:{en:{shortText:"Large text content lacks 3:1 contrast ratio",description:"The contrast ratio between large text and its background is not at least 3:1."}},checkpoints:[{checkpoint:"1.4.3.b",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"contrast-text-3-1-over-image",descriptions:{en:{shortText:"Large text over an image lacks 3:1 contrast ratio",description:"All or portions of large text over an image do not meet the minimum 3:1 contrast requirement."}},checkpoints:[{checkpoint:"1.4.3.b",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"contrast-text-4.5-1",descriptions:{en:{shortText:"Text content lacks 4.5:1 contrast ratio",description:"The contrast ratio between text and its background is not at least 4.5:1."}},checkpoints:[{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"contrast-text-4.5-1-over-image",descriptions:{en:{shortText:"Text over an image lacks 4.5:1 contrast ratio",description:"All or portions of text over an image do not meet the minimum 4.5:1 contrast requirement."}},checkpoints:[{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"contrast-text-4.5-1-placeholder",descriptions:{en:{shortText:"Placeholder text lacks 4.5:1 contrast ratio",description:"The contrast ratio between placeholder text and its background is not at least 4.5:1."}},checkpoints:[{checkpoint:"1.4.3.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"contrast-uic-active-3-1",descriptions:{en:{shortText:"Active user interface component lacks 3 to 1 contrast ratio",description:"The visual boundary of an active user interface component lacks 3 to 1 contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"contrast-uic-active-3-1-state",descriptions:{en:{shortText:"State of active component lacks 3 to 1 contrast ratio",description:"The state of an active component lacks 3 to 1 contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.b",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"contrast-uic-active-both-3-1",descriptions:{en:{shortText:"Active user interface component lacks 3 to 1 contrast with both",description:"The visual boundary of an active user interface component does not have at least a 3 to 1 luminosity contrast ratio with both the inner and outer adjacent background colors."}},checkpoints:[{checkpoint:"1.4.11.a",standards:["wcag21aa"],type:"best-practice",impact:1}]},{id:"contrast-uic-active-both-3-1-state",descriptions:{en:{shortText:"State of active component lacks 3 to 1 contrast with both",description:"The visual state of an active user interface component does not have at least a 3 to 1 luminosity contrast ratio with both the inner and outer adjacent background colors."}},checkpoints:[{checkpoint:"1.4.11.b",standards:["wcag21aa"],type:"best-practice",impact:1}]},{id:"contrast-uic-active-browser-default",descriptions:{en:{shortText:"Active user interface component contrast browser default",description:"An active user interface component is rendered using the browser default. The default browser rendering of this user interface component does not meet the 3 to 1 luminosity contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.a",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-uic-active-browser-default-back",descriptions:{en:{shortText:"Default color of component and author background contrast",description:"An active user interface component is rendered using the browser default. The background color has been changed (is not the browser default). The color contrast between the default color of the user interface component and the author chosen background does not meet the 3 to 1 luminosity contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.a",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-uic-active-browser-default-back-state",descriptions:{en:{shortText:"Default color of component state and author background contrast",description:"The visual state of an active user interface component is rendered using the browser default. The background color has been changed (is not the browser default). The color contrast between the default color of the visual state and the author chosen background does not meet the 3 to 1 luminosity contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.b",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-uic-active-browser-default-state",descriptions:{en:{shortText:"State of active component contrast browser default",description:"The visual state of an active user interface component is rendered using the browser default. The default browser rendering of this visual state does not meet the 3 to 1 luminosity contrast ratio."}},checkpoints:[{checkpoint:"1.4.11.b",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-uic-active-inactive",descriptions:{en:{shortText:"Contrast between active and inactive components not 3 to 1",description:"The contrast between active components and inactive components is not at least 3 to 1."}},checkpoints:[{checkpoint:"1.4.11.a",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-uic-active-no-visual",descriptions:{en:{shortText:"Active user interface component no visual boundary",description:"An active user interface component does not have a visual boundary."}},checkpoints:[{checkpoint:"1.4.11.a",standards:["wcag21aa"],type:"best-practice",impact:1}]},{id:"contrast-uic-inactive-3-1",descriptions:{en:{shortText:"Inactive user interface component lacks 3 to 1 contrast ratio",description:"The visual boundary of an INACTIVE user interface component does not have at least a 3 to 1 luminosity contrast ratio with an adjacent background."}},checkpoints:[{checkpoint:"1.4.11.a",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"contrast-uic-state-anti-aliasing",descriptions:{en:{shortText:"State of active component contrast anti-aliasing",description:"The visual state of an active user interface component does not have a 3 to 1 luminosity contrast ratio with an adjacent background color due to browser rendering, smoothing or anti-aliasing."}},checkpoints:[{checkpoint:"1.4.11.b",standards:["wcag21aa"],type:"best-practice",impact:1}]},{id:"contrast-uic-states",descriptions:{en:{shortText:"Contrast between the states of a component is not 3 to 1",description:"The contrast between the visual states of the user interface component is not at least 3 to 1."}},checkpoints:[{checkpoint:"1.4.11.b",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"custom-accordion",descriptions:{en:{shortText:"Accordion/Toggle: Accordion (toggle) is missing appropriate roles and/or attributes",description:"The element appears and functions like an accordion (show/hide toggles) but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"custom-breadcrumb",descriptions:{en:{shortText:"Breadcrumb: Breadcrumb region is missing appropriate roles and/or attributes",description:"The breadcrumb region is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"custom-carousel-current",descriptions:{en:{shortText:"Carousel: State of current carousel slide is not conveyed",description:"The state of the currently displayed carousel slide is indicated visually, but this is not conveyed to screen reader users."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"custom-carousel-number",descriptions:{en:{shortText:"Carousel: Number of carousel slides is apparent visually but not programmatically",description:"The total number of slides in the carousel is indicated visually, but this is not conveyed to screen readers users."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"custom-combobox",descriptions:{en:{shortText:"Combobox: Combobox is missing appropriate roles and/or attributes",description:"The element appears and functions like a combobox but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-dialog",descriptions:{en:{shortText:"Dialog / Alert Dialog: Dialog is missing appropriate role and/or attributes",description:"The element appears and functions like a modal dialog but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"custom-grid",descriptions:{en:{shortText:"Grid: Grid is missing appropriate roles and/or attributes",description:"The element appears and functions like a grid widget but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-listbox",descriptions:{en:{shortText:"Listbox: Listbox is missing appropriate roles and/or attributes - WARNING: VERY RARE",description:"The element appears and functions like a listbox but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-navigation",descriptions:{en:{shortText:"Navigation / Menu: Site navigation or application-style menu is missing appropriate roles and/or attributes",description:"Site navigation or application-style menu is missing required roles and/or attributes."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-not-compatible",descriptions:{en:{shortText:"Custom user interface component is not compatible with AT",description:"Custom user interface component is not compatible with AT (see issue Details for more info)."}},checkpoints:[{checkpoint:"4.1.2.c",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-progressbar",descriptions:{en:{shortText:"Progress bar: Progress bar is missing appropriate role and/or attributes",description:"The element appears and functions like a progressbar but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-role-application",descriptions:{en:{shortText:'Application: role="application" is used inappropriately',description:'role="application" is used inappropriately.'}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-slider",descriptions:{en:{shortText:"Slider: Slider is missing appropriate role and/or attributes",description:"The element appears and functions like a slider but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-switch",descriptions:{en:{shortText:"Switch: Switch is missing appropriate roles and/or attributes",description:"The element appears and functions like a switch but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-tabs",descriptions:{en:{shortText:"Tabs: Tab widget is missing appropriate roles and/or attributes",description:"The element appears and functions like a tab/tabpanel interface but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"custom-toolbar",descriptions:{en:{shortText:"Toolbar: Toolbar is missing appropriate role and/or attributes",description:"The element appears and functions like a toolbar but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-tooltip",descriptions:{en:{shortText:"Tooltip: Tooltip content is not accessible to screen readers",description:"Tooltip content is not accessible to screen readers."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"custom-treeview",descriptions:{en:{shortText:"Treeview: File system navigator missing appropriate roles and/or attributes - WARNING: VERY RARE",description:"The element appears and functions like a treeview but is missing required ARIA role(s) and/or attribute(s)."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"dragging-no-alternative",descriptions:{en:{shortText:"Functionality requires a dragging movement with no alternative",description:"Functionality requires a dragging movement and does not have a single-pointer, single-touch alternative."}},checkpoints:[{checkpoint:"2.5.7.a",standards:["wcag22aa"],type:"issue",impact:3}]},{id:"dual-role",descriptions:{en:{shortText:"The element functions as if it has two roles.",description:"The element functions as if it has two roles. Elements are allowed to have only one functioning role."}},checkpoints:[{checkpoint:"4.1.2.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-different-device",descriptions:{en:{shortText:"Hover indicator different than focus indicator",description:"The mouse hover indicator is different than the keyboard focus indicator."}},checkpoints:[{checkpoint:"2.4.7.a",standards:["wcag2aa"],type:"best-practice",impact:1}]},{id:"focus-errors-elsewhere",descriptions:{en:{shortText:"Focus is not moved to error message or field",description:"When a form error message is returned, focus is moved somewhere other than the error message or the first field with an error."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"focus-errors-none",descriptions:{en:{shortText:"Focus does not move to error message",description:"When a form error message is returned, focus is not moved to the error message."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"focus-fully-obscured",descriptions:{en:{shortText:"Focused element is completely covered by other content",description:"The focused element is completely covered by other author-created content."}},checkpoints:[{checkpoint:"2.4.11.a",standards:["wcag22aa"],type:"issue",impact:2}]},{id:"focus-fully-visible",descriptions:{en:{shortText:"Part of a focus indicator is hidden",description:"Part of an element's focus indicator is hidden by author-created content."}},checkpoints:[{checkpoint:"2.4.11.a",standards:["wcag22aa"],type:"best-practice",impact:1}]},{id:"focus-indicator-missing",descriptions:{en:{shortText:"Focus indicator is missing",description:"The visual focus indicator is missing altogether."}},checkpoints:[{checkpoint:"2.4.7.a",standards:["wcag2aa"],type:"issue",impact:4}]},{id:"focus-lost",descriptions:{en:{shortText:"Keyboard focus is lost or misplaced due to user interaction or content update",description:"Keyboard focus is lost or placed on the wrong element during user interaction, content refresh or update, or other reason."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-lost-screen-reader",descriptions:{en:{shortText:"Screen reader focus is lost or misplaced due to user interaction or content update",description:"Screen reader focus is lost or placed on the wrong element during user interaction, content refresh or update, or other reason."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-modal-moves-outside",descriptions:{en:{shortText:"Keyboard focus is not maintained in modal",description:"Keyboard focus is not maintained within the modal. It is possible to tab out of the modal."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-modal-none",descriptions:{en:{shortText:"Keyboard focus is not placed on opened modal",description:"When the modal dialog is activated, keyboard focus is not placed on/in it."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-modal-none-screen-reader",descriptions:{en:{shortText:"Screen reader focus is not placed on opened modal",description:"When the modal dialog is activated, screen reader focus is not placed on/in it."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-modal-not-returned",descriptions:{en:{shortText:"Modal is closed, focus is not returned to trigger",description:"When the modal dialog or similar element is closed, keyboard focus is not returned to the triggering element."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-modal-not-returned-screen-reader",descriptions:{en:{shortText:"Modal is closed, screen reader focus is not returned to trigger",description:"When the modal dialog or similar element is closed, screen reader focus is not returned to the triggering element."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-moves-on-load",descriptions:{en:{shortText:"New window opens on page load",description:"Loading the page causes another window to open up unexpectedly and gain focus."}},checkpoints:[{checkpoint:"3.2.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-not-clearly-visible",descriptions:{en:{shortText:"Focus indicator is not visible",description:"The focus indicator (e.g. border or dotted underline / background etc.) is not visible as one tabs through the page."}},checkpoints:[{checkpoint:"2.4.7.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"focus-not-moved",descriptions:{en:{shortText:"Keyboard focus does not move to intended target",description:'Keyboard focus does not follow visual focus or move to the intended target, such as with a "return to top" link.'}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"issue",impact:2}]},{id:"focus-not-moved-screen-reader",descriptions:{en:{shortText:"Screen reader focus does not move to intended target",description:'Screen reader focus does not follow visual focus or move to the intended target, such as with a "return to top" link.'}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:2}]},{id:"focus-not-obscured-by-user",descriptions:{en:{shortText:"Focused element is covered by user-controlled content",description:"The focused element is covered by content the user has opened or expanded."}},checkpoints:[{checkpoint:"",standards:["wcag22aa"],type:"best-practice",impact:1}]},{id:"focus-not-strong",descriptions:{en:{shortText:"Focus indicator does not meet visual requirements",description:"Focus indicator does not meet minimum area, contrast, or thickness requirements."}},checkpoints:[{checkpoint:"2.4.13.a",standards:["wcag22aaa"],type:"issue",impact:2}]},{id:"focus-on-hidden-item",descriptions:{en:{shortText:"Hidden or empty element receives focus",description:"Keyboard focus or touch screen swiping falls on an element that is hidden or empty."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-on-hidden-item-screen-reader",descriptions:{en:{shortText:"Hidden or empty interactive element receives screen reader focus",description:"Screen reader focus falls on an interactive element that is hidden or empty."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"focus-order-first",descriptions:{en:{shortText:"Focus does not begin on the first element",description:"On load, programmatic focus is set to something other than the first interactive element."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"focus-submits-form",descriptions:{en:{shortText:"Form is automatically submitted when component receives focus",description:"Form is automatically submitted when a component receives focus."}},checkpoints:[{checkpoint:"3.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"focus-visual-affects-keyboard",descriptions:{en:{shortText:"Keyboard focus is unexpectedly removed or redirected",description:"When a component receives keyboard focus, focus is automatically removed or redirected."}},checkpoints:[{checkpoint:"3.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"focus-visual-affects-screen-reader",descriptions:{en:{shortText:"Screen reader focus is unexpectedly removed or redirected",description:"When screen reader focus falls on a component, focus is automatically removed or redirected."}},checkpoints:[{checkpoint:"3.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"focus-window-launches",descriptions:{en:{shortText:"New window launched when component receives focus",description:"New window launched when a component receives focus."}},checkpoints:[{checkpoint:"3.2.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"form-accidental-submission-recovery",descriptions:{en:{shortText:"User cannot confirm or reverse a deletion",description:'The "Delete"/"Cancel" button immediately triggers the deletion of the legal, financial, or data transaction on the database. Users do not have the ability to recover from an accidental deletion.'}},checkpoints:[{checkpoint:"3.3.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"form-error-field-not-identified",descriptions:{en:{shortText:"Form field with error not identified",description:"The form field with an error is not identified in text, or text alternative, or via programmatic association."}},checkpoints:[{checkpoint:"3.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"form-error-format",descriptions:{en:{shortText:"Error message does not convey required format",description:"The error message does not indicate expected data format."}},checkpoints:[{checkpoint:"3.3.3.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"form-error-not-associated",descriptions:{en:{shortText:"Error message not associated with form control",description:"Error messages are not programmatically associated with the corresponding form field."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"best-practice",impact:3},{checkpoint:"3.3.1.b",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"form-error-not-auto-announced",descriptions:{en:{shortText:"Error message not automatically announced",description:"Error message is available in text but is not automatically announced by the screen reader."}},checkpoints:[{checkpoint:"3.3.1.b",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"form-error-not-descriptive",descriptions:{en:{shortText:"Error message does not describe error",description:"The error message does not describe precisely what the error is or why the element failed validation."}},checkpoints:[{checkpoint:"3.3.1.b",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"form-error-positioned-improperly",descriptions:{en:{shortText:"Error message not near corresponding field",description:"Error message not near the corresponding field. As a result, it is difficult to visually associate it with the field, especially if zooming or magnifying the screen."}},checkpoints:[{checkpoint:"3.3.1.b",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"form-error-range",descriptions:{en:{shortText:"Error message does not convey required values",description:"The error message does not indicate expected range of data values."}},checkpoints:[{checkpoint:"3.3.3.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"form-error-required-unclear",descriptions:{en:{shortText:"Required field not identified by label, instructions or error message",description:"The required field is not identified by any of the following means: its label or form-level instructions or an error message."}},checkpoints:[{checkpoint:"3.3.2.c",standards:["wcag2a"],type:"issue",impact:3}]},{id:"form-error-unhelpful",descriptions:{en:{shortText:"Error message does not suggest fix",description:"There is no suggestion for how to fix a validation failure."}},checkpoints:[{checkpoint:"3.3.3.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"form-error-unreadable",descriptions:{en:{shortText:"Error message cannot be read by screen readers",description:"Error message cannot be read by screen readers."}},checkpoints:[{checkpoint:"3.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"form-error-validation-not-described",descriptions:{en:{shortText:"Input error is not described in text",description:"Input validation failures are not described in text or a text alternative."}},checkpoints:[{checkpoint:"3.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"form-errors-color-only",descriptions:{en:{shortText:"Color alone is used to identify error(s)",description:"Color is used as the sole method to identify error(s) on form field(s)."}},checkpoints:[{checkpoint:"1.4.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"form-group-not-labeled",descriptions:{en:{shortText:'Form Group: Section with role="group" or "radiogroup" does not have a label',description:'The group of form elements grouped using ARIA role="group" or "radiogroup" has no group-level label (similar to an HTML legend).'}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"form-implicit-submit",descriptions:{en:{shortText:"Submit button missing on form",description:"Submit button missing on a form and this makes it less obvious how to submit this form. This form can be implicitly submitted. Example of implicit submission is a search form with no submit button that can be submitted when the user types text in the search text field and then presses the enter key while focus is still on the search text field."}},checkpoints:[{checkpoint:"3.2.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"form-label-missing",descriptions:{en:{shortText:"Form field: Form field is missing an accessible name",description:"The form field does not have an explicit or implicit <label> relationship, nor a title, aria-labelledby, aria-label, or placeholder attribute."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"form-review",descriptions:{en:{shortText:"User cannot review input before submission",description:"Users are not given the opportunity to review and edit information before the data is submitted."}},checkpoints:[{checkpoint:"3.3.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"form-review-recovery",descriptions:{en:{shortText:"User cannot review or reverse a transaction",description:"User does not get an opportunity to review and confirm the transaction before committing it. Nor is the action reversible."}},checkpoints:[{checkpoint:"3.3.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"form-submission-not-checked",descriptions:{en:{shortText:"User cannot reverse, check, or confirm a form submission",description:"Users are not given to ability to reverse, check, or confirm a form submission."}},checkpoints:[{checkpoint:"3.3.6.a",standards:["wcag2aaa","aenb-77"],type:"issue",impact:3}]},{id:"form-title-duplicates-label",descriptions:{en:{shortText:"Title duplicates field label",description:"The title attribute duplicates the label for this form field."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"heading-empty",descriptions:{en:{shortText:"Heading tag found with no content",description:"Heading tag found with no content."}},checkpoints:[{checkpoint:"1.3.1.e",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"heading-level-increase",descriptions:{en:{shortText:"Heading levels increase by more than 1",description:"Heading levels increase by more than one level per heading."}},checkpoints:[{checkpoint:"1.3.1.e",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"heading-level-order",descriptions:{en:{shortText:"Heading levels are out of order",description:"Heading levels are out of order in such a way that the structure of the content is not properly conveyed."}},checkpoints:[{checkpoint:"1.3.1.e",standards:["wcag2a"],type:"issue",impact:3}]},{id:"heading-missing",descriptions:{en:{shortText:"Content is missing a section heading",description:"Content is missing a section heading."}},checkpoints:[{checkpoint:"2.4.10.a",standards:["wcag2aaa","aenb-77"],type:"issue",impact:2}]},{id:"heading-multiple-h1s",descriptions:{en:{shortText:"The page has more than one H1",description:"The page has more than one H1."}},checkpoints:[{checkpoint:"1.3.1.e",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"heading-no-h1",descriptions:{en:{shortText:"The page has no H1",description:"The page has no H1."}},checkpoints:[{checkpoint:"1.3.1.e",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"heading-none",descriptions:{en:{shortText:"The page has no headings",description:"The page has no headings."}},checkpoints:[{checkpoint:"1.3.1.e",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"heading-not-descriptive",descriptions:{en:{shortText:"Heading does not describe content",description:"The heading does not describe the topic or purpose of the content that follows it."}},checkpoints:[{checkpoint:"2.4.6.a",standards:["wcag2aa"],type:"issue",impact:2}]},{id:"help-all-always-available",descriptions:{en:{shortText:"Not all pages in the set have all the same help mechanisms",description:"Some pages in the set are missing a help mechanism that is available on other pages in the set."}},checkpoints:[{checkpoint:"3.2.6.a",standards:["wcag22aa"],type:"best-practice",impact:2}]},{id:"help-always-available",descriptions:{en:{shortText:"Some pages in the set do not contain any help mechanism",description:"Some pages in the set do not contain any help mechanism."}},checkpoints:[{checkpoint:"3.2.6.a",standards:["wcag22aa"],type:"best-practice",impact:2}]},{id:"help-consistent-every-page",descriptions:{en:{shortText:"Pages outside the set have different help location",description:"The set of pages has consistently located help, but on other pages outside the set the help location is different."}},checkpoints:[{checkpoint:"3.2.6.a",standards:["wcag22aa"],type:"best-practice",impact:1}]},{id:"help-not-consistent",descriptions:{en:{shortText:"Help mechanism is not in a consistent location",description:"Help mechanism is not in a programmatically consistent location."}},checkpoints:[{checkpoint:"3.2.6.a",standards:["wcag22aa"],type:"issue",impact:2}]},{id:"help-time-described",descriptions:{en:{shortText:"Help availability information not provided",description:"Help is not always available and information on when help is available is not provided."}},checkpoints:[{checkpoint:"3.2.6.a",standards:["wcag22aa"],type:"best-practice",impact:2}]},{id:"help-visually-consistent",descriptions:{en:{shortText:"Help programmatically same but visually different",description:"Help mechanism is in the same programmatic location, but the visual location varies from page to page."}},checkpoints:[{checkpoint:"3.2.6.a",standards:["wcag22aa"],type:"best-practice",impact:2}]},{id:"html-invalid",descriptions:{en:{shortText:"HTML validation errors exist",description:"HTML validation errors exist."}},checkpoints:[{checkpoint:"4.1.1.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"id-input-purpose-inaccurate",descriptions:{en:{shortText:"Identify input purpose not accurate",description:"Autocomplete attribute to identify the purpose of this form element is not accurate."}},checkpoints:[{checkpoint:"1.3.5.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"id-input-purpose-missing",descriptions:{en:{shortText:"Identify input purpose missing",description:"Autocomplete attribute to identify the purpose of this form element is missing."}},checkpoints:[{checkpoint:"1.3.5.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"image-map-equivalent",descriptions:{en:{shortText:"Image map is missing links and/or alt text",description:"A server-side image map is missing an equivalent set of text links and/or text alternative to alert the user that these links are available."}},checkpoints:[{checkpoint:"1.1.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"image-of-text",descriptions:{en:{shortText:"Image of text is used instead of real text",description:"The image contains embedded text."}},checkpoints:[{checkpoint:"1.4.5.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"inconsistent-component-id",descriptions:{en:{shortText:"Component labeling is inconsistent",description:"Components are labeled differently on different pages or screens, though they have the same function."}},checkpoints:[{checkpoint:"3.2.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"inconsistent-form-id",descriptions:{en:{shortText:"Form control identification is inconsistent",description:"The form control is identified differently on different pages, though it has the same function."}},checkpoints:[{checkpoint:"3.2.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"inconsistent-link",descriptions:{en:{shortText:"Link identification is inconsistent",description:"The link/image link is identified differently on different pages, though it has the same target."}},checkpoints:[{checkpoint:"3.2.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"inconsistent-nav",descriptions:{en:{shortText:"Navigation element order is inconsistent",description:"Navigational elements that occur across multiple pages or screens are not presented in the same relative order."}},checkpoints:[{checkpoint:"3.2.3.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"info-relationship-visual-only",descriptions:{en:{shortText:"Information or relationship only presented visually",description:"Information, structure, or relationship is presented visually but is not conveyed programmatically or in text."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"information-color",descriptions:{en:{shortText:"Color alone is used to convey info",description:"Color is used to convey information that is not conveyed in any other way."}},checkpoints:[{checkpoint:"1.4.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"information-requires-hearing",descriptions:{en:{shortText:"Instructions rely on ability to hear",description:"Instructions are presented in a way that requires the ability to hear sound, and there is no alternate method to convey the information."}},checkpoints:[{checkpoint:"1.3.3.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"information-requires-vision",descriptions:{en:{shortText:"Instructions rely on ability to see",description:"Instructions are presented in a way that requires the ability to see shape, color, size, visual location, or orientation."}},checkpoints:[{checkpoint:"1.3.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"input-format-clarification",descriptions:{en:{shortText:"Label does not convey required format",description:"The input requires a specific format but the label or instruction does not specify this."}},checkpoints:[{checkpoint:"3.3.2.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"input-range-clarification",descriptions:{en:{shortText:"Label does not convey required values",description:"The input is limited to a range of values but the label or instruction does not specify this."}},checkpoints:[{checkpoint:"3.3.2.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"instructions-not-accurate",descriptions:{en:{shortText:"Instructions are inaccurate or incomplete for assistive technology users",description:"Additional instructions are only provided for the input field to people who do not have disabilities. For a person with disabilities, the instructions are incomplete, inaccurate, or misleading."}},checkpoints:[{checkpoint:"3.3.2.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"instructions-not-associated",descriptions:{en:{shortText:"Instructions/descriptions not assoc w control",description:"Additional instructions/descriptions are provided for the control, but they are not programmatically associated with the control."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"best-practice",impact:3},{checkpoint:"3.3.2.b",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"instructions-not-descriptive",descriptions:{en:{shortText:"Instructions not descriptive",description:"Additional instructions are provided for the control, but they are unclear or insufficiently descriptive."}},checkpoints:[{checkpoint:"3.3.2.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"instructions-not-included",descriptions:{en:{shortText:"Instructions missing for assistive technology users",description:"Additional instructions are needed for the input field but are not provided for people with disabilities. People without disabilities have access to additional instructions."}},checkpoints:[{checkpoint:"3.3.2.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"instructions-positioned-improperly",descriptions:{en:{shortText:"Label or instruction is not near related element",description:"The label or instruction is not near its related element. As a result, it is difficult to visually associate it with the element, especially if zooming or magnifying the screen."}},checkpoints:[{checkpoint:"3.3.2.b",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"keyboard-accesskey-nonunique",descriptions:{en:{shortText:"Non-unique accesskey attribute",description:"The accesskey attribute value is not unique - it is repeated elsewhere on the same page."}},checkpoints:[{checkpoint:"2.1.1.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"keyboard-cannot-extend-session",descriptions:{en:{shortText:"Timeout mechanism is not keyboard accessible",description:"The mechanism to extend the session is not accessible by keyboard alone."}},checkpoints:[{checkpoint:"2.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"keyboard-character-key-shortcuts",descriptions:{en:{shortText:"Character key shortcuts exist and cannot be modified or turned off",description:"Single character key shortcuts exist and do not have at least one of these required options: ability to turn off single character key shortcuts, ability to remap to a non-singular key shortcut, OR are only active when the appropriate user interface component has focus."}},checkpoints:[{checkpoint:"2.1.4.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"keyboard-inaccessible",descriptions:{en:{shortText:"Function cannot be performed by keyboard alone",description:"There is no way to perform the function using only the keyboard on the same screen or on a qualifying conforming alternate version."}},checkpoints:[{checkpoint:"2.1.1.a",standards:["wcag2a"],type:"issue",impact:4},{checkpoint:"2.1.3.a",standards:["wcag2aaa","aenb-77"],type:"issue",impact:4}]},{id:"keyboard-inpage-link-not-accessible",descriptions:{en:{shortText:"In page links are not keyboard operable",description:"In page links are not keyboard operable."}},checkpoints:[{checkpoint:"2.1.1.a",standards:["wcag2a"],type:"issue",impact:2},{checkpoint:"2.1.3.a",standards:["wcag2aaa","aenb-77"],type:"issue",impact:2}]},{id:"keyboard-nonstandard-no-instructions",descriptions:{en:{shortText:"No instructions for non-standard key interactions",description:"Instructions are not provided to explain the non-standard keyboard interaction used to access an element."}},checkpoints:[{checkpoint:"2.1.1.a",standards:["wcag2a"],type:"best-practice",impact:4}]},{id:"keyboard-not-touch-accessible",descriptions:{en:{shortText:"Action cannot be performed with a screen reader turned on",description:"Action cannot be performed with a screen reader turned on."}},checkpoints:[{checkpoint:"2.1.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"keyboard-shortcut-conflict",descriptions:{en:{shortText:"Conflict with existing browser/screen reader shortcut(s)",description:"Page-specified shortcut key or accesskey conflicts with existing browser or screen reader shortcut(s)."}},checkpoints:[{checkpoint:"2.1.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"keyboard-trap",descriptions:{en:{shortText:"Keyboard trap",description:"There is a keyboard trap."}},checkpoints:[{checkpoint:"2.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"keyboard-trap-flash",descriptions:{en:{shortText:"Keyboard access is trapped in Flash object",description:"Keyboard access to the Flash object is trapped."}},checkpoints:[{checkpoint:"2.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"label-group-checkboxes-not-associated",descriptions:{en:{shortText:"Group of checkboxes is missing <fieldset>",description:"The group label is not associated with its checkboxes. The purpose of individual checkboxes in the group cannot be understood without the group label."}},checkpoints:[{checkpoint:"1.3.1.d",standards:["wcag2a"],type:"issue",impact:3}]},{id:"label-group-not-associated",descriptions:{en:{shortText:"Group of form controls not associated with group label",description:"The group of form controls is not associated with its group label. The purpose of individual controls in the group cannot be understood without the group label."}},checkpoints:[{checkpoint:"1.3.1.d",standards:["wcag2a"],type:"issue",impact:3}]},{id:"label-group-not-present",descriptions:{en:{shortText:"Visible group label missing",description:"No visual group label is present and the purpose of this group is not clear without a visual label."}},checkpoints:[{checkpoint:"3.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"label-group-radio-not-associated",descriptions:{en:{shortText:"Group of radio buttons is missing <fieldset>",description:"The group label is not associated with its group of radio buttons. The purpose of individual radio buttons in the group cannot be understood without the group label."}},checkpoints:[{checkpoint:"1.3.1.d",standards:["wcag2a"],type:"issue",impact:3}]},{id:"label-implicit",descriptions:{en:{shortText:"Form label is implicit",description:"There is an implicit form label. The label is not explicitly attached to a specific form control through the use of the for attribute."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"label-is-placeholder",descriptions:{en:{shortText:"Label is not persistent",description:"Label is not persistent. For example: placeholder is being used as the only visual label for a text field."}},checkpoints:[{checkpoint:"3.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"label-is-placeholder-chat",descriptions:{en:{shortText:"Chat or IM input label is not persistent",description:"Chat or IM input label is not persistent."}},checkpoints:[{checkpoint:"3.3.2.a",standards:["wcag2a"],type:"issue",impact:1}]},{id:"label-not-descriptive",descriptions:{en:{shortText:"Label does not convey purpose of control",description:"The label does not convey the purpose of the control."}},checkpoints:[{checkpoint:"2.4.6.b",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"label-not-present",descriptions:{en:{shortText:"Visible label missing",description:"No visual label is present and the purpose of this field is not clear without a visual label."}},checkpoints:[{checkpoint:"3.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"label-orphaned",descriptions:{en:{shortText:"Form label is orphaned",description:"There is an orphaned form label. All form labels should be associated with a form element, such as <input>, <select> or <textarea>."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"label-position-bad",descriptions:{en:{shortText:"Text label is not properly positioned",description:"The label is not positioned properly. As a result, it is difficult to visually determine the purpose of the control, especially if zooming or magnifying the screen."}},checkpoints:[{checkpoint:"3.3.2.a",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"label-programmatic-not-descriptive",descriptions:{en:{shortText:"Programmatic label does not convey purpose of control",description:"The programmatic label does not convey the purpose of the control. The programmatic label and visual label do not convey consistent information."}},checkpoints:[{checkpoint:"2.4.6.b",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"label-redundant-button",descriptions:{en:{shortText:"Button has a duplicate label",description:"The button should not have a duplicate label, because the button's accessible name is already defined."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"label-select-placeholder",descriptions:{en:{shortText:"Placeholder used as label in single select",description:"Persistent placeholder label option used as label for a single select element. Label not easy to see once a selection has been made."}},checkpoints:[{checkpoint:"3.3.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"label-title-only",descriptions:{en:{shortText:"Input field programmatically labeled by title or aria-describedby",description:"An input field is programmatically labeled only by a title or aria-describedby attribute."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"label-visible-not-descriptive",descriptions:{en:{shortText:"Visible label does not convey purpose of control",description:"The visible label does not convey the purpose of the control. The programmatic label and visual label do not convey consistent information."}},checkpoints:[{checkpoint:"2.4.6.b",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"landmark-missing",descriptions:{en:{shortText:"Not all page content is contained within a landmark",description:"Not all page content is contained within a landmark."}},checkpoints:[{checkpoint:"1.3.6.a",standards:["wcag21aaa","aenb-77"],type:"issue",impact:2}]},{id:"lang-change-not-marked",descriptions:{en:{shortText:"Change in language is not marked",description:"The change in language for a portion of content is not coded."}},checkpoints:[{checkpoint:"3.1.2.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"lang-change-not-valid",descriptions:{en:{shortText:"The change in language for a portion of content is not correct",description:"The change in language for a portion of content is not correct."}},checkpoints:[{checkpoint:"3.1.2.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"lang-invalid",descriptions:{en:{shortText:"Value of the lang attribute is not valid",description:"The value of the lang attribute used to indicate the primary language of the page is not a valid language code."}},checkpoints:[{checkpoint:"3.1.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"lang-not-accurate",descriptions:{en:{shortText:"Lang attribute for page is not primary page language",description:"The value of the lang attribute used to indicate the primary language of the page is for the wrong language."}},checkpoints:[{checkpoint:"3.1.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"lang-not-defined",descriptions:{en:{shortText:"Primary language of the page is not defined",description:"The lang attribute used to indicate the primary language of the page is missing from the <html> element."}},checkpoints:[{checkpoint:"3.1.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"legend-missing",descriptions:{en:{shortText:"FIELDSET has empty or missing LEGEND",description:"The FIELDSET has an empty or missing LEGEND."}},checkpoints:[{checkpoint:"1.3.1.d",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"link-acts-like-button",descriptions:{en:{shortText:"Link acts like button",description:"Link acts like a button, Activating this link triggers scripted functionality but does not change browser focus or URL."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"link-insufficient-contrast",descriptions:{en:{shortText:"Link contrast is not at least 3:1 with surrounding text",description:"Link text and static text are differentiated only by color. The contrast ratio between default link text and surrounding text is not at least 3:1."}},checkpoints:[{checkpoint:"1.4.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"link-looks-like-button",descriptions:{en:{shortText:"Link looks like button",description:"Link looks like a button, but acts like a link (activating it only changes browser focus or URL)."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"link-missing-role",descriptions:{en:{shortText:"Link: Link does not have a role",description:"The link does not have a role."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"link-missing-text",descriptions:{en:{shortText:"Link: Link does not have discernible link text",description:"The link is missing accessible link text. As a result its destination or purpose is not conveyed to screen reader users."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"link-no-mark",descriptions:{en:{shortText:"Added link indicator on hover is missing",description:"Link text lacks an additional differentiator on hover. (The contrast ratio between default link text and surrounding text is sufficient.)"}},checkpoints:[{checkpoint:"1.4.1.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"link-purpose-unclear",descriptions:{en:{shortText:"Purpose of link is not clear in context",description:"The purpose of the link is not clear within its programmatically determined link context."}},checkpoints:[{checkpoint:"2.4.4.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"link-purpose-unclear-alone",descriptions:{en:{shortText:"Purpose of link is not clear from link text alone",description:"The purpose of the link is not clear from its programmatic link text alone."}},checkpoints:[{checkpoint:"2.4.9.a",standards:["wcag2aaa","aenb-77"],type:"issue",impact:2}]},{id:"link-purpose-unclear-multiple",descriptions:{en:{shortText:"Multiple links have the same programmatic link text but different destinations",description:"Multiple links with identical link text but different destinations are present, and the purpose of each link is not clear within its programmatically determined link context."}},checkpoints:[{checkpoint:"2.4.4.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"link-purpose-unidentifiable-from-text",descriptions:{en:{shortText:"Link purpose not clear from link text alone",description:"The purpose of the element is not identifiable from link text alone. (AAA requirement 2.4.9)"}},checkpoints:[{checkpoint:"2.4.4.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"link-target-not-indicated",descriptions:{en:{shortText:"Links opens new window without warning",description:"The link text does not indicate that the link opens in a new window. (AAA requirement 3.2.5)"}},checkpoints:[{checkpoint:"3.2.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"modal-forces-submission",descriptions:{en:{shortText:"Method to dismiss modal without submitting data is not accessible",description:"The method to dismiss/close the modal/alert without submitting data is not keyboard accessible."}},checkpoints:[{checkpoint:"2.1.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"modal-no-esc",descriptions:{en:{shortText:"ESC key does not close modal",description:"The modal should enable an ESC Key to dismiss/close the modal."}},checkpoints:[{checkpoint:"2.1.1.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"modal-only-esc",descriptions:{en:{shortText:"ESC key is only way to close modal or layer",description:"The ESC key is the only way to dismiss/close the modal or layer."}},checkpoints:[{checkpoint:"2.1.1.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"modal-unclosable",descriptions:{en:{shortText:"The modal dialog is missing a close button",description:"The modal dialog is missing a close button and there is no way to close the modal with a keyboard."}},checkpoints:[{checkpoint:"2.1.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"motion-actuation-cannot-disable",descriptions:{en:{shortText:"Motion actuation cannot be disabled.",description:"Motion actuation cannot be disabled."}},checkpoints:[{checkpoint:"2.5.4.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"motion-actuation-disrupts-system",descriptions:{en:{shortText:"Motion actuation disrupts or disables system features",description:"Motion actuation disrupts or disables system level features."}},checkpoints:[{checkpoint:"2.5.4.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"motion-actuation-required",descriptions:{en:{shortText:"Motion actuation required",description:"Functionality can only be activated via motion actuation (such as shaking or tilting the device)."}},checkpoints:[{checkpoint:"2.5.4.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"motion-animation",descriptions:{en:{shortText:"Motion animation cannot be disabled",description:"Motion animation cannot be disabled."}},checkpoints:[{checkpoint:"2.3.3.a",standards:["wcag21aaa","aenb-77"],type:"issue",impact:2}]},{id:"name-section",descriptions:{en:{shortText:"Accessible name not provided for content section",description:"The content section (that is controlled by an active element) does not have an accessible name."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"nav-sections-not-identified",descriptions:{en:{shortText:"Multiple ARIA navigation regions need labels",description:'Multiple sections with role="navigation" are present but they lack their individual identity / label.'}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"best-practice",impact:2},{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"new-content-bad-location",descriptions:{en:{shortText:"Correct reading order of dynamic content not determinable",description:"The correct reading order of dynamically changed content is not programmatically determinable by screen readers."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"new-content-modal-not-announced",descriptions:{en:{shortText:"Newly opened modal is not announced",description:"When the modal is opened, the new content within it is not announced."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"new-content-not-announced",descriptions:{en:{shortText:"New content is not announced",description:"When new content is inserted into the document, the new content is not announced."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"nonvisual-description-hard-to-find",descriptions:{en:{shortText:"Text/audio description is hard to find",description:"A text or audio description is provided, but it is difficult for a screen reader user to find."}},checkpoints:[{checkpoint:"1.2.1.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"nonvisual-description-inadequate",descriptions:{en:{shortText:"Text/audio description is inadequate",description:"A text or audio description is provided, but it does not adequately describe the video content."}},checkpoints:[{checkpoint:"1.2.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"nonvisual-description-missing",descriptions:{en:{shortText:"No text or audio description available",description:"Neither a text description nor audio description is available for the visual content."}},checkpoints:[{checkpoint:"1.2.1.b",standards:["wcag2a"],type:"issue",impact:3},{checkpoint:"1.2.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"optional-marked-required",descriptions:{en:{shortText:"Optional field marked as required",description:"The field is marked as required, but this is misleading because the field is in fact optional."}},checkpoints:[{checkpoint:"3.3.2.c",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"orientation-content-missing",descriptions:{en:{shortText:"Content or functionality missing due to orientation",description:"The presentation of the content adjusts when the device's display orientation changes, but some functionality or content is inaccessible."}},checkpoints:[{checkpoint:"1.3.4.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"orientation-current",descriptions:{en:{shortText:"Not presented in current display orientation",description:"When the page/app is opened, it is not presented in the device's current display orientation."}},checkpoints:[{checkpoint:"1.3.4.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"orientation-identical-content",descriptions:{en:{shortText:"Different Content Design Based on Orientation",description:"When viewed in different orientations, the content design is different."}},checkpoints:[{checkpoint:"1.3.4.a",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"orientation-identical-size",descriptions:{en:{shortText:"Different Content Design Based on Display Size",description:"When viewed on different sized devices, the content design is different."}},checkpoints:[{checkpoint:"1.3.4.a",standards:["wcag21aa"],type:"best-practice",impact:2}]},{id:"orientation-rotate",descriptions:{en:{shortText:"Does not rotate to new orientation",description:"When the device is rotated, the content does not adjust to the new display orientation."}},checkpoints:[{checkpoint:"1.3.4.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"quotation-not-indicated",descriptions:{en:{shortText:"Quotation is missing semantics",description:"The element is a quotation, but is not marked as such."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"issue",impact:2}]},{id:"radio-missing-role-state",descriptions:{en:{shortText:"Radio button: Custom radio button does not have a role and/or state",description:"The custom radio button element is missing a role and/or selected state."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"reading-order-browse-outside-modal",descriptions:{en:{shortText:"Able to browse outside modal with screen reader",description:"Screen readers can read content outside the modal dialog."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"reading-order-content-skipped",descriptions:{en:{shortText:"Informative (static) content is not readable by a screen reader",description:"Informative (static) content is not readable by a screen reader."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"reading-order-footnote",descriptions:{en:{shortText:"Footnote reference is missing a link to the footnote content",description:"Footnote reference is missing a link to the footnote content."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"reading-order-footnote-return",descriptions:{en:{shortText:"Footnote link missing return-to-trigger link",description:"The footnote link takes you to the footnote at the bottom of the page but is missing a return-to-trigger link."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"reading-order-hidden-content",descriptions:{en:{shortText:"Hidden content is readable with a screen reader",description:"Content that is intended to be hidden from all users is readable with a screen reader."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"reading-order-layout-table-non-linear",descriptions:{en:{shortText:"Layout table reading order is not logical",description:"The reading order of the layout table does not make sense when linearized."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"reading-order-not-logical",descriptions:{en:{shortText:"Reading order of static content changes meaning",description:"The screen reader reading order of the content changes the intended meaning of the content."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"reading-order-visual-order-mismatch",descriptions:{en:{shortText:"Reading and visual order are not identical",description:"The reading order is not identical to the visual order."}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"best-practice",impact:3}]},{id:"redundant-entry-required",descriptions:{en:{shortText:"Process requires a user to re-enter information",description:"Process requires a user to re-enter information."}},checkpoints:[{checkpoint:"3.3.7.a",standards:["wcag22aa"],type:"issue",impact:2}]},{id:"resize-pinch-to-zoom-disabled",descriptions:{en:{shortText:"Pinch to zoom disabled",description:"The ability to pinch the screen to zoom has been disabled."}},checkpoints:[{checkpoint:"1.4.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"resize-text-content-lost",descriptions:{en:{shortText:"Content is lost at 200% zoom",description:"Content is lost, clipped, or obscured when the page is zoomed to 200%."}},checkpoints:[{checkpoint:"1.4.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"resize-text-function-lost",descriptions:{en:{shortText:"Functionality is lost at 200% zoom",description:"Functionality is lost when the page is zoomed to 200%."}},checkpoints:[{checkpoint:"1.4.4.a",standards:["wcag2aa"],type:"issue",impact:3}]},{id:"resize-text-only",descriptions:{en:{shortText:"Content is lost when only the text is zoomed",description:"Content is lost, clipped, or obscured when only the text is zoomed to 200%."}},checkpoints:[{checkpoint:"1.4.4.a",standards:["wcag2aa"],type:"best-practice",impact:2}]},{id:"select-missing-role-state",descriptions:{en:{shortText:"Select: Custom select does not have a role and/or state",description:"The custom select element is missing required roles and/or states or properties."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"semantic-data-table",descriptions:{en:{shortText:"Content should be in a data table but is not",description:"The content visually appears to be a data table but is not marked up as one."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"semantic-data-table-headers",descriptions:{en:{shortText:"Data table has missing or incomplete header cell markup",description:"The data table has missing or incomplete header cell markup."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"semantic-del-ins-missing",descriptions:{en:{shortText:"Deleted or inserted text is not identified for screen readers",description:"Text that is shown visually as being deleted or inserted is not identified for screen readers either programmatically or in text."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-del-ins-plus-text",descriptions:{en:{shortText:"Use of <del> or <ins> is not supported by all screen readers",description:"Use of <del> or <ins> is not supported by all screen readers."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"semantic-description-list",descriptions:{en:{shortText:"Description list not marked up properly",description:"The description list is not marked up properly."}},checkpoints:[{checkpoint:"1.3.1.f",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-heading",descriptions:{en:{shortText:"Visual heading text is not marked as heading",description:"Text appears and functions like a section heading but is not marked up as such."}},checkpoints:[{checkpoint:"1.3.1.e",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-heading-misused",descriptions:{en:{shortText:"Text should not be marked as a heading",description:"Text that does not serve as a section heading is inappropriately coded as a heading."}},checkpoints:[{checkpoint:"1.3.1.e",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-hidden",descriptions:{en:{shortText:'aria-hidden="true" is used incorrectly',description:'aria-hidden="true" is used on informative content making it inaccessible to assistive technology.'}},checkpoints:[{checkpoint:"1.3.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"semantic-incorrect",descriptions:{en:{shortText:"Incorrect semantic markup",description:"Incorrect semantic markup is used."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-list",descriptions:{en:{shortText:"Visual list is not marked up as list",description:"Content appears like a list but is not marked up as such."}},checkpoints:[{checkpoint:"1.3.1.f",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-list-nested",descriptions:{en:{shortText:"Nested list is not marked properly",description:"The nested list is not marked properly."}},checkpoints:[{checkpoint:"1.3.1.f",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-list-or-item",descriptions:{en:{shortText:"List or list item is not marked up properly",description:"The list or list item is not marked up properly."}},checkpoints:[{checkpoint:"1.3.1.f",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-list-unallowed-children",descriptions:{en:{shortText:"List element has direct children that are not allowed inside <ul> or <ol> elements",description:"List element has direct children that are not allowed inside <ul> or <ol> elements. Lists must only directly contain <li>, <script> or <template> elements."}},checkpoints:[{checkpoint:"1.3.1.f",standards:["wcag2a"],type:"issue",impact:2}]},{id:"semantic-list-used-for-presentation",descriptions:{en:{shortText:"Content is not a list but is marked as such",description:"Content is not a list but it is marked as such."}},checkpoints:[{checkpoint:"1.3.1.f",standards:["wcag2a"],type:"issue",impact:2}]},{id:"semantic-markup-used-for-presentation",descriptions:{en:{shortText:"Element inappropriately uses semantic markup",description:"Semantic markup has been used inappropriately and misrepresents the meaning, structure, or relationships of the content."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"semantic-nav",descriptions:{en:{shortText:"Group of navigation links missing semantics",description:"A visual group of navigation links is not marked up semantically to convey their relationship. Some possible solutions include using list(s), role of navigation, nav element, headings, menu or menubar."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"issue",impact:2}]},{id:"semantic-role-presentation",descriptions:{en:{shortText:'Role="presentation" or "none" is used incorrectly',description:'role="presentation" or "none" is used on content that conveys semantic information, so the semantic information is not conveyed.'}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"semantic-strong-or-emphasis-not-used",descriptions:{en:{shortText:"B or I used instead of STRONG or EM",description:"B or I used instead of STRONG or EM."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"speech-accessible-name-interspersed",descriptions:{en:{shortText:"Accessible name has interspersed words",description:"Accessible name contains the visible label text, but one or more other words is interspersed in the label."}},checkpoints:[{checkpoint:"2.5.3.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"speech-accessible-name-mismatch",descriptions:{en:{shortText:"Accessible name does not contain visible label",description:"Accessible name does not contain the visible label text."}},checkpoints:[{checkpoint:"2.5.3.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"speech-accessible-name-missing",descriptions:{en:{shortText:"Accessible name missing",description:"The visible label is not in the accessible name because the label is not associated with the control."}},checkpoints:[{checkpoint:"2.5.3.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"speech-accessible-name-order",descriptions:{en:{shortText:"Accessible name not same order as visible label",description:"Accessible name contains the visible label text, but the words of the visible label are not in the same order as they are in the accessible name."}},checkpoints:[{checkpoint:"2.5.3.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"speech-accessible-name-other-words-before",descriptions:{en:{shortText:"Accessible name other words before",description:"Accessible name contains the visible label text, but one or more other words comes before the visible label text."}},checkpoints:[{checkpoint:"2.5.3.a",standards:["wcag21a"],type:"best-practice",impact:2}]},{id:"state-aria-expanded-missing-incorrect",descriptions:{en:{shortText:"State: Expand/collapse state of the element is missing or incorrect",description:"The expand/collapse state of a toggle-type element is missing or is used incorrectly."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"state-selected-missing-incorrect",descriptions:{en:{shortText:"State: Selected state of the element is missing or incorrect",description:"The selected state of an element is not conveyed to screen reader users."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"state-table-sort",descriptions:{en:{shortText:"State: Table sort state is missing or incorrect",description:"The sorted state (ascending/descending) of table columns is missing or incorrect."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"static-focus",descriptions:{en:{shortText:"Static element receives focus",description:"A static (non-interactive) element receives tab focus. This may cause confusion and/or too many keystrokes to navigate the page."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"status-msg-not-auto-announced",descriptions:{en:{shortText:"Status message not automatically announced",description:"Status message is not automatically announced by the screen reader."}},checkpoints:[{checkpoint:"4.1.3.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"structure-confusing-skiplink",descriptions:{en:{shortText:"Skip link is not appropriate",description:"There is no repetitive block of content/links on this page. The presence of the skip link is therefore confusing."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"structure-dom-visual-mismatch",descriptions:{en:{shortText:"DOM order does not match visual order",description:"The DOM order does not match the visual order."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"structure-duplicate-ids",descriptions:{en:{shortText:"Page contains duplicate IDs",description:"The page contains duplicate id values."}},checkpoints:[{checkpoint:"4.1.1.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"structure-finding-pages-difficult",descriptions:{en:{shortText:"Fewer than two ways provided to find other pages",description:"Fewer than two ways to find other pages on the site are provided."}},checkpoints:[{checkpoint:"2.4.5.a",standards:["wcag2aa"],type:"issue",impact:2}]},{id:"structure-major-problems",descriptions:{en:{shortText:"Page is missing skip link, headings or landmarks",description:"The page does not have at least one of: a skip link, proper heading structure, HTML5 sectioning elements, or ARIA landmarks."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"structure-no-nav-bypass-skiplink",descriptions:{en:{shortText:"User cannot skip navigation links",description:"There is no skip link to bypass the navigation links and there are at least 4 links in the top navigation."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"structure-skiplink-broken",descriptions:{en:{shortText:"Skip link is broken",description:"The skip link provided does not function as expected / is broken."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"structure-skiplink-invisible",descriptions:{en:{shortText:"Skip link is not visible on focus",description:"The skip link does not become visible when it receives focus. Sighted keyboard-only users are unable to use the link."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"structure-skiplink-not-first",descriptions:{en:{shortText:"Skip link is not first link",description:"The skip link to the main content is not the first link on the page."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"structure-skiplink-webkit-incompatible",descriptions:{en:{shortText:"Skip link does not work in webkit",description:"The skip nav link does not work in webkit browsers."}},checkpoints:[{checkpoint:"2.4.1.a",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"tab-order-bad-index",descriptions:{en:{shortText:"Use of positive tabindex value is not logical",description:"The use of positive tabindex value(s) is not logical and has created a tab order that does not preserve the meaning of the content."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"tab-order-illogical",descriptions:{en:{shortText:"Keyboard focus order is not logical",description:"Keyboard focus order is not logical in such a way that it affects the meaning or operability of the content."}},checkpoints:[{checkpoint:"2.4.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"table-caption-not-associated",descriptions:{en:{shortText:"Visual caption is not marked with CAPTION",description:"The visual caption above the table is not programmatically associated with the table."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"table-complex-association-incorrect",descriptions:{en:{shortText:"Complex table headers-id association is incorrect",description:"The headers + id association is not correct."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"table-complex-multiple-associations",descriptions:{en:{shortText:"Both TH/SCOPE and HEADERS-ID are used",description:"Both TH with SCOPE attributes and HEADERS + ID association are used. Choose one method to associate the header cells with the data cells."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"table-complex-no-header-associations",descriptions:{en:{shortText:"Complex table is missing headers-id association",description:"A table is complex and does not use the headers + id method to mark up column and row header cells."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"table-complex-simplify",descriptions:{en:{shortText:"Simplify complex table",description:"The table is complex and should be broken into separate simple tables."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"table-data-headers-blank",descriptions:{en:{shortText:"Not an issue: <th> cell is blank",description:"A table is permitted to have blank <th> cells."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:0}]},{id:"table-data-headers-captiony",descriptions:{en:{shortText:"First row of data table is really a caption",description:"The first row of the table acts more like a caption for the table than an actual header row."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"table-data-multiple-combined",descriptions:{en:{shortText:"More than one table element used to create a single table",description:"More than one table element is used to create a single table so header and data cell association is not correct and table navigation is broken."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"table-data-nested",descriptions:{en:{shortText:"Data tables are nested",description:"There are nested data tables."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"table-data-not-header",descriptions:{en:{shortText:"Data cell is marked as a header cell",description:"A data cell is inappropriately marked as a table header cell."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"table-data-summary-caption",descriptions:{en:{shortText:"SUMMARY and CAPTION are identical",description:"The summary and <caption> should not be identical."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"table-layout-header-markup",descriptions:{en:{shortText:"Layout table uses data table structural markup",description:"Layout table uses data table markup: <th>, <caption>, summary, headers, or scope."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:3}]},{id:"table-layout-improper-role",descriptions:{en:{shortText:"Layout table conveys table semantics",description:'A layout table is missing role="presentation" or "none" on the table element.'}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"table-layout-use-css",descriptions:{en:{shortText:"Layout table is used instead of CSS",description:"A layout table is used to arrange content on the page rather than CSS."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"table-name-value-pairs",descriptions:{en:{shortText:"Data table for name value pairs",description:"Name value pairs are present and are not inside a data table."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"table-simple-headers-unscoped",descriptions:{en:{shortText:"SCOPE attribute is missing",description:"The table has both row and column headers but is missing the SCOPE attribute."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"best-practice",impact:1}]},{id:"table-simple-scope-incorrect",descriptions:{en:{shortText:"Scope attribute is incorrect",description:"The table uses the scope attribute incorrectly."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"table-simple-scope-invalid",descriptions:{en:{shortText:"Scope attribute is invalid",description:"The scope attribute value is not a valid value. Valid values are row, col, rowgroup, or colgroup."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:4}]},{id:"table-simple-scope-on-td",descriptions:{en:{shortText:"Scope is used on <td>",description:"The scope attribute is used on <td> elements. This is obsolete. Use a <th> element instead."}},checkpoints:[{checkpoint:"1.3.1.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"target-size-enhanced",descriptions:{en:{shortText:"Target is not 44x44 px in size or spacing",description:"Target is not at least 44x44 px in size or spacing."}},checkpoints:[{checkpoint:"2.5.8.a",standards:["wcag22aa"],type:"best-practice",impact:2}]},{id:"target-size-small",descriptions:{en:{shortText:"Target does not meet minimum size or spacing",description:"Target does not meet minimum 24 x 24 px size or spacing."}},checkpoints:[{checkpoint:"2.5.8.a",standards:["wcag22aa"],type:"issue",impact:3}]},{id:"text-alternative-inadequate",descriptions:{en:{shortText:"Text description is incorrect or inadequate",description:"The text description provided is not correct or is inadequate."}},checkpoints:[{checkpoint:"1.2.3.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"text-spacing-cut-off",descriptions:{en:{shortText:"Text spacing content cut off",description:"When text spacing is adjusted, some content cannot be seen because it is cut off."}},checkpoints:[{checkpoint:"1.4.12.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"text-spacing-not-adjusted",descriptions:{en:{shortText:"Text spacing not adjusted",description:"The spacing between letters, words, lines of text and/or paragraphs cannot be adjusted."}},checkpoints:[{checkpoint:"1.4.12.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"text-spacing-overlap",descriptions:{en:{shortText:"Text spacing content overlaps",description:"When text spacing is adjusted, some content is unclear because it overlaps with other content."}},checkpoints:[{checkpoint:"1.4.12.a",standards:["wcag21aa"],type:"issue",impact:3}]},{id:"text-transcript-hard-to-find",descriptions:{en:{shortText:"Transcript is hard to find",description:"A text transcript is provided but it is difficult to locate."}},checkpoints:[{checkpoint:"1.2.1.a",standards:["wcag2a"],type:"best-practice",impact:2},{checkpoint:"1.2.3.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"text-transcript-inadequate",descriptions:{en:{shortText:"Transcript is incorrect or inadequate",description:"A text transcript is provided, but it is incorrect or inadequate."}},checkpoints:[{checkpoint:"1.2.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"text-transcript-incomplete",descriptions:{en:{shortText:"Transcript does not contain all dialogue",description:"A text transcript is provided but some of the dialogue is missing."}},checkpoints:[{checkpoint:"1.2.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"text-transcript-missing",descriptions:{en:{shortText:"Transcript is not provided",description:"No text transcript is provided."}},checkpoints:[{checkpoint:"1.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"text-transcript-undescribed-effects",descriptions:{en:{shortText:"Transcript does not describe important sounds",description:"A text transcript is provided but it doesn't describe all important sound effects."}},checkpoints:[{checkpoint:"1.2.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"text-transcript-unidentified-speakers",descriptions:{en:{shortText:"Transcript does not identify all speakers",description:"A text transcript is provided but it doesn't identify all the speakers."}},checkpoints:[{checkpoint:"1.2.1.a",standards:["wcag2a"],type:"issue",impact:2}]},{id:"timeout-extension-grace",descriptions:{en:{shortText:"User is not given 20 secs to extend timeout",description:'The page time out warning does not give the user at least 20 seconds to extend the session with a simple action (for example, "press the space bar").'}},checkpoints:[{checkpoint:"2.2.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"timeout-no-warning",descriptions:{en:{shortText:"User is not warned of timeout",description:"Content times out without providing any warning to the user."}},checkpoints:[{checkpoint:"2.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"timeout-not-announced",descriptions:{en:{shortText:"Screen reader user is not warned of timeout",description:"Screen reader users are not made aware of the presence of the time out warning."}},checkpoints:[{checkpoint:"2.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"timeout-not-extensible",descriptions:{en:{shortText:"User cannot turn off, adjust or extend time",description:"The timeout warning does not provide a way to turn off the time limit or to adjust or extend the limit at least 10 times."}},checkpoints:[{checkpoint:"2.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"timeout-screenreader",descriptions:{en:{shortText:"Timeout mechanism is not screen reader accessible",description:"The mechanism to extend the session is not accessible by a screen reader."}},checkpoints:[{checkpoint:"2.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"title-empty",descriptions:{en:{shortText:"Page <title> is empty",description:"The <title> element on this page is empty."}},checkpoints:[{checkpoint:"2.4.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"title-iframe-duplicate",descriptions:{en:{shortText:"iframe title is not unique",description:"The iframe's title is not unique - another iframe on the same page has the same title."}},checkpoints:[{checkpoint:"2.4.6.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"title-iframe-missing",descriptions:{en:{shortText:"iframe: iframe does not have a title",description:"The iframe is missing a title."}},checkpoints:[{checkpoint:"4.1.2.a",standards:["wcag2a"],type:"issue",impact:2}]},{id:"title-iframe-not-meaningful",descriptions:{en:{shortText:"title for iframe is not meaningful",description:"The title for the iframe is not meaningful."}},checkpoints:[{checkpoint:"2.4.6.b",standards:["wcag2a"],type:"issue",impact:2}]},{id:"title-missing",descriptions:{en:{shortText:"Page is missing a <title>",description:"This page is missing a <title> element."}},checkpoints:[{checkpoint:"2.4.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"title-not-meaningful",descriptions:{en:{shortText:"Page <title> does not identify purpose of page",description:"The <title> element on this page does not identify the contents or purpose of the page."}},checkpoints:[{checkpoint:"2.4.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"title-not-unique",descriptions:{en:{shortText:"Page TITLE is not unique",description:"The TITLE element on this page is not unique within the website or cohesive context of a website."}},checkpoints:[{checkpoint:"2.4.2.a",standards:["wcag2a"],type:"best-practice",impact:2}]},{id:"touch-area-spacing",descriptions:{en:{shortText:"Inactive space between elements too small",description:"There are less than six pixels between a touch target area and an adjacent touch target."}},checkpoints:[{checkpoint:"2.5.5.a",standards:["wcag21aaa"],type:"best-practice",impact:1}]},{id:"touch-down-event",descriptions:{en:{shortText:"Irreversible action occurs on down event",description:"Control submits an irreversible action on the down event."}},checkpoints:[{checkpoint:"2.5.2.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"touch-element-grouped",descriptions:{en:{shortText:"Adjacent touch elements are redundant",description:"Adjacent actionable touch elements that go to the same screen or have the same action are not grouped into one touch zone."}},checkpoints:[{checkpoint:"2.5.5.a",standards:["wcag21aaa"],type:"best-practice",impact:2}]},{id:"touch-path-based-gesture-required",descriptions:{en:{shortText:"Path-based gesture required",description:"Functionality (excluding operating system, user agent or assistive technology functions) relies on path-based gestures."}},checkpoints:[{checkpoint:"2.5.1.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"touch-single-point-action-not-avail",descriptions:{en:{shortText:"Single-pointer action not available ",description:"Functionality (excluding operating system, user agent or assistive technology functions) requires multi-point gestures."}},checkpoints:[{checkpoint:"2.5.1.a",standards:["wcag21a"],type:"issue",impact:3}]},{id:"touch-size-small",descriptions:{en:{shortText:"Touch target size less than 44px",description:"The touch target size of an actionable element is less than 44px in width and/or height."}},checkpoints:[{checkpoint:"2.5.5.a",standards:["wcag21aaa","aenb-77"],type:"issue",impact:2}]},{id:"unexpected-change-on-focus",descriptions:{en:{shortText:"There is a substantial, unannounced context change on focus",description:"When a component receives keyboard focus there is a significant change of content in the page (above the user's point of regard) that changes the meaning of the page."}},checkpoints:[{checkpoint:"3.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"unexpected-change-on-focus-screen-reader",descriptions:{en:{shortText:"There is a substantial, unannounced context change on screen reader focus",description:"When a component receives screen reader focus there is a significant change of content in the page (above the user's point of regard) that changes the meaning of the page."}},checkpoints:[{checkpoint:"3.2.1.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"unexpected-change-on-interaction",descriptions:{en:{shortText:"Form field causes unexpected change",description:"A change of context occurs without warning when the user changes the setting of a user interface control."}},checkpoints:[{checkpoint:"3.2.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"unexpected-change-select",descriptions:{en:{shortText:"Arrow keys activate dropdown menu options",description:"A change of context occurs without warning while a user is using the keyboard to navigate a <select> or a custom dropdown, before actually selecting an option."}},checkpoints:[{checkpoint:"3.2.2.a",standards:["wcag2a"],type:"issue",impact:4}]},{id:"unexpected-window-launch",descriptions:{en:{shortText:"New window opens automatically without warning",description:"A window is automatically launched without warning when the user inputs a value in a text field or selects a checkbox or radio button."}},checkpoints:[{checkpoint:"3.2.2.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"user-agent-semantic-del-ins",descriptions:{en:{shortText:"USER AGENT: Use of <del> or <ins> is not supported by all screen readers",description:"USER AGENT: Use of <del> or <ins> is not supported by all screen readers."}},checkpoints:[{checkpoint:"1.3.1.a",standards:["wcag2a"],type:"issue",impact:3}]},{id:"video-transcript-missing",descriptions:{en:{shortText:"Video transcript missing",description:"The video is missing a full text transcript."}},checkpoints:[{checkpoint:"1.2.2.a",standards:["wcag2a"],type:"best-practice",impact:3}]}],O=/^wcag\d{1,2}a{1,3}$/,_={"keyboard-inaccessible":"wcag211a","alt-text-essential-image-text":"wcag111b","alt-text-missing":"wcag111b"},E=(e,t)=>e.checkpoints.map((e=>{return e.checkpoint&&e.standards.find((e=>O.test(e)))?(t=e.checkpoint)?`wcag${t.replace(/\./g,"")}`:"":"";var t})).filter((e=>!_[t]||_[t]===e)),I=(e,t=S)=>{var n,r;const i=Array.isArray(t)?t.find((t=>t.id===e)):t;return null!=i&&null!==(n=i.checkpoints)&&void 0!==n&&n.length?i.checkpoints.some((e=>"best-practice"===e.type))?["best-practice"]:[null===(o=i,r=null===(s=o.checkpoints.find((e=>e.standards.find((e=>O.test(e))))))||void 0===s?void 0:s.standards)||void 0===r?void 0:r[0],...E(i,e)].filter(Boolean):[];var o,s};function j(e){const t=`${e}-start`,n=`${e}-end`,r=()=>{performance.clearMarks(t),performance.clearMarks(n),performance.clearMeasures(e)};return{start:()=>{r(),performance.mark(t)},end:()=>performance.mark(n),clear:r,measure:()=>(performance.measure(e,t,n),performance.getEntriesByName(e,"measure")[0])}}var A=n(9289);const C=[{config:{deprecated:!0}}],P={"buttons-and-links":C,headings:C,lists:C,"page-info":C},R={"buttons-and-links.en":JSON.parse('{"buttons-and-links":{"name":"Buttons and links","deprecation":"This guided test has been replaced by the \'Interactive Elements\' test.","description":"The buttons and links tests will walk you through testing buttons and links.","action":{"test":"Test buttons and links"},"progress":{"missing":"Missing","accuracy":"Accuracy"}}}'),"headings.en":JSON.parse('{"headings":{"name":"Headings","deprecation":"This guided test has been replaced by the \'Structure\' test.","description":"The headings tests will walk you through testing headings (h1-h6 and the \'heading\' role).","action":{"test":"Test Headings"}}}'),"lists.en":JSON.parse('{"lists":{"name":"Lists","deprecation":"This guided test has been replaced by the \'Structure\' test.","description":"The lists tests will walk you through testing lists (ul, ol, and dl).","action":{"test":"Test lists"},"progress":{"missing":"Missing","accuracy":"Accuracy"}}}'),"page-info.en":JSON.parse('{"page-info":{"name":"Page information","deprecation":"This guided test has been replaced by the \'Structure\' test.","description":"The page info tests will walk you through testing the page\'s title and primary language.","action":{"test":"Test Page information"}}}')};function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function U(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const q=Object.keys(R).reduce(((e,t)=>{const n=t.split(".");return e.hasOwnProperty(n[0])||(e[n[0]]={}),e[n[0]][n[1]]=R[t],e}),{}),L=S.reduce(((e,t)=>{const{id:n,descriptions:r}=t,i=U(t,["id","descriptions"]);return e[n]=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){D(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},i),e}),{}),F=Object.keys(P).reduce(((e,t)=>(e[t]={},e[t].steps=P[t],e[t].locale=q[t],e[t].config=P[t][0].config,e)),{impacts:L}),M={name:"interactive-elements",displayName:o.ZP`Interactive Elements`,description:o.ZP`The Interactive Elements tool will guide you through testing interactive elements' accessible names, roles, and states.`,config:{vitals:["interactives"],elementSelector:!0,"takes-screenshots":!0}},B={name:"images",displayName:o.ZP`Images`,description:o.ZP`The images tests will walk you through testing images (img tags, the 'img' role, css background images, icons and more!).`,config:{vitals:["images"],elementSelector:!0,"takes-screenshots":!0,tips:[{id:"images-sight-required",text:o.ZP`Vision is needed to perform the entirety of this test accurately.`}]}},$=[M,{name:"structure",displayName:o.ZP`Structure`,description:o.ZP`The structure tool will guide you through testing the page's structure.`,config:{vitals:["headings"],elementSelector:!0,"takes-screenshots":!0}},{name:"aria-modal",displayName:o.ZP`Modal Dialog`,description:o.ZP`The Modal Dialog tool will guide you through testing a single modal or alert dialog.`,config:{vitals:[],elementSelector:!0,"takes-screenshots":!0}},{name:"table",displayName:o.ZP`Table`,description:o.ZP`The table tool will guide you through testing a table.`,config:{vitals:["tables","table","data-cells"],elementSelector:!0,"takes-screenshots":!0}},B,{name:"keyboard",displayName:o.ZP`Keyboard`,description:o.ZP`The keyboard tests will perform a series of tab order and focus indication checks.`,config:{vitals:["focused-element","missing","select-missing","skipped","tabStops"],elementSelector:!0,"takes-screenshots":!0}},{name:"forms",displayName:o.ZP`Forms`,description:o.ZP`Test forms to ensure users can fill them out accurately and submit them.`,config:{vitals:["forms","inputs","groups"],elementSelector:!0,"takes-screenshots":!0,tips:[{id:"images-sight-required",text:o.ZP`Vision is needed to perform the entirety of this test accurately.`}]}}],z=["table","keyboard","aria-modal","interactive-elements","structure","page-info","buttons-and-links","lists","images","headings","forms"],J=(e,t)=>z.indexOf(e.name)-z.indexOf(t.name);function G(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function W(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const H=((e="en")=>[...Object.entries(F).filter((e=>!!e[1].steps)).map((([t,n])=>{const r=n.locale[e][t],i=null==r?void 0:r.deprecation,o=n.config||{};return(({tips:e=[]},t)=>{e.forEach((e=>{e.text=t.tips[e.id]}))})(o,r),{name:t,heading:r.name,description:i||r.description,config:o,version:1}})),...$.map((({name:e,displayName:t,description:n,config:r})=>({name:e,heading:t,description:n,button:o.ZP`Test ${t}`,config:r,version:2})))].sort(J))(),K=(e,t=!1)=>{const{ISSUES_URL:n}={NODE_ENV:"production",COCONUT:"false",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,DOCS_SITE_URL:"https://docs.deque.com/devtools-html",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-whatslefttotest",ENV:"production",AXE_PRO_URL:"https://axe.deque.com",USAGE_SERVICE_URL:"https://usage.deque.com",AMPLITUDE_API_KEY:"a1ce09d0b14ddcc12ab7b508b6606a2f",DATADOG_CLIENT_TOKEN:"puba2eb4ed47c6eb69ce20ef237db754ff8"};return V(V({},e),{},{help_url:`${n}/${e.rule}`,description:e.description||e.summary,variant:t?"best-practice":"violation",tags:e.tags||I(e.id)})};function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){Q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ee(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const te=i()("background:dom");function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ie(e,t,n){var r;return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){re(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({description:e.description,help:e.help,help_url:e.helpUrl,impact:e.impact,rule:e.id,summary:t.failureSummary||"",source:t.html,selector:t.target||[],is_manual:!1,variant:null!==(r=e.tags)&&void 0!==r&&r.includes("best-practice")?"best-practice":"violation",needs_review:!1,tags:e.tags,remediation:{any:t.any,all:t.all,none:t.none}},n)}function oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oe(Object(n),!0).forEach((function(t){ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const ce=(e,t)=>{const n=e.filter((e=>!!e.impact)),r=[],i=t.selectorMap;for(const e of n)r.push(...e.nodes.map((n=>{const r=se(se({},t),{},{boundingBox:i[JSON.stringify(n.target)]});return delete r.selectorMap,ie(e,n,r)})));return r},ue=({violations:e=[],bestPractices:t=[],incomplete:n=[],selectorMap:r={},screenshotId:i})=>{const o={selectorMap:r,screenshotId:i};return[...ce(e,o),...ce(t,se(se({},o),{},{variant:"best-practice"})),...ce(n,se(se({},o),{},{needs_review:!0}))]};var pe=n(9876);function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){he(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function he(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fe(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}const me=i()("screenshots"),ge=200;y.J.listen("needs-review:yes",(async({message:e,tabId:t})=>{try{await b.Z.put(`/api/tests/${e.testId}/issues/${e.issueId}`,{needs_review:!1})}catch(e){(0,v.Z)(t,e,o.ZP`There was a problem updating your reviewed issue.`)}})),y.J.listen("needs-review:no",(async({message:e,tabId:t})=>{try{await b.Z.delete(`/api/tests/${e.testId}/issues?id=${e.issueId}`)}catch(e){(0,v.Z)(t,e,o.ZP`There was a problem removing your reviewed your issue.`)}})),y.J.listen("hubspot-user-analytics",(({message:e})=>{const{event:t,value:n}=e;b.Z.post("/api/analytics",{event_name:t,event_value:n})})),y.J.listen("auth:session",(async({message:e})=>{await browser.storage.local.set({session:e})})),y.J.listen("auth:logout",(async()=>{await browser.storage.local.remove("session")})),y.J.listen("save-screenshot",(async({tabId:e,message:t})=>{let{screenshot:n,isFullPage:r=!1}=t;if(n)try{if(/data:image\/\w+;base64,/.test(n)){const[,e]=n.split(",");n=e}const{url:t}=await browser.tabs.get(e),i=new URLSearchParams({url:t,browser_version:navigator.userAgent,extension_version:pe.i8,is_full_page:r}),o=await b.Z.stream.post(`/api/screenshots?${i}`,{Accept:"application/json","Content-Type":"image/png"},n);return(await o.json()).key}catch(t){return void y.J.send(y.D.devtools,"app:notification",{type:"caution",text:o.ZP`There was a problem saving your screenshot. Please try again.`},{tabId:e})}})),y.J.listen("get-screenshot-features",(async({message:e})=>{const{screenshotId:t,vnodes:n,zoom:r,category:i,coordinateOffset:o}=e;try{return b.Z.post(`/api/screenshots/${t}/features?category=${i}`,{vnodes:n.map((({vnodeId:e,role:t,box:n,tightBox:r,tagName:i,states:o})=>({vnodeId:e,role:t,box:n,tightBox:r,tagName:i,states:o}))),zoom:r,coordinateOffset:o})}catch{return{features:[]}}})),y.J.listen("save-results",(async({tabId:e,message:t})=>{const{testName:n,hideNotification:r}=t,i=fe(t,["testName","hideNotification"]);try{const t=await y.J.send(y.D.content,"request-axe-results",i,{tabId:e});if(t.error)throw new Error(`request-axe-results error: ${t.error.message}`);const{results:s,pageTitle:a,stars:c,metadata:u}=t,{url:p}=s,{id:d}=await b.Z.post("/api/tests",{url:p}),[l,h]=await Promise.all([b.Z.put(`/api/tests/${d}`,{name:n||a||p,metadata:le(le({},u),{},{axeVersion:i.axeVersion}),stars:c}),b.Z.post(`/api/tests/${d}/issues`,{test_name:n,violations:ue(s),event:"auto"})]);return r||y.J.send(y.D.devtools,"app:notification",{type:"confirmation",text:o.ZP`Your test has been saved.`},{tabId:e}),{record:l,issues:h,manifests:{}}}catch(t){return y.J.send(y.D.devtools,"app:notification",{type:"caution",text:o.ZP`There was a problem saving your test. Please try again.`},{tabId:e}),{record:{},issues:[],manifests:{}}}})),y.J.listen("dom:get-active-element-shadow-root-type",(async({shouldDetachAfterProcess:e=!1,tabId:t})=>{let n;try{n=await d(t)}catch{if(!n||s())return null}let r=null;try{const{result:{objectId:n}}=await l({tabId:t},"Runtime.evaluate",{expression:"\n /**\n * From: https://stackoverflow.com/a/61167135\n * \n * Return the active element of a page, regardless of shadow root or iframe window.\n * @returns {HTMLElement}\n */\n (function getActiveElement(element = document.activeElement) {\n const shadowRoot = element.shadowRoot\n const contentDocument = element.contentDocument\n \n if (shadowRoot && shadowRoot.activeElement) {\n return getActiveElement(shadowRoot.activeElement)\n }\n \n if (contentDocument && contentDocument.activeElement) {\n return getActiveElement(contentDocument.activeElement)\n }\n \n return element\n })()\n "});if(n){var i;const{node:e}=await l({tabId:t},"DOM.describeNode",{objectId:n,pierce:!0});null!=e&&null!==(i=e.shadowRoots)&&void 0!==i&&i.length?r=e.shadowRoots[0].shadowRootType:te("Active element does not have a shadow root")}else te("Unable to retrieve the active element RemoteObjectId")}catch(e){te(`An error ocurred while trying to retrieve the active element shadow type: ${e}`)}finally{e&&await h(t)}return te(`Active element shadowRootType: ${r}`),r})),y.J.listen("record:get",(async({message:e,tabId:t})=>{if(!e)return{};try{const[t,n]=await Promise.all([b.Z.get(`/api/tests/${e}`),b.Z.get(`/api/tests/${e}/issues`)]);return{record:t,issues:n}}catch(e){return(0,v.Z)(t,e,o.ZP`There was a problem loading your test.`),{record:{},issues:[],error:!0}}})),y.J.listen("records:get",(async({message:e,tabId:t})=>{const{userId:n,tags:r,limit:i,offset:s,includeNeedsReview:a=!0,includeBestPractice:c=!0,ufaFeatureEnabled:u=!1}=e;try{const e=new URLSearchParams({limit:i,offset:s,needs_review:a,best_practice:c});return Array.isArray(r)&&r.length&&e.set("tags",r.join(",")),await b.Z.get(u?`/api/axe-devtools-pro/scans?${e}`:`/api/users/${n}/tests?${e}`)}catch(e){return(0,v.Z)(t,e,o.ZP`There was a problem loading your tests.`),[]}})),y.J.listen("record:update",(async({message:e,tabId:t})=>{try{return await b.Z.put(`/api/tests/${e.id}`,e)}catch(e){return(0,v.Z)(t,e,o.ZP`There was a problem updating your test.`),{}}})),y.J.listen("record-issue:update",(async({message:e,tabId:t})=>{try{return await b.Z.put(`/api/tests/${e.testId}/issues/${e.id}`,e)}catch(e){return(0,v.Z)(t,e,o.ZP`There was a problem updating your issue.`),{}}})),y.J.listen("record-issue:new",(async({message:e,tabId:t})=>{try{return await b.Z.post(`/api/tests/${e.test_id}/issues`,{violations:[e]})}catch(e){return(0,v.Z)(t,e,o.ZP`There was a problem creating your issue.`),{}}})),y.J.listen("record:delete",(async({message:{testId:e,hideNotification:t=!1},tabId:n})=>{try{await b.Z.delete(`/api/tests/${e}`),t||y.J.send(y.D.devtools,"app:notification",{text:o.ZP`Your test was successfully deleted.`},{tabId:n})}catch(e){(0,v.Z)(n,e,o.ZP`There was a problem deleting your test.`)}})),y.J.listen("manifest:new",(async({message:{testId:e,tool:t}})=>{if(!e||!t)return{};try{return await b.Z.post(`/api/tests/${e}/manifests`,{name:t})}catch(e){return{}}})),y.J.listen("manifest:update",(async({message:e={},tabId:t})=>{const{id:n,testId:r,testName:i,name:s,showNotificationOnFailure:a=!1,createIssuesOnManifestComplete:c=!0}=e,u=G(e,["id","testId","testName","name","showNotificationOnFailure","createIssuesOnManifestComplete"]);if(!r)return{};let p=u;const{metadata:d={}}=u,l=d.type||d.tool;try{const e=H.find((({name:e})=>e===l));if(l&&e){const{vitals:t}=k()(e,"config",[]);p=V(V({},u),{},{metadata:V(V({},d),{},{tree:T(t,u)})})}const t=j("saveIGT");t.start();const o=await b.Z.put(`/api/tests/${r}/manifests/${n}`,{data:p,name:s});let a;t.end(),A.Kl(t.measure().duration,l),c&&u.metadata.complete&&u.metadata.issues&&(a=b.Z.post(`/api/tests/${r}/issues`,{manifestId:n,manifestGuideName:l,test_name:i,violations:u.metadata.issues.map((e=>{const t=((e,t=S)=>t.find((t=>t.id===e)))(e.id);if(!t)return K(e);const n=Array.isArray(t.checkpoints)&&!!t.checkpoints.find((e=>"best-practice"===e.type));return K(e,n)}))}));const[h]=await Promise.all([o,a]);return h}catch(e){a&&y.J.send(y.D.devtools,"app:notification",{type:"caution",text:o.ZP`There was an issue updating your test. Please try again.`},{tabId:t})}})),y.J.listen("manifests:get",(async({message:e})=>{if(!e)return[];try{return await b.Z.get(`/api/tests/${e}/manifests`)}catch(e){return[]}})),y.J.listen("manifest:delete",(async({message:e,tabId:t})=>{const{testId:n}=e,r=G(e,["testId"]);if(n)try{await b.Z.delete(`/api/tests/${n}/manifests/${r.id}`)}catch(e){return void y.J.send(y.D.devtools,"app:notification",{type:"caution",text:o.ZP`Unable to delete`},{tabId:t})}})),y.J.listen("guided:start",(async({message:e})=>{const{tabId:t}=e,n=ee(e,["tabId"]);try{const{tool:e,username:r,startedFrom:i="record"}=n,o=ee(n,["tool","username","startedFrom"]),{testUrl:s}=o;y.J.send(y.D.devtools,"guide:start-guided",{tool:e,testUrl:s,username:r,resume:!1,startedFrom:i,manifest:o},{tabId:t})}catch(e){(0,v.Z)(t,e,o.ZP`There was a problem starting your ${"Intelligent Guided Test"}.`)}})),y.J.listen("guided:resume",(async({message:e})=>{e.test_id&&y.J.send(y.D.devtools,"guide:start-guided",{tool:e.guide,ensureTestTab:!0,testUrl:e.body.metadata.url,username:e.body.metadata.username,resume:!0,manifest:Y({id:e.id,testId:e.test_id,testName:e.testName,testUrl:e.testUrl},e.body)},{tabId:e.tabId})})),y.J.listen("guided:save-and-quit",(({message:e})=>{y.J.send(y.D.devtools,"guided:save-and-quit",{},{tabId:e.tabId})})),(()=>{let e;y.J.listen("modal:tabber-init",(async({tabId:t})=>{e&&e.stop(),e=new g(t);try{await e.start()}catch{y.J.send(y.D.content,"attach:failed",{},{tabId:t})}})),y.J.listen("modal:fire-tab",(()=>{e&&e.fireTab()})),y.J.listen("modal:tabber-stop",(()=>{e&&(e.stop(),e=null)})),y.J.listen("modal:fire-escape",(async({tabId:t})=>(e&&e.stop(),e=new g(t),await e.fireEscape(),!0)))})(),y.J.listen("tab-record:new-window-listener:attach",(({tabId:e})=>{const t=()=>{browser.tabs.onCreated.removeListener(n),y.J.unlisten("tab-record:new-window-listener:detach",t)},n=()=>{y.J.send(y.D.content,"tab-record:new-window:launched",null,{tabId:e})};t(),browser.tabs.onCreated.addListener(n),y.J.listen("tab-record:new-window-listener:detach",t)})),y.J.listen("resave-automatic-tests",(async({tabId:e,message:t})=>{const{testId:n,axeResults:r,metadata:i}=t;try{await b.Z.delete(`/api/tests/${n}/issues?is_manual=false`),await b.Z.post(`/api/tests/${n}/issues`,{violations:ue(r),event:"auto"});const e=await b.Z.put(`/api/tests/${n}`,{metadata:le(le({},i),{},{axeVersion:r.axeVersion})});return{updatedIssues:await b.Z.get(`/api/tests/${n}/issues`),auto_tests_at:(new Date).toISOString(),updated_at:e.updated_at}}catch(t){return y.J.send(y.D.devtools,"app:notification",{type:"caution",text:o.ZP`There was a problem saving your automated results. Your test record was not updated, please try again.`},{tabId:e}),{}}}));y.J.listen("forms:ml",(async({tabId:e,message:t})=>{const{url:n,form:r,screenshot:i}=t,{session:o,axeSettings:s,policySettings:a}=await browser.storage.local.get(["session","axeSettings","policySettings"]);if(!(a.DisableAllScreenshots||"boolean"!=typeof a.EnableMachineLearning?s.enableMachineLearning:a.EnableMachineLearning)||!o||!i)return[];const c=await y.J.send(y.D.content,"forms:get-descendant-elements",{vnodeId:r.vnodeId},{tabId:e}),[,u]=i.split("base64,"),p=j("formsML");p.start();const d=await(async(e,t)=>{const n=Symbol("Timed out"),r=await Promise.race([e,new Promise((e=>setTimeout((()=>e(n)),4e3)))]);return r===n?(t(),null):r})(new Promise((async e=>{try{e((await b.Z.post("/api/ml/form-fields",{url:n,image:u,vdom:c})).fields)}catch(t){e([])}})),(()=>A.pk()));return p.end(),A.h9(p.measure().duration),d||[]})),y.J.listen("automatic-color-contrast",(async({message:e})=>{const{imageWithText:t,imageWithoutText:n,expectedTextColor:r}=e;if(t&&me.enabled){(new Image).src=`data:image/png;base64,${t}`}if(n&&me.enabled){(new Image).src=`data:image/png;base64,${n}`}return await b.Z.post("/api/automatic-color-contrast",{imageWithText:t,imageWithoutText:n,expectedTextColor:r})}));const ye=e=>{const t=globalThis.__tabbers||(globalThis.__tabbers={});if(!t[e]){const n=new g(e);t[e]=n}return t[e]};y.J.listen("tab-record:start",(async({tabId:e})=>{await y.J.send(y.D.content,"tab-record:initial-focus",null,{tabId:e});const t=ye(e);try{await t.start()}catch{y.J.send(y.D.content,"attach:failed",{},{tabId:e})}})),y.J.listen("tab-record:fire-tab",(async({tabId:e})=>new Promise((t=>{setTimeout((()=>{var n;null===(n=ye(e))||void 0===n||n.fireTab(),t()}),ge)})))),y.J.listen("tab-record:stop",(({tabId:e})=>{var t;null===(t=ye(e))||void 0===t||t.stop(),delete globalThis.__tabbers[e]})),browser.tabs.onUpdated.addListener(((e,t)=>{const{status:n}=t;"complete"===n&&y.J.send(y.D.devtools,"page:navigation",t,{tabId:e})}))},9289:(e,t,n)=>{"use strict";n.d(t,{w1:()=>Fr,h9:()=>_r,pk:()=>Er,L5:()=>qr,N9:()=>Cr,Kl:()=>Or,Cu:()=>Sr});var r={};function i(){return"object"==typeof window&&void 0!==(null===window||void 0===window?void 0:window.document)}n.r(r),n.d(r,{exclude:()=>I,extract:()=>x,parse:()=>T,parseUrl:()=>O,pick:()=>E,stringify:()=>S,stringifyUrl:()=>_});var o=n(4327),s=n.n(o);const a="%[a-f0-9]{2}",c=new RegExp("("+a+")|([^%]+?)","gi"),u=new RegExp("("+a+")+","gi");function p(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],p(n),p(r))}function d(e){try{return decodeURIComponent(e)}catch{let t=e.match(c)||[];for(let n=1;n<t.length;n++)t=(e=p(t,n).join("")).match(c)||[];return e}}function l(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){const t={"%FE%FF":"<22><>","%FF%FE":"<22><>"};let n=u.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const e=d(n[0]);e!==n[0]&&(t[n[0]]=e)}n=u.exec(e)}t["%C2"]="<22>";const r=Object.keys(t);for(const n of r)e=e.replace(new RegExp(n,"g"),t[n]);return e}(e)}}function h(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];const n=e.indexOf(t);return-1===n?[]:[e.slice(0,n),e.slice(n+t.length)]}function f(e,t){const n={};if(Array.isArray(t))for(const r of t){const t=Object.getOwnPropertyDescriptor(e,r);t?.enumerable&&Object.defineProperty(n,r,t)}else for(const r of Reflect.ownKeys(e)){const i=Object.getOwnPropertyDescriptor(e,r);if(i.enumerable){t(r,e[r],e)&&Object.defineProperty(n,r,i)}}return n}const m=Symbol("encodeFragmentIdentifier");function g(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function y(e,t){return t.encode?t.strict?encodeURIComponent(e).replace(/[!'()*]/g,(e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`)):encodeURIComponent(e):e}function b(e,t){return t.decode?l(e):e}function v(e){return Array.isArray(e)?e.sort():"object"==typeof e?v(Object.keys(e)).sort(((e,t)=>Number(e)-Number(t))).map((t=>e[t])):e}function w(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function k(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function x(e){const t=(e=w(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function T(e,t){g((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,...t}).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,r)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==r[e]?r[e]=[...r[e],n]:r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[...r[e],n]:r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator),o="string"==typeof n&&!i&&b(n,e).includes(e.arrayFormatSeparator);n=o?b(n,e):n;const s=i||o?n.split(e.arrayFormatSeparator).map((t=>b(t,e))):null===n?n:b(n,e);r[t]=s};case"bracket-separator":return(t,n,r)=>{const i=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!i)return void(r[t]=n?b(n,e):n);const o=null===n?[]:n.split(e.arrayFormatSeparator).map((t=>b(t,e)));void 0!==r[t]?r[t]=[...r[t],...o]:r[t]=o};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[...[n[e]].flat(),t]:n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;const e=t.decode?i.replace(/\+/g," "):i;let[o,s]=h(e,"=");void 0===o&&(o=e),s=void 0===s?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?s:b(s,t),n(b(o,t),s,r)}for(const[e,n]of Object.entries(r))if("object"==typeof n&&null!==n)for(const[e,r]of Object.entries(n))n[e]=k(r,t);else r[e]=k(n,t);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce(((e,t)=>{const n=r[t];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?e[t]=v(n):e[t]=n,e}),Object.create(null))}function S(e,t){if(!e)return"";g((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&null==e[n]||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[y(t,e),"[",i,"]"].join("")]:[...n,[y(t,e),"[",y(i,e),"]=",y(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[y(t,e),"[]"].join("")]:[...n,[y(t,e),"[]=",y(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[y(t,e),":list="].join("")]:[...n,[y(t,e),":list=",y(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[y(n,e),t,y(i,e)].join("")]:[[r,y(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,y(t,e)]:[...n,[y(t,e),"=",y(r,e)].join("")]}}(t),i={};for(const[t,r]of Object.entries(e))n(t)||(i[t]=r);const o=Object.keys(i);return!1!==t.sort&&o.sort(t.sort),o.map((n=>{const i=e[n];return void 0===i?"":null===i?y(n,t):Array.isArray(i)?0===i.length&&"bracket-separator"===t.arrayFormat?y(n,t)+"[]":i.reduce(r(n),[]).join("&"):y(n,t)+"="+y(i,t)})).filter((e=>e.length>0)).join("&")}function O(e,t){t={decode:!0,...t};let[n,r]=h(e,"#");return void 0===n&&(n=e),{url:n?.split("?")?.[0]??"",query:T(x(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:b(r,t)}:{}}}function _(e,t){t={encode:!0,strict:!0,[m]:!0,...t};const n=w(e.url).split("?")[0]||"";let r=S({...T(x(e.url),{sort:!1}),...e.query},t);r&&(r=`?${r}`);let i=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if(e.fragmentIdentifier){const r=new URL(n);r.hash=e.fragmentIdentifier,i=t[m]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${i}`}function E(e,t,n){n={parseFragmentIdentifier:!0,[m]:!1,...n};const{url:r,query:i,fragmentIdentifier:o}=O(e,n);return _({url:r,query:f(i,t),fragmentIdentifier:o},n)}function I(e,t,n){return E(e,Array.isArray(t)?e=>!t.includes(e):(e,n)=>!t(e,n),n)}const j=r;var A=n(8315),C=n.n(A),P=function(){function e(){}return e.prototype.getApplicationContext=function(){return{versionName:this.versionName,language:R(),platform:"Web",os:void 0,deviceModel:void 0}},e}(),R=function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language)||""},N=function(){function e(){this.queue=[]}return e.prototype.logEvent=function(e){this.receiver?this.receiver(e):this.queue.length<512&&this.queue.push(e)},e.prototype.setEventReceiver=function(e){this.receiver=e,this.queue.length>0&&(this.queue.forEach((function(t){e(t)})),this.queue=[])},e}(),D=function(){return D=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},D.apply(this,arguments)},U=function(e,t){var n=typeof e;if(n!==typeof t)return!1;for(var r=0,i=["string","number","boolean","undefined"];r<i.length;r++){if(i[r]===n)return e===t}if(null==e&&null==t)return!0;if(null==e||null==t)return!1;if(e.length!==t.length)return!1;var o=Array.isArray(e),s=Array.isArray(t);if(o!==s)return!1;if(!o||!s){var a=Object.keys(e).sort(),c=Object.keys(t).sort();if(!U(a,c))return!1;var u=!0;return Object.keys(e).forEach((function(n){U(e[n],t[n])||(u=!1)})),u}for(var p=0;p<e.length;p++)if(!U(e[p],t[p]))return!1;return!0};Object.entries||(Object.entries=function(e){for(var t=Object.keys(e),n=t.length,r=new Array(n);n--;)r[n]=[t[n],e[t[n]]];return r});var q=function(){function e(){this.identity={userProperties:{}},this.listeners=new Set}return e.prototype.editIdentity=function(){var e=this,t=D({},this.identity.userProperties),n=D(D({},this.identity),{userProperties:t});return{setUserId:function(e){return n.userId=e,this},setDeviceId:function(e){return n.deviceId=e,this},setUserProperties:function(e){return n.userProperties=e,this},setOptOut:function(e){return n.optOut=e,this},updateUserProperties:function(e){for(var t=n.userProperties||{},r=0,i=Object.entries(e);r<i.length;r++){var o=i[r],s=o[0],a=o[1];switch(s){case"$set":for(var c=0,u=Object.entries(a);c<u.length;c++){var p=u[c],d=p[0],l=p[1];t[d]=l}break;case"$unset":for(var h=0,f=Object.keys(a);h<f.length;h++){delete t[d=f[h]]}break;case"$clearAll":t={}}}return n.userProperties=t,this},commit:function(){return e.setIdentity(n),this}}},e.prototype.getIdentity=function(){return D({},this.identity)},e.prototype.setIdentity=function(e){var t=D({},this.identity);this.identity=D({},e),U(t,this.identity)||this.listeners.forEach((function(t){t(e)}))},e.prototype.addIdentityListener=function(e){this.listeners.add(e)},e.prototype.removeIdentityListener=function(e){this.listeners.delete(e)},e}(),L="undefined"!=typeof globalThis?globalThis:void 0!==n.g?n.g:self,F=function(){function e(){this.identityStore=new q,this.eventBridge=new N,this.applicationContextProvider=new P}return e.getInstance=function(t){return L.analyticsConnectorInstances||(L.analyticsConnectorInstances={}),L.analyticsConnectorInstances[t]||(L.analyticsConnectorInstances[t]=new e),L.analyticsConnectorInstances[t]},e}();function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $(e){return $="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},$(e)}function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(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,K(r.key),r)}}function G(e,t,n){return t&&J(e.prototype,t),n&&J(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function W(e,t,n){return(t=K(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Z(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 Z(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function K(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var X="$default_instance",Y=2,Q=4096,ee=1e3,te="$identify",ne="$groupidentify",re="api.amplitude.com",ie="api.eu.amplitude.com",oe="regionconfig.amplitude.com",se="regionconfig.eu.amplitude.com",ae=0,ce=1,ue=2,pe=3,de=4,le=5,he=6,fe=7,me="amp_cookie_test",ge="amp",ye="",be="cookies",ve="none",we="localStorage",ke="sessionStorage",xe="revenue_amount",Te="$productId",Se="$quantity",Oe="$price",_e="$revenueType",Ee="amp_device_id",Ie="amp_referrer",je="referrer",Ae="referring_domain",Ce="utm_source",Pe="utm_medium",Re="utm_campaign",Ne="utm_term",De="utm_content",Ue="[Amplitude] Attribution Captured",qe="http",Le="beacon",Fe=function(e){for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):r>127&&r<2048?(t+=String.fromCharCode(r>>6|192),t+=String.fromCharCode(63&r|128)):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128),t+=String.fromCharCode(63&r|128))}return t},Me=function(e){for(var t="",n=0,r=0,i=0,o=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):r>191&&r<224?(i=e.charCodeAt(n+1),t+=String.fromCharCode((31&r)<<6|63&i),n+=2):(i=e.charCodeAt(n+1),o=e.charCodeAt(n+2),t+=String.fromCharCode((15&r)<<12|(63&i)<<6|63&o),n+=3);return t},Be="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof self?self:void 0!==n.g?n.g:void 0,$e={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(e){try{if(Be.btoa&&Be.atob)return Be.btoa(unescape(encodeURIComponent(e)))}catch(e){}return $e._encode(e)},_encode:function(e){var t,n,r,i,o,s,a,c="",u=0;for(e=Fe(e);u<e.length;)i=(t=e.charCodeAt(u++))>>2,o=(3&t)<<4|(n=e.charCodeAt(u++))>>4,s=(15&n)<<2|(r=e.charCodeAt(u++))>>6,a=63&r,isNaN(n)?s=a=64:isNaN(r)&&(a=64),c=c+$e._keyStr.charAt(i)+$e._keyStr.charAt(o)+$e._keyStr.charAt(s)+$e._keyStr.charAt(a);return c},decode:function(e){try{if(Be.btoa&&Be.atob)return decodeURIComponent(escape(Be.atob(e)))}catch(e){}return $e._decode(e)},_decode:function(e){var t,n,r,i,o,s,a="",c=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");c<e.length;)t=$e._keyStr.indexOf(e.charAt(c++))<<2|(i=$e._keyStr.indexOf(e.charAt(c++)))>>4,n=(15&i)<<4|(o=$e._keyStr.indexOf(e.charAt(c++)))>>2,r=(3&o)<<6|(s=$e._keyStr.indexOf(e.charAt(c++))),a+=String.fromCharCode(t),64!==o&&(a+=String.fromCharCode(n)),64!==s&&(a+=String.fromCharCode(r));return a=Me(a)}},ze=Object.prototype.toString;function Je(e){switch(ze.call(e)){case"[object Date]":return"date";case"[object RegExp]":return"regexp";case"[object Arguments]":return"arguments";case"[object Array]":return"array";case"[object Error]":return"error"}return null===e?"null":void 0===e?"undefined":e!=e?"nan":e&&1===e.nodeType?"element":"undefined"!=typeof Buffer&&"function"==typeof Buffer.isBuffer&&Buffer.isBuffer(e)?"buffer":$(e=e.valueOf?e.valueOf():Object.prototype.valueOf.apply(e))}var Ge,We={DISABLE:0,ERROR:1,WARN:2,INFO:3},Ve=We.WARN,Ze={error:function(e){Ve>=We.ERROR&&He(e)},warn:function(e){Ve>=We.WARN&&He(e)},info:function(e){Ve>=We.INFO&&He(e)}},He=function(e){try{console.log("[Amplitude] "+e)}catch(e){}},Ke=function(e){return"string"===Je(e)&&e.length>Q?e.substring(0,Q):e},Xe=function(e,t,n){return Je(e)===n||(Ze.error("Invalid "+t+" input type. Expected "+n+" but received "+Je(e)),!1)},Ye=function(e){var t=Je(e);if("object"!==t)return Ze.error("Error: invalid properties format. Expecting Javascript object, received "+t+", ignoring"),{};if(Object.keys(e).length>ee)return Ze.error("Error: too many properties (more than 1000), ignoring"),{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=r,o=Je(i);"string"!==o&&(i=String(i),Ze.warn("WARNING: Non-string property key, received type "+o+', coercing to string "'+i+'"'));var s=et(i,e[r]);null!==s&&(n[i]=s)}return n},Qe=["nan","function","arguments","regexp","element"],et=function e(t,n){var r=Je(n);if(-1!==Qe.indexOf(r))Ze.warn('WARNING: Property key "'+t+'" with invalid value type '+r+", ignoring"),n=null;else if("undefined"===r)n=null;else if("error"===r)n=String(n),Ze.warn('WARNING: Property key "'+t+'" with value type error, coercing to '+n);else if("array"===r){for(var i=[],o=0;o<n.length;o++){var s=n[o],a=Je(s);"array"!==a?"object"===a?i.push(Ye(s)):i.push(e(t,s)):Ze.warn("WARNING: Cannot have "+a+" nested in an array property value, skipping")}n=i}else"object"===r&&(n=Ye(n));return n},tt=function(e,t){var n=Je(t);if("string"===n)return t;if("date"===n||"number"===n||"boolean"===n)return t=String(t),Ze.warn("WARNING: Non-string groupName, received type "+n+', coercing to string "'+t+'"'),t;if("array"===n){for(var r=[],i=0;i<t.length;i++){var o=t[i],s=Je(o);"array"!==s&&"object"!==s?"string"===s?r.push(o):"date"!==s&&"number"!==s&&"boolean"!==s||(o=String(o),Ze.warn("WARNING: Non-string groupName, received type "+s+', coercing to string "'+o+'"'),r.push(o)):Ze.warn("WARNING: Skipping nested "+s+" in array groupName")}return r}Ze.warn("WARNING: Non-string groupName, received type "+n+". Please use strings or array of strings for groupName")},nt=function(e){Object.prototype.hasOwnProperty.call(We,e)&&(Ve=We[e])},rt=Ze,it=function(e){return!e||0===e.length},ot=function(){return"undefined"!=typeof WorkerGlobalScope},st=function(e,t){e=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return null===n?void 0:decodeURIComponent(n[1].replace(/\+/g," "))},at=function e(t){if("array"===Je(t))for(var n=0;n<t.length;n++)t[n]=e(t[n]);else if("object"===Je(t))for(var r in t)r in t&&(t[r]=e(t[r]));else t=Ke(t);return t},ct=function(e){var t=Je(e);if("object"!==t)return Ze.error("Error: invalid groups format. Expecting Javascript object, received "+t+", ignoring"),{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var i=r,o=Je(i);"string"!==o&&(i=String(i),Ze.warn("WARNING: Non-string groupType, received type "+o+', coercing to string "'+i+'"'));var s=tt(i,e[r]);null!==s&&(n[i]=s)}return n},ut=Xe,pt=Ye,dt=function(e){return!!Xe(e,"deviceId","string")&&(!(e.indexOf(".")>=0)||(Ze.error("Device IDs may not contain '.' characters. Value will be ignored: \"".concat(e,'"')),!1))},lt=function(e){return!!Xe(e,"transport","string")&&(e!==qe&&e!==Le?(Ze.error("transport value must be one of '".concat(Le,"' or '").concat(qe,"'")),!1):!(e!==qe&&"undefined"!=typeof navigator&&!navigator.sendBeacon)||(Ze.error("browser does not support sendBeacon, so transport must be HTTP"),!1))},ht=function(e){return!!(Xe(e,"sessionId","number")&&new Date(e).getTime()>0)||(Ze.error("sessionId value must in milliseconds since epoch (Unix Timestamp)"),!1)},ft=function(){return Be.location},mt=function(e){var t=Be.location?Be.location.hostname:"";if(e){if("undefined"!=typeof document){var n=document.createElement("a");return n.href=e,n.hostname||t}if("function"==typeof URL)return new URL(e).hostname||t}return t},gt=function(e){try{for(var t=document.cookie.split(";"),n=null,r=0;r<t.length;r++){for(var i=t[r];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(e)){n=i.substring(e.length,i.length);break}}return n}catch(e){return null}},yt=function(e,t,n){var r=null!==t?n.expirationDays:-1;if(r){var i=new Date;i.setTime(i.getTime()+24*r*60*60*1e3),r=i}var o=e+"="+t;r&&(o+="; expires="+r.toUTCString()),o+="; path=/",n.domain&&(o+="; domain="+n.domain),n.secure&&(o+="; Secure"),n.sameSite&&(o+="; SameSite="+n.sameSite),document.cookie=o},bt=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=t.split(".")[de];return n&&(e=parseInt(n,32)),e||(rt.warn("unable to parse malformed cookie: ".concat(t)),0)},vt=yt,wt=gt,kt=function(e){try{var t,n=document.cookie.split(";").map((function(e){return e.trimStart()})),r=[],i=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=Z(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}(n);try{for(i.s();!(t=i.n()).done;){for(var o=t.value;" "===o.charAt(0);)o=o.substring(1);0===o.indexOf(e)&&r.push(o.substring(e.length))}}catch(e){i.e(e)}finally{i.f()}return r}catch(e){return[]}},xt=function(e){return V(e).sort((function(e,t){var n=bt(e);return bt(t)-n}))},Tt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=me;if("undefined"==typeof document)return!1;var n=!1;try{var r=String(Date.now());yt(t,r,e),rt.info("Testing if cookies available"),n=gt(t+"=")===r}catch(e){rt.warn('Error thrown when checking for cookies. Reason: "'.concat(e,'"'))}finally{rt.info("Cleaning up cookies availability test"),yt(t,null,e)}return n},St=function(){for(var e="",t=0;t<22;++t)e+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_".charAt(Math.floor(64*Math.random()));return e},Ot=function(e){var t=mt(e).split("."),n=[],r="_tldtest_"+St();if(ot())return"";for(var i=t.length-2;i>=0;--i)n.push(t.slice(i).join("."));for(var o=0;o<n.length;++o){var s=n[o],a={domain:"."+s};if(vt(r,1,a),wt(r))return vt(r,null,a),s}return""},_t={expirationDays:void 0,domain:void 0},Et=function(e){var t="";return _t.domain&&(t="."===_t.domain.charAt(0)?_t.domain.substring(1):_t.domain),e+t},It=function(e){var t=Et(e)+"=",n=wt(t);try{if(n)return JSON.parse($e.decode(n))}catch(e){return null}return null},jt=function(e,t){try{return vt(Et(e),$e.encode(JSON.stringify(t)),_t),!0}catch(e){return!1}},At=function(e){try{return vt(Et(e),null,_t),!0}catch(e){return!1}},Ct={reset:function(){_t={expirationDays:void 0,domain:void 0}},options:function(e){if(0===arguments.length)return _t;e=e||{},_t.expirationDays=e.expirationDays,_t.secure=e.secure,_t.sameSite=e.sameSite;var t=it(e.domain)?"."+Ot(ft().href):e.domain,n=Math.random();_t.domain=t,jt("amplitude_test",n);var r=It("amplitude_test");return r&&r===n||(t=null),At("amplitude_test"),_t.domain=t,_t},get:It,set:jt,remove:At,setRaw:function(e,t){try{return vt(Et(e),t,_t),!0}catch(e){return!1}},getRaw:function(e){var t=Et(e)+"=";return wt(t)}},Pt=function(){function e(){z(this,e),this.map=new Map,this.length=0}return G(e,[{key:"key",value:function(e){var t=Array.from(this.map.keys())[e];return this.map.get(t)}},{key:"getItem",value:function(e){return this.map.get(e)}},{key:"setItem",value:function(e,t){this.map.has(e)||(this.length+=1),this.map.set(e,t)}},{key:"removeItem",value:function(e){this.map.has(e)&&(this.length-=1,this.map.delete(e))}},{key:"clear",value:function(){this.map.clear(),this.length=0}}]),e}();if(function(){var e,t=new Date;try{return Be.localStorage.setItem(t,t),e=Be.localStorage.getItem(t)===String(t),Be.localStorage.removeItem(t),e}catch(e){}return!1}())Ge=Be.localStorage;else if(void 0!==Be&&Be.globalStorage)try{Ge=Be.globalStorage[Be.location.hostname]}catch(e){}else if("undefined"!=typeof document){var Rt=document.createElement("div"),Nt="localStorage";Rt.style.display="none",document.getElementsByTagName("head")[0].appendChild(Rt),Rt.addBehavior&&(Rt.addBehavior("#default#userdata"),Ge={length:0,setItem:function(e,t){Rt.load(Nt),Rt.getAttribute(e)||this.length++,Rt.setAttribute(e,t),Rt.save(Nt)},getItem:function(e){return Rt.load(Nt),Rt.getAttribute(e)},removeItem:function(e){Rt.load(Nt),Rt.getAttribute(e)&&this.length--,Rt.removeAttribute(e),Rt.save(Nt)},clear:function(){Rt.load(Nt);for(var e,t=0;e=Rt.XMLDocument.documentElement.attributes[t++];)Rt.removeAttribute(e.name);Rt.save(Nt),this.length=0},key:function(e){return Rt.load(Nt),Rt.XMLDocument.documentElement.attributes[e]}},Rt.load(Nt),Ge.length=Rt.XMLDocument.documentElement.attributes.length)}else ot()&&(Ge=new Pt);Ge||(Ge={length:0,setItem:function(e,t){},getItem:function(e){},removeItem:function(e){},clear:function(){},key:function(e){}});var Dt,Ut=Ge,qt=function(){this.storage=null};qt.prototype.getStorage=function(e){if(null!==this.storage)return this.storage;if(!e&&Tt())this.storage=Ct;else{var t="amp_cookiestore_";this.storage={_options:{expirationDays:void 0,domain:void 0,secure:!1},reset:function(){this._options={expirationDays:void 0,domain:void 0,secure:!1}},options:function(e){return 0===arguments.length?this._options:(e=e||{},this._options.expirationDays=e.expirationDays||this._options.expirationDays,this._options.domain=e.domain||this._options.domain||Be&&Be.location&&Be.location.hostname,this._options.secure=e.secure||!1)},get:function(e){try{return JSON.parse(Ut.getItem(t+e))}catch(e){}return null},set:function(e,n){try{return Ut.setItem(t+e,JSON.stringify(n)),!0}catch(e){}return!1},remove:function(e){try{Ut.removeItem(t+e)}catch(e){return!1}}}}return this.storage};var Lt=(W(Dt={},be,!0),W(Dt,ve,!0),W(Dt,we,!0),W(Dt,ke,!0),Dt),Ft=function(){function e(t){var n=t.storageKey,r=t.disableCookies,i=t.domain,o=t.secure,s=t.sameSite,a=t.expirationDays,c=t.storage;z(this,e),this.storageKey=n,this.domain=i,this.secure=o,this.sameSite=s,this.expirationDays=a,this.cookieDomain="";var u=ft()?ft().href:void 0,p=r?"":Ot(u);if(this.cookieDomain=i||(p?"."+p:null),Lt[c])this.storage=c;else{var d=r||!Tt({domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:this.expirationDays});this.storage=d?we:be}}return G(e,[{key:"getCookieStorageKey",value:function(){if(!this.domain)return this.storageKey;var e="."===this.domain.charAt(0)?this.domain.substring(1):this.domain;return"".concat(this.storageKey).concat(e?"_".concat(e):"")}},{key:"save",value:function(e){var t=e.deviceId,n=e.userId,r=e.optOut,i=e.sessionId,o=e.lastEventTime,s=e.eventId,a=e.identifyId,c=e.sequenceNumber;if(this.storage!==ve){var u=[t,$e.encode(n||""),r?"1":"",i?i.toString(32):"0",o?o.toString(32):"0",s?s.toString(32):"0",a?a.toString(32):"0",c?c.toString(32):"0"].join(".");switch(this.storage){case ke:Be.sessionStorage&&Be.sessionStorage.setItem(this.storageKey,u);break;case we:Ut.setItem(this.storageKey,u);break;case be:this.saveCookie(u)}}}},{key:"saveCookie",value:function(e){vt(this.getCookieStorageKey(),e,{domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:this.expirationDays})}},{key:"load",value:function(){var e,t=this;if(this.storage===be){var n=this.getCookieStorageKey()+"=",r=kt(n);if(0===r.length||1===r.length)e=r[0];else{var i=xt(r)[0];r.forEach((function(){return vt(t.getCookieStorageKey(),null,{})})),this.saveCookie(i),e=wt(n)}}if(e||(e=Ut.getItem(this.storageKey)),!e)try{e=Be.sessionStorage&&Be.sessionStorage.getItem(this.storageKey)}catch(e){rt.info('window.sessionStorage unavailable. Reason: "'.concat(e,'"'))}if(!e)return null;var o=e.split("."),s=null;if(o[ce])try{s=$e.decode(o[ce])}catch(e){s=null}return{deviceId:o[ae],userId:s,optOut:"1"===o[ue],sessionId:parseInt(o[pe],32),lastEventTime:parseInt(o[de],32),eventId:parseInt(o[le],32),identifyId:parseInt(o[he],32),sequenceNumber:parseInt(o[fe],32)}}},{key:"clear",value:function(){var e;if(this.storage===be&&(e=wt(this.getCookieStorageKey()+"="),vt(this.getCookieStorageKey(),null,{domain:this.cookieDomain,secure:this.secure,sameSite:this.sameSite,expirationDays:0})),e||(e=Ut.getItem(this.storageKey),Ut.clear()),!e)try{e=Be.sessionStorage&&Be.sessionStorage.getItem(this.storageKey),Be.sessionStorage.clear()}catch(e){rt.info('window.sessionStorage unavailable. Reason: "'.concat(e,'"'))}return!!e}}]),e}(),Mt="$clearAll",Bt=function(){this.userPropertiesOperations={},this.properties=[]};Bt.prototype.add=function(e,t){return"number"===Je(t)||"string"===Je(t)?this._addOperation("$add",e,t):rt.error("Unsupported type for value: "+Je(t)+", expecting number or string"),this},Bt.prototype.append=function(e,t){return this._addOperation("$append",e,t),this},Bt.prototype.clearAll=function(){return Object.keys(this.userPropertiesOperations).length>0?(Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,Mt)||rt.error("Need to send $clearAll on its own Identify object without any other operations, skipping $clearAll"),this):(this.userPropertiesOperations.$clearAll="-",this)},Bt.prototype.prepend=function(e,t){return this._addOperation("$prepend",e,t),this},Bt.prototype.set=function(e,t){return this._addOperation("$set",e,t),this},Bt.prototype.setOnce=function(e,t){return this._addOperation("$setOnce",e,t),this},Bt.prototype.unset=function(e){return this._addOperation("$unset",e,"-"),this},Bt.prototype.preInsert=function(e,t){return this._addOperation("$preInsert",e,t),this},Bt.prototype.postInsert=function(e,t){return this._addOperation("$postInsert",e,t),this},Bt.prototype.remove=function(e,t){return this._addOperation("$remove",e,t),this},Bt.prototype._addOperation=function(e,t,n){Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,Mt)?rt.error("This identify already contains a $clearAll operation, skipping operation "+e):-1===this.properties.indexOf(t)?(Object.prototype.hasOwnProperty.call(this.userPropertiesOperations,e)||(this.userPropertiesOperations[e]={}),this.userPropertiesOperations[e][t]=n,this.properties.push(t)):rt.error('User property "'+t+'" already used in this identify, skipping operation '+e)};var $t=function(e,t,n){this.url=e,this.data=t||{},this.headers=n};$t.prototype.send=function(e){if(!!Be.XDomainRequest){var t=new Be.XDomainRequest;t.open("POST",this.url,!0),t.onload=function(){e(200,t.responseText)},t.onerror=function(){"Request Entity Too Large"===t.responseText?e(413,t.responseText):e(500,t.responseText)},t.ontimeout=function(){},t.onprogress=function(){},t.send(j.stringify(this.data))}else if("undefined"!=typeof XMLHttpRequest){var n=new XMLHttpRequest;n.open("POST",this.url,!0),n.onreadystatechange=function(){4===n.readyState&&e(n.status,n.responseText)},function(e,t){for(var n in t)("Cross-Origin-Resource-Policy"!==n||t[n])&&e.setRequestHeader(n,t[n])}(n,this.headers),n.send(j.stringify(this.data))}else{var r=void 0;fetch(this.url,{method:"POST",headers:this.headers,body:j.stringify(this.data)}).then((function(e){return r=e.status,e.text()})).then((function(t){e(r,t)}))}};var zt=function(){this._price=null,this._productId=null,this._quantity=1,this._revenueType=null,this._properties=null};zt.prototype.setProductId=function(e){return"string"!==Je(e)?rt.error("Unsupported type for productId: "+Je(e)+", expecting string"):it(e)?rt.error("Invalid empty productId"):this._productId=e,this},zt.prototype.setQuantity=function(e){return"number"!==Je(e)?rt.error("Unsupported type for quantity: "+Je(e)+", expecting number"):this._quantity=parseInt(e),this},zt.prototype.setPrice=function(e){return"number"!==Je(e)?rt.error("Unsupported type for price: "+Je(e)+", expecting number"):this._price=e,this},zt.prototype.setRevenueType=function(e){return"string"!==Je(e)?rt.error("Unsupported type for revenueType: "+Je(e)+", expecting string"):this._revenueType=e,this},zt.prototype.setEventProperties=function(e){return"object"!==Je(e)?rt.error("Unsupported type for eventProperties: "+Je(e)+", expecting object"):this._properties=pt(e),this},zt.prototype._isValidRevenue=function(){return"number"===Je(this._price)||(rt.error("Invalid revenue, need to set price field"),!1)},zt.prototype._toJSONObject=function(){var e="object"===Je(this._properties)?this._properties:{};return null!==this._productId&&(e[Te]=this._productId),null!==this._quantity&&(e[Se]=this._quantity),null!==this._price&&(e[Oe]=this._price),null!==this._revenueType&&(e[_e]=this._revenueType),e};var Jt=function e(t){return t?(t^16*Math.random()>>t/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,e)},Gt="US",Wt="EU",Vt=function(e){var t=re;switch(e){case Wt:t=ie;break;case Gt:t=re}return t},Zt="8.21.9",Ht={apiEndpoint:re,batchEvents:!1,cookieExpiration:365,cookieName:"amplitude_id",sameSiteCookie:"Lax",cookieForceUpgrade:!1,deferInitialization:!1,disableCookies:!1,deviceIdFromUrlParam:!1,domain:"",eventUploadPeriodMillis:3e4,eventUploadThreshold:30,forceHttps:!0,includeFbclid:!1,includeGclid:!1,includeReferrer:!1,includeUtm:!1,ingestionMetadata:{sourceName:"",sourceVersion:""},language:function(){return"undefined"!=typeof navigator&&(navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage)||""}(),library:{name:"amplitude-js",version:Zt},logLevel:"WARN",logAttributionCapturedEvent:!1,optOut:!1,onError:function(){},onExitPage:function(){},onNewSessionStart:function(){},plan:{branch:"",source:"",version:"",versionId:""},platform:"Web",savedMaxCount:1e3,saveEvents:!0,saveParamsReferrerOncePerSession:!0,secureCookie:!1,sessionTimeout:18e5,storage:ye,trackingOptions:{city:!0,country:!0,carrier:!0,device_manufacturer:!0,device_model:!0,dma:!0,ip_address:!0,language:!0,os_name:!0,os_version:!0,platform:!0,region:!0,version_name:!0},transport:qe,unsetParamsReferrerOnNewSession:!1,unsentKey:"amplitude_unsent",unsentIdentifyKey:"amplitude_unsent_identify",uploadBatchSize:100,headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8","Cross-Origin-Resource-Policy":"cross-origin"},serverZone:Gt,useDynamicConfig:!1,serverZoneBasedApi:!1,sessionId:null,partnerId:""},Kt=new(function(){function e(){return z(this,e),e.instance||(this.ingestionEndpoint=re,e.instance=this),e.instance}return G(e,[{key:"refresh",value:function(e,t,n){var r="https";t||"https:"===Be.location.protocol||(r="http");var i=r+"://"+function(e){var t=oe;switch(e){case Wt:t=se;break;case Gt:t=oe}return t}(e),o=this;if(!!Be.XDomainRequest){var s=new Be.XDomainRequest;s.open("GET",i,!0),s.onload=function(){var e=JSON.parse(s.responseText);o.ingestionEndpoint=e.ingestionEndpoint,n&&n()},s.onerror=function(){},s.ontimeout=function(){},s.onprogress=function(){},s.send()}else{var a=new XMLHttpRequest;a.open("GET",i,!0),a.onreadystatechange=function(){if(4===a.readyState&&200===a.status){var e=JSON.parse(a.responseText);o.ingestionEndpoint=e.ingestionEndpoint,n&&n()}},a.send()}}}]),e}()),Xt=function(e){i()||ot()||rt.warn("amplitude-js will not work in a non-browser environment. If you are planning to add Amplitude to a node environment, please use @amplitude/node"),this._instanceName=it(e)?X:e.toLowerCase(),this._unsentEvents=[],this._unsentIdentifys=[],this.options=B(B({},Ht),{},{headers:B({},Ht.headers),ingestionMetadata:B({},Ht.ingestionMetadata),library:B({},Ht.library),plan:B({},Ht.plan),trackingOptions:B({},Ht.trackingOptions)}),this._q=[],this._sending=!1,this._updateScheduled=!1,this._onInitCallbacks=[],this._onNewSessionStartCallbacks=[],this._eventId=0,this._identifyId=0,this._lastEventTime=null,this._newSession=!1,this._sequenceNumber=0,this._sessionId=null,this._isInitialized=!1,this._connector=null,this._userAgent="undefined"!=typeof navigator&&navigator&&navigator.userAgent||null,this._ua=new(C())(this._userAgent).getResult()};Xt.prototype.Identify=Bt,Xt.prototype.Revenue=zt,Xt.prototype.init=function(e,t,n,r){var o=this;if("string"!==Je(e)||it(e))rt.error("Invalid apiKey. Please re-initialize with a valid apiKey");else try{this._connector=F.getInstance(this._instanceName),Qt(this.options,n),(i()||ot())&&void 0!==Be.Prototype&&Array.prototype.toJSON&&(!function(){var e;if(i()){var t=window,n=Array;if(void 0!==t.Prototype&&void 0!==(null===(e=n.prototype)||void 0===e?void 0:e.toJSON))return delete n.prototype.toJSON,!0}}(),rt.warn("Prototype.js injected Array.prototype.toJSON. Deleting Array.prototype.toJSON to prevent double-stringify")),this.options.cookieName!==Ht.cookieName&&rt.warn("The cookieName option is deprecated. We will be ignoring it for newer cookies"),this.options.serverZoneBasedApi&&(this.options.apiEndpoint=Vt(this.options.serverZone)),this._refreshDynamicConfig(),this.options.apiKey=e,this._storageSuffix="_"+e+(this._instanceName===X?"":"_"+this._instanceName),this._storageSuffixV5=e.slice(0,6),this._oldCookiename=this.options.cookieName+this._storageSuffix,this._unsentKey=this.options.unsentKey+this._storageSuffix,this._unsentIdentifyKey=this.options.unsentIdentifyKey+this._storageSuffix,this._cookieName=ge+"_"+this._storageSuffixV5,this.cookieStorage=(new qt).getStorage(this.options.disableCookies),this.cookieStorage.options({expirationDays:this.options.cookieExpiration,domain:this.options.domain,secure:this.options.secureCookie,sameSite:this.options.sameSiteCookie}),this._metadataStorage=new Ft({storageKey:this._cookieName,disableCookies:this.options.disableCookies,expirationDays:this.options.cookieExpiration,domain:this.options.domain,secure:this.options.secureCookie,sameSite:this.options.sameSiteCookie,storage:this.options.storage});var s=!!this.cookieStorage.get(this._oldCookiename),a=!!this._metadataStorage.load();this._useOldCookie=!a&&s&&!this.options.cookieForceUpgrade;var c=a||s;if(this.options.deferInitialization&&!c)return void this._deferInitialization(e,t,n,r);this.options.domain=this.cookieStorage.options().domain,"string"===Je(this.options.logLevel)&&nt(this.options.logLevel);var u=pn(this);this._apiPropertiesTrackingOptions=Object.keys(u).length>0?{tracking_options:u}:{},this.options.cookieForceUpgrade&&s&&(a||tn(this),this.cookieStorage.remove(this._oldCookiename)),en(this),this._pendingReadStorage=!0;this.options.saveEvents&&(this._unsentEvents=this._loadSavedUnsentEvents(this.options.unsentKey).map((function(e){return{event:e}})).concat(this._unsentEvents),this._unsentIdentifys=this._loadSavedUnsentEvents(this.options.unsentIdentifyKey).map((function(e){return{event:e}})).concat(this._unsentIdentifys)),n&&n.onNewSessionStart&&this.onNewSessionStart(this.options.onNewSessionStart),function(e){n&&n.deviceId&&!dt(n.deviceId)&&(rt.error('Invalid device ID rejected. Randomly generated UUID will be used instead of "'.concat(n.deviceId,'"')),delete n.deviceId),o.options.deviceId=o._getInitialDeviceId(n&&n.deviceId,e),o.options.userId="string"===Je(t)&&!it(t)&&t||"number"===Je(t)&&t.toString()||o.options.userId||null;var r=(new Date).getTime(),i=!o._sessionId||!o._lastEventTime||r-o._lastEventTime>o.options.sessionTimeout||o.options.sessionId;i&&(o.options.unsetParamsReferrerOnNewSession&&o._unsetUTMParams(),o._newSession=!0,o._sessionId=o.options.sessionId||r,o.options.sessionId=void 0,o.options.saveParamsReferrerOncePerSession&&o._trackParamsAndReferrer()),o.options.saveParamsReferrerOncePerSession||o._trackParamsAndReferrer(),o.options.saveEvents&&(Yt(o._unsentEvents),Yt(o._unsentIdentifys)),o._lastEventTime=r,rn(o),o._pendingReadStorage=!1,o._sendEventsIfReady();for(var s=0;s<o._onInitCallbacks.length;s++)o._onInitCallbacks[s](o);o._onInitCallbacks=[],o._isInitialized=!0,i&&o._runNewSessionStartCallbacks()}(),this.runQueuedFunctions(),"function"===Je(r)&&r(this);var p=this.options.onExitPage;if("function"===Je(p)&&Be.addEventListener&&!this.pageHandlersAdded){this.pageHandlersAdded=!0;Be.addEventListener("pagehide",(function(){var e;e=o.options.transport,o.setTransport(Le),p(),o.setTransport(e)}),!1)}this._connector.eventBridge.setEventReceiver((function(e){o._logEvent(e.eventType,e.eventProperties,e.userProperties)}));var d=this._connector.identityStore.editIdentity();this.options.deviceId&&d.setDeviceId(this.options.deviceId),this.options.userId&&d.setUserId(this.options.userId),d.commit()}catch(e){rt.error(e),n&&"function"===Je(n.onError)&&n.onError(e)}},Xt.prototype._runNewSessionStartCallbacks=function(){for(var e=0;e<this._onNewSessionStartCallbacks.length;e++)this._onNewSessionStartCallbacks[e](this)},Xt.prototype.deleteLowerLevelDomainCookies=function(){var e=mt(),t=this.options.domain&&"."===this.options.domain[0]?this.options.domain.slice(1):this.options.domain;if(t&&ot()&&e!==t&&new RegExp(t+"$").test(e)){for(var n=e.split("."),r=t.split("."),i=n.length;i>r.length;--i){var o=n.slice(n.length-i).join(".");vt(this._cookieName,null,{domain:"."+o})}vt(this._cookieName,null,{})}},Xt.prototype._getInitialDeviceId=function(e,t){if(e)return e;if(this.options.deviceIdFromUrlParam){var n=this._getDeviceIdFromUrlParam(this._getUrlParams());if(n)return n}return this.options.deviceId?this.options.deviceId:t||St()};var Yt=function(e){for(var t=0;t<e.length;t++){var n=e[t].event.user_properties,r=e[t].event.event_properties,i=e[t].event.groups;e[t].event.user_properties=pt(n),e[t].event.event_properties=pt(r),e[t].event.groups=ct(i)}};Xt.prototype._trackParamsAndReferrer=function(){var e,t,n,r;if(this.options.includeUtm&&(e=this._initUtmData()),this.options.includeReferrer&&(t=this._saveReferrer(this._getReferrer())),this.options.includeGclid&&(n=this._saveGclid(this._getUrlParams())),this.options.includeFbclid&&(r=this._saveFbclid(this._getUrlParams())),this.options.logAttributionCapturedEvent){var i=B(B(B(B({},e),t),n),r);Object.keys(i).length>0&&this.logEvent(Ue,i)}};var Qt=function e(t,n){if("object"===Je(n)){var r=new Set(["headers"]),i=new Set(["eventUploadPeriodMillis"]),o=function(r){if(Object.prototype.hasOwnProperty.call(t,r)){var o=n[r],s=Je(t[r]);("transport"!==r||lt(o))&&("sessionId"!==r||null===o?ut(o,r+" option",s)&&("boolean"===s?t[r]=!!o:"string"===s&&!it(o)||"number"===s&&(o>0||0===o&&i.has(r))||"function"===s?t[r]=o:"object"===s&&e(t[r],o)):t[r]=ht(o)?o:null)}};for(var s in n)r.has(s)?t[s]=B(B({},t[s]),n[s]):Object.prototype.hasOwnProperty.call(n,s)&&o(s)}};Xt.prototype.runQueuedFunctions=function(){var e=this._q;this._q=[];for(var t=0;t<e.length;t++){var n=this[e[t][0]];"function"===Je(n)&&n.apply(this,e[t].slice(1))}},Xt.prototype._apiKeySet=function(e){return!it(this.options.apiKey)||(rt.error("Invalid apiKey. Please set a valid apiKey with init() before calling "+e),!1)},Xt.prototype._loadSavedUnsentEvents=function(e){var t=this._getFromStorage(Ut,e),n=this._parseSavedUnsentEventsString(t,e);return this._setInStorage(Ut,e,JSON.stringify(n)),n},Xt.prototype._parseSavedUnsentEventsString=function(e,t){if(it(e))return[];if("string"===Je(e))try{var n=JSON.parse(e);if("array"===Je(n))return n}catch(e){}return rt.error("Unable to load "+t+" events. Restart with a new empty queue."),[]},Xt.prototype.isNewSession=function(){return this._newSession},Xt.prototype.onInit=function(e){this._isInitialized?e(this):this._onInitCallbacks.push(e)},Xt.prototype.onNewSessionStart=function(e){this._onNewSessionStartCallbacks.push(e)},Xt.prototype.getSessionId=function(){return this._sessionId},Xt.prototype.nextEventId=function(){return this._eventId++,this._eventId},Xt.prototype.nextIdentifyId=function(){return this._identifyId++,this._identifyId},Xt.prototype.nextSequenceNumber=function(){return this._sequenceNumber++,this._sequenceNumber},Xt.prototype._unsentCount=function(){return this._unsentEvents.length+this._unsentIdentifys.length},Xt.prototype._sendEventsIfReady=function(){return 0!==this._unsentCount()&&(this.options.batchEvents?this._unsentCount()>=this.options.eventUploadThreshold||this.options.transport===Le?(this.sendEvents(),!0):(this._updateScheduled||(this._updateScheduled=!0,setTimeout(function(){this._updateScheduled=!1,this.sendEvents()}.bind(this),this.options.eventUploadPeriodMillis)),!1):(this.sendEvents(),!0))},Xt.prototype.clearStorage=function(){return this._metadataStorage.clear()},Xt.prototype._getFromStorage=function(e,t){return e.getItem(t+this._storageSuffix)},Xt.prototype._setInStorage=function(e,t,n){e.setItem(t+this._storageSuffix,n)};var en=function(e){if(e._useOldCookie){var t=e.cookieStorage.get(e._oldCookiename);"object"!==Je(t)||nn(e,t)}else{var n=e._metadataStorage.load();"object"===Je(n)&&nn(e,n)}},tn=function(e){var t=e.cookieStorage.get(e._oldCookiename);"object"===Je(t)&&(nn(e,t),rn(e))},nn=function(e,t){t.deviceId&&(e.options.deviceId=t.deviceId),t.userId&&(e.options.userId=t.userId),null!==t.optOut&&void 0!==t.optOut&&!1!==t.optOut&&(e.options.optOut=t.optOut),t.sessionId&&(e._sessionId=parseInt(t.sessionId,10)),t.lastEventTime&&(e._lastEventTime=parseInt(t.lastEventTime,10)),t.eventId&&(e._eventId=parseInt(t.eventId,10)),t.identifyId&&(e._identifyId=parseInt(t.identifyId,10)),t.sequenceNumber&&(e._sequenceNumber=parseInt(t.sequenceNumber,10))},rn=function(e){var t={deviceId:e.options.deviceId,userId:e.options.userId,optOut:e.options.optOut,sessionId:e._sessionId,lastEventTime:e._lastEventTime,eventId:e._eventId,identifyId:e._identifyId,sequenceNumber:e._sequenceNumber};e._useOldCookie?e.cookieStorage.set(e.options.cookieName+e._storageSuffix,t):e._metadataStorage.save(t)};Xt.prototype._initUtmData=function(e,t){e=e||this._getUrlParams(),t=t||this.cookieStorage.get("__utmz");var n,r,i,o,s,a,c,u,p,d,l,h=(r=e,i=(n=t)?"?"+n.split(".").slice(-1)[0].replace(/\|/g,"&"):"",o=function(e,t,n,r){return st(e,t)||st(n,r)},s=o(Ce,r,"utmcsr",i),a=o(Pe,r,"utmcmd",i),c=o(Re,r,"utmccn",i),u=o(Ne,r,"utmctr",i),p=o(De,r,"utmcct",i),d={},(l=function(e,t){it(t)||(d[e]=t)})(Ce,s),l(Pe,a),l(Re,c),l(Ne,u),l(De,p),d);return on(this,h),h},Xt.prototype._unsetUTMParams=function(){var e=new Bt;e.unset(je),e.unset(Ae),e.unset(Ce),e.unset(Pe),e.unset(Re),e.unset(Ne),e.unset(De),this.identify(e)};var on=function(e,t){if("object"===Je(t)&&0!==Object.keys(t).length){var n=new Bt;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n.setOnce("initial_"+r,t[r]),n.set(r,t[r]));e.identify(n)}};Xt.prototype._getReferrer=function(){var e=this._getReferrerFromUrlParam(this._getUrlParams());return e||("undefined"!=typeof document?document.referrer:"")},Xt.prototype._getUrlParams=function(){return Be.location.search},Xt.prototype._saveGclid=function(e){var t=st("gclid",e);if(!it(t)){var n={gclid:t};return on(this,n),n}},Xt.prototype._saveFbclid=function(e){var t=st("fbclid",e);if(!it(t)){var n={fbclid:t};return on(this,n),n}},Xt.prototype._getDeviceIdFromUrlParam=function(e){return st(Ee,e)},Xt.prototype._getReferrerFromUrlParam=function(e){return st(Ie,e)},Xt.prototype._getReferringDomain=function(e){if(it(e))return null;var t=e.split("/");return t.length>=3?t[2]:null},Xt.prototype._saveReferrer=function(e){if(!it(e)){var t={referrer:e,referring_domain:this._getReferringDomain(e)};return on(this,t),t}},Xt.prototype.saveEvents=function(){try{var e=JSON.stringify(this._unsentEvents.map((function(e){return e.event})));this._setInStorage(Ut,this.options.unsentKey,e)}catch(e){}try{var t=JSON.stringify(this._unsentIdentifys.map((function(e){return e.event})));this._setInStorage(Ut,this.options.unsentIdentifyKey,t)}catch(e){}},Xt.prototype.setDomain=function(e){if(this._shouldDeferCall())return this._q.push(["setDomain"].concat(Array.prototype.slice.call(arguments,0)));if(ut(e,"domain","string"))try{this.cookieStorage.options({expirationDays:this.options.cookieExpiration,secure:this.options.secureCookie,domain:e,sameSite:this.options.sameSiteCookie}),this.options.domain=this.cookieStorage.options().domain,en(this),rn(this)}catch(e){rt.error(e)}},Xt.prototype.setUserId=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(ut(t,"startNewSession","boolean")){if(this._shouldDeferCall())return this._q.push(["setUserId"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.userId=null!=e&&""+e||null,t&&(this.options.unsetParamsReferrerOnNewSession&&this._unsetUTMParams(),this._newSession=!0,this._sessionId=(new Date).getTime(),this._runNewSessionStartCallbacks(),this.options.saveParamsReferrerOncePerSession&&this._trackParamsAndReferrer()),rn(this),this._connector&&this._connector.identityStore.editIdentity().setUserId(this.options.userId).commit()}catch(e){rt.error(e)}}},Xt.prototype.setGroup=function(e,t){if(this._shouldDeferCall())return this._q.push(["setGroup"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("setGroup()")&&ut(e,"groupType","string")&&!it(e)){var n={};n[e]=t;var r=(new Bt).set(e,t);this._logEvent(te,null,null,r.userPropertiesOperations,n,null,null,null)}},Xt.prototype.setOptOut=function(e){if(this._shouldDeferCall())return this._q.push(["setOptOut"].concat(Array.prototype.slice.call(arguments,0)));if(ut(e,"enable","boolean"))try{this.options.optOut=e,rn(this)}catch(e){rt.error(e)}},Xt.prototype.setSessionId=function(e){if(ut(e,"sessionId","number"))try{this._sessionId=e,rn(this)}catch(e){rt.error(e)}},Xt.prototype.resetSessionId=function(){this.setSessionId((new Date).getTime())},Xt.prototype.regenerateDeviceId=function(){if(this._shouldDeferCall())return this._q.push(["regenerateDeviceId"].concat(Array.prototype.slice.call(arguments,0)));this.setDeviceId(St())},Xt.prototype.setDeviceId=function(e){if(this._shouldDeferCall())return this._q.push(["setDeviceId"].concat(Array.prototype.slice.call(arguments,0)));if(dt(e))try{it(e)||(this.options.deviceId=""+e,rn(this),this._connector&&this._connector.identityStore.editIdentity().setDeviceId(this.options.deviceId).commit())}catch(e){rt.error(e)}},Xt.prototype.setTransport=function(e){if(this._shouldDeferCall())return this._q.push(["setTransport"].concat(Array.prototype.slice.call(arguments,0)));lt(e)&&(this.options.transport=e)},Xt.prototype.setUserProperties=function(e){if(this._shouldDeferCall())return this._q.push(["setUserProperties"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("setUserProperties()")&&ut(e,"userProperties","object")){var t=at(pt(e));if(0!==Object.keys(t).length){var n=new Bt;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&n.set(r,t[r]);this.identify(n)}}},Xt.prototype.clearUserProperties=function(){if(this._shouldDeferCall())return this._q.push(["clearUserProperties"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("clearUserProperties()")){var e=new Bt;e.clearAll(),this.identify(e)}};var sn=function(e,t){for(var n=0;n<t._q.length;n++){var r=e[t._q[n][0]];"function"===Je(r)&&r.apply(e,t._q[n].slice(1))}return e};Xt.prototype.identify=function(e,t,n,r){if(this._shouldDeferCall())return this._q.push(["identify"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("identify()"))if("object"===Je(e)&&Object.prototype.hasOwnProperty.call(e,"_q")&&(e=sn(new Bt,e)),e instanceof Bt){if(Object.keys(e.userPropertiesOperations).length>0)return this._logEvent(te,null,null,e.userPropertiesOperations,null,null,null,t,n,r);ln(t,n,0,"No request sent",{reason:"No user property operations"})}else rt.error("Invalid identify input type. Expected Identify object but saw "+Je(e)),ln(t,n,0,"No request sent",{reason:"Invalid identify input type"});else ln(t,n,0,"No request sent",{reason:"API key is not set"})},Xt.prototype.groupIdentify=function(e,t,n,r,i,o){if(this._shouldDeferCall())return this._q.push(["groupIdentify"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("groupIdentify()"))if(ut(e,"group_type","string")&&!it(e))if(null!=t)if("object"===Je(n)&&Object.prototype.hasOwnProperty.call(n,"_q")&&(n=sn(new Bt,n)),n instanceof Bt){if(Object.keys(n.userPropertiesOperations).length>0)return this._logEvent(ne,null,null,null,W({},e,t),n.userPropertiesOperations,null,r,i,o);ln(r,i,0,"No request sent",{reason:"No group property operations"})}else rt.error("Invalid identify input type. Expected Identify object but saw "+Je(n)),ln(r,i,0,"No request sent",{reason:"Invalid identify input type"});else ln(r,i,0,"No request sent",{reason:"Invalid group name"});else ln(r,i,0,"No request sent",{reason:"Invalid group type"});else ln(r,i,0,"No request sent",{reason:"API key is not set"})},Xt.prototype.setVersionName=function(e){if(this._shouldDeferCall())return this._q.push(["setVersionName"].concat(Array.prototype.slice.call(arguments,0)));ut(e,"versionName","string")&&(this.options.versionName=e)},Xt.prototype._logEvent=function(e,t,n,r,i,o,s,a,c,u){if(en(this),e)if(this.options.optOut)ln(a,c,0,"No request sent",{reason:"optOut is set to true"});else try{var p;p=e===te||e===ne?this.nextIdentifyId():this.nextEventId();var d=this.nextSequenceNumber(),l="number"===Je(s)?s:(new Date).getTime();u?this._sessionId=-1:(!this._sessionId||!this._lastEventTime||l-this._lastEventTime>this.options.sessionTimeout)&&(this._sessionId=l,this._runNewSessionStartCallbacks()),this._lastEventTime=l,rn(this);var h=this._ua.browser.name,f=this._ua.browser.major,m=this._ua.device.model||this._ua.os.name,g=this._ua.device.vendor;r=r||{};var y=B({},this._apiPropertiesTrackingOptions);n=B(B({},n||{}),y),t=t||{},i=i||{},o=o||{};var b={device_id:this.options.deviceId,user_id:this.options.userId,timestamp:l,event_id:p,session_id:this._sessionId||-1,event_type:e,version_name:this.options.versionName||null,platform:un(this,"platform")?this.options.platform:null,os_name:un(this,"os_name")&&h||null,os_version:un(this,"os_version")&&f||null,device_model:un(this,"device_model")&&m||null,device_manufacturer:un(this,"device_manufacturer")&&g||null,language:un(this,"language")?this.options.language:null,api_properties:n,event_properties:at(pt(t)),user_properties:at(pt(r)),uuid:Jt(),library:this.options.library,sequence_number:d,groups:at(ct(i)),group_properties:at(pt(o)),user_agent:this._userAgent,partner_id:this.options.partnerId||null};return an(this)&&(b.plan={branch:this.options.plan.branch||void 0,source:this.options.plan.source||void 0,version:this.options.plan.version||void 0,versionId:this.options.plan.versionId||void 0}),cn(this)&&(b.ingestion_metadata={source_name:this.options.ingestionMetadata.sourceName||void 0,source_version:this.options.ingestionMetadata.sourceVersion||void 0}),e===te||e===ne?(this._unsentIdentifys.push({event:b,callback:a,errorCallback:c}),this._limitEventsQueued(this._unsentIdentifys)):(this._unsentEvents.push({event:b,callback:a,errorCallback:c}),this._limitEventsQueued(this._unsentEvents)),this.options.saveEvents&&this.saveEvents(),this._sendEventsIfReady(),e===te&&this._connector&&this._connector.identityStore.editIdentity().updateUserProperties(at(pt(r))).commit(),p}catch(e){rt.error(e)}else ln(a,c,0,"No request sent",{reason:"Missing eventType"})};var an=function(e){return e.options.plan&&(e.options.plan.source||e.options.plan.branch||e.options.plan.version||e.options.plan.versionId)},cn=function(e){return e.options.ingestionMetadata&&(e.options.ingestionMetadata.sourceName||e.options.ingestionMetadata.sourceVersion)},un=function(e,t){return!!e.options.trackingOptions[t]},pn=function(e){for(var t=["city","country","dma","ip_address","region"],n={},r=0;r<t.length;r++){var i=t[r];un(e,i)||(n[i]=!1)}return n};Xt.prototype._limitEventsQueued=function(e){e.length>this.options.savedMaxCount&&e.splice(0,e.length-this.options.savedMaxCount).forEach((function(e){ln(e.callback,e.errorCallback,0,"No request sent",{reason:"Event dropped because options.savedMaxCount exceeded. User may be offline or have a content blocker"})}))},Xt.prototype.logEvent=function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return this._shouldDeferCall()?this._q.push(["logEvent"].concat(Array.prototype.slice.call(arguments,0))):this.logEventWithTimestamp(e,t,null,n,r,i)},Xt.prototype.logEventWithTimestamp=function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return this._shouldDeferCall()?this._q.push(["logEventWithTimestamp"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logEvent()")?ut(e,"eventType","string")?it(e)?(ln(r,i,0,"No request sent",{reason:"Missing eventType"}),-1):(ut(o,"outOfSession","boolean")||ln(r,i,0,"No request sent",{reason:"Invalid outOfSession value"}),this._logEvent(e,t,null,null,null,null,n,r,i,o)):(ln(r,i,0,"No request sent",{reason:"Invalid type for eventType"}),-1):(ln(r,i,0,"No request sent",{reason:"API key not set"}),-1)},Xt.prototype.logEventWithGroups=function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5];return this._shouldDeferCall()?this._q.push(["logEventWithGroups"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logEventWithGroups()")?ut(e,"eventType","string")?(ut(o,"outOfSession","boolean")||ln(event.callback,event.errorCallback,0,"No request sent",{reason:"Invalid outOfSession value"}),this._logEvent(e,t,null,null,n,null,null,r,i,o)):(ln(event.callback,event.errorCallback,0,"No request sent",{reason:"Invalid type for eventType"}),-1):(ln(event.callback,event.errorCallback,0,"No request sent",{reason:"API key not set"}),-1)};var dn=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},ln=function(e,t,n,r,i){"function"===Je(e)&&e(n,r,i),"function"===Je(t)&&t(n,r,i)};Xt.prototype.logRevenueV2=function(e){if(this._shouldDeferCall())return this._q.push(["logRevenueV2"].concat(Array.prototype.slice.call(arguments,0)));if(this._apiKeySet("logRevenueV2()"))if("object"===Je(e)&&Object.prototype.hasOwnProperty.call(e,"_q")&&(e=sn(new zt,e)),e instanceof zt){if(e&&e._isValidRevenue())return this.logEvent(xe,e._toJSONObject())}else rt.error("Invalid revenue input type. Expected Revenue object but saw "+Je(e))},Xt.prototype.logRevenue=function(e,t,n){return this._shouldDeferCall()?this._q.push(["logRevenue"].concat(Array.prototype.slice.call(arguments,0))):this._apiKeySet("logRevenue()")&&dn(e)&&(void 0===t||dn(t))?this._logEvent(xe,{},{productId:n,special:"revenue_amount",quantity:t||1,price:e},null,null,null,null,null):-1},Xt.prototype._logErrorsOnEvents=function(e,t,n,r){for(var i=["_unsentEvents","_unsentIdentifys"],o=0;o<i.length;o++)for(var s=i[o],a="_unsentEvents"===s?e:t,c=0;c<this[s].length;c++){var u=this[s][c];u.event.event_id<=a&&u.errorCallback&&u.errorCallback(n,r)}},Xt.prototype.removeEvents=function(e,t,n,r){hn(this,"_unsentEvents",e,n,r),hn(this,"_unsentIdentifys",t,n,r)};var hn=function(e,t,n,r,i){if(!(n<0)){for(var o=[],s=0;s<e[t].length;s++){var a=e[t][s];a.event.event_id>n?o.push(a):a.callback&&a.callback(r,i)}e[t]=o}};Xt.prototype.sendEvents=function(){if(this._apiKeySet("sendEvents()")){if(this.options.optOut)this.removeEvents(1/0,1/0,0,"No request sent",{reason:"Opt out is set to true"});else if(0!==this._unsentCount()){if(this.options.transport!==Le){if(this._sending)return;this._sending=!0}var e=(this.options.forceHttps||"https:"===Be.location.protocol?"https":"http")+"://"+this.options.apiEndpoint,t=Math.min(this._unsentCount(),this.options.uploadBatchSize),n=this._mergeEventsAndIdentifys(t),r=n.maxEventId,i=n.maxIdentifyId,o=JSON.stringify(n.eventsToSend.map((function(e){return e.event}))),a=(new Date).getTime(),c={client:this.options.apiKey,e:o,v:Y,upload_time:a,checksum:s()(Y+this.options.apiKey+o+a)};if(this.options.transport!==Le||"undefined"==typeof navigator){var u=this;try{new $t(e,c,this.options.headers).send((function(e,n){u._sending=!1;try{200===e?(u.removeEvents(r,i,e,n),u.options.saveEvents&&u.saveEvents(),u._sendEventsIfReady()):(u._logErrorsOnEvents(r,i,e,n),413===e&&(1===u.options.uploadBatchSize&&u.removeEvents(r,i,e,n),u.options.uploadBatchSize=Math.ceil(t/2),u.sendEvents()))}catch(e){}}))}catch(e){var p="Request failed to send";rt.error(p),u._logErrorsOnEvents(r,i,0,p),u.removeEvents(r,i,0,p,{reason:e.message})}}else{navigator.sendBeacon(e,new URLSearchParams(c))?(this.removeEvents(r,i,200,"success"),this.options.saveEvents&&this.saveEvents()):this._logErrorsOnEvents(r,i,0,"")}}}else this.removeEvents(1/0,1/0,0,"No request sent",{reason:"API key not set"})},Xt.prototype._mergeEventsAndIdentifys=function(e){for(var t=[],n=0,r=-1,i=0,o=-1;t.length<e;){var s=void 0,a=i>=this._unsentIdentifys.length,c=n>=this._unsentEvents.length;if(c&&a){rt.error("Merging Events and Identifys, less events and identifys than expected");break}a?r=(s=this._unsentEvents[n++]).event.event_id:c?o=(s=this._unsentIdentifys[i++]).event.event_id:!("sequence_number"in this._unsentEvents[n].event)||this._unsentEvents[n].event.sequence_number<this._unsentIdentifys[i].event.sequence_number?r=(s=this._unsentEvents[n++]).event.event_id:o=(s=this._unsentIdentifys[i++]).event.event_id,t.push(s)}return{eventsToSend:t,maxEventId:r,maxIdentifyId:o}},Xt.prototype.setGlobalUserProperties=function(e){this.setUserProperties(e)},Xt.prototype.__VERSION__=function(){return this.options.library.version},Xt.prototype.setLibrary=function(e,t){null!=e&&(this.options.library.name=e),null!=t&&(this.options.library.version=t)},Xt.prototype._shouldDeferCall=function(){return this._pendingReadStorage||this._initializationDeferred},Xt.prototype._deferInitialization=function(){this._initializationDeferred=!0,this._q.push(["init"].concat(Array.prototype.slice.call(arguments,0)))},Xt.prototype.enableTracking=function(){this._initializationDeferred=!1,rn(this),this.runQueuedFunctions()},Xt.prototype._refreshDynamicConfig=function(){this.options.useDynamicConfig&&Kt.refresh(this.options.serverZone,this.options.forceHttps,function(){this.options.apiEndpoint=Kt.ingestionEndpoint}.bind(this))},Xt.prototype.getDeviceId=function(){return this.options.deviceId},Xt.prototype.getUserId=function(){return this.options.userId},Xt.prototype.setMinTimeBetweenSessionsMillis=function(e){if(ut(e,"timeInMillis","number")){if(this._shouldDeferCall())return this._q.push(["setMinTimeBetweenSessionsMillis"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.sessionTimeout=e}catch(e){rt.error(e)}}},Xt.prototype.setEventUploadThreshold=function(e){if(ut(e,"eventUploadThreshold","number")){if(this._shouldDeferCall())return this._q.push(["setEventUploadThreshold"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.eventUploadThreshold=e}catch(e){rt.error(e)}}},Xt.prototype.setUseDynamicConfig=function(e){if(ut(e,"useDynamicConfig","boolean")){if(this._shouldDeferCall())return this._q.push(["setUseDynamicConfig"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.useDynamicConfig=e,this._refreshDynamicConfig()}catch(e){rt.error(e)}}},Xt.prototype.setServerZone=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((e===Wt||e===Gt)&&ut(t,"serverZoneBasedApi","boolean")){if(this._shouldDeferCall())return this._q.push(["setServerZone"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.serverZone=e,this.options.serverZoneBasedApi=t,t&&(this.options.apiEndpoint=Vt(this.options.serverZone))}catch(e){rt.error(e)}}},Xt.prototype.setServerUrl=function(e){if(ut(e,"serverUrl","string")){if(this._shouldDeferCall())return this._q.push(["setServerUrl"].concat(Array.prototype.slice.call(arguments,0)));try{this.options.apiEndpoint=e}catch(e){rt.error(e)}}};var fn=function(){this.options=B({},Ht),this._q=[],this._instances={}};fn.prototype.Identify=Bt,fn.prototype.Revenue=zt,fn.prototype.getInstance=function(e){e=it(e)?X:e.toLowerCase();var t=this._instances[e];return void 0===t&&(t=new Xt(e),this._instances[e]=t),t},fn.prototype.init=function(e,t,n,r){this.getInstance().init(e,t,n,function(e){this.options=e.options,"function"===Je(r)&&r(e)}.bind(this))},fn.prototype.isNewSession=function(){return this.getInstance().isNewSession()},fn.prototype.getSessionId=function(){return this.getInstance().getSessionId()},fn.prototype.nextEventId=function(){return this.getInstance().nextEventId()},fn.prototype.nextIdentifyId=function(){return this.getInstance().nextIdentifyId()},fn.prototype.nextSequenceNumber=function(){return this.getInstance().nextSequenceNumber()},fn.prototype.saveEvents=function(){this.getInstance().saveEvents()},fn.prototype.setDomain=function(e){this.getInstance().setDomain(e)},fn.prototype.setUserId=function(e){this.getInstance().setUserId(e)},fn.prototype.setGroup=function(e,t){this.getInstance().setGroup(e,t)},fn.prototype.setOptOut=function(e){this.getInstance().setOptOut(e)},fn.prototype.regenerateDeviceId=function(){this.getInstance().regenerateDeviceId()},fn.prototype.setDeviceId=function(e){this.getInstance().setDeviceId(e)},fn.prototype.setUserProperties=function(e){this.getInstance().setUserProperties(e)},fn.prototype.clearUserProperties=function(){this.getInstance().clearUserProperties()},fn.prototype.identify=function(e,t){this.getInstance().identify(e,t)},fn.prototype.setVersionName=function(e){this.getInstance().setVersionName(e)},fn.prototype.logEvent=function(e,t,n){return this.getInstance().logEvent(e,t,n)},fn.prototype.logEventWithGroups=function(e,t,n,r){return this.getInstance().logEventWithGroups(e,t,n,r)},fn.prototype.logRevenueV2=function(e){return this.getInstance().logRevenueV2(e)},fn.prototype.logRevenue=function(e,t,n){return this.getInstance().logRevenue(e,t,n)},fn.prototype.removeEvents=function(e,t){this.getInstance().removeEvents(e,t)},fn.prototype.sendEvents=function(e){this.getInstance().sendEvents(e)},fn.prototype.setGlobalUserProperties=function(e){this.getInstance().setUserProperties(e)},fn.prototype.__VERSION__=Zt;var mn=void 0!==Be&&Be.amplitude||{},gn=new fn;for(var yn in gn._q=mn._q||[],mn._iq)Object.prototype.hasOwnProperty.call(mn._iq,yn)&&(gn.getInstance(yn)._q=mn._iq[yn]._q||[]);var bn=n(4925);const vn="4.9.0";var wn=n(9876),kn=n(2257),xn=n(5741),Tn=n.n(xn),Sn=n(2249);const On={coconut:"extension-coconut",chrome:"extension-chrome",firefox:"extension-firefox",edge:"extension-edge"};let _n,En;const In=async(e=!1,t)=>{let{usageServerURL:n}=await browser.storage.local.get("usageServerURL");return!e&&_n&&n===En||(En=n,"default"===n&&(n="https://usage.deque.com"),_n=new(Tn())("axe-devtools-html",On[t||(0,Sn.q_)()]),_n.url(n)),_n};let jn=console;const An=()=>{const e={NODE_ENV:"production",COCONUT:"false",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,DOCS_SITE_URL:"https://docs.deque.com/devtools-html",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-whatslefttotest",ENV:"production",AXE_PRO_URL:"https://axe.deque.com",USAGE_SERVICE_URL:"https://usage.deque.com",AMPLITUDE_API_KEY:"a1ce09d0b14ddcc12ab7b508b6606a2f",DATADOG_CLIENT_TOKEN:"puba2eb4ed47c6eb69ce20ef237db754ff8"}.LOGGING_ENABLED;return"1"===e||"true"===e},Cn=(...e)=>{An()&&jn.warn(...e)};var Pn=n(6507);function Rn(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Nn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nn(Object(n),!0).forEach((function(t){Un(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Un(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const{AMPLITUDE_API_KEY:qn,DATADOG_CLIENT_TOKEN:Ln,NODE_ENV:Fn}={NODE_ENV:"production",COCONUT:"false",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,DOCS_SITE_URL:"https://docs.deque.com/devtools-html",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-whatslefttotest",ENV:"production",AXE_PRO_URL:"https://axe.deque.com",USAGE_SERVICE_URL:"https://usage.deque.com",AMPLITUDE_API_KEY:"a1ce09d0b14ddcc12ab7b508b6606a2f",DATADOG_CLIENT_TOKEN:"puba2eb4ed47c6eb69ce20ef237db754ff8"},Mn=gn.getInstance(),Bn="conversion:install",$n="conversion:uninstall",zn="user:login",Jn="user:open",Gn="analysis:analyze",Wn="record:delete",Vn="record:rename",Zn="analysis:complete",Hn="issues:export",Kn="issue:inspected",Xn="issue:relatedInspected",Yn="issue:toggleHighlight",Qn="issue:moreInfo",er="ml:suggestedInteractiveElement",tr="ml:suggestedInteractiveElementRejected",nr="ml:missedInteractiveElement",rr="ml:suggestedRole",ir="ml:suggestedRoleAccepted",or="ml:suggestedRoleRejected",sr="ml:suggestedTableHeader",ar="ml:suggestedTableHeaderRejected",cr="ml:suggestedNotDataCell",ur="ml:suggestedNotDataCellAccepted",pr="performance:formsML",dr="performance:formsTimeoutML",lr="performance:saveIGT",hr="conversion:click:scanPart",fr="conversion:click:saveTest",mr="conversion:click:export",gr="conversion:click:shareIssue",yr="analysis:startUFA",br=(e=[],t)=>e.filter((({impact:e})=>e===t)).reduce(((e,{nodes:t})=>e+((null==t?void 0:t.length)||1)),0),vr=e=>{try{const t=new URL(e);return"localhost"===t.hostname||!!t.port||"file://"===t.origin}catch(e){return!1}},wr=e=>{if(void 0===e)return;const t=Array.from(new Set(e.map((e=>e.rule||e.id)))),n={failedRuleCount:t.length,failedRuleNames:t,criticalIssueCount:br(e,"critical"),seriousIssueCount:br(e,"serious"),moderateIssueCount:br(e,"moderate"),minorIssueCount:br(e,"minor")};if(e.length&&Array.isArray(e[0].nodes)){const t=e.reduce(((e,t)=>e+t.nodes.length),0);n.failedItemCount=t}return n},kr=async e=>{const t=await In(),{productName:n,productComponent:r}=t,i=Dn(Dn({},e),{},{productName:n,productComponent:r});try{let{event:e}=i,t=Rn(i,["event"]);Lr(e,t)}catch(e){Cn("Analytics Data Error",{error:e.message,stack:e.stack})}try{t.postEvent(i)}catch(e){Cn("Usage Data Error",{error:e.message,stack:e.stack})}},xr=e=>{let t="anonymous";switch(null==e?void 0:e.status){case"trialing":t="trial";break;case"paid":case"paid_payment_failed":case"trial_ended":case"trial_payment_failed":case"free":case"free_payment_failed":t=e.status}return t},Tr=async(e=[])=>{let t,n,r,i;if("devtools"in browser)try{({contentType:t,title:n,url:r,scoped:i}=await kn.J.send(kn.D.content,"get-document-metadata"))}catch(e){bn.fy.logger.error("Unable to get document metadata",{error:e.message,stack:e.stack})}const{usageOrganization:o,usageDepartment:s,usageApplication:a,user:c,cachedUserCompany:u,axeSettings:p,userJobRole:d}=await browser.storage.local.get(["usageOrganization","usageDepartment","usageApplication","user","cachedUserCompany","axeSettings","userJobRole"]),l=!(!c||!c.id);return{distinctId:await(0,Pn.Z)(),organization:o||((null==c?void 0:c.company)||u||""),department:s||"",application:a||"",userStatus:xr(c),loggedIn:l,devInstance:vr(r),keycloakId:c&&c.id,userId:c&&c.username,userJobRole:d||"Anonymous",productName:"axe-pro",productComponent:"extension",productComponentVersion:wn.i8,applicationProperties:Dn({engineVersion:vn,scoped:i,target:r,targetMedium:t,targetState:n,experimental:!1,rulesetName:(null==p?void 0:p.ruleset)||"all",bestPractices:!!p&&!!p.enableBestPractices},wr(e))}},Sr=async e=>{(await In()).enableTracking(e&&!0)},Or=(e,t)=>Pr(lr,{duration:e,eventTool:t}),_r=e=>Pr(pr,{duration:e}),Er=()=>Pr(dr),Ir=e=>async function(t,n){const r=await Tr(t);if(!n)return kr(Dn(Dn({},r),{},{event:e}));kr(Dn(Dn({},r),{},{event:e,applicationProperties:Dn(Dn({},r.applicationProperties),n)}))},jr=e=>t=>Ir(e)(void 0,t),Ar=(Ir("issue:viewed"),jr(Kn),jr(Xn),jr(Yn),jr(Qn),Ir(Wn),Ir(Vn),Ir(Bn)),Cr=async e=>{var t;const{hasSentInstallEvent:n}=await browser.storage.sync.get(["hasSentInstallEvent"]);if(n)return;await browser.storage.sync.set({hasSentInstallEvent:!0});const r=null===(t=await(0,Pn.J)())||void 0===t?void 0:t.data,i=r?{original_landing_page:r.original_landing_page,original_utm_source:r.original_utm_source}:null;i&&Mn.setUserProperties(i),Ar([],Dn(Dn({},e),i))},Pr=(Ir($n),Ir(zn),Ir(Jn),async(e,t={})=>{const n=await Tr();kr(Dn(Dn({},n),{},{event:e,applicationProperties:t}))}),Rr=(e,t="interactive-elements")=>n=>Ir(e)(void 0,Dn({eventTool:t},n));Rr(er),Rr(tr),Rr(nr),Rr(rr),Rr(ir),Rr(or),Rr(sr,"table"),Rr(ar,"table"),Rr(cr,"table"),Rr(ur,"table"),Ir(hr),Ir(fr),Ir(mr),Ir(gr),Ir(yr);let Nr=!1,Dr=!1;const Ur=async()=>{if(Nr)return;const e=await(0,Pn.Z)();Mn.init(qn,void 0,{deviceId:e,includeUtm:!0,saveParamsReferrerOncePerSession:!1,includeGclid:!0,includeReferrer:!0,secureCookie:!0,sameSiteCookie:"Lax"}),Nr=!0},qr=async()=>{if(void 0!==globalThis.document&&void 0!==globalThis.XMLHttpRequest){if(Dr)return!0;bn.fy.init({clientToken:Ln,site:"datadoghq.com",service:"axe-extension",env:Fn,version:wn.i8,beforeSend:e=>{var t;if(0===(null==e||null===(t=e.http)||void 0===t?void 0:t.status_code))return!1}}),Dr=!0}},Lr=async(e,t={})=>{await(async()=>{await Promise.all([Ur(),qr()])})();let n={};switch(e){case Gn:n={analyze:1};break;case Zn:n={complete:1};break;case Hn:n={export:1}}await(async(e={})=>{const{user:t,userJobRole:n="",usageOrganization:r="",cachedUserCompany:i,axeSettings:o,highlightTheme:s,theme:a,locale:c,policySettings:u,axeServerURL:p,firstView:d,exportFormat:l}=await browser.storage.local.get(["user","userJobRole","usageOrganization","cachedUserCompany","axeSettings","highlightTheme","theme","locale","policySettings","axeServerURL","firstView","exportFormat"]);Mn.setUserId(t&&t.id);const h=t&&t.id,f=(new Mn.Identify).set("role",n).set("userStatus",xr(t)).set("loggedIn",h).set("axeSettings",Dn(Dn({highlightTheme:s,theme:a,locale:c,axeServerURL:p},o),{},{ruleset:(null==o?void 0:o.ruleset)||"all"})).set("policySettings",u).set("firstView",d).set("exportSchema",l||"devtools");for(const[t,n]of Object.entries(e))isNaN(n)?f.set(t,n):f.add(t,n);Mn.identify(f),Mn.setGroup("organization",r||(null==t?void 0:t.company)||i)})(n);const{devInstance:r,productName:i,productComponent:o,productComponentVersion:s,engineVersion:a,applicationProperties:c}=t,u=Dn({devInstance:r,productName:i,productComponent:o,productComponentVersion:s,engineVersion:a},c);Mn.logEvent(e,u)},Fr=(e,t={})=>{Dr&&(e?bn.fy.logger.error(e,t):bn.fy.logger.error("Unknown exception"))}},2257:(e,t,n)=>{"use strict";n.d(t,{D:()=>h,J:()=>l});var r=n(6292),i=n.n(r);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const c=i()("bridge"),u=i()("bridge:message"),p=i()("bridge:response"),d={devtools:"devtools",content:"content-script",background:"background",unknown:"unknown"};const l=new class{constructor(){a(this,"listener",((e,t)=>{const{origin:n,context:r,topic:i,message:o,options:s}=e,{tab:a,frameId:c}=t,p=a&&-1!==a.id?a.id:null==s?void 0:s.tabId;if(!n)return;if(this.context===d.background&&r===d.content)return this.send(r,i,o,{tabId:s.tabId||p,frameId:s.frameId,allFrames:s.allFrames});const l=this.context!==d.devtools||browser.devtools.inspectedWindow.tabId===p;if(r!==this.context||!l)return;u(`[${i}] ${n}${this.context}: %O`,void 0!==o?o:"");const h=this.getListeners(i),f=e=>{console.error(e)};try{for(var m of h){const e=m({context:r,topic:i,message:o,origin:n,tabId:p,frameId:c});if(!m.isGlobal&&void 0!==e)return Promise.resolve(e).catch(f)}}catch(e){f(e)}}));const{context:e}=this;if(this.messageListeners=new Map,e!==d.unknown){if(!e)throw new Error(`Unsupported bridge context: ${e}`);this.attachListener()}}attachListener(){const{context:e,listener:t}=this;browser.runtime.onMessage.hasListener(t)||(c("bridge initialized with context %s",e),browser.runtime.onMessage.addListener(t)),"undefined"!=typeof window&&(window.addEventListener("pageshow",(n=>{n.persisted&&!browser.runtime.onMessage.hasListener(t)&&(c("bridge initialized with context %s (cached page)",e),browser.runtime.onMessage.addListener(t))})),window.addEventListener("beforeunload",(()=>{browser.runtime.onMessage.removeListener(t)})))}get context(){return"undefined"==typeof browser?d.unknown:browser&&browser.devtools?d.devtools:browser&&browser.tabs?d.background:browser&&browser.storage?d.content:void 0}async send(e,t,n,{tabId:r,frameId:i=0,allFrames:o=!1}={}){if("undefined"==typeof browser)return;r||this.context!==d.devtools||(r=browser.devtools.inspectedWindow.tabId);let a=browser.runtime.sendMessage;if(e===d.content&&void 0!==browser.tabs){const e={frameId:o?null:i};a=t=>browser.tabs.sendMessage(r,s(s({},t),{},{options:s(s({},t.options),e)}),e)}const c=`${this.context}${this.context===d.devtools?`:${r}`:""}`,l=`${e}${[e,this.context].includes(d.content)&&r?`:${r}`:""}`;u(`[${t}] ${c}${l}: %O`,void 0!==n?n:"");const h={origin:c,context:e,topic:t,message:n,options:e===d.content?{tabId:r,frameId:i,allFrames:o}:{tabId:r}};let f=null;try{f=await a(h)}catch(e){if("Could not establish connection. Receiving end does not exist."!==e.message)throw e}return null!==f&&p(`[${t}] ${l}${c}: %O`,f),f}getListeners(e){const{messageListeners:t}=this;return e&&"*"!==e?[...t.get(e)||[],...t.get("*")||[]]:t.get("*")||[]}listen(e,t){const{messageListeners:n}=this,r=n.get(e)||[];"function"==typeof e&&(t=e,e="*"),"*"===e&&(t.isGlobal=!0),"function"==typeof t&&(r.length?n.set(e,[...r,t]):n.set(e,[t]))}unlisten(e,t){const{messageListeners:n}=this;if("function"==typeof e&&(t=e,e="*"),"function"!=typeof t)return;const r=(n.get(e)||[]).filter((e=>e!==t));r.length?n.set(e,r):n.delete(e)}},h=d},8176:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(2607);const i=[{name:"Developer",label:r.ZP`Developer`},{name:"Tester",label:r.ZP`Tester`},{name:"Designer",label:r.ZP`Designer`},{name:"Accessibility Specialist",label:r.ZP`Accessibility Specialist`},{name:"Manager",label:r.ZP`Manager`},{name:"Other",label:r.ZP`Other`}]},6507:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,Z:()=>o});var r=n(8020);let i;async function o(){var e;return null===(e=await s())||void 0===e?void 0:e.distinct_id}const s=async()=>{if(i)return i;const{axeServerURL:e,session:t}=await browser.storage.local.get(["axeServerURL","session"]);return i=await(0,r.getDistinctIdCookie)({host:"default"===e?"https://axe.deque.com":e,origin:globalThis.location.origin,token:t&&t.access_token}),i}},4295:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(2607),i=n(2257);const o=r.ZP`Your session has expired. Please log back in.`;function s(e,t,n=o){const r=t&&"access denied"===t.message;i.J.send(i.D.devtools,"app:notification",{type:"caution",text:r?o:n},{tabId:e}),r&&i.J.send(i.D.devtools,"app:logout",null,{tabId:e})}},4327:function(e,t,n){var r;!function(i){"use strict";function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function s(e,t,n,r,i,s){return o((a=o(o(t,e),o(r,s)))<<(c=i)|a>>>32-c,n);var a,c}function a(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function u(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function p(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}function d(e,t){var n,r,i,s,d;e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var l=1732584193,h=-271733879,f=-1732584194,m=271733878;for(n=0;n<e.length;n+=16)r=l,i=h,s=f,d=m,l=a(l,h,f,m,e[n],7,-680876936),m=a(m,l,h,f,e[n+1],12,-389564586),f=a(f,m,l,h,e[n+2],17,606105819),h=a(h,f,m,l,e[n+3],22,-1044525330),l=a(l,h,f,m,e[n+4],7,-176418897),m=a(m,l,h,f,e[n+5],12,1200080426),f=a(f,m,l,h,e[n+6],17,-1473231341),h=a(h,f,m,l,e[n+7],22,-45705983),l=a(l,h,f,m,e[n+8],7,1770035416),m=a(m,l,h,f,e[n+9],12,-1958414417),f=a(f,m,l,h,e[n+10],17,-42063),h=a(h,f,m,l,e[n+11],22,-1990404162),l=a(l,h,f,m,e[n+12],7,1804603682),m=a(m,l,h,f,e[n+13],12,-40341101),f=a(f,m,l,h,e[n+14],17,-1502002290),l=c(l,h=a(h,f,m,l,e[n+15],22,1236535329),f,m,e[n+1],5,-165796510),m=c(m,l,h,f,e[n+6],9,-1069501632),f=c(f,m,l,h,e[n+11],14,643717713),h=c(h,f,m,l,e[n],20,-373897302),l=c(l,h,f,m,e[n+5],5,-701558691),m=c(m,l,h,f,e[n+10],9,38016083),f=c(f,m,l,h,e[n+15],14,-660478335),h=c(h,f,m,l,e[n+4],20,-405537848),l=c(l,h,f,m,e[n+9],5,568446438),m=c(m,l,h,f,e[n+14],9,-1019803690),f=c(f,m,l,h,e[n+3],14,-187363961),h=c(h,f,m,l,e[n+8],20,1163531501),l=c(l,h,f,m,e[n+13],5,-1444681467),m=c(m,l,h,f,e[n+2],9,-51403784),f=c(f,m,l,h,e[n+7],14,1735328473),l=u(l,h=c(h,f,m,l,e[n+12],20,-1926607734),f,m,e[n+5],4,-378558),m=u(m,l,h,f,e[n+8],11,-2022574463),f=u(f,m,l,h,e[n+11],16,1839030562),h=u(h,f,m,l,e[n+14],23,-35309556),l=u(l,h,f,m,e[n+1],4,-1530992060),m=u(m,l,h,f,e[n+4],11,1272893353),f=u(f,m,l,h,e[n+7],16,-155497632),h=u(h,f,m,l,e[n+10],23,-1094730640),l=u(l,h,f,m,e[n+13],4,681279174),m=u(m,l,h,f,e[n],11,-358537222),f=u(f,m,l,h,e[n+3],16,-722521979),h=u(h,f,m,l,e[n+6],23,76029189),l=u(l,h,f,m,e[n+9],4,-640364487),m=u(m,l,h,f,e[n+12],11,-421815835),f=u(f,m,l,h,e[n+15],16,530742520),l=p(l,h=u(h,f,m,l,e[n+2],23,-995338651),f,m,e[n],6,-198630844),m=p(m,l,h,f,e[n+7],10,1126891415),f=p(f,m,l,h,e[n+14],15,-1416354905),h=p(h,f,m,l,e[n+5],21,-57434055),l=p(l,h,f,m,e[n+12],6,1700485571),m=p(m,l,h,f,e[n+3],10,-1894986606),f=p(f,m,l,h,e[n+10],15,-1051523),h=p(h,f,m,l,e[n+1],21,-2054922799),l=p(l,h,f,m,e[n+8],6,1873313359),m=p(m,l,h,f,e[n+15],10,-30611744),f=p(f,m,l,h,e[n+6],15,-1560198380),h=p(h,f,m,l,e[n+13],21,1309151649),l=p(l,h,f,m,e[n+4],6,-145523070),m=p(m,l,h,f,e[n+11],10,-1120210379),f=p(f,m,l,h,e[n+2],15,718787259),h=p(h,f,m,l,e[n+9],21,-343485551),l=o(l,r),h=o(h,i),f=o(f,s),m=o(m,d);return[l,h,f,m]}function l(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function h(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function f(e){var t,n,r="0123456789abcdef",i="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),i+=r.charAt(t>>>4&15)+r.charAt(15&t);return i}function m(e){return unescape(encodeURIComponent(e))}function g(e){return function(e){return l(d(h(e),8*e.length))}(m(e))}function y(e,t){return function(e,t){var n,r,i=h(e),o=[],s=[];for(o[15]=s[15]=void 0,i.length>16&&(i=d(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],s[n]=1549556828^i[n];return r=d(o.concat(h(t)),512+8*t.length),l(d(s.concat(r),640))}(m(e),m(t))}function b(e,t,n){return t?n?y(t,e):f(y(t,e)):n?g(e):f(g(e))}void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}()},2737:(e,t,n)=>{"use strict";var r=n(8750),i=n(4573),o=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&o(e,".prototype.")>-1?i(n):n}},4573:(e,t,n)=>{"use strict";var r=n(132),i=n(8750),o=i("%Function.prototype.apply%"),s=i("%Function.prototype.call%"),a=i("%Reflect.apply%",!0)||r.call(s,o),c=i("%Object.getOwnPropertyDescriptor%",!0),u=i("%Object.defineProperty%",!0),p=i("%Math.max%");if(u)try{u({},"a",{value:1})}catch(e){u=null}e.exports=function(e){var t=a(r,s,arguments);if(c&&u){var n=c(t,"length");n.configurable&&u(t,"length",{value:1+p(0,e.length-(arguments.length-1))})}return t};var d=function(){return a(r,o,arguments)};u?u(e.exports,"apply",{value:d}):e.exports.apply=d},5862:e=>{var t=1e3,n=60*t,r=60*n,i=24*r,o=7*i,s=365.25*i;function a(e,t,n,r){var i=t>=1.5*n;return Math.round(e/n)+" "+r+(i?"s":"")}e.exports=function(e,c){c=c||{};var u=typeof e;if("string"===u&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!a)return;var c=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*i;case"hours":case"hour":case"hrs":case"hr":case"h":return c*r;case"minutes":case"minute":case"mins":case"min":case"m":return c*n;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===u&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=i)return a(e,o,i,"day");if(o>=r)return a(e,o,r,"hour");if(o>=n)return a(e,o,n,"minute");if(o>=t)return a(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=i)return Math.round(e/i)+"d";if(o>=r)return Math.round(e/r)+"h";if(o>=n)return Math.round(e/n)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6292:(e,t,n)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(i=r))})),t.splice(i,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"env"in{}&&(e={NODE_ENV:"production",COCONUT:"false",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,DOCS_SITE_URL:"https://docs.deque.com/devtools-html",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-whatslefttotest",ENV:"production",AXE_PRO_URL:"https://axe.deque.com",USAGE_SERVICE_URL:"https://usage.deque.com",AMPLITUDE_API_KEY:"a1ce09d0b14ddcc12ab7b508b6606a2f",DATADOG_CLIENT_TOKEN:"puba2eb4ed47c6eb69ce20ef237db754ff8"}.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(9374)(t);const{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},9374:(e,t,n)=>{e.exports=function(e){function t(e){let n,i,o,s=null;function a(...e){if(!a.enabled)return;const r=a,i=Number(new Date),o=i-(n||i);r.diff=o,r.prev=n,r.curr=i,n=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,i)=>{if("%%"===n)return"%";s++;const o=t.formatters[i];if("function"==typeof o){const t=e[s];n=o.call(r,t),e.splice(s,1),s--}return n})),t.formatArgs.call(r,e);(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(i!==t.namespaces&&(i=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),i=r.length;for(n=0;n<i;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(5862),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},2741:(e,t,n)=>{"use strict";var r=n(4733),i=n(7740),o=n(3822),s=n(2483),a=n(2473),c=n(5182),u=n(7355),p=n(8574),d=n(8750),l=n(2737),h=n(3062),f=n(2395),m=n(5337),g=n(2505),y=n(950),b=l("Date.prototype.getTime"),v=Object.getPrototypeOf,w=l("Object.prototype.toString"),k=d("%Set%",!0),x=l("Map.prototype.has",!0),T=l("Map.prototype.get",!0),S=l("Map.prototype.size",!0),O=l("Set.prototype.add",!0),_=l("Set.prototype.delete",!0),E=l("Set.prototype.has",!0),I=l("Set.prototype.size",!0);function j(e,t,n,r){for(var i,o=f(e);(i=o.next())&&!i.done;)if(N(t,i.value,n,r))return _(e,i.value),!0;return!1}function A(e){return void 0===e?null:"object"!=typeof e?"symbol"!=typeof e&&("string"!=typeof e&&"number"!=typeof e||+e==+e):void 0}function C(e,t,n,r,i,o){var s=A(n);if(null!=s)return s;var a=T(t,s),c=y({},i,{strict:!1});return!(void 0===a&&!x(t,s)||!N(r,a,c,o))&&(!x(e,s)&&N(r,a,c,o))}function P(e,t,n){var r=A(n);return null!=r?r:E(t,r)&&!E(e,r)}function R(e,t,n,r,i,o){for(var s,a,c=f(e);(s=c.next())&&!s.done;)if(N(n,a=s.value,i,o)&&N(r,T(t,a),i,o))return _(e,a),!0;return!1}function N(e,t,n,d){var l=n||{};if(l.strict?o(e,t):e===t)return!0;if(p(e)!==p(t))return!1;if(!e||!t||"object"!=typeof e&&"object"!=typeof t)return l.strict?o(e,t):e==t;var m,_=d.has(e),A=d.has(t);if(_&&A){if(d.get(e)===d.get(t))return!0}else m={};return _||d.set(e,m),A||d.set(t,m),function(e,t,n,o){var p,d;if(typeof e!=typeof t)return!1;if(null==e||null==t)return!1;if(w(e)!==w(t))return!1;if(i(e)!==i(t))return!1;var l=c(e),m=c(t);if(l!==m)return!1;var _=e instanceof Error,A=t instanceof Error;if(_!==A)return!1;if((_||A)&&(e.name!==t.name||e.message!==t.message))return!1;var U=s(e),q=s(t);if(U!==q)return!1;if((U||q)&&(e.source!==t.source||a(e)!==a(t)))return!1;var L=u(e),F=u(t);if(L!==F)return!1;if((L||F)&&b(e)!==b(t))return!1;if(n.strict&&v&&v(e)!==v(t))return!1;if(g(e)!==g(t))return!1;var M=D(e),B=D(t);if(M!==B)return!1;if(M||B){if(e.length!==t.length)return!1;for(p=0;p<e.length;p++)if(e[p]!==t[p])return!1;return!0}if(typeof e!=typeof t)return!1;var $=r(e),z=r(t);if($.length!==z.length)return!1;for($.sort(),z.sort(),p=$.length-1;p>=0;p--)if($[p]!=z[p])return!1;for(p=$.length-1;p>=0;p--)if(!N(e[d=$[p]],t[d],n,o))return!1;var J=h(e),G=h(t);if(J!==G)return!1;if("Set"===J||"Set"===G)return function(e,t,n,r){if(I(e)!==I(t))return!1;var i,o,s,a=f(e),c=f(t);for(;(i=a.next())&&!i.done;)if(i.value&&"object"==typeof i.value)s||(s=new k),O(s,i.value);else if(!E(t,i.value)){if(n.strict)return!1;if(!P(e,t,i.value))return!1;s||(s=new k),O(s,i.value)}if(s){for(;(o=c.next())&&!o.done;)if(o.value&&"object"==typeof o.value){if(!j(s,o.value,n.strict,r))return!1}else if(!n.strict&&!E(e,o.value)&&!j(s,o.value,n.strict,r))return!1;return 0===I(s)}return!0}(e,t,n,o);if("Map"===J)return function(e,t,n,r){if(S(e)!==S(t))return!1;var i,o,s,a,c,u,p=f(e),d=f(t);for(;(i=p.next())&&!i.done;)if(a=i.value[0],c=i.value[1],a&&"object"==typeof a)s||(s=new k),O(s,a);else if(void 0===(u=T(t,a))&&!x(t,a)||!N(c,u,n,r)){if(n.strict)return!1;if(!C(e,t,a,c,n,r))return!1;s||(s=new k),O(s,a)}if(s){for(;(o=d.next())&&!o.done;)if(a=o.value[0],u=o.value[1],a&&"object"==typeof a){if(!R(s,e,a,u,n,r))return!1}else if(!(n.strict||e.has(a)&&N(T(e,a),u,n,r)||R(s,e,a,u,y({},n,{strict:!1}),r)))return!1;return 0===I(s)}return!0}(e,t,n,o);return!0}(e,t,l,d)}function D(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&(!(e.length>0&&"number"!=typeof e[0])&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))))}e.exports=function(e,t,n){return N(e,t,n,m())}},7392:(e,t,n)=>{"use strict";var r=n(4733),i="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),o=Object.prototype.toString,s=Array.prototype.concat,a=Object.defineProperty,c=a&&function(){var e={};try{for(var t in a(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}}(),u=function(e,t,n,r){var i;(!(t in e)||"function"==typeof(i=r)&&"[object Function]"===o.call(i)&&r())&&(c?a(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},p=function(e,t){var n=arguments.length>2?arguments[2]:{},o=r(t);i&&(o=s.call(o,Object.getOwnPropertySymbols(t)));for(var a=0;a<o.length;a+=1)u(e,o[a],t[o[a]],n[o[a]])};p.supportsDescriptors=!!c,e.exports=p},3152:function(e){e.exports=function(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}},6371:(e,t,n)=>{"use strict";var r=n(8750)("%Object.getOwnPropertyDescriptor%");if(r)try{r([],"length")}catch(e){r=null}e.exports=r},2607:(e,t)=>{"use strict";var n="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},r=function(){function e(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,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var o=/^:([a-z])(\(([^)]+)\))?/,s="numeric",a="long",c="2-digit",u="string",p="decimal",d="currency",l="percent",h={weekday:void 0,era:void 0,year:void 0,month:a,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},f={weekday:void 0,era:void 0,year:s,month:a,day:void 0,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},m={d:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},D:{weekday:a,era:void 0,year:s,month:a,day:s,hour:void 0,minute:void 0,second:void 0,timeZoneName:void 0},f:{weekday:a,era:void 0,year:s,month:a,day:s,hour:s,minute:c,second:void 0,timeZoneName:void 0},F:{weekday:a,era:void 0,year:s,month:a,day:s,hour:s,minute:c,second:c,timeZoneName:void 0},g:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:s,minute:c,second:void 0,timeZoneName:void 0},G:{weekday:void 0,era:void 0,year:s,month:s,day:s,hour:s,minute:c,second:c,timeZoneName:void 0},m:h,M:h,t:{weekday:void 0,era:void 0,year:void 0,month:void 0,day:void 0,hour:s,minute:c,second:void 0,timeZoneName:void 0},T:{weekday:void 0,era:void 0,year:void 0,month:void 0,day:void 0,hour:s,minute:c,second:c,timeZoneName:void 0},y:f,Y:f},g=new(function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.defaultConfig={locales:void 0,translations:{},number:{currency:"USD"},date:{},string:{}},this.configs={"":this.defaultConfig},this.translationCache={},this.keyCache={},this.typeInfoCache={},this._localizers={s:function(e,n,r){var i=void 0;return r&&null!==(i=t._runCustomFormatters(e,u,r,n))?i:n?n.toLocaleString(e.locales):String(n)},n:function(e,r,i){if("number"!=typeof r)throw Error("value is not a number. type: "+(void 0===r?"undefined":n(r)));if(i){var o=parseInt(i);if(!isNaN(o))return r.toLocaleString(e.locales,Object.assign({},e.number,{style:p,minimumFractionDigits:o,maximumFractionDigits:o}));var s;if(null!==(s=t._runCustomFormatters(e,"number",i,r)))return s}return r.toLocaleString(e.locales,Object.assign({},e.number,{style:p,minimumFractionDigits:0,maximumFractionDigits:3}))},t:function(e,n,r){if(!(n instanceof Date))throw Error("value is not a Date. type: "+n.constructor.name);if(r){switch(r.toUpperCase()){case"R":return n.toUTCString();case"O":return n.toISOString()}var i=m[r];if(i)return n.toLocaleString(e.locales,Object.assign({},e.date,i));var o=t._runCustomFormatters(e,"date",r,n);if(null!==o)return o}return n.toLocaleString(e.locales,Object.assign({},e.date))},c:function(e,t,r){if("number"!=typeof t)throw Error("value is not a number. type: "+(void 0===t?"undefined":n(t)));return t.toLocaleString(e.locales,r?Object.assign({},e.number,{style:d,currency:r}):Object.assign({},e.number,{style:d}))},p:function(e,t,r){if("number"!=typeof t)throw Error("value is not a number. type: "+(void 0===t?"undefined":n(t)));return t.toLocaleString(e.locales,r?Object.assign({},e.number,{style:l,minimumFractionDigits:r}):Object.assign({},e.number,{style:l}))}},this.i18n=this.i18n.bind(this),this.translate=this.translate.bind(this),this.i18nConfig=this.i18nConfig.bind(this),this._localize=this._localize.bind(this),this._extractTypeInfo=this._extractTypeInfo.bind(this)}return r(e,[{key:"i18nConfig",value:function(e){var t=e.locales,n=e.translations,r=e.group,i=e.number,o=e.date,s=e.standardFormatters;this.translationCache={};var a=this.configs[r||""]||this.defaultConfig;this.configs[r||""]=Object.assign({},a,{locales:t||a.locales,translations:n||a.translations,number:i||a.number,date:o||a.date,standardFormatters:s||a.standardFormatters})}},{key:"i18n",value:function(e,t,n){for(var r=this,o=this._buildKey(n),s=this._getCachedTranslation(e,t,o),a=s.configGroup,c=s.translatedKey,u=n.slice(1).map(this._extractTypeInfo),p=arguments.length,d=Array(p>3?p-3:0),l=3;l<p;l++)d[l-3]=arguments[l];var h=d.map((function(e,t){return r._localize(a,e,u[t])}));return this._buildMessage.apply(this,[c].concat(i(h)))}},{key:"translate",value:function(e,t,n){var r=this;null==n?n="":"string"!=typeof n&&(n=String(n));for(var o=this._getCachedTranslation(e,t,n),s=o.configGroup,a=o.translatedKey,c=arguments.length,u=Array(c>3?c-3:0),p=3;p<c;p++)u[p-3]=arguments[p];var d=u.map((function(e){return e instanceof Object&&e.constructor===Object?r._localize(s,e.value||"",{type:e.formatter||"s",options:e.format}):r._localize(s,e,{type:"s",options:""})}));return this._buildMessage.apply(this,[a].concat(i(d)))}},{key:"_getCachedTranslation",value:function(e,t,n){var r=[e||"",t||"",n].join(),i=this.translationCache[r],o=this.configs[t||""]||this.defaultConfig;if(i)return{configGroup:o,translatedKey:i};var s=this._getTranslation(e,o,n);return this.translationCache[r]=s,{configGroup:o,translatedKey:s}}},{key:"_getTranslation",value:function(e,t,r){var i=t.translations,o=void 0,s=void 0;return(void 0===e?"undefined":n(e))===u&&(s=e),s&&(o=i[s])instanceof Object&&(o=o[r]),o||(o="string"==typeof i[r]&&i[r]||r),o}},{key:"_runCustomFormatters",value:function(e,t,n,r){var i=null;if(e.standardFormatters){var o=e.standardFormatters[t];if(o){var s=o[n];s&&(i=s(e.locales,e[t],r))}}return i}},{key:"_extractTypeInfo",value:function(e){var t=this.typeInfoCache[e];if(t)return t;var n=o.exec(e);return t=n?{type:n[1],options:n[3]}:{type:"s",options:""},this.typeInfoCache[e]=t,t}},{key:"_localize",value:function(e,t,n){var r=n.type,i=n.options,o=this._localizers[r];if(o)return o(e,t,i);throw new Error("Type '"+r+"' is not supported. Supported types are: "+Object.keys(this._localizers).join())}},{key:"_buildKey",value:function(e){var t=e.join(),n=this.keyCache[t];if(n)return n;var r=function(e){return e.replace(o,"")},i=r(e[e.length-1]),s=e.slice(0,-1).reduceRight((function(e,t,n){return r(t)+"${"+n+"}"+e}),i).replace(/\r\n/g,"\n");return this.keyCache[t]=s,s}},{key:"_buildMessage",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.replace(/\${(\d)}/g,(function(e,t){return n[Number(t)]}))}}]),e}()),y=g.i18nConfig,b=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if("string"==typeof e){if(n.length&&"string"==typeof n[0]){var i=function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return g.i18n.apply(g,[e,n[0],t].concat(i))};return i.translate=function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return g.translate.apply(g,[e,n[0],t].concat(i))},i}var o=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return g.i18n.apply(g,[e,null,t].concat(r))};return o.translate=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return g.translate.apply(g,[e,null,t].concat(r))},o}return g.i18n.apply(g,[null,null,e].concat(n))};b.translate=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return g.translate.apply(g,[null,null,e].concat(n))};var v=function(e,t){return function(n){return n.prototype.i18n=function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return b(e,t).apply(void 0,[n].concat(i))},n.prototype.i18n.translate=function(n){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];return g.translate.apply(g,[e,t,n].concat(i))},n}};"undefined"!=typeof window&&(window.i18n=b,window.i18nConfig=y,window.i18nGroup=v),t.ZP=b},2098:e=>{"use strict";function t(e,t){if(null==e)throw new TypeError("Cannot convert first argument to object");for(var n=Object(e),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o=Object.keys(Object(i)),s=0,a=o.length;s<a;s++){var c=o[s],u=Object.getOwnPropertyDescriptor(i,c);void 0!==u&&u.enumerable&&(n[c]=i[c])}}return n}e.exports={assign:t,polyfill:function(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:t})}}},8372:e=>{var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;e.exports=function(e,r,i){if("[object Function]"!==n.call(r))throw new TypeError("iterator must be a function");var o=e.length;if(o===+o)for(var s=0;s<o;s++)r.call(i,e[s],s,e);else for(var a in e)t.call(e,a)&&r.call(i,e[a],a,e)}},8458:e=>{"use strict";var t="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,r=Object.prototype.toString,i="[object Function]";e.exports=function(e){var o=this;if("function"!=typeof o||r.call(o)!==i)throw new TypeError(t+o);for(var s,a=n.call(arguments,1),c=function(){if(this instanceof s){var t=o.apply(this,a.concat(n.call(arguments)));return Object(t)===t?t:this}return o.apply(e,a.concat(n.call(arguments)))},u=Math.max(0,o.length-a.length),p=[],d=0;d<u;d++)p.push("$"+d);if(s=Function("binder","return function ("+p.join(",")+"){ return binder.apply(this,arguments); }")(c),o.prototype){var l=function(){};l.prototype=o.prototype,s.prototype=new l,l.prototype=null}return s}},132:(e,t,n)=>{"use strict";var r=n(8458);e.exports=Function.prototype.bind||r},8750:(e,t,n)=>{"use strict";var r,i=SyntaxError,o=Function,s=TypeError,a=function(e){try{return o('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var u=function(){throw new s},p=c?function(){try{return u}catch(e){try{return c(arguments,"callee").get}catch(e){return u}}}():u,d=n(679)(),l=Object.getPrototypeOf||function(e){return e.__proto__},h={},f="undefined"==typeof Uint8Array?r:l(Uint8Array),m={"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?l([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?l(l([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&d?l((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&d?l((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?l(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":i,"%ThrowTypeError%":p,"%TypedArray%":f,"%TypeError%":s,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet},g=function e(t){var n;if("%AsyncFunction%"===t)n=a("async function () {}");else if("%GeneratorFunction%"===t)n=a("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=a("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&(n=l(i.prototype))}return m[t]=n,n},y={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},b=n(132),v=n(7492),w=b.call(Function.call,Array.prototype.concat),k=b.call(Function.apply,Array.prototype.splice),x=b.call(Function.call,String.prototype.replace),T=b.call(Function.call,String.prototype.slice),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,O=/\\(\\)?/g,_=function(e){var t=T(e,0,1),n=T(e,-1);if("%"===t&&"%"!==n)throw new i("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new i("invalid intrinsic syntax, expected opening `%`");var r=[];return x(e,S,(function(e,t,n,i){r[r.length]=n?x(i,O,"$1"):t||e})),r},E=function(e,t){var n,r=e;if(v(y,r)&&(r="%"+(n=y[r])[0]+"%"),v(m,r)){var o=m[r];if(o===h&&(o=g(r)),void 0===o&&!t)throw new s("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new i("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new s('"allowMissing" argument must be a boolean');var n=_(e),r=n.length>0?n[0]:"",o=E("%"+r+"%",t),a=o.name,u=o.value,p=!1,d=o.alias;d&&(r=d[0],k(n,w([0,1],d)));for(var l=1,h=!0;l<n.length;l+=1){var f=n[l],g=T(f,0,1),y=T(f,-1);if(('"'===g||"'"===g||"`"===g||'"'===y||"'"===y||"`"===y)&&g!==y)throw new i("property names with quotes must have matching quotes");if("constructor"!==f&&h||(p=!0),v(m,a="%"+(r+="."+f)+"%"))u=m[a];else if(null!=u){if(!(f in u)){if(!t)throw new s("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&l+1>=n.length){var b=c(u,f);u=(h=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:u[f]}else h=v(u,f),u=u[f];h&&!p&&(m[a]=u)}}return u}},679:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(8186);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},8186:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},7492:(e,t,n)=>{"use strict";var r=n(132);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},87:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},7740:(e,t,n)=>{"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,i=n(2737)("Object.prototype.toString"),o=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===i(e)},s=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==i(e)&&"[object Function]"===i(e.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,e.exports=a?o:s},7810:e=>{"use strict";if("function"==typeof BigInt){var t=BigInt.prototype.valueOf;e.exports=function(e){return null!=e&&"boolean"!=typeof e&&"string"!=typeof e&&"number"!=typeof e&&"symbol"!=typeof e&&"function"!=typeof e&&("bigint"==typeof e||function(e){try{return t.call(e),!0}catch(e){}return!1}(e))}}else e.exports=function(e){return!1}},240:(e,t,n)=>{"use strict";var r=n(2737),i=r("Boolean.prototype.toString"),o=r("Object.prototype.toString"),s="function"==typeof Symbol&&!!Symbol.toStringTag;e.exports=function(e){return"boolean"==typeof e||null!==e&&"object"==typeof e&&(s&&Symbol.toStringTag in e?function(e){try{return i(e),!0}catch(e){return!1}}(e):"[object Boolean]"===o(e))}},7355:e=>{"use strict";var t=Date.prototype.getDay,n=Object.prototype.toString,r="function"==typeof Symbol&&!!Symbol.toStringTag;e.exports=function(e){return"object"==typeof e&&null!==e&&(r?function(e){try{return t.call(e),!0}catch(e){return!1}}(e):"[object Date]"===n.call(e))}},8265:e=>{"use strict";var t,n=Object.prototype.toString,r=Function.prototype.toString,i=/^\s*(?:function)?\*/,o="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,s=Object.getPrototypeOf;e.exports=function(e){if("function"!=typeof e)return!1;if(i.test(r.call(e)))return!0;if(!o)return"[object GeneratorFunction]"===n.call(e);if(!s)return!1;if(void 0===t){var a=function(){if(!o)return!1;try{return Function("return function*() {}")()}catch(e){}}();t=!!a&&s(a)}return s(e)===t}},6966:e=>{"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,r="function"==typeof Set&&Set.prototype?Set:null;n||(t=function(e){return!1});var i=n?Map.prototype.has:null,o=r?Set.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e),o)try{o.call(e)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},4127:e=>{"use strict";e.exports=function(e){return e!=e}},4866:(e,t,n)=>{"use strict";var r=n(4573),i=n(7392),o=n(4127),s=n(850),a=n(8045),c=r(s(),Number);i(c,{getPolyfill:s,implementation:o,shim:a}),e.exports=c},850:(e,t,n)=>{"use strict";var r=n(4127);e.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:r}},8045:(e,t,n)=>{"use strict";var r=n(7392),i=n(850);e.exports=function(){var e=i();return r(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}},7691:e=>{"use strict";var t=Number.prototype.toString,n=Object.prototype.toString,r="function"==typeof Symbol&&!!Symbol.toStringTag;e.exports=function(e){return"number"==typeof e||"object"==typeof e&&(r?function(e){try{return t.call(e),!0}catch(e){return!1}}(e):"[object Number]"===n.call(e))}},2483:(e,t,n)=>{"use strict";var r,i,o,s,a=n(2737),c=n(8186)()&&!!Symbol.toStringTag;if(c){r=a("Object.prototype.hasOwnProperty"),i=a("RegExp.prototype.exec"),o={};var u=function(){throw o};s={toString:u,valueOf:u},"symbol"==typeof Symbol.toPrimitive&&(s[Symbol.toPrimitive]=u)}var p=a("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=c?function(e){if(!e||"object"!=typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{i(e,s)}catch(e){return e===o}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===p(e)}},4255:e=>{"use strict";var t,n="function"==typeof Map&&Map.prototype?Map:null,r="function"==typeof Set&&Set.prototype?Set:null;r||(t=function(e){return!1});var i=n?Map.prototype.has:null,o=r?Set.prototype.has:null;t||o||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(o.call(e),i)try{i.call(e)}catch(e){return!0}return e instanceof r}catch(e){}return!1}},8559:e=>{"use strict";var t=String.prototype.valueOf,n=Object.prototype.toString,r="function"==typeof Symbol&&!!Symbol.toStringTag;e.exports=function(e){return"string"==typeof e||"object"==typeof e&&(r?function(e){try{return t.call(e),!0}catch(e){return!1}}(e):"[object String]"===n.call(e))}},3448:(e,t,n)=>{"use strict";var r=Object.prototype.toString;if(n(679)()){var i=Symbol.prototype.toString,o=/^Symbol\(.*\)$/;e.exports=function(e){if("symbol"==typeof e)return!0;if("[object Symbol]"!==r.call(e))return!1;try{return function(e){return"symbol"==typeof e.valueOf()&&o.test(i.call(e))}(e)}catch(e){return!1}}}else e.exports=function(e){return!1}},387:(e,t,n)=>{"use strict";var r=n(8372),i=n(973),o=n(2737),s=o("Object.prototype.toString"),a=n(679)()&&"symbol"==typeof Symbol.toStringTag,c=i(),u=o("Array.prototype.indexOf",!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},p=o("String.prototype.slice"),d={},l=n(6371),h=Object.getPrototypeOf;a&&l&&h&&r(c,(function(e){var t=new n.g[e];if(!(Symbol.toStringTag in t))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var r=h(t),i=l(r,Symbol.toStringTag);if(!i){var o=h(r);i=l(o,Symbol.toStringTag)}d[e]=i.get}));e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!a){var t=p(s(e),8,-1);return u(c,t)>-1}return!!l&&function(e){var t=!1;return r(d,(function(n,r){if(!t)try{t=n.call(e)===r}catch(e){}})),t}(e)}},349:e=>{"use strict";var t,n="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,r="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;n||(t=function(e){return!1});var i=n?n.prototype.has:null,o=r?r.prototype.has:null;t||i||(t=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(i.call(e,i),o)try{o.call(e,o)}catch(e){return!0}return e instanceof n}catch(e){}return!1}},7812:e=>{"use strict";var t,n="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,r="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;n||(t=function(e){return!1});var i=n?n.prototype.has:null,o=r?r.prototype.has:null;t||o||(e.exports=function(e){return!1}),e.exports=t||function(e){if(!e||"object"!=typeof e)return!1;try{if(o.call(e,o),i)try{i.call(e,i)}catch(e){return!0}return e instanceof r}catch(e){}return!1}},5182:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},2525:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var s,a,c=i(e),u=1;u<arguments.length;u++){for(var p in s=Object(arguments[u]))n.call(s,p)&&(c[p]=s[p]);if(t){a=t(s);for(var d=0;d<a.length;d++)r.call(s,a[d])&&(c[a[d]]=s[a[d]])}}return c}},6524:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=r&&i&&"function"==typeof i.get?i.get:null,s=r&&Map.prototype.forEach,a="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&a?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=a&&c&&"function"==typeof c.get?c.get:null,p=a&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,l="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,b="function"==typeof BigInt?BigInt.prototype.valueOf:null,v=Object.getOwnPropertySymbols,w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,k="function"==typeof Symbol&&"object"==typeof Symbol.iterator,x=Object.prototype.propertyIsEnumerable,T=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null),S=n(6553).custom,O=S&&A(S)?S:null,_="function"==typeof Symbol&&void 0!==Symbol.toStringTag?Symbol.toStringTag:null;function E(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function I(e){return String(e).replace(/"/g,"&quot;")}function j(e){return!("[object Array]"!==R(e)||_&&"object"==typeof e&&_ in e)}function A(e){if(k)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!w)return!1;try{return w.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,r,i){var a=n||{};if(P(a,"quoteStyle")&&"single"!==a.quoteStyle&&"double"!==a.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(P(a,"maxStringLength")&&("number"==typeof a.maxStringLength?a.maxStringLength<0&&a.maxStringLength!==1/0:null!==a.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!P(a,"customInspect")||a.customInspect;if("boolean"!=typeof c)throw new TypeError('option "customInspect", if provided, must be `true` or `false`');if(P(a,"indent")&&null!==a.indent&&"\t"!==a.indent&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('options "indent" must be "\\t", an integer > 0, or `null`');if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return D(t,a);if("number"==typeof t)return 0===t?1/0/t>0?"0":"-0":String(t);if("bigint"==typeof t)return String(t)+"n";var m=void 0===a.depth?5:a.depth;if(void 0===r&&(r=0),r>=m&&m>0&&"object"==typeof t)return j(t)?"[Array]":"[Object]";var v=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=Array(e.indent+1).join(" ")}return{base:n,prev:Array(t+1).join(n)}}(a,r);if(void 0===i)i=[];else if(N(i,t)>=0)return"[Circular]";function x(t,n,o){if(n&&(i=i.slice()).push(n),o){var s={depth:a.depth};return P(a,"quoteStyle")&&(s.quoteStyle=a.quoteStyle),e(t,s,r+1,i)}return e(t,a,r+1,i)}if("function"==typeof t){var S=function(e){if(e.name)return e.name;var t=y.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),C=B(t,x);return"[Function"+(S?": "+S:" (anonymous)")+"]"+(C.length>0?" { "+C.join(", ")+" }":"")}if(A(t)){var U=k?String(t).replace(/^(Symbol\(.*\))_[^)]*$/,"$1"):w.call(t);return"object"!=typeof t||k?U:q(U)}if(function(e){if(!e||"object"!=typeof e)return!1;if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return!0;return"string"==typeof e.nodeName&&"function"==typeof e.getAttribute}(t)){for(var $="<"+String(t.nodeName).toLowerCase(),z=t.attributes||[],J=0;J<z.length;J++)$+=" "+z[J].name+"="+E(I(z[J].value),"double",a);return $+=">",t.childNodes&&t.childNodes.length&&($+="..."),$+="</"+String(t.nodeName).toLowerCase()+">"}if(j(t)){if(0===t.length)return"[]";var G=B(t,x);return v&&!function(e){for(var t=0;t<e.length;t++)if(N(e[t],"\n")>=0)return!1;return!0}(G)?"["+M(G,v)+"]":"[ "+G.join(", ")+" ]"}if(function(e){return!("[object Error]"!==R(e)||_&&"object"==typeof e&&_ in e)}(t)){var W=B(t,x);return 0===W.length?"["+String(t)+"]":"{ ["+String(t)+"] "+W.join(", ")+" }"}if("object"==typeof t&&c){if(O&&"function"==typeof t[O])return t[O]();if("function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var V=[];return s.call(t,(function(e,n){V.push(x(n,t,!0)+" => "+x(e,t))})),F("Map",o.call(t),V,v)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var Z=[];return p.call(t,(function(e){Z.push(x(e,t))})),F("Set",u.call(t),Z,v)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{l.call(e,l)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return L("WeakMap");if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e,l);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return L("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return L("WeakRef");if(function(e){return!("[object Number]"!==R(e)||_&&"object"==typeof e&&_ in e)}(t))return q(x(Number(t)));if(function(e){if(!e||"object"!=typeof e||!b)return!1;try{return b.call(e),!0}catch(e){}return!1}(t))return q(x(b.call(t)));if(function(e){return!("[object Boolean]"!==R(e)||_&&"object"==typeof e&&_ in e)}(t))return q(f.call(t));if(function(e){return!("[object String]"!==R(e)||_&&"object"==typeof e&&_ in e)}(t))return q(x(String(t)));if(!function(e){return!("[object Date]"!==R(e)||_&&"object"==typeof e&&_ in e)}(t)&&!function(e){return!("[object RegExp]"!==R(e)||_&&"object"==typeof e&&_ in e)}(t)){var H=B(t,x),K=T?T(t)===Object.prototype:t instanceof Object||t.constructor===Object,X=t instanceof Object?"":"null prototype",Y=!K&&_&&Object(t)===t&&_ in t?R(t).slice(8,-1):X?"Object":"",Q=(K||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(Y||X?"["+[].concat(Y||[],X||[]).join(": ")+"] ":"");return 0===H.length?Q+"{}":v?Q+"{"+M(H,v)+"}":Q+"{ "+H.join(", ")+" }"}return String(t)};var C=Object.prototype.hasOwnProperty||function(e){return e in this};function P(e,t){return C.call(e,t)}function R(e){return m.call(e)}function N(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function D(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return D(e.slice(0,t.maxStringLength),t)+r}return E(e.replace(/(['\\])/g,"\\$1").replace(/[\x00-\x1f]/g,U),"single",t)}function U(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+t.toString(16).toUpperCase()}function q(e){return"Object("+e+")"}function L(e){return e+" { ? }"}function F(e,t,n,r){return e+" ("+t+") {"+(r?M(n,r):n.join(", "))+"}"}function M(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+e.join(","+n)+"\n"+t.prev}function B(e,t){var n=j(e),r=[];if(n){r.length=e.length;for(var i=0;i<e.length;i++)r[i]=P(e,i)?t(e[i],e):""}var o,s="function"==typeof v?v(e):[];if(k){o={};for(var a=0;a<s.length;a++)o["$"+s[a]]=s[a]}for(var c in e)P(e,c)&&(n&&String(Number(c))===c&&c<e.length||k&&o["$"+c]instanceof Symbol||(/[^\w$]/.test(c)?r.push(t(c,e)+": "+t(e[c],e)):r.push(c+": "+t(e[c],e))));if("function"==typeof v)for(var u=0;u<s.length;u++)x.call(e,s[u])&&r.push("["+t(s[u])+"]: "+t(e[s[u]],e));return r}},836:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},3822:(e,t,n)=>{"use strict";var r=n(7392),i=n(4573),o=n(836),s=n(1800),a=n(7894),c=i(s(),Object);r(c,{getPolyfill:s,implementation:o,shim:a}),e.exports=c},1800:(e,t,n)=>{"use strict";var r=n(836);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},7894:(e,t,n)=>{"use strict";var r=n(1800),i=n(7392);e.exports=function(){var e=r();return i(Object,{is:e},{is:function(){return Object.is!==e}}),e}},9538:(e,t,n)=>{"use strict";var r;if(!Object.keys){var i=Object.prototype.hasOwnProperty,o=Object.prototype.toString,s=n(1030),a=Object.prototype.propertyIsEnumerable,c=!a.call({toString:null},"toString"),u=a.call((function(){}),"prototype"),p=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},l={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},h=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!l["$"+e]&&i.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===o.call(e),r=s(e),a=t&&"[object String]"===o.call(e),l=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var f=u&&n;if(a&&e.length>0&&!i.call(e,0))for(var m=0;m<e.length;++m)l.push(String(m));if(r&&e.length>0)for(var g=0;g<e.length;++g)l.push(String(g));else for(var y in e)f&&"prototype"===y||!i.call(e,y)||l.push(String(y));if(c)for(var b=function(e){if("undefined"==typeof window||!h)return d(e);try{return d(e)}catch(e){return!1}}(e),v=0;v<p.length;++v)b&&"constructor"===p[v]||!i.call(e,p[v])||l.push(p[v]);return l}}e.exports=r},4733:(e,t,n)=>{"use strict";var r=Array.prototype.slice,i=n(1030),o=Object.keys,s=o?function(e){return o(e)}:n(9538),a=Object.keys;s.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return i(e)?a(r.call(e)):a(e)})}else Object.keys=s;return Object.keys||s},e.exports=s},1030:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},5752:(e,t,n)=>{"use strict";var r=n(4733),i=function(e){return null!=e},o=n(8186)(),s=n(2737),a=Object,c=s("Array.prototype.push"),u=s("Object.prototype.propertyIsEnumerable"),p=o?Object.getOwnPropertySymbols:null;e.exports=function(e,t){if(!i(e))throw new TypeError("target must be an object");var n,s,d,l,h,f,m,g=a(e);for(n=1;n<arguments.length;++n){s=a(arguments[n]),l=r(s);var y=o&&(Object.getOwnPropertySymbols||p);if(y)for(h=y(s),d=0;d<h.length;++d)m=h[d],u(s,m)&&c(l,m);for(d=0;d<l.length;++d)f=s[m=l[d]],u(s,m)&&(g[m]=f)}return g}},950:(e,t,n)=>{"use strict";var r=n(7392),i=n(4573),o=n(5752),s=n(1028),a=n(6305),c=i.apply(s()),u=function(e,t){return c(Object,arguments)};r(u,{getPolyfill:s,implementation:o,shim:a}),e.exports=u},1028:(e,t,n)=>{"use strict";var r=n(5752);e.exports=function(){return Object.assign?function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var i=Object.assign({},n),o="";for(var s in i)o+=s;return e!==o}()||function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,"xy")}catch(t){return"y"===e[1]}return!1}()?r:Object.assign:r}},6305:(e,t,n)=>{"use strict";var r=n(7392),i=n(1028);e.exports=function(){var e=i();return r(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},1535:(e,t,n)=>{"use strict";var r=n(2525),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,s=i?Symbol.for("react.portal"):60106,a=i?Symbol.for("react.fragment"):60107,c=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,p=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,l=i?Symbol.for("react.forward_ref"):60112,h=i?Symbol.for("react.suspense"):60113,f=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v={};function w(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||b}function k(){}function x(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||b}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(y(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},k.prototype=w.prototype;var T=x.prototype=new k;T.constructor=x,r(T,w.prototype),T.isPureReactComponent=!0;var S={current:null},O=Object.prototype.hasOwnProperty,_={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,n){var r,i={},s=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(s=""+t.key),t)O.call(t,r)&&!_.hasOwnProperty(r)&&(i[r]=t[r]);var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){for(var u=Array(c),p=0;p<c;p++)u[p]=arguments[p+2];i.children=u}if(e&&e.defaultProps)for(r in c=e.defaultProps)void 0===i[r]&&(i[r]=c[r]);return{$$typeof:o,type:e,key:s,ref:a,props:i,_owner:S.current}}function I(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var j=/\/+/g,A=[];function C(e,t,n,r){if(A.length){var i=A.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function P(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>A.length&&A.push(e)}function R(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case o:case s:a=!0}}if(a)return n(r,e,""===t?"."+D(e,0):t),1;if(a=0,t=""===t?".":t+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=t+D(i=e[c],c);a+=R(i,u,n,r)}else if(null===e||"object"!=typeof e?u=null:u="function"==typeof(u=g&&e[g]||e["@@iterator"])?u:null,"function"==typeof u)for(e=u.call(e),c=0;!(i=e.next()).done;)a+=R(i=i.value,u=t+D(i,c++),n,r);else if("object"===i)throw n=""+e,Error(y(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return a}function N(e,t,n){return null==e?0:R(e,"",t,n)}function D(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function U(e,t){e.func.call(e.context,t,e.count++)}function q(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,(function(e){return e})):null!=e&&(I(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(j,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(j,"$&/")+"/"),N(e,q,t=C(t,o,r,i)),P(t)}var F={current:null};function M(){var e=F.current;if(null===e)throw Error(y(321));return e}},7378:(e,t,n)=>{"use strict";n(1535)},9948:e=>{"use strict";var t=Object,n=TypeError;e.exports=function(){if(null!=this&&this!==t(this))throw new n("RegExp.prototype.flags getter called on non-object");var e="";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e}},2473:(e,t,n)=>{"use strict";var r=n(7392),i=n(4573),o=n(9948),s=n(2046),a=n(3289),c=i(o);r(c,{getPolyfill:s,implementation:o,shim:a}),e.exports=c},2046:(e,t,n)=>{"use strict";var r=n(9948),i=n(7392).supportsDescriptors,o=Object.getOwnPropertyDescriptor,s=TypeError;e.exports=function(){if(!i)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");if("gim"===/a/gim.flags){var e=o(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof/a/.dotAll)return e.get}return r}},3289:(e,t,n)=>{"use strict";var r=n(7392).supportsDescriptors,i=n(2046),o=Object.getOwnPropertyDescriptor,s=Object.defineProperty,a=TypeError,c=Object.getPrototypeOf,u=/a/;e.exports=function(){if(!r||!c)throw new a("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=i(),t=c(u),n=o(t,"flags");return n&&n.get===e||s(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},7160:(e,t)=>{(t=e.exports=function(e){return String(e).replace(t.expr,"")}).expr=/\/+$/},5337:(e,t,n)=>{"use strict";var r=n(8750),i=n(2737),o=n(6524),s=r("%TypeError%"),a=r("%WeakMap%",!0),c=r("%Map%",!0),u=i("WeakMap.prototype.get",!0),p=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),l=i("Map.prototype.get",!0),h=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+o(e))},get:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(c){if(t)return l(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(c){if(t)return f(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,i){a&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new a),p(e,r,i)):c?(t||(t=new c),h(t,r,i)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,i))}};return r}},6579:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},7673:(e,t,n)=>{"use strict";var r=n(7740),i=n(8265),o=n(2505),s=n(387);function a(e){return e.call.bind(e)}var c="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,p=a(Object.prototype.toString),d=a(Number.prototype.valueOf),l=a(String.prototype.valueOf),h=a(Boolean.prototype.valueOf);if(c)var f=a(BigInt.prototype.valueOf);if(u)var m=a(Symbol.prototype.valueOf);function g(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===p(e)}function b(e){return"[object Set]"===p(e)}function v(e){return"[object WeakMap]"===p(e)}function w(e){return"[object WeakSet]"===p(e)}function k(e){return"[object ArrayBuffer]"===p(e)}function x(e){return"undefined"!=typeof ArrayBuffer&&(k.working?k(e):e instanceof ArrayBuffer)}function T(e){return"[object DataView]"===p(e)}function S(e){return"undefined"!=typeof DataView&&(T.working?T(e):e instanceof DataView)}function O(e){return"[object SharedArrayBuffer]"===p(e)}function _(e){return"undefined"!=typeof SharedArrayBuffer&&(O.working?O(e):e instanceof SharedArrayBuffer)}function E(e){return g(e,d)}function I(e){return g(e,l)}function j(e){return g(e,h)}function A(e){return c&&g(e,f)}function C(e){return u&&g(e,m)}t.isArgumentsObject=r,t.isGeneratorFunction=i,t.isTypedArray=s,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):s(e)||S(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},b.working="undefined"!=typeof Set&&b(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(b.working?b(e):e instanceof Set)},v.working="undefined"!=typeof WeakMap&&v(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(v.working?v(e):e instanceof WeakMap)},w.working="undefined"!=typeof WeakSet&&w(new WeakSet),t.isWeakSet=function(e){return w(e)},k.working="undefined"!=typeof ArrayBuffer&&k(new ArrayBuffer),t.isArrayBuffer=x,T.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&T(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=S,O.working="undefined"!=typeof SharedArrayBuffer&&O(new SharedArrayBuffer),t.isSharedArrayBuffer=_,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===p(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===p(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===p(e)},t.isGeneratorObject=function(e){return"[object Generator]"===p(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===p(e)},t.isNumberObject=E,t.isStringObject=I,t.isBooleanObject=j,t.isBigIntObject=A,t.isSymbolObject=C,t.isBoxedPrimitive=function(e){return E(e)||I(e)||j(e)||A(e)||C(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(x(e)||_(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})}))},1323:(e,t,n)=>{var r=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},i=/%[sdj%]/g;t.format=function(e){if(!b(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(c(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,s=String(e).replace(i,(function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}})),a=r[n];n<o;a=r[++n])g(a)||!k(a)?s+=" "+a:s+=" "+c(a);return s},t.deprecate=function(e,t){if(!0==={}.noDeprecation)return e;var n=!1;return function(){if(!n){if({}.throwDeprecation)throw new Error(t);!{}.traceDeprecation?console.error(t):console.trace(t),n=!0}return e.apply(this,arguments)}};var o={},s=/^$/;if({NODE_ENV:"production",COCONUT:"false",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,DOCS_SITE_URL:"https://docs.deque.com/devtools-html",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-whatslefttotest",ENV:"production",AXE_PRO_URL:"https://axe.deque.com",USAGE_SERVICE_URL:"https://usage.deque.com",AMPLITUDE_API_KEY:"a1ce09d0b14ddcc12ab7b508b6606a2f",DATADOG_CLIENT_TOKEN:"puba2eb4ed47c6eb69ce20ef237db754ff8"}.NODE_DEBUG){var a={NODE_ENV:"production",COCONUT:"false",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,DOCS_SITE_URL:"https://docs.deque.com/devtools-html",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-whatslefttotest",ENV:"production",AXE_PRO_URL:"https://axe.deque.com",USAGE_SERVICE_URL:"https://usage.deque.com",AMPLITUDE_API_KEY:"a1ce09d0b14ddcc12ab7b508b6606a2f",DATADOG_CLIENT_TOKEN:"puba2eb4ed47c6eb69ce20ef237db754ff8"}.NODE_DEBUG;a=a.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),s=new RegExp("^"+a+"$","i")}function c(e,n){var r={seen:[],stylize:p};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),m(n)?r.showHidden=n:n&&t._extend(r,n),v(r.showHidden)&&(r.showHidden=!1),v(r.depth)&&(r.depth=2),v(r.colors)&&(r.colors=!1),v(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=u),d(r,e,r.depth)}function u(e,t){var n=c.styles[t];return n?"["+c.colors[n][0]+"m"+e+"["+c.colors[n][1]+"m":e}function p(e,t){return e}function d(e,n,r){if(e.customInspect&&n&&S(n.inspect)&&n.inspect!==t.inspect&&(!n.constructor||n.constructor.prototype!==n)){var i=n.inspect(r,e);return b(i)||(i=d(e,i,r)),i}var o=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(b(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}if(y(t))return e.stylize(""+t,"number");if(m(t))return e.stylize(""+t,"boolean");if(g(t))return e.stylize("null","null")}(e,n);if(o)return o;var s=Object.keys(n),a=function(e){var t={};return e.forEach((function(e,n){t[e]=!0})),t}(s);if(e.showHidden&&(s=Object.getOwnPropertyNames(n)),T(n)&&(s.indexOf("message")>=0||s.indexOf("description")>=0))return l(n);if(0===s.length){if(S(n)){var c=n.name?": "+n.name:"";return e.stylize("[Function"+c+"]","special")}if(w(n))return e.stylize(RegExp.prototype.toString.call(n),"regexp");if(x(n))return e.stylize(Date.prototype.toString.call(n),"date");if(T(n))return l(n)}var u,p="",k=!1,O=["{","}"];(f(n)&&(k=!0,O=["[","]"]),S(n))&&(p=" [Function"+(n.name?": "+n.name:"")+"]");return w(n)&&(p=" "+RegExp.prototype.toString.call(n)),x(n)&&(p=" "+Date.prototype.toUTCString.call(n)),T(n)&&(p=" "+l(n)),0!==s.length||k&&0!=n.length?r<0?w(n)?e.stylize(RegExp.prototype.toString.call(n),"regexp"):e.stylize("[Object]","special"):(e.seen.push(n),u=k?function(e,t,n,r,i){for(var o=[],s=0,a=t.length;s<a;++s)j(t,String(s))?o.push(h(e,t,n,r,String(s),!0)):o.push("");return i.forEach((function(i){i.match(/^\d+$/)||o.push(h(e,t,n,r,i,!0))})),o}(e,n,r,a,s):s.map((function(t){return h(e,n,r,a,t,k)})),e.seen.pop(),function(e,t,n){if(e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0)>60)return n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+n[1];return n[0]+t+" "+e.join(", ")+" "+n[1]}(u,p,O)):O[0]+p+O[1]}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function h(e,t,n,r,i,o){var s,a,c;if((c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?a=c.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):c.set&&(a=e.stylize("[Setter]","special")),j(r,i)||(s="["+i+"]"),a||(e.seen.indexOf(c.value)<0?(a=g(n)?d(e,c.value,null):d(e,c.value,n-1)).indexOf("\n")>-1&&(a=o?a.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+a.split("\n").map((function(e){return" "+e})).join("\n")):a=e.stylize("[Circular]","special")),v(s)){if(o&&i.match(/^\d+$/))return a;(s=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function f(e){return Array.isArray(e)}function m(e){return"boolean"==typeof e}function g(e){return null===e}function y(e){return"number"==typeof e}function b(e){return"string"==typeof e}function v(e){return void 0===e}function w(e){return k(e)&&"[object RegExp]"===O(e)}function k(e){return"object"==typeof e&&null!==e}function x(e){return k(e)&&"[object Date]"===O(e)}function T(e){return k(e)&&("[object Error]"===O(e)||e instanceof Error)}function S(e){return"function"==typeof e}function O(e){return Object.prototype.toString.call(e)}function _(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(e=e.toUpperCase(),!o[e])if(s.test(e)){var n={}.pid;o[e]=function(){var r=t.format.apply(t,arguments);console.error("%s %d: %s",e,n,r)}}else o[e]=function(){};return o[e]},t.inspect=c,c.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},c.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=n(7673),t.isArray=f,t.isBoolean=m,t.isNull=g,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=w,t.types.isRegExp=w,t.isObject=k,t.isDate=x,t.types.isDate=x,t.isError=T,t.types.isNativeError=T,t.isFunction=S,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n(6579);var E=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function I(){var e=new Date,t=[_(e.getHours()),_(e.getMinutes()),_(e.getSeconds())].join(":");return[e.getDate(),E[e.getMonth()],t].join(" ")}function j(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",I(),t.format.apply(t,arguments))},t.inherits=n(87),t._extend=function(e,t){if(!t||!k(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};var A="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function C(e,t){if(!e){var n=new Error("Promise was rejected with a falsy value");n.reason=e,e=n}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(A&&e[A]){var t;if("function"!=typeof(t=e[A]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,n,r=new Promise((function(e,r){t=e,n=r})),i=[],o=0;o<arguments.length;o++)i.push(arguments[o]);i.push((function(e,r){e?n(e):t(r)}));try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),A&&Object.defineProperty(t,A,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,r(e))},t.promisify.custom=A,t.callbackify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');function t(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if("function"!=typeof r)throw new TypeError("The last argument must be of type Function");var i=this,o=function(){return r.apply(i,arguments)};e.apply(this,t).then((function(e){({}).nextTick(o.bind(null,null,e))}),(function(e){({}).nextTick(C.bind(null,e,o))}))}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),Object.defineProperties(t,r(e)),t}},1719:(e,t,n)=>{var r=n(2998),i=n(6541),o=i;o.v1=r,o.v4=i,e.exports=o},3973:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var r=n||0,i=t;return[i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],"-",i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]],i[e[r++]]].join("")}},6963:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var r=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),r[t]=e>>>((3&t)<<3)&255;return r}}},2998:(e,t,n)=>{var r,i,o=n(6963),s=n(3973),a=0,c=0;e.exports=function(e,t,n){var u=t&&n||0,p=t||[],d=(e=e||{}).node||r,l=void 0!==e.clockseq?e.clockseq:i;if(null==d||null==l){var h=o();null==d&&(d=r=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==l&&(l=i=16383&(h[6]<<8|h[7]))}var f=void 0!==e.msecs?e.msecs:(new Date).getTime(),m=void 0!==e.nsecs?e.nsecs:c+1,g=f-a+(m-c)/1e4;if(g<0&&void 0===e.clockseq&&(l=l+1&16383),(g<0||f>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");a=f,c=m,i=l;var y=(1e4*(268435455&(f+=122192928e5))+m)%4294967296;p[u++]=y>>>24&255,p[u++]=y>>>16&255,p[u++]=y>>>8&255,p[u++]=255&y;var b=f/4294967296*1e4&268435455;p[u++]=b>>>8&255,p[u++]=255&b,p[u++]=b>>>24&15|16,p[u++]=b>>>16&255,p[u++]=l>>>8|128,p[u++]=255&l;for(var v=0;v<6;++v)p[u+v]=d[v];return t||s(p)}},6541:(e,t,n)=>{var r=n(6963),i=n(3973);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[o+a]=s[a];return t||i(s)}},8574:(e,t,n)=>{"use strict";var r=n(8559),i=n(7691),o=n(240),s=n(3448),a=n(7810);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:r(e)?"String":i(e)?"Number":o(e)?"Boolean":s(e)?"Symbol":a(e)?"BigInt":void 0}},2505:(e,t,n)=>{"use strict";var r=n(8372),i=n(973),o=n(2737),s=o("Object.prototype.toString"),a=n(679)()&&"symbol"==typeof Symbol.toStringTag,c=i(),u=o("String.prototype.slice"),p={},d=n(6371),l=Object.getPrototypeOf;a&&d&&l&&r(c,(function(e){if("function"==typeof n.g[e]){var t=new n.g[e];if(!(Symbol.toStringTag in t))throw new EvalError("this engine has support for Symbol.toStringTag, but "+e+" does not have the property! Please report this.");var r=l(t),i=d(r,Symbol.toStringTag);if(!i){var o=l(r);i=d(o,Symbol.toStringTag)}p[e]=i.get}}));var h=n(387);e.exports=function(e){return!!h(e)&&(a?function(e){var t=!1;return r(p,(function(n,r){if(!t)try{var i=n.call(e);i===r&&(t=i)}catch(e){}})),t}(e):u(s(e),8,-1))}},360:e=>{"use strict";e.exports=URL},6553:()=>{},973:(e,t,n)=>{"use strict";var r=n(7050);e.exports=function(){return r(["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],(function(e){return"function"==typeof n.g[e]}))}},2395:(e,t,n)=>{"use strict";var r=n(7740);if(n(679)()||n(8186)()){var i=Symbol.iterator;e.exports=function(e){return null!=e&&void 0!==e[i]?e[i]():r(e)?Array.prototype[i].call(e):void 0}}else{var o=n(5182),s=n(8559),a=n(8750),c=a("%Map%",!0),u=a("%Set%",!0),p=n(2737),d=p("Array.prototype.push"),l=p("String.prototype.charCodeAt"),h=p("String.prototype.slice"),f=function(e){var t=0;return{next:function(){var n,r=t>=e.length;return r||(n=e[t],t+=1),{done:r,value:n}}}},m=function(e,t){if(o(e)||r(e))return f(e);if(s(e)){var n=0;return{next:function(){var t=function(e,t){if(t+1>=e.length)return t+1;var n=l(e,t);if(n<55296||n>56319)return t+1;var r=l(e,t+1);return r<56320||r>57343?t+1:t+2}(e,n),r=h(e,n,t);return n=t,{done:t>e.length,value:r}}}}return t&&void 0!==e["_es6-shim iterator_"]?e["_es6-shim iterator_"]():void 0};if(c||u){var g=n(6966),y=n(4255),b=p("Map.prototype.forEach",!0),v=p("Set.prototype.forEach",!0);if(!{}.versions||!{}.versions.node)var w=p("Map.prototype.iterator",!0),k=p("Set.prototype.iterator",!0),x=function(e){var t=!1;return{next:function(){try{return{done:t,value:t?void 0:e.next()}}catch(e){return t=!0,{done:!0,value:void 0}}}}};var T=p("Map.prototype.@@iterator",!0)||p("Map.prototype._es6-shim iterator_",!0),S=p("Set.prototype.@@iterator",!0)||p("Set.prototype._es6-shim iterator_",!0);e.exports=function(e){return function(e){if(g(e)){if(w)return x(w(e));if(T)return T(e);if(b){var t=[];return b(e,(function(e,n){d(t,[n,e])})),f(t)}}if(y(e)){if(k)return x(k(e));if(S)return S(e);if(v){var n=[];return v(e,(function(e){d(n,e)})),f(n)}}}(e)||m(e)}}else e.exports=function(e){if(null!=e)return m(e,!0)}}},3062:(e,t,n)=>{"use strict";var r=n(6966),i=n(4255),o=n(349),s=n(7812);e.exports=function(e){if(e&&"object"==typeof e){if(r(e))return"Map";if(i(e))return"Set";if(o(e))return"WeakMap";if(s(e))return"WeakSet"}return!1}},9843:e=>{"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},9876:e=>{"use strict";e.exports={i8:"4.80.1"}}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.amdO={},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=n(9619),t=n.n(e),r=n(7160),i=n.n(r),o=n(2257),s=n(9289),a=n(8176);const c=e=>{try{const t=new URL(e);return e.replace(t.hash,"")}catch(t){return e}};var u=n(8969);var p=n(6507),d=n(6825),l=(n(7378),n(4925));const h=new Map;let f=null;async function m(){try{const e=await browser.storage.local.get();await Promise.all(Object.keys(e).filter((e=>e.startsWith("feature:"))).map((e=>browser.storage.local.remove(e))))}catch(e){l.fy.logger.error("Failed to clear feature flags from local storage",{error:e.message,stack:e.stack})}}async function g(){return{async variation(e,n=!1){const r=`feature:${e}`;try{const i=await(0,d.Z)();let o=h.get(i);o||(h.clear(),o=await(async e=>{f||(f=fetch(`${e}/api/internal/features`).then((e=>(t()(e.ok,`Feature flag API responded with ${e.status}`),e.json()))).catch((e=>{if(f=null,!(e instanceof TypeError&&"Failed to fetch"===e.message))throw e})));const{features:n}=await f;return h.set(e,n),f=null,n})(i),null!==o&&await m());const s=o.find((({id:t})=>t===e)),{[r]:a}=await browser.storage.local.get(r),c=s?s.state:"boolean"!=typeof a?n:a;return await browser.storage.local.set({[r]:c}),c}catch(e){}const i=await browser.storage.local.get(r);return(i||{}).hasOwnProperty(r)?!!i[r]:n},clearCache(){h.clear(),m(),f=null}}}async function y(e,t=!1){return(await g()).variation(e,t)}var b=n(5581),v=n(4295),w=n(2607);const k=w.ZP`There was a problem saving your results. Please try again.`,x=w.ZP`There was a problem fetching your results. Please try again.`,T=w.ZP`Failed to delete user flow. Please try again.`;const{NODE_ENV:S,IS_AXE_PRO:O,AXE_PRO_URL:_}={NODE_ENV:"production",COCONUT:"false",EDGE:"false",FIREFOX:"false",IS_AXE_PRO:"true",MANIFEST_VERSION:3,E2E:!1,DOCS_SITE_URL:"https://docs.deque.com/devtools-html",ISSUES_URL:"https://docs.deque.com/issue-help/1.0.0/en",AXE_CONFIG_URL:"https://docs.deque.com/devtools-server/4.0.0/en/axe-configuration",MANUAL_ISSUE_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-manual-issue",WHATS_LEFT_TO_TEST_URL:"https://docs.deque.com/devtools-html/4.0.0/en/devtools-whatslefttotest",ENV:"production",AXE_PRO_URL:"https://axe.deque.com",USAGE_SERVICE_URL:"https://usage.deque.com",AMPLITUDE_API_KEY:"a1ce09d0b14ddcc12ab7b508b6606a2f",DATADOG_CLIENT_TOKEN:"puba2eb4ed47c6eb69ce20ef237db754ff8"},E="true"===O;o.J.listen("identify-content-frame",(({frameId:e})=>e)),void 0!==globalThis.document&&void 0!==globalThis.XMLHttpRequest&&(0,s.L5)(),browser.tabs.onUpdated.addListener(((e,t,{url:n,title:r})=>{(t.url||t.title)&&o.J.send(o.D.devtools,"page-info:change",{url:c(n),title:r},{tabId:e})})),o.J.listen("get-distinct-id",(async()=>await(0,p.Z)()));if(o.J.listen("auth:login",(()=>browser.storage.local.remove("cachedDistinctId"))),o.J.listen("devtools:open",(async({tabId:e})=>{if(!function(e){return"number"==typeof e&&e>=0}(e))return;const{url:t,title:n}=await browser.tabs.get(e);o.J.send(o.D.devtools,"page-info:init",{url:t,title:n},{tabId:e})})),"production"===S||"test"===S){const e=i()(_);browser.runtime.onInstalled.addListener((async({reason:t})=>{if("install"===t){if("ChromePuppeteerE2E"!==navigator.userAgent){const{name:t,installType:n,version:r}=await browser.management.getSelf();console.log('[%s @ %s] installed with "%s".',t,r,n),(0,s.N9)({enterpriseInstall:["admin","other"].includes(n)}),E&&browser.tabs.create({active:!0,url:`${e}/install-success`})}}else"update"===t&&o.J.send(o.D.devtools,"extension:update")})),E&&browser.runtime.setUninstallURL(`${e}/uninstalled`)}o.J.listen("get-send-metrics",(async()=>{const e=Date.now();let{shouldSendMetrics:t,shouldSendMetricsDeadline:n=0}=await browser.storage.local.get(["shouldSendMetrics","shouldSendMetricsDeadline"]);if(void 0!==t||e<n)return t;try{let{axeServerURL:n}=await browser.storage.local.get("axeServerURL");const r=await fetch(`${"default"===n?_:n}/api/extension/collect-user-data`,{redirect:"follow"});return t=await r.json(),browser.storage.local.set({shouldSendMetrics:t,shouldSendMetricsDeadline:e+3600}),(0,s.Cu)(t),t}catch(e){return!1}})),E&&(o.J.listen("user-flow-analysis:save-results",(async({message:{id:e,results:t,extensionVersion:n},tabId:r})=>{try{return await b.Z.put(`/api/axe-devtools-pro/user-flows/${e}/results`,{results:t,axe_extension_version:n},{jsonResponse:!1})}catch(e){return(0,v.Z)(r,e,k),null}})),o.J.listen("user-flow-analysis:create",(async({message:e,tabId:t})=>{try{return await b.Z.post("/api/axe-devtools-pro/user-flows",e)}catch(e){return(0,v.Z)(t,e,k),null}})),o.J.listen("user-flow-analysis:get",(async({message:{id:e},tabId:t})=>{try{return await b.Z.get(`/api/axe-devtools-pro/user-flows/${e}`)}catch(e){return(0,v.Z)(t,e,x),null}})),o.J.listen("user-flow-analysis:get-results",(async({message:{id:e},tabId:t})=>{try{return await b.Z.get(`/api/axe-devtools-pro/user-flows/${e}/results`)}catch(e){return(0,v.Z)(t,e,x),null}})),o.J.listen("user-flow-analysis:update",(async({message:e,tabId:t})=>{try{return await b.Z.put(`/api/axe-devtools-pro/user-flows/${e.id}`,e)}catch(e){return(0,v.Z)(t,e,k),null}})),o.J.listen("user-flow-analysis:delete",(async({message:{id:e},tabId:t})=>{try{return await b.Z.delete(`/api/axe-devtools-pro/user-flows/${e}`),!0}catch(e){return(0,v.Z)(t,e,T),null}})),n(5917),o.J.listen("navigate",(async({tabId:e,message:t})=>browser.tabs.update(e,{url:t}))),o.J.listen("get-auth-code",(async({message:{loginUrl:e}})=>{try{const n=await fetch(e);return t()(n.ok),(0,u.Wp)(n.url)}catch(e){(0,s.w1)("Unable to fetch auth code",{exception:e})}})),o.J.listen("get-sso-config",(async({message:e})=>{const t=await(0,d.Z)(),{socialProvider:n,redirectPath:r}=e;try{const{url:e,realm:i,publicClientId:o,openIdConnectUrl:s}=await(0,u.aA)(),a=new URL(`${t}${r||""}`),c=new URL(`${s}/auth`);a.searchParams.set("fromextension","true"),n&&a.searchParams.set("socialProvider",n),c.searchParams.set("redirect_uri",a.href),c.searchParams.set("client_id",o),c.searchParams.set("response_type","code"),c.searchParams.set("response_mode","query"),c.searchParams.set("scope","openid");const p={authUrl:e,realm:i,publicClientId:o,redirectUrl:a.href,loginUrl:c.href,logoutUrl:`${s}/logout`,tokenUrl:`${s}/token`};return await browser.storage.local.set({"sso-config":p}),p}catch(e){return{error:!0}}})),o.J.listen("get-session",(async({message:e})=>{const{tokenUrl:t,code:n,publicClientId:r,redirectUri:i}=e,o=new FormData;o.append("code",n),o.append("grant_type","authorization_code"),o.append("client_id",r),o.append("redirect_uri",i);const s=new URLSearchParams(o).toString();return(await fetch(t,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s})).json()})),o.J.listen("get-session-user",(async({message:e})=>{const{access_token:t}=e,{axeServerURL:n}=await browser.storage.local.get("axeServerURL"),r=await fetch(`${"default"===n?_:n}/api/logged-in`,{headers:{Authorization:`Bearer ${t}`}}),i=await r.json(),o=i&&i.roles&&i.roles.find((e=>a.Z.map((e=>e.name)).includes(e)));return o&&browser.storage.local.set({userJobRole:o}),i})),o.J.listen("app:logout",(async()=>{(await browser.tabs.query({})).forEach((({id:e})=>{o.J.send(o.D.devtools,"app:logout",null,{tabId:e})}))})),o.J.listen("extension:logout",(async()=>{(await browser.tabs.query({})).forEach((({id:e})=>{o.J.send(o.D.content,"extension:logout",null,{tabId:e})}))})),o.J.listen("guided:cross-origin-feature",(async()=>y("cross_origin_iframes_v1")))),o.J.listen("analyze:scoped",(async()=>{const{enableOffline:e,sentAnalyticsScoped:t,axeServerURL:n,session:r={}}=await browser.storage.local.get(["enableOffline","sentAnalyticsScoped","axeServerURL","session"]);if(t||e)return;const i="default"===n?_:n;try{(await fetch(`${i}/api/analytics`,{method:"POST",headers:{"Content-Type":"application/json",Authorization:`Bearer ${r.access_token}`},body:JSON.stringify({event_name:"axe_first_scoped_test_date"})})).ok&&browser.storage.local.set({sentAnalyticsScoped:!0})}catch(e){}})),o.J.listen("app:plan:change",(()=>{(0,u.Sj)("app:plan:get")}))})()})();