Module 886421

60,069 characters · in 7af349a24887a0e7.js
Dependencies
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(e,t,i){let n;i.d(t,{c:()=>d,d:()=>p,i:()=>tY,l:()=>f,n:()=>tq,r:()=>tG,t:()=>tK});var r,o=i(209688),a=i(588233),s=i(171251),l=i(799201),c=i(401959),d=class extends Error{constructor(e,t){super(`POST ${s.t.qrValidateUuid} failed: ${e} ${t}`),this.name="QrValidationError",this.status=e,this.statusText=t}};async function u(e,t,i){let n=await (0,o.n)().post(s.t.createSession,{configurationId:t.configurationId,externalId:t.externalId,externalCustomerId:t.externalCustomerId,language:t.language??"en-US",customFields:t.customFields,uuid:t.uuid??null,urlUuid:t.urlUuid??null,interviewId:t.interviewId??null,...null!=t.loginHint&&""!==t.loginHint?{loginHint:t.loginHint}:{}},{headers:{"x-api-key":e,"api-version":"1.0"},signal:i});if(!n.ok)throw Error(`POST ${s.t.createSession} failed: ${n.status} ${n.statusText}`);return n.data}async function h(e,t){try{return(await (0,o.n)().post(s.t.qrValidateUuid,{onboardingId:e.onboardingId,urlUuid:e.urlUuid},{headers:{"api-version":"1.0"},signal:t})).data}catch(e){throw new d(e.data?.status??e.status,e.statusText)}}async function p(e,t){if("string"!=typeof e.urlUuid||0===e.urlUuid.length)return;let i=await h({onboardingId:e.onboardingId??null,urlUuid:e.urlUuid},t);return e.onRefreshed?.(i.urlUuid),i.urlUuid}async function f(e,t,i){let{onUrlUuidRefreshed:n,...r}=t,o=await p({urlUuid:t.urlUuid,onboardingId:t.uuid??null,onRefreshed:n},i);return u(e,{...r,urlUuid:o},i)}var m="user-agent",g="function",v="object",C="string",y="undefined",w="browser",b="device",_="engine",S="result",L="name",E="type",k="vendor",x="version",I="architecture",T="major",M="model",A="console",R="mobile",O="tablet",P="smarttv",D="wearable",F="embedded",N="inapp",U="brands",H="formFactors",$="fullVersionList",B="platform",V="platformVersion",z="bitness",j="sec-ch-ua",Z=j+"-full-version-list",W=j+"-arch",G=j+"-"+z,K=j+"-form-factors",q=j+"-"+R,Y=j+"-"+M,Q=j+"-"+B,X=Q+"-version",J=[U,$,R,M,B,V,I,H,z],ee="Amazon",et="Apple",ei="ASUS",en="BlackBerry",er="Google",eo="Huawei",ea="Lenovo",es="Honor",el="Microsoft",ec="Motorola",ed="Nvidia",eu="OnePlus",eh="OPPO",ep="Samsung",ef="Sharp",em="Sony",eg="Xiaomi",ev="Zebra",eC="Chrome",ey="Chromium",ew="Chromecast",eb="Edge",e_="Firefox",eS="Opera",eL="Facebook",eE="Sogou",ek="Mobile ",ex=" Browser",eI="Windows",eT=typeof window!==y&&window.navigator?window.navigator:void 0,eM=eT&&eT.userAgentData?eT.userAgentData:void 0,eA=function(e,t){var i={},n=t;if(!eP(t))for(var r in n={},t)for(var o in t[r])n[o]=t[r][o].concat(n[o]?n[o]:[]);for(var a in e)i[a]=n[a]&&n[a].length%2==0?n[a].concat(e[a]):e[a];return i},eR=function(e){for(var t={},i=0;i<e.length;i++)t[e[i].toUpperCase()]=e[i];return t},eO=function(e,t){if(typeof e===v&&e.length>0){for(var i in e)if(eN(t)==eN(e[i]))return!0;return!1}return!!eD(e)&&eN(t)==eN(e)},eP=function(e,t){for(var i in e)return/^(browser|cpu|device|engine|os)$/.test(i)||!!t&&eP(e[i])},eD=function(e){return typeof e===C},eF=function(e){if(e){for(var t=[],i=e$(/\\?\"/g,e).split(","),n=0;n<i.length;n++)if(i[n].indexOf(";")>-1){var r=eV(i[n]).split(";v=");t[n]={brand:r[0],version:r[1]}}else t[n]=eV(i[n]);return t}},eN=function(e){return eD(e)?e.toLowerCase():e},eU=function(e){return eD(e)?e$(/[^\d\.]/g,e).split(".")[0]:void 0},eH=function(e){for(var t in e)if(e.hasOwnProperty(t)){var i=e[t];typeof i==v&&2==i.length?this[i[0]]=i[1]:this[i]=void 0}return this},e$=function(e,t){return eD(t)?t.replace(e,""):t},eB=function(e){return e$(/\\?\"/g,e)},eV=function(e,t){return e=e$(/^\s\s*/,String(e)),typeof t===y?e:e.substring(0,t)},ez=function(e,t){if(e&&t)for(var i,n,r,o,a,s,l=0;l<t.length&&!a;){var c=t[l],d=t[l+1];for(i=n=0;i<c.length&&!a&&c[i];)if(a=c[i++].exec(e))for(r=0;r<d.length;r++)s=a[++n],typeof(o=d[r])===v&&o.length>0?2===o.length?typeof o[1]==g?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:o.length>=3&&(typeof o[1]!==g||o[1].exec&&o[1].test?3==o.length?this[o[0]]=s?s.replace(o[1],o[2]):void 0:4==o.length?this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):void 0:o.length>4&&(this[o[0]]=s?o[3].apply(this,[s.replace(o[1],o[2])].concat(o.slice(4))):void 0):o.length>3?this[o[0]]=s?o[1].apply(this,o.slice(2)):void 0:this[o[0]]=s?o[1].call(this,s,o[2]):void 0):this[o]=s||void 0;l+=2}},ej=function(e,t){for(var i in t)if(typeof t[i]===v&&t[i].length>0){for(var n=0;n<t[i].length;n++)if(eO(t[i][n],e))return"?"===i?void 0:i}else if(eO(t[i],e))return"?"===i?void 0:i;return t.hasOwnProperty("*")?t["*"]:e},eZ={ME:"4.90","NT 3.51":"3.51","NT 4.0":"4.0",2e3:["5.0","5.01"],XP:["5.1","5.2"],Vista:"6.0",7:"6.1",8:"6.2","8.1":"6.3",10:["6.4","10.0"],NT:""},eW={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},eG={Chrome:"Google Chrome",Edge:"Microsoft Edge","Edge WebView2":"Microsoft Edge WebView2","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"},eK={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[x,[L,ek+"Chrome"]],[/webview.+edge\/([\w\.]+)/i],[x,[L,eb+" WebView"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[x,[L,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[L,x],[/opios[\/ ]+([\w\.]+)/i],[x,[L,eS+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[x,[L,eS+" GX"]],[/\bopr\/([\w\.]+)/i],[x,[L,eS]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[x,[L,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[x,[L,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(atlas|flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon|otter|dooble|(?:hi|lg |ovi|qute)browser|palemoon)\/v?([-\w\.]+)/i,/(brave)(?: chrome)?\/([\d\.]+)/i,/(aloha|heytap|ovi|115|surf|qwant)browser\/([\d\.]+)/i,/(qwant)(?:ios|mobile)\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[L,x],[/quark(?:pc)?\/([-\w\.]+)/i],[x,[L,"Quark"]],[/\bddg\/([\w\.]+)/i],[x,[L,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[x,[L,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[x,[L,"WeChat"]],[/konqueror\/([\w\.]+)/i],[x,[L,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[x,[L,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[x,[L,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[x,[L,"Smart "+ea+ex]],[/(av(?:ast|g|ira))\/([\w\.]+)/i],[[L,/(.+)/,"$1 Secure"+ex],x],[/norton\/([\w\.]+)/i],[x,[L,"Norton Private"+ex]],[/\bfocus\/([\w\.]+)/i],[x,[L,e_+" Focus"]],[/ mms\/([\w\.]+)$/i],[x,[L,eS+" Neon"]],[/ opt\/([\w\.]+)$/i],[x,[L,eS+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[x,[L,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[x,[L,"Dolphin"]],[/coast\/([\w\.]+)/i],[x,[L,eS+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[x,[L,"MIUI"+ex]],[/fxios\/([\w\.-]+)/i],[x,[L,ek+e_]],[/\bqihoobrowser\/?([\w\.]*)/i],[x,[L,"360"]],[/\b(qq)\/([\w\.]+)/i],[[L,/(.+)/,"$1Browser"],x],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[L,/(.+)/,"$1"+ex],x],[/samsungbrowser\/([\w\.]+)/i],[x,[L,ep+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[x,[L,eE+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[L,eE+" Mobile"],x],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[L,x],[/(lbbrowser|luakit|rekonq|steam(?= (clie|tenf|gameo)))/i],[L],[/ome\/([\w\.]+).+(iron(?= saf)|360(?=[es]e$))/i],[x,L],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[L,eL],x,[E,N]],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(bing)(?:web|sapphire)\/([\w\.]+)/i,/(instagram|snapchat|klarna)[\/ ]([-\w\.]+)/i],[L,x,[E,N]],[/\bgsa\/([\w\.]+) .*safari\//i],[x,[L,"GSA"],[E,N]],[/(?:musical_ly|trill)(?:.+app_?version\/|_)([\w\.]+)/i],[x,[L,"TikTok"],[E,N]],[/\[(linkedin)app\]/i],[L,[E,N]],[/(zalo(?:app)?)[\/\sa-z]*([\w\.-]+)/i],[[L,/(.+)/,"Zalo"],x,[E,N]],[/(chromium)[\/ ]([-\w\.]+)/i],[L,x],[/ome-(lighthouse)$/i],[L,[E,"fetcher"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[x,[L,eC+" Headless"]],[/wv\).+chrome\/([\w\.]+).+edgw\//i],[x,[L,eb+" WebView2"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[L,eC+" WebView"],x],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[x,[L,"Android"+ex]],[/chrome\/([\w\.]+) mobile/i],[x,[L,ek+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[L,x],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[x,[L,ek+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[L,ek+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[x,L],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[L,[x,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[L,x],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[L,ek+e_],x],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[L,"Netscape"],x],[/(wolvic|librewolf)\/([\w\.]+)/i],[L,x],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[x,[L,e_+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+(?= .+rv\:.+gecko\/\d+)|[0-4][\w\.]+(?!.+compatible))/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[L,[x,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[L,[x,/[^\d\.]+./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[I,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[I,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[I,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[I,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[I,"arm"]],[/ sun4\w[;\)]/i],[[I,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i,/((ppc|powerpc)(64)?)( mac|;|\))/i,/(?:osf1|[freopnt]{3,4}bsd) (alpha)/i],[[I,/ower/,"",eN]],[/mc680.0/i],[[I,"68k"]],[/winnt.+\[axp/i],[[I,"alpha"]]],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],[M,[k,ep],[E,O]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr]|browser)[-\w]+)/i,/sec-(sgh\w+)/i],[M,[k,ep],[E,R]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)[\/\);]/i],[M,[k,et],[E,R]],[/\b(?:ios|apple\w+)\/.+[\(\/](ipad)/i,/\b(ipad)[\d,]*[;\] ].+(mac |i(pad)?)os/i],[M,[k,et],[E,O]],[/(macintosh);/i],[M,[k,et]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[M,[k,ef],[E,R]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[M,[k,es],[E,O]],[/honor([-\w ]+)[;\)]/i],[M,[k,es],[E,R]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[M,[k,eo],[E,O]],[/(?:huawei) ?([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][\dc][adnt]?)\b(?!.+d\/s)/i],[M,[k,eo],[E,R]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b(?:xiao)?((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[M,/_/g," "],[k,eg],[E,O]],[/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/oid[^\)]+; (redmi[\-_ ]?(?:note|k)?[\w_ ]+|m?[12]\d[01]\d\w{3,6}|poco[\w ]+|(shark )?\w{3}-[ah]0|qin ?[1-3](s\+|ultra| pro)?)( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note|max|cc)?[_ ]?(?:\d{0,2}\w?)[_ ]?(?:plus|se|lite|pro)?( 5g|lte)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[M,/_/g," "],[k,eg],[E,R]],[/droid.+; (cph2[3-6]\d[13579]|((gm|hd)19|(ac|be|in|kb)20|(d[en]|eb|le|mt)21|ne22)[0-2]\d|p[g-l]\w[1m]10)\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[M,[k,eu],[E,R]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[M,[k,eh],[E,R]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[M,[k,ej,{OnePlus:["203","304","403","404","413","415"],"*":eh}],[E,O]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[M,[k,"BLU"],[E,R]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[M,[k,"Vivo"],[E,R]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[M,[k,"Realme"],[E,R]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[M,[k,ea],[E,O]],[/lenovo[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i],[M,[k,ea],[E,R]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ]([\w\s]+)(\)| bui)/i,/((?:moto(?! 360)[-\w\(\) ]+|xt\d{3,4}[cgkosw\+]?[-\d]*|nexus 6)(?= bui|\)))/i],[M,[k,ec],[E,R]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[M,[k,ec],[E,O]],[/\b(?:lg)?([vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[M,[k,"LG"],[E,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch|webos))(\w+)/i,/\blg-?([\d\w]+) bui/i],[M,[k,"LG"],[E,R]],[/(nokia) (t[12][01])/i],[k,M,[E,O]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*?))( bui|\)|;|\/)/i],[[M,/_/g," "],[E,R],[k,"Nokia"]],[/(pixel (c|tablet))\b/i],[M,[k,er],[E,O]],[/droid.+;(?: google)? (g(01[13]a|020[aem]|025[jn]|1b60|1f8f|2ybb|4s1m|576d|5nz6|8hhn|8vou|a02099|c15s|d1yq|e2ae|ec77|gh2x|kv4x|p4bc|pj41|r83y|tt9q|ur25|wvk6)|pixel[\d ]*a?( pro)?( xl)?( fold)?( \(5g\))?)( bui|\))/i],[M,[k,er],[E,R]],[/(google) (pixelbook( go)?)/i],[k,M],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-\w\w\d\d)(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[M,[k,em],[E,R]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[M,"Xperia Tablet"],[k,em],[E,O]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[M,[k,ee],[E,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[M,/(.+)/g,"Fire Phone $1"],[k,ee],[E,R]],[/(playbook);[-\w\),; ]+(rim)/i],[M,k,[E,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/(?:blackberry|\(bb10;) (\w+)/i],[M,[k,en],[E,R]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[M,[k,ei],[E,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[M,[k,ei],[E,R]],[/(nexus 9)/i],[M,[k,"HTC"],[E,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[k,[M,/_/g," "],[E,R]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[M,[k,"TCL"],[E,O]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[M,[k,"TCL"],[E,R]],[/(itel) ((\w+))/i],[[k,eN],M,[E,ej,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[M,[k,"Acer"],[E,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[M,[k,"Meizu"],[E,R]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[M,[k,"Ulefone"],[E,R]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[M,[k,"Energizer"],[E,R]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[M,[k,"Cat"],[E,R]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[M,[k,"Smartfren"],[E,R]],[/droid.+; (a(in)?(0(15|59|6[35])|142)p?)/i],[M,[k,"Nothing"],[E,R]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[M,[k,"Archos"],[E,O]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[M,[k,"Archos"],[E,R]],[/; (n159v)/i],[M,[k,"HMD"],[E,R]],[/(imo) (tab \w+)/i,/(infinix|tecno) (x1101b?|p904|dp(7c|8d|10a)( pro)?|p70[1-3]a?|p904|t1101)/i],[k,M,[E,O]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|infinix|lava|oneplus|tcl|wiko)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(oppo) ?([\w ]+) bui/i,/(hisense) ([ehv][\w ]+)\)/i,/droid[^;]+; (philips)[_ ]([sv-x][\d]{3,4}[xz]?)/i],[k,M,[E,R]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[k,M,[E,O]],[/(surface duo)/i],[M,[k,el],[E,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[M,[k,"Fairphone"],[E,R]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[M,[k,ed],[E,O]],[/(sprint) (\w+)/i],[k,M,[E,R]],[/(kin\.[onetw]{3})/i],[[M,/\./g," "],[k,el],[E,R]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[M,[k,ev],[E,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[M,[k,ev],[E,R]],[/(philips)[\w ]+tv/i,/smart-tv.+(samsung)/i],[k,[E,P]],[/hbbtv.+maple;(\d+)/i],[[M,/^/,"SmartTV"],[k,ep],[E,P]],[/(vizio)(?: |.+model\/)(\w+-\w+)/i,/tcast.+(lg)e?. ([-\w]+)/i],[k,M,[E,P]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[k,"LG"],[E,P]],[/(apple) ?tv/i],[k,[M,et+" TV"],[E,P]],[/crkey.*devicetype\/chromecast/i],[[M,ew+" Third Generation"],[k,er],[E,P]],[/crkey.*devicetype\/([^/]*)/i],[[M,/^/,"Chromecast "],[k,er],[E,P]],[/fuchsia.*crkey/i],[[M,ew+" Nest Hub"],[k,er],[E,P]],[/crkey/i],[[M,ew],[k,er],[E,P]],[/(portaltv)/i],[M,[k,eL],[E,P]],[/droid.+aft(\w+)( bui|\))/i],[M,[k,ee],[E,P]],[/(shield \w+ tv)/i],[M,[k,ed],[E,P]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[M,[k,ef],[E,P]],[/(bravia[\w ]+)( bui|\))/i],[M,[k,em],[E,P]],[/(mi(tv|box)-?\w+) bui/i],[M,[k,eg],[E,P]],[/Hbbtv.*(technisat) (.*);/i],[k,M,[E,P]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[k,/.+\/(\w+)/,"$1",ej,{LG:"lge"}],[M,eV],[E,P]],[/(playstation \w+)/i],[M,[k,em],[E,A]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[M,[k,el],[E,A]],[/(ouya)/i,/(nintendo) (\w+)/i,/(retroid) (pocket ([^\)]+))/i,/(valve).+(steam deck)/i,/droid.+; ((shield|rgcube|gr0006))( bui|\))/i],[[k,ej,{Nvidia:"Shield",Anbernic:"RGCUBE",Logitech:"GR0006"}],M,[E,A]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[M,[k,ep],[E,D]],[/((pebble))app/i,/(asus|google|lg|oppo|xiaomi) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[k,M,[E,D]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[M,[k,eh],[E,D]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[M,[k,et],[E,D]],[/(opwwe\d{3})/i],[M,[k,eu],[E,D]],[/(moto 360)/i],[M,[k,ec],[E,D]],[/(smartwatch 3)/i],[M,[k,em],[E,D]],[/(g watch r)/i],[M,[k,"LG"],[E,D]],[/droid.+; (wt63?0{2,3})\)/i],[M,[k,ev],[E,D]],[/droid.+; (glass) \d/i],[M,[k,er],[E,"xr"]],[/(pico) ([\w ]+) os\d/i],[k,M,[E,"xr"]],[/(quest( \d| pro)?s?).+vr/i],[M,[k,eL],[E,"xr"]],[/mobile vr; rv.+firefox/i],[[E,"xr"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[k,[E,F]],[/(aeobc)\b/i],[M,[k,ee],[E,F]],[/(homepod).+mac os/i],[M,[k,et],[E,F]],[/windows iot/i],[[E,F]],[/droid.+; ([\w- ]+) (4k|android|smart|google)[- ]?tv/i],[M,[E,P]],[/\b((4k|android|smart|opera)[- ]?tv|tv; rv:|large screen[\w ]+safari)\b/i],[[E,P]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew|; hmsc).+?(mobile|vr|\d) safari/i],[M,[E,ej,{mobile:"Mobile",xr:"VR","*":O}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[E,O]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[E,R]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[M,[k,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[x,[L,eb+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[L,x],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[x,[L,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links|dillo)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[L,x],[/ladybird\//i],[[L,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[x,L]],os:[[/(windows nt) (6\.[23]); arm/i],[[L,/N/,"R"],[x,ej,eZ]],[/(windows (?:phone|mobile|iot))(?: os)?[\/ ]?([\d\.]*( se)?)/i,/(windows)[\/ ](1[01]|2000|3\.1|7|8(\.1)?|9[58]|me|server 20\d\d( r2)?|vista|xp)/i],[L,x],[/windows nt ?([\d\.\)]*)(?!.+xbox)/i,/\bwin(?=3| ?9|n)(?:nt| 9x )?([\d\.;]*)/i],[[x,/(;|\))/g,"",ej,eZ],[L,eI]],[/(windows ce)\/?([\d\.]*)/i],[L,x],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv|ios(?=.+ip(?:ad|hone)|.+apple ?tv)|ip(?:ad|hone)(?: |.+i(?:pad)?)os|apple ?tv.+ios)[\/ ]([\w\.]+)/i,/\btvos ?([\w\.]+)/i,/cfnetwork\/.+darwin/i],[[x,/_/g,"."],[L,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+(haiku|morphos))/i],[[L,"macOS"],[x,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[x,[L,ew+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[x,[L,ew+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[x,[L,ew+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[x,[L,ew+" Linux"]],[/crkey\/([\d\.]+)/i],[x,[L,ew]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[x,L],[/(ubuntu) ([\w\.]+) like android/i],[[L,/(.+)/,"$1 Touch"],x],[/(harmonyos)[\/ ]?([\d\.]*)/i,/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen)\w*[-\/\.; ]?([\d\.]*)/i],[L,x],[/\(bb(10);/i],[x,[L,en]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[x,[L,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile[;\w ]*|tablet|tv|[^\)]*(?:viera|lg(?:l25|-d300)|alcatel ?o.+|y300-f1)); rv:([\w\.]+)\).+gecko\//i],[x,[L,e_+" OS"]],[/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i,/webos(?:[ \/]?|\.tv-20(?=2[2-9]))(\d[\d\.]*)/i],[x,[L,"webOS"]],[/web0s;.+?(?:chr[o0]me|safari)\/(\d+)/i],[[x,ej,{25:"120",24:"108",23:"94",22:"87",6:"79",5:"68",4:"53",3:"38",2:"538",1:"537","*":"TV"}],[L,"webOS"]],[/watch(?: ?os[,\/ ]|\d,\d\/)([\d\.]+)/i],[x,[L,"watchOS"]],[/cros [\w]+(?:\)| ([\w\.]+)\b)/i],[x,[L,"Chrome OS"]],[/kepler ([\w\.]+); (aft|aeo)/i],[x,[L,"Vega OS"]],[/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/linux.+(mint)[\/\(\) ]?([\w\.]*)/i,/(mageia|vectorlinux|fuchsia|arcaos|arch(?= ?linux))[;l ]([\d\.]*)/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire|knoppix)(?: gnu[\/ ]linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/\b(aix)[; ]([1-9\.]{0,4})/i,/(hurd|linux|morphos)(?: (?:arm|x86|ppc)\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) ?(r\d)?/i],[L,x],[/(sunos) ?([\d\.]*)/i],[[L,"Solaris"],x],[/\b(beos|os\/2|amigaos|openvms|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[L,x]]},eq=(r={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}},eH.call(r.init,[[w,[L,x,T,E]],["cpu",[I]],[b,[E,M,k]],[_,[L,x]],["os",[L,x]]]),eH.call(r.isIgnore,[[w,[x,T]],[_,[x]],["os",[x]]]),eH.call(r.isIgnoreRgx,[[w,/ ?browser$/i],["os",/ ?os$/i]]),eH.call(r.toString,[[w,[L,x]],["cpu",[I]],[b,[k,M]],[_,[L,x]],["os",[L,x]]]),r),eY=function(e,t){var i=eq.init[t],n=eq.isIgnore[t]||0,r=eq.isIgnoreRgx[t]||0,o=eq.toString[t]||0;function a(){eH.call(this,i)}return a.prototype.getItem=function(){return e},a.prototype.withClientHints=function(){return eM?eM.getHighEntropyValues(J).then(function(t){return e.setCH(new eQ(t,!1)).parseCH().get()}):e.parseCH().get()},a.prototype.withFeatureCheck=function(){return e.detectFeature().get()},t!=S&&(a.prototype.is=function(e){var t=!1;for(var i in this)if(this.hasOwnProperty(i)&&!eO(n,i)&&eN(r?e$(r,this[i]):this[i])==eN(r?e$(r,e):e)){if(t=!0,e!=y)break}else if(e==y&&t){t=!t;break}return t},a.prototype.toString=function(){var e="";for(var t in o)typeof this[o[t]]!==y&&(e+=(e?" ":"")+this[o[t]]);return e||y}),a.prototype.then=function(e){var t=this,i=function(){for(var e in t)t.hasOwnProperty(e)&&(this[e]=t[e])};i.prototype={is:a.prototype.is,toString:a.prototype.toString,withClientHints:a.prototype.withClientHints,withFeatureCheck:a.prototype.withFeatureCheck};var n=new i;return e(n),n},new a};function eQ(e,t){if(e=e||{},eH.call(this,J),t)eH.call(this,[[U,eF(e[j])],[$,eF(e[Z])],[R,/\?1/.test(e[q])],[M,eB(e[Y])],[B,eB(e[Q])],[V,eB(e[X])],[I,eB(e[W])],[H,eF(e[K])],[z,eB(e[G])]]);else for(var i in e)this.hasOwnProperty(i)&&typeof e[i]!==y&&(this[i]=e[i])}function eX(e,t,i,n){return eH.call(this,[["itemType",e],["ua",t],["uaCH",n],["rgxMap",i],["data",eY(this,e)]]),this}function eJ(e,t,i){if(typeof e===v?(eP(e,!0)?(typeof t===v&&(i=t),t=e):(i=e,t=void 0),e=void 0):typeof e!==C||eP(t,!0)||(i=t,t=void 0),i)if(typeof i.append===g){var n={};i.forEach(function(e,t){n[String(t).toLowerCase()]=e}),i=n}else{var r={};for(var o in i)i.hasOwnProperty(o)&&(r[String(o).toLowerCase()]=i[o]);i=r}if(!(this instanceof eJ))return new eJ(e,t,i).getResult();var a=typeof e===C?e:i&&i[m]?i[m]:eT&&eT.userAgent?eT.userAgent:"",s=new eQ(i,!0),l=t?eA(eK,t):eK,c=function(e){return e==S?function(){return new eX(e,a,l,s).set("ua",a).set(w,this.getBrowser()).set("cpu",this.getCPU()).set(b,this.getDevice()).set(_,this.getEngine()).set("os",this.getOS()).get()}:function(){return new eX(e,a,l[e],s).parseUA().get()}};return eH.call(this,[["getBrowser",c(w)],["getCPU",c("cpu")],["getDevice",c(b)],["getEngine",c(_)],["getOS",c("os")],["getResult",c(S)],["getUA",function(){return a}],["setUA",function(e){return eD(e)&&(a=eV(e,500)),this}]]).setUA(a),this}eX.prototype.get=function(e){return e?this.data.hasOwnProperty(e)?this.data[e]:void 0:this.data},eX.prototype.set=function(e,t){return this.data[e]=t,this},eX.prototype.setCH=function(e){return this.uaCH=e,this},eX.prototype.detectFeature=function(){if(eT&&eT.userAgent==this.ua)switch(this.itemType){case w:eT.brave&&typeof eT.brave.isBrave==g&&this.set(L,"Brave");break;case b:!this.get(E)&&eM&&eM[R]&&this.set(E,R),"Macintosh"==this.get(M)&&eT&&typeof eT.standalone!==y&&eT.maxTouchPoints&&eT.maxTouchPoints>2&&this.set(M,"iPad").set(E,O);break;case"os":!this.get(L)&&eM&&eM[B]&&this.set(L,eM[B]);break;case S:var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(w,t(w)).set("cpu",t("cpu")).set(b,t(b)).set(_,t(_)).set("os",t("os"))}return this},eX.prototype.parseUA=function(){switch(this.itemType!=S&&ez.call(this.data,this.ua,this.rgxMap),this.itemType){case w:this.set(T,eU(this.get(x)));break;case"os":if("iOS"==this.get(L)&&"18.6"==this.get(x)){var e=/\) Version\/([\d\.]+)/.exec(this.ua);e&&parseInt(e[1].substring(0,2),10)>=26&&this.set(x,e[1])}}return this},eX.prototype.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case w:case _:var i,n=e[$]||e[U];if(n)for(var r=0;r<n.length;r++){var o=n[r].brand||n[r],a=n[r].version;this.itemType==w&&!/not.a.brand/i.test(o)&&(!i||/Chrom/.test(i)&&o!=ey||i==eb&&/WebView2/.test(o))&&(o=ej(o,eG),(i=this.get(L))&&!/Chrom/.test(i)&&/Chrom/.test(o)||this.set(L,o).set(x,a).set(T,eU(a)),i=o),this.itemType==_&&o==ey&&this.set(x,a)}break;case"cpu":var s=e[I];s&&(s&&"64"==e[z]&&(s+="64"),ez.call(this.data,s+";",t));break;case b:if(e[R]&&this.set(E,R),e[M]&&(this.set(M,e[M]),!this.get(E)||!this.get(k))){var l,c={};ez.call(c,"droid 9; "+e[M]+")",t),!this.get(E)&&c.type&&this.set(E,c.type),!this.get(k)&&c.vendor&&this.set(k,c.vendor)}if(e[H]){if("string"!=typeof e[H])for(var d=0;!l&&d<e[H].length;)l=ej(e[H][d++],eW);else l=ej(e[H],eW);this.set(E,l)}break;case"os":var u=e[B];if(u){var h=e[V];u==eI&&(h=parseInt(eU(h),10)>=13?"11":"10"),this.set(L,u).set(x,h)}this.get(L)==eI&&"Xbox"==e[M]&&this.set(L,"Xbox").set(x,void 0);break;case S:var p=this.data,f=function(t){return p[t].getItem().setCH(e).parseCH().get()};this.set(w,f(w)).set("cpu",f("cpu")).set(b,f(b)).set(_,f(_)).set("os",f("os"))}return this},eJ.VERSION="2.0.9",eJ.BROWSER=eR([L,x,T,E]),eJ.CPU=eR([I]),eJ.DEVICE=eR([M,k,E,A,R,P,O,D,F]),eJ.ENGINE=eJ.OS=eR([L,x]);var e1=class{checkWebRtcSupport(){if("u"<typeof window)return!1;let e="RTCPeerConnection"in window||"webkitRTCPeerConnection"in window||"mozRTCPeerConnection"in window,t="u">typeof navigator&&navigator.mediaDevices?.getUserMedia!==void 0;return e&&t}getBrowserInfo(){let e="u">typeof navigator?navigator.userAgent:"",t=new eJ(e).getResult();return{userAgent:e,isWebRtcSupported:this.checkWebRtcSupport(),browser:{name:t.browser.name,version:t.browser.version},os:{name:t.os.name,version:t.os.version},device:{model:t.device.model,type:t.device.type,vendor:t.device.vendor},engine:{name:t.engine.name,version:t.engine.version},cpu:{architecture:t.cpu.architecture}}}};let e2=new Set(["model","platformVersion","fullVersionList","brands","platform"]);function e0(){let e=new eJ().getResult();return{device:{model:e.device.model},os:{name:e.os.name,version:e.os.version},browser:{name:e.browser.name,version:e.browser.version}}}function e3(e){return e?.trim()||void 0}async function e6(e){var t,i;let n,r=await e.getHighEntropyValues(Array.from(e2)),{name:o,version:a}=(t=r.fullVersionList,i=e.brands,n=t?.[0]||i?.[0],{name:e3(n?.brand),version:e3(n?.version)});return{device:{model:e3(r.model)},os:{name:e3(r.platform),version:e3(r.platformVersion)},browser:{name:o,version:a}}}async function e5(){var e;if("u"<typeof navigator)return{device:{},os:{},browser:{}};let t=navigator,i=e0();if(!t.userAgentData?.getHighEntropyValues||"function"!=typeof t.userAgentData.getHighEntropyValues)return i;try{return e=await e6(t.userAgentData),{device:{model:e.device?.model||i.device.model},os:{name:e.os?.name||i.os.name,version:e.os?.version||i.os.version},browser:(e=>{let t="u">typeof navigator?navigator.userAgent:"",i=e0();if(!t)return e;try{return{...e,name:i.browser.name,version:i.browser.version}}catch{return{...e,name:"Unknown",version:"Unknown"}}})({name:e.browser?.name||i.browser.name,version:e.browser?.version||i.browser.version})}}catch{return i}}let e4="thumbmark",e9="https://api.thumbmarkjs.com",e8={exclude:[],include:[],stabilize:["private","iframe"],logging:!0,timeout:5e3,cache_api_call:!0,cache_lifetime_in_ms:0,performance:!1,experimental:!1,property_name_factory:e=>`${e4}_${e}`};({...e8});let e7={private:[{exclude:["canvas"],browsers:["firefox","safari>=17","brave"]},{exclude:["audio"],browsers:["samsungbrowser","safari"]},{exclude:["fonts"],browsers:["firefox"]},{exclude:["audio.sampleHash","hardware.deviceMemory","header.acceptLanguage.q","system.hardwareConcurrency","plugins"],browsers:["brave"]},{exclude:["tls.extensions"],browsers:["firefox","chrome","safari"]},{exclude:["header.acceptLanguage"],browsers:["edge","chrome"]}],iframe:[{exclude:["system.applePayVersion","system.cookieEnabled"],browsers:["safari"]},{exclude:["permissions"]}],vpn:[{exclude:["ip"]}]},te="u">typeof window?window.OfflineAudioContext||window.webkitOfflineAudioContext:null;function tt(e,t,i){let n=[];for(let t=0;t<e[0].data.length;t++){let i=[];for(let n=0;n<e.length;n++)i.push(e[n].data[t]);n.push(function(e){if(0===e.length)return 0;let t={};for(let i of e)t[i]=(t[i]||0)+1;let i=e[0];for(let e in t)t[e]>t[i]&&(i=parseInt(e,10));return i}(i))}return new ImageData(new Uint8ClampedArray(n),t,i)}function ti(e){return e^=e>>>16,e=Math.imul(e,0x85ebca6b),e^=e>>>13,e=Math.imul(e,0xc2b2ae35),(e^=e>>>16)>>>0}let tn=new Uint32Array([0x239b961b,0xab0e9789,0x38b34ae5,0xa1e38b93]);function tr(e,t){return e<<t|e>>>32-t}function to(e,t=0){var i;if(t=t?0|t:0,"string"==typeof e&&(e=function(e){if("u">typeof TextEncoder)return new TextEncoder().encode(e).buffer;let t=[];for(let i=0;i<e.length;i++){let n=e.charCodeAt(i);n<128?t.push(n):n<2048?t.push(192|n>>6,128|63&n):n<55296||n>=57344?t.push(224|n>>12,128|n>>6&63,128|63&n):(i++,n=65536+((1023&n)<<10|1023&e.charCodeAt(i)),t.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return new Uint8Array(t).buffer}(e)),!(e instanceof ArrayBuffer))throw TypeError("Expected key to be ArrayBuffer or string");let n=new Uint32Array([t,t,t,t]);return function(e,t){let i=e.byteLength/16|0,n=new Uint32Array(e,0,4*i);for(let e=0;e<i;e++){let i=n.subarray(4*e,4*(e+1));i[0]=Math.imul(i[0],tn[0]),i[0]=tr(i[0],15),i[0]=Math.imul(i[0],tn[1]),t[0]=t[0]^i[0],t[0]=tr(t[0],19),t[0]=t[0]+t[1],t[0]=Math.imul(t[0],5)+0x561ccd1b,i[1]=Math.imul(i[1],tn[1]),i[1]=tr(i[1],16),i[1]=Math.imul(i[1],tn[2]),t[1]=t[1]^i[1],t[1]=tr(t[1],17),t[1]=t[1]+t[2],t[1]=Math.imul(t[1],5)+0xbcaa747,i[2]=Math.imul(i[2],tn[2]),i[2]=tr(i[2],17),i[2]=Math.imul(i[2],tn[3]),t[2]=t[2]^i[2],t[2]=tr(t[2],15),t[2]=t[2]+t[3],t[2]=Math.imul(t[2],5)+0x96cd1c35,i[3]=Math.imul(i[3],tn[3]),i[3]=tr(i[3],18),i[3]=Math.imul(i[3],tn[0]),t[3]=t[3]^i[3],t[3]=tr(t[3],13),t[3]=t[3]+t[0],t[3]=Math.imul(t[3],5)+0x32ac3b17}}(e,n),function(e,t){let i=e.byteLength/16|0,n=e.byteLength%16,r=new Uint32Array(4),o=new Uint8Array(e,16*i,n);switch(n){case 15:r[3]=r[3]^o[14]<<16;case 14:r[3]=r[3]^o[13]<<8;case 13:r[3]=r[3]^o[12],r[3]=Math.imul(r[3],tn[3]),r[3]=tr(r[3],18),r[3]=Math.imul(r[3],tn[0]),t[3]=t[3]^r[3];case 12:r[2]=r[2]^o[11]<<24;case 11:r[2]=r[2]^o[10]<<16;case 10:r[2]=r[2]^o[9]<<8;case 9:r[2]=r[2]^o[8],r[2]=Math.imul(r[2],tn[2]),r[2]=tr(r[2],17),r[2]=Math.imul(r[2],tn[3]),t[2]=t[2]^r[2];case 8:r[1]=r[1]^o[7]<<24;case 7:r[1]=r[1]^o[6]<<16;case 6:r[1]=r[1]^o[5]<<8;case 5:r[1]=r[1]^o[4],r[1]=Math.imul(r[1],tn[1]),r[1]=tr(r[1],16),r[1]=Math.imul(r[1],tn[2]),t[1]=t[1]^r[1];case 4:r[0]=r[0]^o[3]<<24;case 3:r[0]=r[0]^o[2]<<16;case 2:r[0]=r[0]^o[1]<<8;case 1:r[0]=r[0]^o[0],r[0]=Math.imul(r[0],tn[0]),r[0]=tr(r[0],15),r[0]=Math.imul(r[0],tn[1]),t[0]=t[0]^r[0]}}(e,n),i=e,n[0]=n[0]^i.byteLength,n[1]=n[1]^i.byteLength,n[2]=n[2]^i.byteLength,n[3]=n[3]^i.byteLength,n[0]=n[0]+n[1]|0,n[0]=n[0]+n[2]|0,n[0]=n[0]+n[3]|0,n[1]=n[1]+n[0]|0,n[2]=n[2]+n[0]|0,n[3]=n[3]+n[0]|0,n[0]=ti(n[0]),n[1]=ti(n[1]),n[2]=ti(n[2]),n[3]=ti(n[3]),n[0]=n[0]+n[1]|0,n[0]=n[0]+n[2]|0,n[0]=n[0]+n[3]|0,n[1]=n[1]+n[0]|0,n[2]=n[2]+n[0]|0,n[3]=n[3]+n[0]|0,Array.from(new Uint8Array(n.buffer)).map(e=>e.toString(16).padStart(2,"0")).join("")}async function ta(e){for(var t;!document.body;)await new Promise(e=>setTimeout(e,50,void 0));let i=document.createElement("iframe");i.setAttribute("frameBorder","0");let n=i.style;n.setProperty("position","fixed"),n.setProperty("display","block","important"),n.setProperty("visibility","visible"),n.setProperty("border","0"),n.setProperty("opacity","0"),i.src="about:blank",document.body.appendChild(i);let r=i.contentDocument||(null==(t=i.contentWindow)?void 0:t.document);if(!r)throw Error("Iframe document is not accessible");e({iframe:r}),setTimeout(()=>{document.body.removeChild(i)},0)}let ts=["Arial","Arial Black","Arial Narrow","Arial Rounded MT","Arimo","Archivo","Barlow","Bebas Neue","Bitter","Bookman","Calibri","Cabin","Candara","Century","Century Gothic","Comic Sans MS","Constantia","Courier","Courier New","Crimson Text","DM Mono","DM Sans","DM Serif Display","DM Serif Text","Dosis","Droid Sans","Exo","Fira Code","Fira Sans","Franklin Gothic Medium","Garamond","Geneva","Georgia","Gill Sans","Helvetica","Impact","Inconsolata","Indie Flower","Inter","Josefin Sans","Karla","Lato","Lexend","Lucida Bright","Lucida Console","Lucida Sans Unicode","Manrope","Merriweather","Merriweather Sans","Montserrat","Myriad","Noto Sans","Nunito","Nunito Sans","Open Sans","Optima","Orbitron","Oswald","Pacifico","Palatino","Perpetua","PT Sans","PT Serif","Poppins","Prompt","Public Sans","Quicksand","Rajdhani","Recursive","Roboto","Roboto Condensed","Rockwell","Rubik","Segoe Print","Segoe Script","Segoe UI","Sora","Source Sans Pro","Space Mono","Tahoma","Taviraj","Times","Times New Roman","Titillium Web","Trebuchet MS","Ubuntu","Varela Round","Verdana","Work Sans"],tl=["monospace","sans-serif","serif"];function tc(e,t){return e.font=`72px ${t}`,e.measureText("WwMmLli0Oo").width}let td=(e,t,i,n)=>{let r=(i-t)/n,o=0;for(let i=0;i<n;i++)o+=e(t+(i+.5)*r);return o*r},tu=["accelerometer","accessibility","accessibility-events","ambient-light-sensor","background-fetch","background-sync","bluetooth","camera","clipboard-read","clipboard-write","device-info","display-capture","gyroscope","geolocation","local-fonts","magnetometer","microphone","midi","nfc","notifications","payment-handler","persistent-storage","push","speaker","storage-access","top-level-storage-access","window-management","query"];function th(){var e,t,i,n,r,o;if("u"<typeof navigator)return{name:"unknown",version:"unknown"};let a=navigator.userAgent,s={edg:"Edge",edga:"Edge",edgios:"Edge",opr:"Opera",opx:"Opera",crios:"Chrome",fxios:"Firefox",samsung:"SamsungBrowser",vivaldi:"Vivaldi",brave:"Brave"};for(let l of[/(?<name>SamsungBrowser)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>EdgA|EdgiOS|Edg)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>OPR|OPX)\/(?<version>\d+(?:\.\d+)+)/,/Opera[\s\/](?<version>\d+(?:\.\d+)+)/,/Opera Mini\/(?<version>\d+(?:\.\d+)+)/,/Opera Mobi\/(?<version>\d+(?:\.\d+)+)/,/(?<name>Vivaldi)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>Brave)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>CriOS)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>FxiOS)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>Chrome|Chromium)\/(?<version>\d+(?:\.\d+)+)/,/(?<name>Firefox|Waterfox|Iceweasel|IceCat)\/(?<version>\d+(?:\.\d+)+)/,/Version\/(?<version1>[\d.]+).*Safari\/[\d.]+|(?<name>Safari)\/(?<version2>[\d.]+)/,/(?<name>MSIE|Trident|IEMobile).+?(?<version>\d+(?:\.\d+)+)/,/(?<name>[A-Za-z]+)\/(?<version>\d+(?:\.\d+)+)/]){let c=a.match(l);if(c){let a=null==(e=c.groups)?void 0:e.name,d=(null==(t=c.groups)?void 0:t.version)||(null==(i=c.groups)?void 0:i.version1)||(null==(n=c.groups)?void 0:n.version2);if(!a&&((null==(r=c.groups)?void 0:r.version1)||(null==(o=c.groups)?void 0:o.version2))&&(a="Safari"),!a&&l.source.includes("Opera Mini")&&(a="Opera Mini"),!a&&l.source.includes("Opera Mobi")&&(a="Opera Mobi"),!a&&l.source.includes("Opera")&&(a="Opera"),!a&&c[1]&&(a=c[1]),!d&&c[2]&&(d=c[2]),a)return{name:s[a.toLowerCase()]||a,version:d||"unknown"}}}return{name:"unknown",version:"unknown"}}function tp(){if("u"<typeof navigator||!navigator.userAgent)return!1;let e=navigator.userAgent;return/Mobi|Android|iPhone|iPod|IEMobile|Opera Mini|Opera Mobi|webOS|BlackBerry|Windows Phone/i.test(e)&&!/iPad/i.test(e)}let tf="SamsungBrowser"!==th().name?1:3,tm,tg=null;function tv(e){let t=[];return function e(i){let n,r;if(i&&i.toJSON&&"function"==typeof i.toJSON&&(i=i.toJSON()),void 0===i)return;if("number"==typeof i)return isFinite(i)?""+i:"null";if("object"!=typeof i)return JSON.stringify(i);if(Array.isArray(i)){for(r="[",n=0;n<i.length;n++)n&&(r+=","),r+=e(i[n])||"null";return r+"]"}if(null===i)return"null";if(-1!==t.indexOf(i))throw TypeError("Converting circular structure to JSON");let o=t.push(i)-1,a=Object.keys(i).sort();for(r="",n=0;n<a.length;n++){let t=a[n],o=e(i[t]);o&&(r&&(r+=","),r+=JSON.stringify(t)+":"+o)}return t.splice(o,1),"{"+r+"}"}(e)||""}let tC=["\uD835\uDD04","\uD835\uDD05","\u212D","\uD835\uDD07","\uD835\uDD08","\uD835\uDD09","\uD835\uDD38","\uD835\uDD39","\u2102","\uD835\uDD3B","\uD835\uDD3C","\uD835\uDD3D"],ty=["\u03B2","\u03C8","\u03BB","\u03B5","\u03B6","\u03B1","\u03BE","\u03BC","\u03C1","\u03C6","\u03BA","\u03C4","\u03B7","\u03C3","\u03B9","\u03C9","\u03B3","\u03BD","\u03C7","\u03B4","\u03B8","\u03C0","\u03C5","\u03BF"];function tw(e,t){return`<math><mrow>${t}</mrow></math>`}let tb={audio:async function(){return te?async function(){return new Promise((e,t)=>{try{let t,i=new te(1,5e3,44100),n=i.createBufferSource(),r=i.createOscillator();r.frequency.value=1e3;let o=i.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.2,r.connect(o),o.connect(i.destination),r.start(),i.oncomplete=r=>{t=r.renderedBuffer.getChannelData(0),e({sampleHash:function(e){let t=0;for(let i=0;i<e.length;++i)t+=Math.abs(e[i]);return t}(t),maxChannels:i.destination.maxChannelCount,channelCountMode:n.channelCountMode})},i.startRendering()}catch(e){console.error("Error creating audio fingerprint:",e),t(e)}})}():null},canvas:async function(){return new Promise(e=>{let t=Array.from({length:3},()=>(function(){let e=document.createElement("canvas"),t=e.getContext("2d");if(!t)return null;e.width=280,e.height=20;let i=t.createLinearGradient(0,0,e.width,e.height);i.addColorStop(0,"red"),i.addColorStop(1/6,"orange"),i.addColorStop(2/6,"yellow"),i.addColorStop(.5,"green"),i.addColorStop(4/6,"blue"),i.addColorStop(5/6,"indigo"),i.addColorStop(1,"violet"),t.fillStyle=i,t.fillRect(0,0,e.width,e.height);let n="Random Text WMwmil10Oo";return t.font="23.123px Arial",t.fillStyle="black",t.fillText(n,-5,15),t.fillStyle="rgba(0, 0, 255, 0.5)",t.fillText(n,-3.3,17.7),t.beginPath(),t.moveTo(0,0),t.lineTo(2*e.width/7,e.height),t.strokeStyle="white",t.lineWidth=2,t.stroke(),t.getImageData(0,0,e.width,e.height)})()).filter(e=>null!==e);e(0!==t.length?{commonPixelsHash:to(tt(t,280,20).data.toString()).toString()}:null)})},fonts:async function(e){return new Promise(e=>{try{ta(async({iframe:t})=>{let i=t.createElement("canvas").getContext("2d");if(!i)return void e(null);let n=tl.map(e=>tc(i,e)),r={};ts.forEach(e=>{let t=tc(i,e);n.includes(t)||(r[e]=t)}),e(r)})}catch(t){e(null)}})},hardware:function(){return new Promise((e,t)=>{let i,n,r=void 0!==navigator.deviceMemory?navigator.deviceMemory:0,o=window.performance&&window.performance.memory?window.performance.memory:0;e({videocard:function(){var e;let t=document.createElement("canvas"),i=null!=(e=t.getContext("webgl"))?e:t.getContext("experimental-webgl");if(i&&"getParameter"in i)try{let e=(i.getParameter(i.VENDOR)||"").toString(),t=(i.getParameter(i.RENDERER)||"").toString(),n={vendor:e,renderer:t,version:(i.getParameter(i.VERSION)||"").toString(),shadingLanguageVersion:(i.getParameter(i.SHADING_LANGUAGE_VERSION)||"").toString()};if(!t.length||!e.length){let e=i.getExtension("WEBGL_debug_renderer_info");if(e){let t=(i.getParameter(e.UNMASKED_VENDOR_WEBGL)||"").toString(),r=(i.getParameter(e.UNMASKED_RENDERER_WEBGL)||"").toString();t&&(n.vendorUnmasked=t),r&&(n.rendererUnmasked=r)}}return n}catch(e){}return"undefined"}(),architecture:(n=new Uint8Array((i=new Float32Array(1)).buffer),i[0]=1/0,i[0]=i[0]-i[0],n[3]),deviceMemory:r.toString()||"undefined",jsHeapSizeLimit:o.jsHeapSizeLimit||0})})},locales:function(){return new Promise(e=>{e({languages:navigator.language,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone})})},math:function(){return new Promise(e=>{e({acos:Math.acos(.5),asin:td(Math.asin,-1,1,97),cos:td(Math.cos,0,Math.PI,97),largeCos:.7639704044417283,largeSin:-.6452512852657808,largeTan:Math.tan(1e20),sin:td(Math.sin,-Math.PI,Math.PI,97),tan:td(Math.tan,0,2*Math.PI,97)})})},permissions:async function(e){var t;let i,n=(null==e?void 0:e.permissions_to_check)||tu;return t=await Promise.all(Array.from({length:3},()=>(async function(e){let t={};for(let i of e)try{t[i]=(await navigator.permissions.query({name:i})).state.toString()}catch(e){}return t})(n))),i={},n.forEach(e=>{let n=function(e){if(0===e.length)return null;let t={};e.forEach(e=>{let i=String(e);t[i]=(t[i]||0)+1});let i=e[0],n=1;return Object.keys(t).forEach(e=>{t[e]>n&&(i=e,n=t[e])}),i}(t.map(t=>e in t?t[e]:void 0).filter(e=>void 0!==e));n&&(i[e]=n)}),i},plugins:async function(){let e=[];if(navigator.plugins)for(let t=0;t<navigator.plugins.length;t++){let i=navigator.plugins[t];e.push([i.name,i.filename,i.description].join("|"))}return new Promise(t=>{t({plugins:e})})},screen:function(){return new Promise(e=>{let t,i,n,r;if("u"<typeof matchMedia||"u"<typeof screen)return void e(null);let o={is_touchscreen:navigator.maxTouchPoints>0,maxTouchPoints:navigator.maxTouchPoints,colorDepth:screen.colorDepth,mediaMatches:(t=[],Object.keys(i={"prefers-contrast":["high","more","low","less","forced","no-preference"],"any-hover":["hover","none"],"any-pointer":["none","coarse","fine"],pointer:["none","coarse","fine"],hover:["hover","none"],update:["fast","slow"],"inverted-colors":["inverted","none"],"prefers-reduced-motion":["reduce","no-preference"],"prefers-reduced-transparency":["reduce","no-preference"],scripting:["none","initial-only","enabled"],"forced-colors":["active","none"]}).forEach(e=>{i[e].forEach(i=>{matchMedia(`(${e}: ${i})`).matches&&t.push(`${e}: ${i}`)})}),t)};tp()&&navigator.maxTouchPoints>0&&(n=window.screen.width,r=window.screen.height,o.resolution=`${Math.max(n,r).toString()}x${Math.min(n,r).toString()}`),e(o)})},system:function(){return new Promise(e=>{let t=th();e({platform:window.navigator.platform,productSub:navigator.productSub,product:navigator.product,useragent:navigator.userAgent,hardwareConcurrency:navigator.hardwareConcurrency,browser:{name:t.name,version:t.version},mobile:tp(),applePayVersion:function(){if("https:"===window.location.protocol&&"function"==typeof window.ApplePaySession)try{let e=window.ApplePaySession.supportsVersion;for(let t=15;t>0;t--)if(e(t))return t}catch(e){}return 0}(),cookieEnabled:window.navigator.cookieEnabled})})},webgl:async function(){"u">typeof document&&((tm=document.createElement("canvas")).width=200,tm.height=100,tg=tm.getContext("webgl"));try{if(!tg)throw Error("WebGL not supported");return{commonPixelsHash:to(tt(Array.from({length:tf},()=>(function(){try{if(!tg)throw Error("WebGL not supported");let e=tg.createShader(tg.VERTEX_SHADER),t=tg.createShader(tg.FRAGMENT_SHADER);if(!e||!t)throw Error("Failed to create shaders");if(tg.shaderSource(e,"\n          attribute vec2 position;\n          void main() {\n              gl_Position = vec4(position, 0.0, 1.0);\n          }\n      "),tg.shaderSource(t,"\n          precision mediump float;\n          void main() {\n              gl_FragColor = vec4(0.812, 0.195, 0.553, 0.921); // Set line color\n          }\n      "),tg.compileShader(e),!tg.getShaderParameter(e,tg.COMPILE_STATUS))throw Error("Vertex shader compilation failed: "+tg.getShaderInfoLog(e));if(tg.compileShader(t),!tg.getShaderParameter(t,tg.COMPILE_STATUS))throw Error("Fragment shader compilation failed: "+tg.getShaderInfoLog(t));let i=tg.createProgram();if(!i)throw Error("Failed to create shader program");if(tg.attachShader(i,e),tg.attachShader(i,t),tg.linkProgram(i),!tg.getProgramParameter(i,tg.LINK_STATUS))throw Error("Shader program linking failed: "+tg.getProgramInfoLog(i));tg.useProgram(i);let n=new Float32Array(548),r=2*Math.PI/137;for(let e=0;e<137;e++){let t=e*r;n[4*e]=0,n[4*e+1]=0,n[4*e+2]=Math.cos(t)*(tm.width/2),n[4*e+3]=Math.sin(t)*(tm.height/2)}let o=tg.createBuffer();tg.bindBuffer(tg.ARRAY_BUFFER,o),tg.bufferData(tg.ARRAY_BUFFER,n,tg.STATIC_DRAW);let a=tg.getAttribLocation(i,"position");tg.enableVertexAttribArray(a),tg.vertexAttribPointer(a,2,tg.FLOAT,!1,0,0),tg.viewport(0,0,tm.width,tm.height),tg.clearColor(0,0,0,1),tg.clear(tg.COLOR_BUFFER_BIT),tg.drawArrays(tg.LINES,0,274);let s=new Uint8ClampedArray(tm.width*tm.height*4);return tg.readPixels(0,0,tm.width,tm.height,tg.RGBA,tg.UNSIGNED_BYTE,s),new ImageData(s,tm.width,tm.height)}catch(e){return new ImageData(1,1)}finally{tg&&(tg.bindBuffer(tg.ARRAY_BUFFER,null),tg.useProgram(null),tg.viewport(0,0,tg.drawingBufferWidth,tg.drawingBufferHeight),tg.clearColor(0,0,0,0))}})()),tm.width,tm.height).data.toString()).toString()}}catch(e){return{webgl:"unsupported"}}}},t_={webrtc:async function(){return new Promise(e=>{try{let t=window.RTCPeerConnection||window.webkitRTCPeerConnection||window.mozRTCPeerConnection;if(!t)return void e({supported:!1,error:"WebRTC not supported"});let i=new t({iceCandidatePoolSize:1,iceServers:[]});i.createDataChannel(""),(async()=>{try{let t=await i.createOffer({offerToReceiveAudio:!0,offerToReceiveVideo:!0});await i.setLocalDescription(t);let n=t.sdp||"",r=[...new Set((n.match(/extmap:\d+ [^\n\r]+/g)||[]).map(e=>e.replace(/extmap:\d+ /,"")))].sort(),o=e=>{let t=n.match(RegExp(`m=${e} [^\\s]+ [^\\s]+ ([^\\n\\r]+)`));return t?t[1].split(" "):[]},a=(e,t)=>t.map(t=>{let i=RegExp(`(rtpmap|fmtp|rtcp-fb):${t} (.+)`,"g"),r=[...n.matchAll(i)];if(!r.length)return null;let o={};return r.forEach(t=>{let[i,n,r]=t,a=r.split("/");"rtpmap"===n?(o.mimeType=`${e}/${a[0]}`,o.clockRate=+a[1],"audio"===e&&(o.channels=+a[2]||1)):"rtcp-fb"===n?(o.feedbackSupport=o.feedbackSupport||[],o.feedbackSupport.push(r)):"fmtp"===n&&(o.sdpFmtpLine=r)}),o}).filter(Boolean),s=a("audio",o("audio")),l=a("video",o("video")),c={audio:{count:s.length,hash:to(tv(s))},video:{count:l.length,hash:to(tv(l))},extensionsHash:to(tv(r))},d=await new Promise(e=>{let t=setTimeout(()=>{i.removeEventListener("icecandidate",n),i.close(),e({supported:!0,...c,timeout:!0})},3e3),n=r=>{let o=r.candidate;o&&o.candidate&&(clearTimeout(t),i.removeEventListener("icecandidate",n),i.close(),e({supported:!0,...c,candidateType:o.type||""}))};i.addEventListener("icecandidate",n)});e({details:d,hash:to(tv(d))})}catch(t){i.close(),e({supported:!0,error:`WebRTC offer failed: ${t.message}`})}})()}catch(t){e({supported:!1,error:`WebRTC error: ${t.message}`})}})},mathml:async function(){return new Promise(e=>{try{ta(async({iframe:t})=>{try{let i,n;if(!function(e){try{let t=e.createElement("math");t.innerHTML="<mrow><mi>x</mi></mrow>",t.style.position="absolute",t.style.visibility="hidden",e.body.appendChild(t);let i=t.getBoundingClientRect();return e.body.removeChild(t),i.width>0&&i.height>0}catch(e){return!1}}(t))return void e({supported:!1,error:"MathML not supported"});let r=[tw("integral","<msubsup><mo>\u222B</mo><mi>a</mi><mi>b</mi></msubsup><mfrac><mrow><mi>f</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow><mrow><mi>g</mi><mo>(</mo><mi>x</mi><mo>)</mo></mrow></mfrac><mi>dx</mi>"),tw("fraction","<mfrac><mrow><mi>\u03C0</mi><mo>\xd7</mo><msup><mi>r</mi><mn>2</mn></msup></mrow><mrow><mn>2</mn><mi>\u03C3</mi></mrow></mfrac>"),tw("matrix","<mo>[</mo><mtable><mtr><mtd><mi>\u03B1</mi></mtd><mtd><mi>\u03B2</mi></mtd></mtr><mtr><mtd><mi>\u03B3</mi></mtd><mtd><mi>\u03B4</mi></mtd></mtr></mtable><mo>]</mo>"),(i="<mo>\u220F</mo>",tC.forEach((e,t)=>{let n=2*t,r=ty.slice(n,n+2);2===r.length&&(i+=`<mmultiscripts><mi>${e}</mi><none/><mi>${r[1]}</mi><mprescripts></mprescripts><mi>${r[0]}</mi><none/></mmultiscripts>`)}),tw(0,`<munderover><mmultiscripts>${i}</mmultiscripts></munderover>`)),...(n=[],tC.forEach((e,t)=>{let i=2*t,r=ty.slice(i,i+2);2===r.length&&n.push(tw(0,`<mmultiscripts><mi>${e}</mi><none/><mi>${r[1]}</mi><mprescripts></mprescripts><mi>${r[0]}</mi><none/></mmultiscripts>`))}),n)],o=[],a="";r.forEach((e,i)=>{let n=function(e,t){try{let i=t.createElement("math");i.innerHTML=e.replace(/<\/?math>/g,""),i.style.whiteSpace="nowrap",i.style.position="absolute",i.style.visibility="hidden",i.style.top="-9999px",t.body.appendChild(i);let n=i.getBoundingClientRect(),r=(t.defaultView||window).getComputedStyle(i),o={dimensions:{width:n.width,height:n.height},fontInfo:{fontFamily:r.fontFamily,fontSize:r.fontSize,fontWeight:r.fontWeight,fontStyle:r.fontStyle,lineHeight:r.lineHeight,fontVariant:r.fontVariant||"normal",fontStretch:r.fontStretch||"normal",fontSizeAdjust:r.fontSizeAdjust||"none",textRendering:r.textRendering||"auto",fontFeatureSettings:r.fontFeatureSettings||"normal",fontVariantNumeric:r.fontVariantNumeric||"normal",fontKerning:r.fontKerning||"auto"}};return t.body.removeChild(i),o}catch(e){return{error:e.message}}}(e,t);o.push({width:n.dimensions.width,height:n.dimensions.height}),0===i&&n.fontInfo&&(a=to(tv(n.fontInfo)))});let s={fontStyleHash:a,dimensions:o};e({details:s,hash:to(tv(s))})}catch(t){e({supported:!1,error:`MathML error: ${t.message}`})}})}catch(t){e({supported:!1,error:`MathML error: ${t.message}`})}})},speech:async function(){return new Promise(e=>{try{if("u"<typeof window||!window.speechSynthesis||"function"!=typeof window.speechSynthesis.getVoices)return void e({supported:!1,error:"Speech Synthesis API not supported"});let t=!1,i=null,n=n=>{if(!t){t=!0,i&&clearTimeout(i);try{let t=n.map(e=>{let t=e=>e.replace(/\\/g,"\\\\").replace(/,/g,"\\,");return[t(e.voiceURI||""),t(e.name||""),t(e.lang||""),e.localService?"1":"0",e.default?"1":"0"].join(",")});t.sort();let i={voiceCount:n.length,voicesHash:to(tv(t))};e({details:i,hash:to(tv(i))})}catch(t){e({supported:!0,error:`Voice processing failed: ${t.message}`})}}},r=window.speechSynthesis.getVoices();if(r.length>0)return void n(r);i=setTimeout(()=>{n(window.speechSynthesis.getVoices())},800);let o=()=>{window.speechSynthesis.removeEventListener("voiceschanged",o),n(window.speechSynthesis.getVoices())};window.speechSynthesis.addEventListener("voiceschanged",o)}catch(t){e({supported:!1,error:`Speech Synthesis error: ${t.message}`})}})}},tS={},tL={timeout:"true"};function tE(e,t){var i;let n=th();if("unknown"===n.name&&e.system&&"object"==typeof e.system&&!Array.isArray(e.system)){let t=e.system.browser;t&&"object"==typeof t&&!Array.isArray(t)&&(n={name:t.name||"unknown",version:t.version||"unknown"})}let r=n.name.toLowerCase(),o=parseInt(n.version.split(".")[0]||"0",10),a=[...(null==t?void 0:t.exclude)||[]],s=(null==t?void 0:t.stabilize)||[],l=(null==t?void 0:t.include)||[];for(let e of s){let t=e7[e];if(t)for(let e of t){let t=!("browsers"in e),n=!t&&(null==(i=e.browsers)?void 0:i.some(e=>{let t=e.match(/(.+?)(>=)(\d+)/);if(t){let[,e,,i]=t;return r===e&&o>=parseInt(i,10)}return r===e}));(t||n)&&a.push(...e.exclude)}}return function e(t,i=""){let n={};for(let[r,o]of Object.entries(t)){let t=i?`${i}.${r}`:r;if("object"!=typeof o||Array.isArray(o)||null===o){let e=a.some(e=>t.startsWith(e)),i=l.some(e=>t.startsWith(e));e&&!i||(n[r]=o)}else{let i=e(o,t);Object.keys(i).length>0&&(n[r]=i)}}return n}(e)}let tk="visitor_id";function tx(e){return e.storage_property_name?e.storage_property_name:e.property_name_factory(tk)}let tI=`${e4}_${tk}`;function tT(e,t){try{localStorage.setItem(tx(t),e)}catch(e){}}let tM="cache";function tA(e){try{let t=localStorage.getItem(e.property_name_factory(tM));return JSON.parse(t)||{}}catch(e){}return{}}let tR=null,tO=null;async function tP(e){var t;if("u"<typeof document||"u"<typeof window)return{thumbmark:"",components:{},info:{},version:"1.6.3",error:"Browser environment required"};let i={...e8,...e},n=i.logging&&!sessionStorage.getItem("_tmjs_l")&&1e-4>Math.random(),{elapsed:r,resolvedComponents:o}=await tD({...tb,...tS},i),a={},s={};if(n||i.experimental){let{elapsed:e,resolvedComponents:t}=await tD(t_,i);a=t,s=e}let l=i.api_key?((e,t)=>{if(e.cache_api_call){if(tO)return Promise.resolve(tO);let t=function(e){let t=tA(e);if(t&&t.apiResponse&&t.apiResponseExpiry&&Date.now()<=t.apiResponseExpiry)return t.apiResponse}(e);if(t)return Promise.resolve(t);if(tR)return tR}let i=`${e.api_endpoint||e9}/thumbmark`,n=function(e){try{let t=tx(e),i=localStorage.getItem(t);return i||t===tI||(i=localStorage.getItem(tI))&&tT(i,e),i}catch(e){return null}}(e),r={components:t,options:e,clientHash:to(tv(t)),version:"1.6.3"};n&&(r.visitorId=n);let o=fetch(i,{method:"POST",headers:{"x-api-key":e.api_key,Authorization:"custom-authorized","Content-Type":"application/json"},body:JSON.stringify(r)}).then(e=>{if(!e.ok){if(403===e.status)throw Error("INVALID_API_KEY");throw Error(`HTTP error! status: ${e.status}`)}return e.json()}).then(t=>(t.visitorId&&t.visitorId!==n&&tT(t.visitorId,e),tO=t,function(e,t){if(e.cache_api_call&&e.cache_lifetime_in_ms){var i={apiResponseExpiry:e.cache_lifetime_in_ms>2592e5?Date.now()+2592e5:Date.now()+e.cache_lifetime_in_ms,apiResponse:t};let n={...tA(e),...i};try{localStorage.setItem(e.property_name_factory(tM),JSON.stringify(n))}catch(e){}}}(e,t),tR=null,t)).catch(e=>{if(console.error("Error fetching pro data",e),tR=null,"INVALID_API_KEY"===e.message)throw e;return null}),a=e.timeout||5e3;return tR=Promise.race([o,new Promise(t=>{setTimeout(()=>{let i=tA(e);i&&i.apiResponse?t(i.apiResponse):t({info:{timed_out:!0},...n&&{visitorId:n}})},a)})])})(i,o):null,c=null;if(l)try{c=await l}catch(e){if(e instanceof Error&&"INVALID_API_KEY"===e.message)return{error:"Invalid API key or quota exceeded",components:{},info:{},version:"1.6.3",thumbmark:""};throw e}let d={...r,...s},u=i.performance?{elapsed:d}:{},h=tE((null==c?void 0:c.components)||{},i),p={...o,...h},f=(null==c?void 0:c.info)||{uniqueness:{score:"api only"}},m=null!=(t=null==c?void 0:c.thumbmark)?t:to(tv(p));return n&&(async function(e,t,i,n={}){var r;let o=`${e9}/log`,a={thumbmark:e,components:t,experimental:n,version:"1.6.3",options:i,path:null==(r=null==window?void 0:window.location)?void 0:r.pathname};sessionStorage.setItem("_tmjs_l","1");try{await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(a)})}catch(e){}})(m,p,i,a).catch(()=>{}),{...(null==c?void 0:c.visitorId)&&{visitorId:c.visitorId},thumbmark:m,components:p,info:f,version:"1.6.3",...u,...Object.keys(a).length>0&&i.experimental&&{experimental:a},...(null==c?void 0:c.requestId)&&{requestId:c.requestId}}}async function tD(e,t){var i,n;let r={...e8,...t},o=Object.entries(e).filter(([e])=>{var t;return!(null==(t=null==r?void 0:r.exclude)?void 0:t.includes(e))}).filter(([e])=>{var t,i,n,o;return(null==(t=null==r?void 0:r.include)?void 0:t.some(e=>e.includes(".")))?null==(i=null==r?void 0:r.include)?void 0:i.some(t=>t.startsWith(e)):0===(null==(n=null==r?void 0:r.include)?void 0:n.length)||(null==(o=null==r?void 0:r.include)?void 0:o.includes(e))}),a=o.map(([e])=>e),s=await (i=o.map(([e,i])=>i(t)),n=(null==r?void 0:r.timeout)||5e3,Promise.all(i.map(e=>{let t=performance.now();return Promise.race([e.then(e=>({value:e,elapsed:performance.now()-t})),new Promise(e=>{setTimeout(()=>e(tL),n)}).then(e=>({value:e,elapsed:performance.now()-t}))])}))),l={},c={};return s.forEach((e,t)=>{var i;null!=e.value&&(c[a[t]]=e.value,l[a[t]]=null!=(i=e.elapsed)?i:0)}),{elapsed:l,resolvedComponents:tE(c,r)}}var tF=class{constructor(e){this.options={...e8,...e}}async get(e){return tP({...this.options,...e})}getVersion(){return"1.6.3"}includeComponent(e,t){tS[e]=t}};async function tN(){return(await new tF().get()).thumbmark}var tU=class{constructor(e){this.ipLookup=e}async getFingerprint(e=!1){let t=await tN(),[i,n]=await Promise.all([e5(),e?Promise.resolve(""):this.ipLookup.getIp()]);return{visitorId:t,ip:n,deviceInfo:i}}};let tH=null;async function t$(e){if(tH)return tH;let t=await o.t.get(s.t.featureConfig,{signal:e});if(!t.ok)throw Error(`Failed to fetch feature config: ${t.status} ${t.statusText}`);return tH=t.data}async function tB(e={},t){var i,n;let{disableIpify:r=!1,hostingApp:a,signal:l}=e,d=await t.fingerprintProvider.getFingerprint(r),u=(0,c.t)(t.browserEnv),h={hash:d.visitorId||"",ip:d.ip||"",deviceType:"WEBAPP",data:JSON.stringify(d),osVersion:(i=d.deviceInfo.os,`${i.name||"Unknown"} ${i.version||""}`.trim()),deviceModel:d.deviceInfo.device.model||"",browser:(n=d.deviceInfo.browser).name&&n.version?`${n.name} ${n.version}`:"Unknown",hasLiedBrowser:u,sdkVersion:"2.0.1",hostingApp:a??"Web SDK"},p=await o.t.post(s.t.deviceFingerprint,h,{signal:l});if(!p.ok)throw Error(`Failed to submit fingerprint: ${p.status} ${p.statusText}`);return p.data}let tV=!1,tz=null,tj=!1,tZ=!1,tW=null;async function tG(e={}){let{token:t,hostingApp:i,signal:r}=e;return(void 0!==t&&t!==(0,o.r)()&&((0,o.s)(t),tY()),tV&&tz)?{features:tz,disableIpify:tj,fingerprintSuccess:tZ,fingerprintResult:n}:tW||(tW=(async()=>{let e,t,o=!1;try{var s;s=(e=await t$(r)).features,o=s?.find(e=>"DISABLE_IPIFY"===e.feature)?.enabled??!1}catch{e={sessionIdentifier:""}}let c=!1;try{let e=new tU(new l.t),n=new l.r;t=await tB({disableIpify:o,hostingApp:i,signal:r},{fingerprintProvider:e,browserEnv:n}),c=!0}catch(e){console.warn("Failed to submit device fingerprint:",e)}try{let e=new e1().getBrowserInfo();(0,a.h)({code:"browser",payload:{userAgent:e.userAgent,isWebRtcSupported:e.isWebRtcSupported,browser:e.browser,os:e.os,device:e.device,engine:e.engine,cpu:e.cpu}})}catch(e){console.warn("Failed to send browser info event:",e)}return tV=!0,tz=e,tj=o,tZ=c,n=t,{features:e,disableIpify:o,fingerprintSuccess:c,fingerprintResult:t}})().finally(()=>{tW=null,(0,a.g)()?.start()}))}function tK(){return tj}function tq(){return n}function tY(){tV=!1,tz=null,tj=!1,tZ=!1,n=void 0,tW=null,tH=null,(0,l.n)()}}