@nocobase/plugin-file-manager 2.2.19 → 2.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -64,7 +64,7 @@
64
64
  * Copyright 2014-2020 Benjamin Tan
65
65
  * Copyright 2011-2013 John-David Dalton
66
66
  * Available under MIT license
67
- */(function(){"use strict";var i={function:true,object:true};var n=i[typeof window]&&window||this;var o=n;var s=i[typeof t]&&t;var g=i["object"]&&A&&!A.nodeType&&A;var a=s&&g&&typeof global=="object"&&global;if(a&&(a.global===a||a.window===a||a.self===a)){n=a}var I=Math.pow(2,53)-1;var B=/\bOpera/;var Q=this;var E=Object.prototype;var c=E.hasOwnProperty;var u=E.toString;function capitalize(A){A=String(A);return A.charAt(0).toUpperCase()+A.slice(1)}function cleanupOS(A,t,i){var n={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};if(t&&i&&/^Win/i.test(A)&&!/^Windows Phone /i.test(A)&&(n=n[/[\d.]+$/.exec(A)])){A="Windows "+n}A=String(A);if(t&&i){A=A.replace(RegExp(t,"i"),i)}A=format(A.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]);return A}function each(A,t){var i=-1,n=A?A.length:0;if(typeof n=="number"&&n>-1&&n<=I){while(++i<n){t(A[i],i,A)}}else{forOwn(A,t)}}function format(A){A=trim(A);return/^(?:webOS|i(?:OS|P))/.test(A)?A:capitalize(A)}function forOwn(A,t){for(var i in A){if(c.call(A,i)){t(A[i],i,A)}}}function getClassOf(A){return A==null?capitalize(A):u.call(A).slice(8,-1)}function isHostType(A,t){var i=A!=null?typeof A[t]:"number";return!/^(?:boolean|number|string|undefined)$/.test(i)&&(i=="object"?!!A[t]:true)}function qualify(A){return String(A).replace(/([ -])(?!$)/g,"$1?")}function reduce(A,t){var i=null;each(A,(function(n,o){i=t(i,n,o,A)}));return i}function trim(A){return String(A).replace(/^ +| +$/g,"")}function parse(A){var t=n;var i=A&&typeof A=="object"&&getClassOf(A)!="String";if(i){t=A;A=null}var s=t.navigator||{};var g=s.userAgent||"";A||(A=g);var a=i||Q==o;var I=i?!!s.likeChrome:/\bChrome\b/.test(A)&&!/internal|\n/i.test(u.toString());var E="Object",c=i?E:"ScriptBridgingProxyObject",l=i?E:"Environment",p=i&&t.java?"JavaPackage":getClassOf(t.java),h=i?E:"RuntimeObject";var d=/\bJava/.test(p)&&t.java;var D=d&&getClassOf(t.environment)==l;var y=d?"a":"α";var w=d?"b":"β";var m=t.document||{};var k=t.operamini||t.opera;var v=B.test(v=i&&k?k["[[Class]]"]:getClassOf(k))?v:k=null;var R;var N=A;var x=[];var G=null;var L=A==g;var J=L&&k&&typeof k.version=="function"&&k.version();var K;var H=getLayout([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]);var P=getName(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]);var O=getProduct([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]);var q=getManufacturer({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}});var j=getOS(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function getLayout(t){return reduce(t,(function(t,i){return t||RegExp("\\b"+(i.pattern||qualify(i))+"\\b","i").exec(A)&&(i.label||i)}))}function getManufacturer(t){return reduce(t,(function(t,i,n){return t||(i[O]||i[/^[a-z]+(?: +[a-z]+\b)*/i.exec(O)]||RegExp("\\b"+qualify(n)+"(?:\\b|\\w*\\d)","i").exec(A))&&n}))}function getName(t){return reduce(t,(function(t,i){return t||RegExp("\\b"+(i.pattern||qualify(i))+"\\b","i").exec(A)&&(i.label||i)}))}function getOS(t){return reduce(t,(function(t,i){var n=i.pattern||qualify(i);if(!t&&(t=RegExp("\\b"+n+"(?:/[\\d.]+|[ \\w.]*)","i").exec(A))){t=cleanupOS(t,n,i.label||i)}return t}))}function getProduct(t){return reduce(t,(function(t,i){var n=i.pattern||qualify(i);if(!t&&(t=RegExp("\\b"+n+" *\\d+[.\\w_]*","i").exec(A)||RegExp("\\b"+n+" *\\w+-[\\w]*","i").exec(A)||RegExp("\\b"+n+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(A))){if((t=String(i.label&&!RegExp(n,"i").test(i.label)?i.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])){t[0]+=" "+t[1]}i=i.label||i;t=format(t[0].replace(RegExp(n,"i"),i).replace(RegExp("; *(?:"+i+"[_-])?","i")," ").replace(RegExp("("+i+")[-_.]?(\\w)","i"),"$1 $2"))}return t}))}function getVersion(t){return reduce(t,(function(t,i){return t||(RegExp(i+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(A)||0)[1]||null}))}function toStringPlatform(){return this.description||""}H&&(H=[H]);if(/\bAndroid\b/.test(j)&&!O&&(R=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(A))){O=trim(R[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null}if(q&&!O){O=getProduct([q])}else if(q&&O){O=O.replace(RegExp("^("+qualify(q)+")[-_.\\s]","i"),q+" ").replace(RegExp("^("+qualify(q)+")[-_.]?(\\w)","i"),q+" $2")}if(R=/\bGoogle TV\b/.exec(O)){O=R[0]}if(/\bSimulator\b/i.test(A)){O=(O?O+" ":"")+"Simulator"}if(P=="Opera Mini"&&/\bOPiOS\b/.test(A)){x.push("running in Turbo/Uncompressed mode")}if(P=="IE"&&/\blike iPhone OS\b/.test(A)){R=parse(A.replace(/like iPhone OS/,""));q=R.manufacturer;O=R.product}else if(/^iP/.test(O)){P||(P="Safari");j="iOS"+((R=/ OS ([\d_]+)/i.exec(A))?" "+R[1].replace(/_/g,"."):"")}else if(P=="Konqueror"&&/^Linux\b/i.test(j)){j="Kubuntu"}else if(q&&q!="Google"&&(/Chrome/.test(P)&&!/\bMobile Safari\b/i.test(A)||/\bVita\b/.test(O))||/\bAndroid\b/.test(j)&&/^Chrome/.test(P)&&/\bVersion\//i.test(A)){P="Android Browser";j=/\bAndroid\b/.test(j)?j:"Android"}else if(P=="Silk"){if(!/\bMobi/i.test(A)){j="Android";x.unshift("desktop mode")}if(/Accelerated *= *true/i.test(A)){x.unshift("accelerated")}}else if(P=="UC Browser"&&/\bUCWEB\b/.test(A)){x.push("speed mode")}else if(P=="PaleMoon"&&(R=/\bFirefox\/([\d.]+)\b/.exec(A))){x.push("identifying as Firefox "+R[1])}else if(P=="Firefox"&&(R=/\b(Mobile|Tablet|TV)\b/i.exec(A))){j||(j="Firefox OS");O||(O=R[1])}else if(!P||(R=!/\bMinefield\b/i.test(A)&&/\b(?:Firefox|Safari)\b/.exec(P))){if(P&&!O&&/[\/,]|^[^(]+?\)/.test(A.slice(A.indexOf(R+"/")+8))){P=null}if((R=O||q||j)&&(O||q||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(j))){P=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(j)?j:R)+" Browser"}}else if(P=="Electron"&&(R=(/\bChrome\/([\d.]+)\b/.exec(A)||0)[1])){x.push("Chromium "+R)}if(!J){J=getVersion(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",qualify(P),"(?:Firefox|Minefield|NetFront)"])}if(R=H=="iCab"&&parseFloat(J)>3&&"WebKit"||/\bOpera\b/.test(P)&&(/\bOPR\b/.test(A)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(A)&&!/^(?:Trident|EdgeHTML)$/.test(H)&&"WebKit"||!H&&/\bMSIE\b/i.test(A)&&(j=="Mac OS"?"Tasman":"Trident")||H=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(P)&&"NetFront"){H=[R]}if(P=="IE"&&(R=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(A)||0)[1])){P+=" Mobile";j="Windows Phone "+(/\+$/.test(R)?R:R+".x");x.unshift("desktop mode")}else if(/\bWPDesktop\b/i.test(A)){P="IE Mobile";j="Windows Phone 8.x";x.unshift("desktop mode");J||(J=(/\brv:([\d.]+)/.exec(A)||0)[1])}else if(P!="IE"&&H=="Trident"&&(R=/\brv:([\d.]+)/.exec(A))){if(P){x.push("identifying as "+P+(J?" "+J:""))}P="IE";J=R[1]}if(L){if(isHostType(t,"global")){if(d){R=d.lang.System;N=R.getProperty("os.arch");j=j||R.getProperty("os.name")+" "+R.getProperty("os.version")}if(D){try{J=t.require("ringo/engine").version.join(".");P="RingoJS"}catch(A){if((R=t.system)&&R.global.system==t.system){P="Narwhal";j||(j=R[0].os||null)}}if(!P){P="Rhino"}}else if(typeof t.process=="object"&&!t.process.browser&&(R=t.process)){if(typeof R.versions=="object"){if(typeof R.versions.electron=="string"){x.push("Node "+R.versions.node);P="Electron";J=R.versions.electron}else if(typeof R.versions.nw=="string"){x.push("Chromium "+J,"Node "+R.versions.node);P="NW.js";J=R.versions.nw}}if(!P){P="Node.js";N=R.arch;j=R.platform;J=/[\d.]+/.exec(R.version);J=J?J[0]:null}}}else if(getClassOf(R=t.runtime)==c){P="Adobe AIR";j=R.flash.system.Capabilities.os}else if(getClassOf(R=t.phantom)==h){P="PhantomJS";J=(R=R.version||null)&&R.major+"."+R.minor+"."+R.patch}else if(typeof m.documentMode=="number"&&(R=/\bTrident\/(\d+)/i.exec(A))){J=[J,m.documentMode];if((R=+R[1]+4)!=J[1]){x.push("IE "+J[1]+" mode");H&&(H[1]="");J[1]=R}J=P=="IE"?String(J[1].toFixed(1)):J[0]}else if(typeof m.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(P)){x.push("masking as "+P+" "+J);P="IE";J="11.0";H=["Trident"];j="Windows"}j=j&&format(j)}if(J&&(R=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(J)||/(?:alpha|beta)(?: ?\d)?/i.exec(A+";"+(L&&s.appMinorVersion))||/\bMinefield\b/i.test(A)&&"a")){G=/b/i.test(R)?"beta":"alpha";J=J.replace(RegExp(R+"\\+?$"),"")+(G=="beta"?w:y)+(/\d+\+?/.exec(R)||"")}if(P=="Fennec"||P=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(j)){P="Firefox Mobile"}else if(P=="Maxthon"&&J){J=J.replace(/\.[\d.]+/,".x")}else if(/\bXbox\b/i.test(O)){if(O=="Xbox 360"){j=null}if(O=="Xbox 360"&&/\bIEMobile\b/.test(A)){x.unshift("mobile mode")}}else if((/^(?:Chrome|IE|Opera)$/.test(P)||P&&!O&&!/Browser|Mobi/.test(P))&&(j=="Windows CE"||/Mobi/i.test(A))){P+=" Mobile"}else if(P=="IE"&&L){try{if(t.external===null){x.unshift("platform preview")}}catch(A){x.unshift("embedded")}}else if((/\bBlackBerry\b/.test(O)||/\bBB10\b/.test(A))&&(R=(RegExp(O.replace(/ +/g," *")+"/([.\\d]+)","i").exec(A)||0)[1]||J)){R=[R,/BB10/.test(A)];j=(R[1]?(O=null,q="BlackBerry"):"Device Software")+" "+R[0];J=null}else if(this!=forOwn&&O!="Wii"&&(L&&k||/Opera/.test(P)&&/\b(?:MSIE|Firefox)\b/i.test(A)||P=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(j)||P=="IE"&&(j&&!/^Win/.test(j)&&J>5.5||/\bWindows XP\b/.test(j)&&J>8||J==8&&!/\bTrident\b/.test(A)))&&!B.test(R=parse.call(forOwn,A.replace(B,"")+";"))&&R.name){R="ing as "+R.name+((R=R.version)?" "+R:"");if(B.test(P)){if(/\bIE\b/.test(R)&&j=="Mac OS"){j=null}R="identify"+R}else{R="mask"+R;if(v){P=format(v.replace(/([a-z])([A-Z])/g,"$1 $2"))}else{P="Opera"}if(/\bIE\b/.test(R)){j=null}if(!L){J=null}}H=["Presto"];x.push(R)}if(R=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(A)||0)[1]){R=[parseFloat(R.replace(/\.(\d)$/,".0$1")),R];if(P=="Safari"&&R[1].slice(-1)=="+"){P="WebKit Nightly";G="alpha";J=R[1].slice(0,-1)}else if(J==R[1]||J==(R[2]=(/\bSafari\/([\d.]+\+?)/i.exec(A)||0)[1])){J=null}R[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(A)||0)[1];if(R[0]==537.36&&R[2]==537.36&&parseFloat(R[1])>=28&&H=="WebKit"){H=["Blink"]}if(!L||!I&&!R[1]){H&&(H[1]="like Safari");R=(R=R[0],R<400?1:R<500?2:R<526?3:R<533?4:R<534?"4+":R<535?5:R<537?6:R<538?7:R<601?8:R<602?9:R<604?10:R<606?11:R<608?12:"12")}else{H&&(H[1]="like Chrome");R=R[1]||(R=R[0],R<530?1:R<532?2:R<532.05?3:R<533?4:R<534.03?5:R<534.07?6:R<534.1?7:R<534.13?8:R<534.16?9:R<534.24?10:R<534.3?11:R<535.01?12:R<535.02?"13+":R<535.07?15:R<535.11?16:R<535.19?17:R<536.05?18:R<536.1?19:R<537.01?20:R<537.11?"21+":R<537.13?23:R<537.18?24:R<537.24?25:R<537.36?26:H!="Blink"?"27":"28")}H&&(H[1]+=" "+(R+=typeof R=="number"?".x":/[.+]/.test(R)?"":"+"));if(P=="Safari"&&(!J||parseInt(J)>45)){J=R}else if(P=="Chrome"&&/\bHeadlessChrome/i.test(A)){x.unshift("headless")}}if(P=="Opera"&&(R=/\bzbov|zvav$/.exec(j))){P+=" ";x.unshift("desktop mode");if(R=="zvav"){P+="Mini";J=null}else{P+="Mobile"}j=j.replace(RegExp(" *"+R+"$"),"")}else if(P=="Safari"&&/\bChrome\b/.exec(H&&H[1])){x.unshift("desktop mode");P="Chrome Mobile";J=null;if(/\bOS X\b/.test(j)){q="Apple";j="iOS 4.3+"}else{j=null}}else if(/\bSRWare Iron\b/.test(P)&&!J){J=getVersion("Chrome")}if(J&&J.indexOf(R=/[\d.]+$/.exec(j))==0&&A.indexOf("/"+R+"-")>-1){j=trim(j.replace(R,""))}if(j&&j.indexOf(P)!=-1&&!RegExp(P+" OS").test(j)){j=j.replace(RegExp(" *"+qualify(P)+" *"),"")}if(H&&!/\b(?:Avant|Nook)\b/.test(P)&&(/Browser|Lunascape|Maxthon/.test(P)||P!="Safari"&&/^iOS/.test(j)&&/\bSafari\b/.test(H[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(P)&&H[1])){(R=H[H.length-1])&&x.push(R)}if(x.length){x=["("+x.join("; ")+")"]}if(q&&O&&O.indexOf(q)<0){x.push("on "+q)}if(O){x.push((/^on /.test(x[x.length-1])?"":"on ")+O)}if(j){R=/ ([\d.+]+)$/.exec(j);K=R&&j.charAt(j.length-R[0].length-1)=="/";j={architecture:32,family:R&&!K?j.replace(R[0],""):j,version:R?R[1]:null,toString:function(){var A=this.version;return this.family+(A&&!K?" "+A:"")+(this.architecture==64?" 64-bit":"")}}}if((R=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(N))&&!/\bi686\b/i.test(N)){if(j){j.architecture=64;j.family=j.family.replace(RegExp(" *"+R),"")}if(P&&(/\bWOW64\b/i.test(A)||L&&/\w(?:86|32)$/.test(s.cpuClass||s.platform)&&!/\bWin64; x64\b/i.test(A))){x.unshift("32-bit")}}else if(j&&/^OS X/.test(j.family)&&P=="Chrome"&&parseFloat(J)>=39){j.architecture=64}A||(A=null);var _={};_.description=A;_.layout=H&&H[0];_.manufacturer=q;_.name=P;_.prerelease=G;_.product=O;_.ua=A;_.version=P&&J;_.os=j||{architecture:null,family:null,version:null,toString:function(){return"null"}};_.parse=parse;_.toString=toStringPlatform;if(_.version){x.unshift(J)}if(_.name){x.unshift(P)}if(j&&P&&!(j==String(j).split(" ")[0]&&(j==P.split(" ")[0]||O))){x.push(O?"("+j+")":"on "+j)}if(x.length){_.description=x.join(" ")}return _}var l=parse();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){n.platform=l;define((function(){return l}))}else if(s&&g){forOwn(l,(function(A,t){s[t]=A}))}else{n.platform=l}}).call(this)},38391:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};var g=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:true});t.ProxyAgent=t.proxies=void 0;const a=s(i(13685));const I=s(i(95687));const B=i(57310);const Q=g(i(24667));const E=i(89511);const c=g(i(38237));const u=i(63329);const l=(0,c.default)("proxy-agent");const p={http:async()=>(await Promise.resolve().then((()=>s(i(23764))))).HttpProxyAgent,https:async()=>(await Promise.resolve().then((()=>s(i(65826))))).HttpsProxyAgent,socks:async()=>(await Promise.resolve().then((()=>s(i(25038))))).SocksProxyAgent,pac:async()=>(await Promise.resolve().then((()=>s(i(26338))))).PacProxyAgent};t.proxies={http:[p.http,p.https],https:[p.http,p.https],socks:[p.socks,p.socks],socks4:[p.socks,p.socks],socks4a:[p.socks,p.socks],socks5:[p.socks,p.socks],socks5h:[p.socks,p.socks],"pac+data":[p.pac,p.pac],"pac+file":[p.pac,p.pac],"pac+ftp":[p.pac,p.pac],"pac+http":[p.pac,p.pac],"pac+https":[p.pac,p.pac]};function isValidProtocol(A){return Object.keys(t.proxies).includes(A)}class ProxyAgent extends E.Agent{constructor(A){super(A);this.cache=new Q.default({max:20,dispose:A=>A.destroy()});l("Creating new ProxyAgent instance: %o",A);this.connectOpts=A;this.httpAgent=A?.httpAgent||new a.Agent(A);this.httpsAgent=A?.httpsAgent||new I.Agent(A);this.getProxyForUrl=A?.getProxyForUrl||u.getProxyForUrl}async connect(A,i){const{secureEndpoint:n}=i;const o=A.getHeader("upgrade")==="websocket";const s=n?o?"wss:":"https:":o?"ws:":"http:";const g=A.getHeader("host");const a=new B.URL(A.path,`${s}//${g}`).href;const I=await this.getProxyForUrl(a,A);if(!I){l("Proxy not enabled for URL: %o",a);return n?this.httpsAgent:this.httpAgent}l("Request URL: %o",a);l("Proxy URL: %o",I);const Q=`${s}+${I}`;let E=this.cache.get(Q);if(!E){const A=new B.URL(I);const i=A.protocol.replace(":","");if(!isValidProtocol(i)){throw new Error(`Unsupported protocol for proxy URL: ${I}`)}const s=await t.proxies[i][n||o?1:0]();E=new s(I,this.connectOpts);this.cache.set(Q,E)}else{l("Cache hit for proxy URL: %o",I)}return E}destroy(){for(const A of this.cache.values()){A.destroy()}super.destroy()}}t.ProxyAgent=ProxyAgent},71124:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const g=s(i(13685));const a=s(i(95687));async function toBuffer(A){let t=0;const i=[];for await(const n of A){t+=n.length;i.push(n)}return Buffer.concat(i,t)}t.toBuffer=toBuffer;async function json(A){const t=await toBuffer(A);const i=t.toString("utf8");try{return JSON.parse(i)}catch(A){const t=A;t.message+=` (input: ${i})`;throw t}}t.json=json;function req(A,t={}){const i=typeof A==="string"?A:A.href;const n=(i.startsWith("https:")?a:g).request(A,t);const o=new Promise(((A,t)=>{n.once("response",A).once("error",t).end()}));n.then=o.then.bind(o);return n}t.req=req},89511:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};var g=this&&this.__exportStar||function(A,t){for(var i in A)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,A,i)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const a=s(i(41808));const I=s(i(13685));const B=i(95687);g(i(71124),t);const Q=Symbol("AgentBaseInternalState");class Agent extends I.Agent{constructor(A){super(A);this[Q]={}}isSecureEndpoint(A){if(A){if(typeof A.secureEndpoint==="boolean"){return A.secureEndpoint}if(typeof A.protocol==="string"){return A.protocol==="https:"}}const{stack:t}=new Error;if(typeof t!=="string")return false;return t.split("\n").some((A=>A.indexOf("(https.js:")!==-1||A.indexOf("node:https:")!==-1))}incrementSockets(A){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[A]){this.sockets[A]=[]}const t=new a.Socket({writable:false});this.sockets[A].push(t);this.totalSocketCount++;return t}decrementSockets(A,t){if(!this.sockets[A]||t===null){return}const i=this.sockets[A];const n=i.indexOf(t);if(n!==-1){i.splice(n,1);this.totalSocketCount--;if(i.length===0){delete this.sockets[A]}}}getName(A){const t=typeof A.secureEndpoint==="boolean"?A.secureEndpoint:this.isSecureEndpoint(A);if(t){return B.Agent.prototype.getName.call(this,A)}return super.getName(A)}createSocket(A,t,i){const n={...t,secureEndpoint:this.isSecureEndpoint(t)};const o=this.getName(n);const s=this.incrementSockets(o);Promise.resolve().then((()=>this.connect(A,n))).then((g=>{this.decrementSockets(o,s);if(g instanceof I.Agent){try{return g.addRequest(A,n)}catch(A){return i(A)}}this[Q].currentSocket=g;super.createSocket(A,t,i)}),(A=>{this.decrementSockets(o,s);i(A)}))}createConnection(){const A=this[Q].currentSocket;this[Q].currentSocket=undefined;if(!A){throw new Error("No socket was returned in the `connect()` function")}return A}get defaultPort(){return this[Q].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(A){if(this[Q]){this[Q].defaultPort=A}}get protocol(){return this[Q].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(A){if(this[Q]){this[Q].protocol=A}}}t.Agent=Agent},65826:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};var g=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:true});t.HttpsProxyAgent=void 0;const a=s(i(41808));const I=s(i(24404));const B=g(i(39491));const Q=g(i(38237));const E=i(89511);const c=i(57310);const u=i(88389);const l=(0,Q.default)("https-proxy-agent");const setServernameFromNonIpHost=A=>{if(A.servername===undefined&&A.host&&!a.isIP(A.host)){return{...A,servername:A.host}}return A};class HttpsProxyAgent extends E.Agent{constructor(A,t){super(t);this.options={path:undefined};this.proxy=typeof A==="string"?new c.URL(A):A;this.proxyHeaders=t?.headers??{};l("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const i=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?omit(t,"headers"):null,host:i,port:n}}async connect(A,t){const{proxy:i}=this;if(!t.host){throw new TypeError('No "host" provided')}let n;if(i.protocol==="https:"){l("Creating `tls.Socket`: %o",this.connectOpts);n=I.connect(setServernameFromNonIpHost(this.connectOpts))}else{l("Creating `net.Socket`: %o",this.connectOpts);n=a.connect(this.connectOpts)}const o=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const s=a.isIPv6(t.host)?`[${t.host}]`:t.host;let g=`CONNECT ${s}:${t.port} HTTP/1.1\r\n`;if(i.username||i.password){const A=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}o.Host=`${s}:${t.port}`;if(!o["Proxy-Connection"]){o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const A of Object.keys(o)){g+=`${A}: ${o[A]}\r\n`}const Q=(0,u.parseProxyResponse)(n);n.write(`${g}\r\n`);const{connect:E,buffered:c}=await Q;A.emit("proxyConnect",E);this.emit("proxyConnect",E,A);if(E.statusCode===200){A.once("socket",resume);if(t.secureEndpoint){l("Upgrading socket connection to TLS");return I.connect({...omit(setServernameFromNonIpHost(t),"host","path","port"),socket:n})}return n}n.destroy();const p=new a.Socket({writable:false});p.readable=true;A.once("socket",(A=>{l("Replaying proxy buffer for failed request");(0,B.default)(A.listenerCount("data")>0);A.push(c);A.push(null)}));return p}}HttpsProxyAgent.protocols=["http","https"];t.HttpsProxyAgent=HttpsProxyAgent;function resume(A){A.resume()}function omit(A,...t){const i={};let n;for(n in A){if(!t.includes(n)){i[n]=A[n]}}return i}},88389:function(A,t,i){"use strict";var n=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:true});t.parseProxyResponse=void 0;const o=n(i(38237));const s=(0,o.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(A){return new Promise(((t,i)=>{let n=0;const o=[];function read(){const t=A.read();if(t)ondata(t);else A.once("readable",read)}function cleanup(){A.removeListener("end",onend);A.removeListener("error",onerror);A.removeListener("readable",read)}function onend(){cleanup();s("onend");i(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(A){cleanup();s("onerror %o",A);i(A)}function ondata(g){o.push(g);n+=g.length;const a=Buffer.concat(o,n);const I=a.indexOf("\r\n\r\n");if(I===-1){s("have not received end of HTTP headers yet...");read();return}const B=a.slice(0,I).toString("ascii").split("\r\n");const Q=B.shift();if(!Q){A.destroy();return i(new Error("No header received from proxy CONNECT response"))}const E=Q.split(" ");const c=+E[1];const u=E.slice(2).join(" ");const l={};for(const t of B){if(!t)continue;const n=t.indexOf(":");if(n===-1){A.destroy();return i(new Error(`Invalid header from proxy CONNECT response: "${t}"`))}const o=t.slice(0,n).toLowerCase();const s=t.slice(n+1).trimStart();const g=l[o];if(typeof g==="string"){l[o]=[g,s]}else if(Array.isArray(g)){g.push(s)}else{l[o]=s}}s("got proxy server response: %o %o",Q,l);cleanup();t({connect:{statusCode:c,statusText:u,headers:l},buffered:a})}A.on("error",onerror);A.on("end",onend);read()}))}t.parseProxyResponse=parseProxyResponse},63329:(A,t,i)=>{"use strict";var n=i(57310).parse;var o={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};var s=String.prototype.endsWith||function(A){return A.length<=this.length&&this.indexOf(A,this.length-A.length)!==-1};function getProxyForUrl(A){var t=typeof A==="string"?n(A):A||{};var i=t.protocol;var s=t.host;var g=t.port;if(typeof s!=="string"||!s||typeof i!=="string"){return""}i=i.split(":",1)[0];s=s.replace(/:\d*$/,"");g=parseInt(g)||o[i]||0;if(!shouldProxy(s,g)){return""}var a=getEnv("npm_config_"+i+"_proxy")||getEnv(i+"_proxy")||getEnv("npm_config_proxy")||getEnv("all_proxy");if(a&&a.indexOf("://")===-1){a=i+"://"+a}return a}function shouldProxy(A,t){var i=(getEnv("npm_config_no_proxy")||getEnv("no_proxy")).toLowerCase();if(!i){return true}if(i==="*"){return false}return i.split(/[,\s]/).every((function(i){if(!i){return true}var n=i.match(/^(.+):(\d+)$/);var o=n?n[1]:i;var g=n?parseInt(n[2]):0;if(g&&g!==t){return true}if(!/^[.*]/.test(o)){return A!==o}if(o.charAt(0)==="*"){o=o.slice(1)}return!s.call(A,o)}))}function getEnv(A){return process.env[A.toLowerCase()]||process.env[A.toUpperCase()]||""}t.getProxyForUrl=getProxyForUrl},18341:(A,t,i)=>{var n=i(1223);var o=i(81205);var s=i(57147);var noop=function(){};var g=/^v?\.0/.test(process.version);var isFn=function(A){return typeof A==="function"};var isFS=function(A){if(!g)return false;if(!s)return false;return(A instanceof(s.ReadStream||noop)||A instanceof(s.WriteStream||noop))&&isFn(A.close)};var isRequest=function(A){return A.setHeader&&isFn(A.abort)};var destroyer=function(A,t,i,s){s=n(s);var g=false;A.on("close",(function(){g=true}));o(A,{readable:t,writable:i},(function(A){if(A)return s(A);g=true;s()}));var a=false;return function(t){if(g)return;if(a)return;a=true;if(isFS(A))return A.close(noop);if(isRequest(A))return A.abort();if(isFn(A.destroy))return A.destroy();s(t||new Error("stream was destroyed"))}};var call=function(A){A()};var pipe=function(A,t){return A.pipe(t)};var pump=function(){var A=Array.prototype.slice.call(arguments);var t=isFn(A[A.length-1]||noop)&&A.pop()||noop;if(Array.isArray(A[0]))A=A[0];if(A.length<2)throw new Error("pump requires two streams per minimum");var i;var n=A.map((function(o,s){var g=s<A.length-1;var a=s>0;return destroyer(o,g,a,(function(A){if(!i)i=A;if(A)n.forEach(call);if(g)return;n.forEach(call);t(i)}))}));return A.reduce(pipe)};A.exports=pump},74907:A=>{"use strict";var t=String.prototype.replace;var i=/%20/g;var n={RFC1738:"RFC1738",RFC3986:"RFC3986"};A.exports={default:n.RFC3986,formatters:{RFC1738:function(A){return t.call(A,i,"+")},RFC3986:function(A){return String(A)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},22760:(A,t,i)=>{"use strict";var n=i(79954);var o=i(33912);var s=i(74907);A.exports={formats:s,parse:o,stringify:n}},33912:(A,t,i)=>{"use strict";var n=i(72360);var o=Object.prototype.hasOwnProperty;var s=Array.isArray;var g={allowDots:false,allowEmptyArrays:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decodeDotInKeys:false,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictDepth:false,strictMerge:true,strictNullHandling:false,throwOnLimitExceeded:false};var interpretNumericEntities=function(A){return A.replace(/&#(\d+);/g,(function(A,t){return String.fromCharCode(parseInt(t,10))}))};var parseArrayValue=function(A,t,i){if(A&&typeof A==="string"&&t.comma&&A.indexOf(",")>-1){if(t.throwOnLimitExceeded){var n=0;var o=A.indexOf(",");while(o>-1){n+=1;if(n>=t.arrayLimit){throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.")}o=A.indexOf(",",o+1)}}return A.split(",")}if(t.throwOnLimitExceeded&&i>=t.arrayLimit){throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.")}return A};var a="utf8=%26%2310003%3B";var I="utf8=%E2%9C%93";var B=function parseQueryStringValues(A,t){var i={__proto__:null};var B=t.ignoreQueryPrefix?A.replace(/^\?/,""):A;B=B.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var Q=t.parameterLimit===Infinity?void undefined:t.parameterLimit;var E=B.split(t.delimiter,t.throwOnLimitExceeded&&typeof Q!=="undefined"?Q+1:Q);if(t.throwOnLimitExceeded&&typeof Q!=="undefined"&&E.length>Q){throw new RangeError("Parameter limit exceeded. Only "+Q+" parameter"+(Q===1?"":"s")+" allowed.")}var c=-1;var u;var l=t.charset;if(t.charsetSentinel){for(u=0;u<E.length;++u){if(E[u].indexOf("utf8=")===0){if(E[u]===I){l="utf-8"}else if(E[u]===a){l="iso-8859-1"}c=u;u=E.length}}}for(u=0;u<E.length;++u){if(u===c){continue}var p=E[u];var h=p.indexOf("]=");var d=h===-1?p.indexOf("="):h+1;var D;var y;if(d===-1){D=t.decoder(p,g.decoder,l,"key");y=t.strictNullHandling?null:""}else{D=t.decoder(p.slice(0,d),g.decoder,l,"key");if(D!==null){y=n.maybeMap(parseArrayValue(p.slice(d+1),t,s(i[D])?i[D].length:0),(function(A){return t.decoder(A,g.decoder,l,"value")}))}}if(y&&t.interpretNumericEntities&&l==="iso-8859-1"){y=interpretNumericEntities(String(y))}if(p.indexOf("[]=")>-1){y=s(y)?[y]:y}if(t.comma&&s(y)&&y.length>t.arrayLimit){y=n.combine([],y,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded)}if(D!==null){var w=o.call(i,D);if(w&&(t.duplicates==="combine"||p.indexOf("[]=")>-1)){i[D]=n.combine(i[D],y,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded)}else if(!w||t.duplicates==="last"){i[D]=y}}}return i};var parseObject=function(A,t,i,o){var s=0;if(A.length>0&&A[A.length-1]==="[]"){var g=A.slice(0,-1).join("");s=Array.isArray(t)&&t[g]?t[g].length:0}var a=o?t:parseArrayValue(t,i,s);for(var I=A.length-1;I>=0;--I){var B;var Q=A[I];if(Q==="[]"&&i.parseArrays){if(n.isOverflow(a)){B=a}else{B=i.allowEmptyArrays&&(a===""||i.strictNullHandling&&a===null)?[]:n.combine([],a,i.arrayLimit,i.plainObjects,i.throwOnLimitExceeded)}}else{B=i.plainObjects?{__proto__:null}:{};var E=Q.charAt(0)==="["&&Q.charAt(Q.length-1)==="]"?Q.slice(1,-1):Q;var c=i.decodeDotInKeys?E.replace(/%2E/g,"."):E;var u=parseInt(c,10);var l=!isNaN(u)&&Q!==c&&String(u)===c&&u>=0&&i.parseArrays;if(!i.parseArrays&&c===""){B={0:a}}else if(l&&u<i.arrayLimit){B=[];B[u]=a}else if(l&&i.throwOnLimitExceeded){throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.")}else if(l){B[u]=a;n.markOverflow(B,u)}else if(c!=="__proto__"){B[c]=a}}a=B}return a};var Q=function splitKeyIntoSegments(A,t){var i=t.allowDots?A.replace(/\.([^.[]+)/g,"[$1]"):A;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,i)){if(!t.allowPrototypes){return}}return[i]}var n=[];var s=i.indexOf("[");var g=s>=0?i.slice(0,s):i;if(g){if(!t.plainObjects&&o.call(Object.prototype,g)){if(!t.allowPrototypes){return}}n[n.length]=g}var a=i.length;var I=s;var B=0;while(I>=0&&B<t.depth){var Q=1;var E=I+1;var c=-1;while(E<a&&c<0){var u=i.charCodeAt(E);if(u===91){Q+=1}else if(u===93){Q-=1;if(Q===0){c=E}}E+=1}if(c<0){n[n.length]="["+i.slice(I)+"]";return n}var l=i.slice(I,c+1);var p=l.slice(1,-1);if(!t.plainObjects&&o.call(Object.prototype,p)&&!t.allowPrototypes){return}n[n.length]=l;B+=1;I=i.indexOf("[",c+1)}if(I>=0){if(t.strictDepth===true){throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true")}n[n.length]="["+i.slice(I)+"]"}return n};var E=function parseQueryStringKeys(A,t,i,n){if(!A){return}var o=Q(A,i);if(!o){return}return parseObject(o,t,i,n)};var c=function normalizeParseOptions(A){if(!A){return g}if(typeof A.allowEmptyArrays!=="undefined"&&typeof A.allowEmptyArrays!=="boolean"){throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided")}if(typeof A.decodeDotInKeys!=="undefined"&&typeof A.decodeDotInKeys!=="boolean"){throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided")}if(A.decoder!==null&&typeof A.decoder!=="undefined"&&typeof A.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}if(typeof A.charset!=="undefined"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}if(typeof A.throwOnLimitExceeded!=="undefined"&&typeof A.throwOnLimitExceeded!=="boolean"){throw new TypeError("`throwOnLimitExceeded` option must be a boolean")}var t=typeof A.charset==="undefined"?g.charset:A.charset;var i=typeof A.duplicates==="undefined"?g.duplicates:A.duplicates;if(i!=="combine"&&i!=="first"&&i!=="last"){throw new TypeError("The duplicates option must be either combine, first, or last")}var o=typeof A.allowDots==="undefined"?A.decodeDotInKeys===true?true:g.allowDots:!!A.allowDots;return{allowDots:o,allowEmptyArrays:typeof A.allowEmptyArrays==="boolean"?!!A.allowEmptyArrays:g.allowEmptyArrays,allowPrototypes:typeof A.allowPrototypes==="boolean"?A.allowPrototypes:g.allowPrototypes,allowSparse:typeof A.allowSparse==="boolean"?A.allowSparse:g.allowSparse,arrayLimit:typeof A.arrayLimit==="number"?A.arrayLimit:g.arrayLimit,charset:t,charsetSentinel:typeof A.charsetSentinel==="boolean"?A.charsetSentinel:g.charsetSentinel,comma:typeof A.comma==="boolean"?A.comma:g.comma,decodeDotInKeys:typeof A.decodeDotInKeys==="boolean"?A.decodeDotInKeys:g.decodeDotInKeys,decoder:typeof A.decoder==="function"?A.decoder:g.decoder,delimiter:typeof A.delimiter==="string"||n.isRegExp(A.delimiter)?A.delimiter:g.delimiter,depth:typeof A.depth==="number"||A.depth===false?+A.depth:g.depth,duplicates:i,ignoreQueryPrefix:A.ignoreQueryPrefix===true,interpretNumericEntities:typeof A.interpretNumericEntities==="boolean"?A.interpretNumericEntities:g.interpretNumericEntities,parameterLimit:typeof A.parameterLimit==="number"?A.parameterLimit:g.parameterLimit,parseArrays:A.parseArrays!==false,plainObjects:typeof A.plainObjects==="boolean"?A.plainObjects:g.plainObjects,strictDepth:typeof A.strictDepth==="boolean"?!!A.strictDepth:g.strictDepth,strictMerge:typeof A.strictMerge==="boolean"?!!A.strictMerge:g.strictMerge,strictNullHandling:typeof A.strictNullHandling==="boolean"?A.strictNullHandling:g.strictNullHandling,throwOnLimitExceeded:typeof A.throwOnLimitExceeded==="boolean"?A.throwOnLimitExceeded:false}};A.exports=function(A,t){var i=c(t);if(A===""||A===null||typeof A==="undefined"){return i.plainObjects?{__proto__:null}:{}}var o=typeof A==="string"?B(A,i):A;var s=i.plainObjects?{__proto__:null}:{};var g=Object.keys(o);for(var a=0;a<g.length;++a){var I=g[a];var Q=E(I,o[I],i,typeof A==="string");s=n.merge(s,Q,i)}if(i.allowSparse===true){return s}return n.compact(s)}},79954:(A,t,i)=>{"use strict";var n=i(51674);var o=i(72360);var s=i(74907);var g=Object.prototype.hasOwnProperty;var a={brackets:function brackets(A){return A+"[]"},comma:"comma",indices:function indices(A,t){return A+"["+t+"]"},repeat:function repeat(A){return A}};var I=Array.isArray;var B=Array.prototype.push;var pushToArray=function(A,t){B.apply(A,I(t)?t:[t])};var Q=Date.prototype.toISOString;var E=s["default"];var c={addQueryPrefix:false,allowDots:false,allowEmptyArrays:false,arrayFormat:"indices",charset:"utf-8",charsetSentinel:false,commaRoundTrip:false,delimiter:"&",depth:Infinity,encode:true,encodeDotInKeys:false,encoder:o.encode,encodeValuesOnly:false,filter:void undefined,format:E,formatter:s.formatters[E],indices:false,serializeDate:function serializeDate(A){return Q.call(A)},skipNulls:false,strictNullHandling:false};var u=function isNonNullishPrimitive(A){return typeof A==="string"||typeof A==="number"||typeof A==="boolean"||typeof A==="symbol"||typeof A==="bigint"};var l={};var p=function stringify(A,t,i,s,g,a,B,Q,E,p,h,d,D,y,w,m,k,v,R,N){var x=A;if(N>R){throw new RangeError("Input depth exceeded depth option of "+R)}var G=v;var L=0;var J=false;while((G=G.get(l))!==void undefined&&!J){var K=G.get(A);L+=1;if(typeof K!=="undefined"){if(K===L){throw new RangeError("Cyclic object value")}else{J=true}}if(typeof G.get(l)==="undefined"){L=0}}x=typeof p==="function"?p(t,x):x;if(x instanceof Date){x=D(x)}else if(i==="comma"&&I(x)){x=o.maybeMap(x,(function(A){if(A instanceof Date){return D(A)}return A}))}if(x===null){if(a){return w(E&&!m?E(t,c.encoder,k,"key",y):t)}x=""}if(u(x)||o.isBuffer(x)){if(E){var H=m?t:E(t,c.encoder,k,"key",y);return[w(H)+"="+w(E(x,c.encoder,k,"value",y))]}return[w(t)+"="+w(String(x))]}var P=[];if(typeof x==="undefined"){return P}var O;if(i==="comma"&&I(x)){if(m&&E){x=o.maybeMap(x,(function(A){return A==null?A:E(A)}))}O=[{value:x.length>0?x.join(",")||null:void undefined}]}else if(I(p)){O=p}else{var q=Object.keys(x);O=h?q.sort(h):q}var j=Q?String(t).replace(/\./g,"%2E"):String(t);var _=s&&I(x)&&x.length===1?j+"[]":j;if(g&&I(x)&&x.length===0&&Object.keys(x).length===0){return _+"[]"}for(var W=0;W<O.length;++W){var X=O[W];var Z=typeof X==="object"&&X&&typeof X.value!=="undefined"?X.value:x[X];if(B&&Z===null){continue}var z=d&&Q?String(X).replace(/\./g,"%2E"):String(X);var $=I(x)?typeof i==="function"?i(_,z):_:_+(d?"."+z:"["+z+"]");v.set(A,L);var AA=n();AA.set(l,v);pushToArray(P,stringify(Z,$,i,s,g,a,B,Q,i==="comma"&&m&&I(x)?null:E,p,h,d,D,y,w,m,k,AA,R,N+1))}return P};var h=function normalizeStringifyOptions(A){if(!A){return c}if(typeof A.allowEmptyArrays!=="undefined"&&typeof A.allowEmptyArrays!=="boolean"){throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided")}if(typeof A.encodeDotInKeys!=="undefined"&&typeof A.encodeDotInKeys!=="boolean"){throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided")}if(A.encoder!==null&&typeof A.encoder!=="undefined"&&typeof A.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var t=A.charset||c.charset;if(typeof A.charset!=="undefined"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var i=s["default"];if(typeof A.format!=="undefined"){if(!g.call(s.formatters,A.format)){throw new TypeError("Unknown format option provided.")}i=A.format}var n=s.formatters[i];var o=c.filter;if(typeof A.filter==="function"||I(A.filter)){o=A.filter}var B;if(A.arrayFormat in a){B=A.arrayFormat}else if("indices"in A){B=A.indices?"indices":"repeat"}else{B=c.arrayFormat}if("commaRoundTrip"in A&&typeof A.commaRoundTrip!=="boolean"){throw new TypeError("`commaRoundTrip` must be a boolean, or absent")}var Q=typeof A.allowDots==="undefined"?A.encodeDotInKeys===true?true:c.allowDots:!!A.allowDots;return{addQueryPrefix:typeof A.addQueryPrefix==="boolean"?A.addQueryPrefix:c.addQueryPrefix,allowDots:Q,allowEmptyArrays:typeof A.allowEmptyArrays==="boolean"?!!A.allowEmptyArrays:c.allowEmptyArrays,arrayFormat:B,charset:t,charsetSentinel:typeof A.charsetSentinel==="boolean"?A.charsetSentinel:c.charsetSentinel,commaRoundTrip:!!A.commaRoundTrip,delimiter:typeof A.delimiter==="undefined"?c.delimiter:A.delimiter,depth:typeof A.depth==="number"?A.depth:c.depth,encode:typeof A.encode==="boolean"?A.encode:c.encode,encodeDotInKeys:typeof A.encodeDotInKeys==="boolean"?A.encodeDotInKeys:c.encodeDotInKeys,encoder:typeof A.encoder==="function"?A.encoder:c.encoder,encodeValuesOnly:typeof A.encodeValuesOnly==="boolean"?A.encodeValuesOnly:c.encodeValuesOnly,filter:o,format:i,formatter:n,serializeDate:typeof A.serializeDate==="function"?A.serializeDate:c.serializeDate,skipNulls:typeof A.skipNulls==="boolean"?A.skipNulls:c.skipNulls,sort:typeof A.sort==="function"?A.sort:null,strictNullHandling:typeof A.strictNullHandling==="boolean"?A.strictNullHandling:c.strictNullHandling}};A.exports=function(A,t){var i=A;var o=h(t);var s;var g;if(typeof o.filter==="function"){g=o.filter;i=g("",i)}else if(I(o.filter)){g=o.filter;s=g}var B=[];if(typeof i!=="object"||i===null){return""}var Q=a[o.arrayFormat];var E=Q==="comma"&&o.commaRoundTrip;if(!s){s=Object.keys(i)}if(o.sort){s.sort(o.sort)}var c=n();for(var u=0;u<s.length;++u){var l=s[u];if(typeof l==="undefined"||l===null){continue}var d=i[l];if(o.skipNulls&&d===null){continue}var D=o.encodeDotInKeys?String(l).replace(/\./g,"%2E"):String(l);pushToArray(B,p(d,D,Q,E,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c,o.depth,0))}var y=B.join(o.delimiter);var w=o.addQueryPrefix===true?"?":"";if(o.charsetSentinel){if(o.charset==="iso-8859-1"){w+="utf8=%26%2310003%3B"+o.delimiter}else{w+="utf8=%E2%9C%93"+o.delimiter}}return y.length>0?w+y:""}},72360:(A,t,i)=>{"use strict";var n=i(74907);var o=i(51674);var s=i(1951);var g=Object.prototype.hasOwnProperty;var a=Array.isArray;var I=o();var B=function markOverflow(A,t){I.set(A,t);return A};var Q=function isOverflow(A){return I.has(A)};var E=function getMaxIndex(A){return I.get(A)};var c=function setMaxIndex(A,t){I.set(A,t)};var u=function(){var A=[];for(var t=0;t<256;++t){A[A.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase()}return A}();var l=function compactQueue(A){while(A.length>1){var t=A.pop();var i=t.obj[t.prop];if(a(i)){var n=[];for(var o=0;o<i.length;++o){if(typeof i[o]!=="undefined"){n[n.length]=i[o]}}t.obj[t.prop]=n}}};var p=function arrayToObject(A,t){var i=t&&t.plainObjects?{__proto__:null}:{};for(var n=0;n<A.length;++n){if(typeof A[n]!=="undefined"){i[n]=A[n]}}return i};var h=function setProperty(A,t,i){if(t==="__proto__"&&s){s(A,t,{configurable:true,enumerable:true,value:i,writable:true})}else{A[t]=i}};var d=function merge(A,t,i){if(!t){return A}if(typeof t!=="object"&&typeof t!=="function"){if(a(A)){var n=A.length;if(i&&typeof i.arrayLimit==="number"&&n>=i.arrayLimit){if(i.throwOnLimitExceeded){throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.")}return B(p(A.concat(t),i),n)}A[n]=t}else if(A&&typeof A==="object"){if(Q(A)){var o=E(A)+1;A[o]=t;c(A,o)}else if(i&&i.strictMerge){return[A,t]}else if(i&&(i.plainObjects||i.allowPrototypes)||!g.call(Object.prototype,t)){A[t]=true}}else{return[A,t]}return A}if(!A||typeof A!=="object"){if(Q(t)){var s=Object.keys(t);var I=i&&i.plainObjects?{__proto__:null,0:A}:{0:A};for(var u=0;u<s.length;u++){var l=parseInt(s[u],10);I[l+1]=t[s[u]]}return B(I,E(t)+1)}var d=[A].concat(t);if(i&&typeof i.arrayLimit==="number"&&d.length>i.arrayLimit){if(i.throwOnLimitExceeded){throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.")}return B(p(d,i),d.length-1)}return d}var D=A;if(a(A)&&!a(t)){D=p(A,i)}if(a(A)&&a(t)){t.forEach((function(t,n){if(g.call(A,n)){var o=A[n];if(o&&typeof o==="object"&&t&&typeof t==="object"){A[n]=merge(o,t,i)}else{A[A.length]=t}}else{A[n]=t}}));if(i&&typeof i.arrayLimit==="number"&&A.length>i.arrayLimit){if(i.throwOnLimitExceeded){throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.")}return B(p(A,i),A.length-1)}return A}return Object.keys(t).reduce((function(A,n){var o=t[n];if(g.call(A,n)){h(A,n,merge(A[n],o,i))}else{h(A,n,o)}if(Q(t)&&!Q(A)){B(A,E(t))}if(Q(A)){var s=parseInt(n,10);if(String(s)===n&&s>=0&&s>E(A)){c(A,s)}}return A}),D)};var D=function assignSingleSource(A,t){return Object.keys(t).reduce((function(A,i){h(A,i,t[i]);return A}),A)};var decode=function(A,t,i){var n=A.replace(/\+/g," ");if(i==="iso-8859-1"){return n.replace(/%[0-9a-f]{2}/gi,unescape)}try{return decodeURIComponent(n)}catch(A){return n}};var y=1024;var w=function encode(A,t,i,o,s){if(A.length===0){return A}var g=A;if(typeof A==="symbol"){g=Symbol.prototype.toString.call(A)}else if(typeof A!=="string"){g=String(A)}if(i==="iso-8859-1"){return escape(g).replace(/%u[0-9a-f]{4}/gi,(function(A){return"%26%23"+parseInt(A.slice(2),16)+"%3B"}))}var a="";for(var I=0;I<g.length;I+=y){var B=g.length>=y?g.slice(I,I+y):g;if(I+y<g.length){var Q=B.charCodeAt(B.length-1);if(Q>=55296&&Q<=56319){B=B.slice(0,-1);I-=1}}var E=[];for(var c=0;c<B.length;++c){var l=B.charCodeAt(c);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||s===n.RFC1738&&(l===40||l===41)){E[E.length]=B.charAt(c);continue}if(l<128){E[E.length]=u[l];continue}if(l<2048){E[E.length]=u[192|l>>6]+u[128|l&63];continue}if(l<55296||l>=57344){E[E.length]=u[224|l>>12]+u[128|l>>6&63]+u[128|l&63];continue}c+=1;l=65536+((l&1023)<<10|B.charCodeAt(c)&1023);E[E.length]=u[240|l>>18]+u[128|l>>12&63]+u[128|l>>6&63]+u[128|l&63]}a+=E.join("")}return a};var m=function compact(A){var t=[{obj:{o:A},prop:"o"}];var i=o();for(var n=0;n<t.length;++n){var s=t[n];var g=s.obj[s.prop];var a=Object.keys(g);for(var I=0;I<a.length;++I){var B=a[I];var Q=g[B];if(typeof Q==="object"&&Q!==null&&!i.has(Q)){t[t.length]={obj:g,prop:B};i.set(Q,true)}}}l(t);return A};var k=function isRegExp(A){return Object.prototype.toString.call(A)==="[object RegExp]"};var v=function isBuffer(A){if(!A||typeof A!=="object"){return false}return!!(A.constructor&&typeof A.constructor.isBuffer==="function"&&A.constructor.isBuffer(A))};var R=function combine(A,t,i,n,o){if(Q(A)){if(o){throw new RangeError("Array limit exceeded. Only "+i+" element"+(i===1?"":"s")+" allowed in an array.")}var s=a(t)?t:[t];var g=E(A);for(var I=0;I<s.length;++I){g+=1;A[g]=s[I]}c(A,g);return A}var u=[].concat(A,t);if(u.length>i){if(o){throw new RangeError("Array limit exceeded. Only "+i+" element"+(i===1?"":"s")+" allowed in an array.")}return B(p(u,{plainObjects:n}),u.length-1)}return u};var N=function maybeMap(A,t){if(a(A)){var i=[];for(var n=0;n<A.length;n+=1){i[i.length]=t(A[n])}return i}return t(A)};A.exports={arrayToObject:p,assign:D,combine:R,compact:m,decode:decode,encode:w,isBuffer:v,isOverflow:Q,isRegExp:k,markOverflow:B,maybeMap:N,merge:d}},1951:A=>{"use strict";var t=Object.defineProperty||false;if(t){try{t({},"a",{value:1})}catch(A){t=false}}A.exports=t},60396:(A,t,i)=>{"use strict";var n=i(20504);var o=i(6361);var listGetNode=function(A,t,i){var n=A;var o;for(;(o=n.next)!=null;n=o){if(o.key===t){n.next=o.next;if(!i){o.next=A.next;A.next=o}return o}}};var listGet=function(A,t){if(!A){return void undefined}var i=listGetNode(A,t);return i&&i.value};var listSet=function(A,t,i){var n=listGetNode(A,t);if(n){n.value=i}else{A.next={key:t,next:A.next,value:i}}};var listHas=function(A,t){if(!A){return false}return!!listGetNode(A,t)};var listDelete=function(A,t){if(A){return listGetNode(A,t,true)}};A.exports=function getSideChannelList(){var A;var t={assert:function(A){if(!t.has(A)){throw new o("Side channel does not contain "+n(A))}},delete:function(t){var i=listDelete(A,t);if(i&&A&&!A.next){A=void undefined}return!!i},get:function(t){return listGet(A,t)},has:function(t){return listHas(A,t)},set:function(t,i){if(!A){A={next:void undefined}}listSet(A,t,i)}};return t}},51674:(A,t,i)=>{"use strict";var n=i(6361);var o=i(20504);var s=i(60396);var g=i(2172);var a=i(71012);var I=a||g||s;A.exports=function getSideChannel(){var A;var t={assert:function(A){if(!t.has(A)){var i=A&&Object(A)===A?"the given object key":o(A);throw new n("Side channel does not contain "+i)}},delete:function(t){return!!A&&A["delete"](t)},get:function(t){return A&&A.get(t)},has:function(t){return!!A&&A.has(t)},set:function(t,i){if(!A){A=I()}A.set(t,i)}};return t}},15118:(A,t,i)=>{"use strict";var n=i(14300);var o=n.Buffer;var s={};var g;for(g in n){if(!n.hasOwnProperty(g))continue;if(g==="SlowBuffer"||g==="Buffer")continue;s[g]=n[g]}var a=s.Buffer={};for(g in o){if(!o.hasOwnProperty(g))continue;if(g==="allocUnsafe"||g==="allocUnsafeSlow")continue;a[g]=o[g]}s.Buffer.prototype=o.prototype;if(!a.from||a.from===Uint8Array.from){a.from=function(A,t,i){if(typeof A==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof A)}if(A&&typeof A.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A)}return o(A,t,i)}}if(!a.alloc){a.alloc=function(A,t,i){if(typeof A!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof A)}if(A<0||A>=2*(1<<30)){throw new RangeError('The value "'+A+'" is invalid for option "size"')}var n=o(A);if(!t||t.length===0){n.fill(0)}else if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}return n}}if(!s.kStringMaxLength){try{s.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(A){}}if(!s.constants){s.constants={MAX_LENGTH:s.kMaxLength};if(s.kStringMaxLength){s.constants.MAX_STRING_LENGTH=s.kStringMaxLength}}A.exports=s},72043:(A,t,i)=>{(function(A){A.parser=function(A,t){return new SAXParser(A,t)};A.SAXParser=SAXParser;A.SAXStream=SAXStream;A.createStream=createStream;A.MAX_BUFFER_LENGTH=64*1024;var t=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];A.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function SAXParser(t,i){if(!(this instanceof SAXParser)){return new SAXParser(t,i)}var n=this;clearBuffers(n);n.q=n.c="";n.bufferCheckPosition=A.MAX_BUFFER_LENGTH;n.opt=i||{};n.opt.lowercase=n.opt.lowercase||n.opt.lowercasetags;n.looseCase=n.opt.lowercase?"toLowerCase":"toUpperCase";n.tags=[];n.closed=n.closedRoot=n.sawRoot=false;n.tag=n.error=null;n.strict=!!t;n.noscript=!!(t||n.opt.noscript);n.state=l.BEGIN;n.strictEntities=n.opt.strictEntities;n.ENTITIES=n.strictEntities?Object.create(A.XML_ENTITIES):Object.create(A.ENTITIES);n.attribList=[];if(n.opt.xmlns){n.ns=Object.create(B)}n.trackPosition=n.opt.position!==false;if(n.trackPosition){n.position=n.line=n.column=0}emit(n,"onready")}if(!Object.create){Object.create=function(A){function F(){}F.prototype=A;var t=new F;return t}}if(!Object.keys){Object.keys=function(A){var t=[];for(var i in A)if(A.hasOwnProperty(i))t.push(i);return t}}function checkBufferLength(i){var n=Math.max(A.MAX_BUFFER_LENGTH,10);var o=0;for(var s=0,g=t.length;s<g;s++){var a=i[t[s]].length;if(a>n){switch(t[s]){case"textNode":closeText(i);break;case"cdata":emitNode(i,"oncdata",i.cdata);i.cdata="";break;case"script":emitNode(i,"onscript",i.script);i.script="";break;default:error(i,"Max buffer length exceeded: "+t[s])}}o=Math.max(o,a)}var I=A.MAX_BUFFER_LENGTH-o;i.bufferCheckPosition=I+i.position}function clearBuffers(A){for(var i=0,n=t.length;i<n;i++){A[t[i]]=""}}function flushBuffers(A){closeText(A);if(A.cdata!==""){emitNode(A,"oncdata",A.cdata);A.cdata=""}if(A.script!==""){emitNode(A,"onscript",A.script);A.script=""}}SAXParser.prototype={end:function(){end(this)},write:write,resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){flushBuffers(this)}};var n;try{n=i(12781).Stream}catch(A){n=function(){}}if(!n)n=function(){};var o=A.EVENTS.filter((function(A){return A!=="error"&&A!=="end"}));function createStream(A,t){return new SAXStream(A,t)}function SAXStream(A,t){if(!(this instanceof SAXStream)){return new SAXStream(A,t)}n.apply(this);this._parser=new SAXParser(A,t);this.writable=true;this.readable=true;var i=this;this._parser.onend=function(){i.emit("end")};this._parser.onerror=function(A){i.emit("error",A);i._parser.error=null};this._decoder=null;o.forEach((function(A){Object.defineProperty(i,"on"+A,{get:function(){return i._parser["on"+A]},set:function(t){if(!t){i.removeAllListeners(A);i._parser["on"+A]=t;return t}i.on(A,t)},enumerable:true,configurable:false})}))}SAXStream.prototype=Object.create(n.prototype,{constructor:{value:SAXStream}});SAXStream.prototype.write=function(A){if(typeof Buffer==="function"&&typeof Buffer.isBuffer==="function"&&Buffer.isBuffer(A)){if(!this._decoder){var t=i(71576).StringDecoder;this._decoder=new t("utf8")}A=this._decoder.write(A)}this._parser.write(A.toString());this.emit("data",A);return true};SAXStream.prototype.end=function(A){if(A&&A.length){this.write(A)}this._parser.end();return true};SAXStream.prototype.on=function(A,t){var i=this;if(!i._parser["on"+A]&&o.indexOf(A)!==-1){i._parser["on"+A]=function(){var t=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,A);i.emit.apply(i,t)}}return n.prototype.on.call(i,A,t)};var s="[CDATA[";var g="DOCTYPE";var a="http://www.w3.org/XML/1998/namespace";var I="http://www.w3.org/2000/xmlns/";var B={xml:a,xmlns:I};var Q=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;var E=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;var c=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;var u=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function isWhitespace(A){return A===" "||A==="\n"||A==="\r"||A==="\t"}function isQuote(A){return A==='"'||A==="'"}function isAttribEnd(A){return A===">"||isWhitespace(A)}function isMatch(A,t){return A.test(t)}function notMatch(A,t){return!isMatch(A,t)}var l=0;A.STATE={BEGIN:l++,BEGIN_WHITESPACE:l++,TEXT:l++,TEXT_ENTITY:l++,OPEN_WAKA:l++,SGML_DECL:l++,SGML_DECL_QUOTED:l++,DOCTYPE:l++,DOCTYPE_QUOTED:l++,DOCTYPE_DTD:l++,DOCTYPE_DTD_QUOTED:l++,COMMENT_STARTING:l++,COMMENT:l++,COMMENT_ENDING:l++,COMMENT_ENDED:l++,CDATA:l++,CDATA_ENDING:l++,CDATA_ENDING_2:l++,PROC_INST:l++,PROC_INST_BODY:l++,PROC_INST_ENDING:l++,OPEN_TAG:l++,OPEN_TAG_SLASH:l++,ATTRIB:l++,ATTRIB_NAME:l++,ATTRIB_NAME_SAW_WHITE:l++,ATTRIB_VALUE:l++,ATTRIB_VALUE_QUOTED:l++,ATTRIB_VALUE_CLOSED:l++,ATTRIB_VALUE_UNQUOTED:l++,ATTRIB_VALUE_ENTITY_Q:l++,ATTRIB_VALUE_ENTITY_U:l++,CLOSE_TAG:l++,CLOSE_TAG_SAW_WHITE:l++,SCRIPT:l++,SCRIPT_ENDING:l++};A.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};A.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(A.ENTITIES).forEach((function(t){var i=A.ENTITIES[t];var n=typeof i==="number"?String.fromCharCode(i):i;A.ENTITIES[t]=n}));for(var p in A.STATE){A.STATE[A.STATE[p]]=p}l=A.STATE;function emit(A,t,i){A[t]&&A[t](i)}function emitNode(A,t,i){if(A.textNode)closeText(A);emit(A,t,i)}function closeText(A){A.textNode=textopts(A.opt,A.textNode);if(A.textNode)emit(A,"ontext",A.textNode);A.textNode=""}function textopts(A,t){if(A.trim)t=t.trim();if(A.normalize)t=t.replace(/\s+/g," ");return t}function error(A,t){closeText(A);if(A.trackPosition){t+="\nLine: "+A.line+"\nColumn: "+A.column+"\nChar: "+A.c}t=new Error(t);A.error=t;emit(A,"onerror",t);return A}function end(A){if(A.sawRoot&&!A.closedRoot)strictFail(A,"Unclosed root tag");if(A.state!==l.BEGIN&&A.state!==l.BEGIN_WHITESPACE&&A.state!==l.TEXT){error(A,"Unexpected end")}closeText(A);A.c="";A.closed=true;emit(A,"onend");SAXParser.call(A,A.strict,A.opt);return A}function strictFail(A,t){if(typeof A!=="object"||!(A instanceof SAXParser)){throw new Error("bad call to strictFail")}if(A.strict){error(A,t)}}function newTag(A){if(!A.strict)A.tagName=A.tagName[A.looseCase]();var t=A.tags[A.tags.length-1]||A;var i=A.tag={name:A.tagName,attributes:{}};if(A.opt.xmlns){i.ns=t.ns}A.attribList.length=0;emitNode(A,"onopentagstart",i)}function qname(A,t){var i=A.indexOf(":");var n=i<0?["",A]:A.split(":");var o=n[0];var s=n[1];if(t&&A==="xmlns"){o="xmlns";s=""}return{prefix:o,local:s}}function attrib(A){if(!A.strict){A.attribName=A.attribName[A.looseCase]()}if(A.attribList.indexOf(A.attribName)!==-1||A.tag.attributes.hasOwnProperty(A.attribName)){A.attribName=A.attribValue="";return}if(A.opt.xmlns){var t=qname(A.attribName,true);var i=t.prefix;var n=t.local;if(i==="xmlns"){if(n==="xml"&&A.attribValue!==a){strictFail(A,"xml: prefix must be bound to "+a+"\n"+"Actual: "+A.attribValue)}else if(n==="xmlns"&&A.attribValue!==I){strictFail(A,"xmlns: prefix must be bound to "+I+"\n"+"Actual: "+A.attribValue)}else{var o=A.tag;var s=A.tags[A.tags.length-1]||A;if(o.ns===s.ns){o.ns=Object.create(s.ns)}o.ns[n]=A.attribValue}}A.attribList.push([A.attribName,A.attribValue])}else{A.tag.attributes[A.attribName]=A.attribValue;emitNode(A,"onattribute",{name:A.attribName,value:A.attribValue})}A.attribName=A.attribValue=""}function openTag(A,t){if(A.opt.xmlns){var i=A.tag;var n=qname(A.tagName);i.prefix=n.prefix;i.local=n.local;i.uri=i.ns[n.prefix]||"";if(i.prefix&&!i.uri){strictFail(A,"Unbound namespace prefix: "+JSON.stringify(A.tagName));i.uri=n.prefix}var o=A.tags[A.tags.length-1]||A;if(i.ns&&o.ns!==i.ns){Object.keys(i.ns).forEach((function(t){emitNode(A,"onopennamespace",{prefix:t,uri:i.ns[t]})}))}for(var s=0,g=A.attribList.length;s<g;s++){var a=A.attribList[s];var I=a[0];var B=a[1];var Q=qname(I,true);var E=Q.prefix;var c=Q.local;var u=E===""?"":i.ns[E]||"";var p={name:I,value:B,prefix:E,local:c,uri:u};if(E&&E!=="xmlns"&&!u){strictFail(A,"Unbound namespace prefix: "+JSON.stringify(E));p.uri=E}A.tag.attributes[I]=p;emitNode(A,"onattribute",p)}A.attribList.length=0}A.tag.isSelfClosing=!!t;A.sawRoot=true;A.tags.push(A.tag);emitNode(A,"onopentag",A.tag);if(!t){if(!A.noscript&&A.tagName.toLowerCase()==="script"){A.state=l.SCRIPT}else{A.state=l.TEXT}A.tag=null;A.tagName=""}A.attribName=A.attribValue="";A.attribList.length=0}function closeTag(A){if(!A.tagName){strictFail(A,"Weird empty close tag.");A.textNode+="</>";A.state=l.TEXT;return}if(A.script){if(A.tagName!=="script"){A.script+="</"+A.tagName+">";A.tagName="";A.state=l.SCRIPT;return}emitNode(A,"onscript",A.script);A.script=""}var t=A.tags.length;var i=A.tagName;if(!A.strict){i=i[A.looseCase]()}var n=i;while(t--){var o=A.tags[t];if(o.name!==n){strictFail(A,"Unexpected close tag")}else{break}}if(t<0){strictFail(A,"Unmatched closing tag: "+A.tagName);A.textNode+="</"+A.tagName+">";A.state=l.TEXT;return}A.tagName=i;var s=A.tags.length;while(s-- >t){var g=A.tag=A.tags.pop();A.tagName=A.tag.name;emitNode(A,"onclosetag",A.tagName);var a={};for(var I in g.ns){a[I]=g.ns[I]}var B=A.tags[A.tags.length-1]||A;if(A.opt.xmlns&&g.ns!==B.ns){Object.keys(g.ns).forEach((function(t){var i=g.ns[t];emitNode(A,"onclosenamespace",{prefix:t,uri:i})}))}}if(t===0)A.closedRoot=true;A.tagName=A.attribValue=A.attribName="";A.attribList.length=0;A.state=l.TEXT}function parseEntity(A){var t=A.entity;var i=t.toLowerCase();var n;var o="";if(A.ENTITIES[t]){return A.ENTITIES[t]}if(A.ENTITIES[i]){return A.ENTITIES[i]}t=i;if(t.charAt(0)==="#"){if(t.charAt(1)==="x"){t=t.slice(2);n=parseInt(t,16);o=n.toString(16)}else{t=t.slice(1);n=parseInt(t,10);o=n.toString(10)}}t=t.replace(/^0+/,"");if(isNaN(n)||o.toLowerCase()!==t){strictFail(A,"Invalid character entity");return"&"+A.entity+";"}return String.fromCodePoint(n)}function beginWhiteSpace(A,t){if(t==="<"){A.state=l.OPEN_WAKA;A.startTagPosition=A.position}else if(!isWhitespace(t)){strictFail(A,"Non-whitespace before first tag.");A.textNode=t;A.state=l.TEXT}}function charAt(A,t){var i="";if(t<A.length){i=A.charAt(t)}return i}function write(A){var t=this;if(this.error){throw this.error}if(t.closed){return error(t,"Cannot write after close. Assign an onready handler.")}if(A===null){return end(t)}if(typeof A==="object"){A=A.toString()}var i=0;var n="";while(true){n=charAt(A,i++);t.c=n;if(!n){break}if(t.trackPosition){t.position++;if(n==="\n"){t.line++;t.column=0}else{t.column++}}switch(t.state){case l.BEGIN:t.state=l.BEGIN_WHITESPACE;if(n==="\ufeff"){continue}beginWhiteSpace(t,n);continue;case l.BEGIN_WHITESPACE:beginWhiteSpace(t,n);continue;case l.TEXT:if(t.sawRoot&&!t.closedRoot){var o=i-1;while(n&&n!=="<"&&n!=="&"){n=charAt(A,i++);if(n&&t.trackPosition){t.position++;if(n==="\n"){t.line++;t.column=0}else{t.column++}}}t.textNode+=A.substring(o,i-1)}if(n==="<"&&!(t.sawRoot&&t.closedRoot&&!t.strict)){t.state=l.OPEN_WAKA;t.startTagPosition=t.position}else{if(!isWhitespace(n)&&(!t.sawRoot||t.closedRoot)){strictFail(t,"Text data outside of root node.")}if(n==="&"){t.state=l.TEXT_ENTITY}else{t.textNode+=n}}continue;case l.SCRIPT:if(n==="<"){t.state=l.SCRIPT_ENDING}else{t.script+=n}continue;case l.SCRIPT_ENDING:if(n==="/"){t.state=l.CLOSE_TAG}else{t.script+="<"+n;t.state=l.SCRIPT}continue;case l.OPEN_WAKA:if(n==="!"){t.state=l.SGML_DECL;t.sgmlDecl=""}else if(isWhitespace(n)){}else if(isMatch(Q,n)){t.state=l.OPEN_TAG;t.tagName=n}else if(n==="/"){t.state=l.CLOSE_TAG;t.tagName=""}else if(n==="?"){t.state=l.PROC_INST;t.procInstName=t.procInstBody=""}else{strictFail(t,"Unencoded <");if(t.startTagPosition+1<t.position){var a=t.position-t.startTagPosition;n=new Array(a).join(" ")+n}t.textNode+="<"+n;t.state=l.TEXT}continue;case l.SGML_DECL:if((t.sgmlDecl+n).toUpperCase()===s){emitNode(t,"onopencdata");t.state=l.CDATA;t.sgmlDecl="";t.cdata=""}else if(t.sgmlDecl+n==="--"){t.state=l.COMMENT;t.comment="";t.sgmlDecl=""}else if((t.sgmlDecl+n).toUpperCase()===g){t.state=l.DOCTYPE;if(t.doctype||t.sawRoot){strictFail(t,"Inappropriately located doctype declaration")}t.doctype="";t.sgmlDecl=""}else if(n===">"){emitNode(t,"onsgmldeclaration",t.sgmlDecl);t.sgmlDecl="";t.state=l.TEXT}else if(isQuote(n)){t.state=l.SGML_DECL_QUOTED;t.sgmlDecl+=n}else{t.sgmlDecl+=n}continue;case l.SGML_DECL_QUOTED:if(n===t.q){t.state=l.SGML_DECL;t.q=""}t.sgmlDecl+=n;continue;case l.DOCTYPE:if(n===">"){t.state=l.TEXT;emitNode(t,"ondoctype",t.doctype);t.doctype=true}else{t.doctype+=n;if(n==="["){t.state=l.DOCTYPE_DTD}else if(isQuote(n)){t.state=l.DOCTYPE_QUOTED;t.q=n}}continue;case l.DOCTYPE_QUOTED:t.doctype+=n;if(n===t.q){t.q="";t.state=l.DOCTYPE}continue;case l.DOCTYPE_DTD:t.doctype+=n;if(n==="]"){t.state=l.DOCTYPE}else if(isQuote(n)){t.state=l.DOCTYPE_DTD_QUOTED;t.q=n}continue;case l.DOCTYPE_DTD_QUOTED:t.doctype+=n;if(n===t.q){t.state=l.DOCTYPE_DTD;t.q=""}continue;case l.COMMENT:if(n==="-"){t.state=l.COMMENT_ENDING}else{t.comment+=n}continue;case l.COMMENT_ENDING:if(n==="-"){t.state=l.COMMENT_ENDED;t.comment=textopts(t.opt,t.comment);if(t.comment){emitNode(t,"oncomment",t.comment)}t.comment=""}else{t.comment+="-"+n;t.state=l.COMMENT}continue;case l.COMMENT_ENDED:if(n!==">"){strictFail(t,"Malformed comment");t.comment+="--"+n;t.state=l.COMMENT}else{t.state=l.TEXT}continue;case l.CDATA:if(n==="]"){t.state=l.CDATA_ENDING}else{t.cdata+=n}continue;case l.CDATA_ENDING:if(n==="]"){t.state=l.CDATA_ENDING_2}else{t.cdata+="]"+n;t.state=l.CDATA}continue;case l.CDATA_ENDING_2:if(n===">"){if(t.cdata){emitNode(t,"oncdata",t.cdata)}emitNode(t,"onclosecdata");t.cdata="";t.state=l.TEXT}else if(n==="]"){t.cdata+="]"}else{t.cdata+="]]"+n;t.state=l.CDATA}continue;case l.PROC_INST:if(n==="?"){t.state=l.PROC_INST_ENDING}else if(isWhitespace(n)){t.state=l.PROC_INST_BODY}else{t.procInstName+=n}continue;case l.PROC_INST_BODY:if(!t.procInstBody&&isWhitespace(n)){continue}else if(n==="?"){t.state=l.PROC_INST_ENDING}else{t.procInstBody+=n}continue;case l.PROC_INST_ENDING:if(n===">"){emitNode(t,"onprocessinginstruction",{name:t.procInstName,body:t.procInstBody});t.procInstName=t.procInstBody="";t.state=l.TEXT}else{t.procInstBody+="?"+n;t.state=l.PROC_INST_BODY}continue;case l.OPEN_TAG:if(isMatch(E,n)){t.tagName+=n}else{newTag(t);if(n===">"){openTag(t)}else if(n==="/"){t.state=l.OPEN_TAG_SLASH}else{if(!isWhitespace(n)){strictFail(t,"Invalid character in tag name")}t.state=l.ATTRIB}}continue;case l.OPEN_TAG_SLASH:if(n===">"){openTag(t,true);closeTag(t)}else{strictFail(t,"Forward-slash in opening tag not followed by >");t.state=l.ATTRIB}continue;case l.ATTRIB:if(isWhitespace(n)){continue}else if(n===">"){openTag(t)}else if(n==="/"){t.state=l.OPEN_TAG_SLASH}else if(isMatch(Q,n)){t.attribName=n;t.attribValue="";t.state=l.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name")}continue;case l.ATTRIB_NAME:if(n==="="){t.state=l.ATTRIB_VALUE}else if(n===">"){strictFail(t,"Attribute without value");t.attribValue=t.attribName;attrib(t);openTag(t)}else if(isWhitespace(n)){t.state=l.ATTRIB_NAME_SAW_WHITE}else if(isMatch(E,n)){t.attribName+=n}else{strictFail(t,"Invalid attribute name")}continue;case l.ATTRIB_NAME_SAW_WHITE:if(n==="="){t.state=l.ATTRIB_VALUE}else if(isWhitespace(n)){continue}else{strictFail(t,"Attribute without value");t.tag.attributes[t.attribName]="";t.attribValue="";emitNode(t,"onattribute",{name:t.attribName,value:""});t.attribName="";if(n===">"){openTag(t)}else if(isMatch(Q,n)){t.attribName=n;t.state=l.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name");t.state=l.ATTRIB}}continue;case l.ATTRIB_VALUE:if(isWhitespace(n)){continue}else if(isQuote(n)){t.q=n;t.state=l.ATTRIB_VALUE_QUOTED}else{strictFail(t,"Unquoted attribute value");t.state=l.ATTRIB_VALUE_UNQUOTED;t.attribValue=n}continue;case l.ATTRIB_VALUE_QUOTED:if(n!==t.q){if(n==="&"){t.state=l.ATTRIB_VALUE_ENTITY_Q}else{t.attribValue+=n}continue}attrib(t);t.q="";t.state=l.ATTRIB_VALUE_CLOSED;continue;case l.ATTRIB_VALUE_CLOSED:if(isWhitespace(n)){t.state=l.ATTRIB}else if(n===">"){openTag(t)}else if(n==="/"){t.state=l.OPEN_TAG_SLASH}else if(isMatch(Q,n)){strictFail(t,"No whitespace between attributes");t.attribName=n;t.attribValue="";t.state=l.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name")}continue;case l.ATTRIB_VALUE_UNQUOTED:if(!isAttribEnd(n)){if(n==="&"){t.state=l.ATTRIB_VALUE_ENTITY_U}else{t.attribValue+=n}continue}attrib(t);if(n===">"){openTag(t)}else{t.state=l.ATTRIB}continue;case l.CLOSE_TAG:if(!t.tagName){if(isWhitespace(n)){continue}else if(notMatch(Q,n)){if(t.script){t.script+="</"+n;t.state=l.SCRIPT}else{strictFail(t,"Invalid tagname in closing tag.")}}else{t.tagName=n}}else if(n===">"){closeTag(t)}else if(isMatch(E,n)){t.tagName+=n}else if(t.script){t.script+="</"+t.tagName;t.tagName="";t.state=l.SCRIPT}else{if(!isWhitespace(n)){strictFail(t,"Invalid tagname in closing tag")}t.state=l.CLOSE_TAG_SAW_WHITE}continue;case l.CLOSE_TAG_SAW_WHITE:if(isWhitespace(n)){continue}if(n===">"){closeTag(t)}else{strictFail(t,"Invalid characters in closing tag")}continue;case l.TEXT_ENTITY:case l.ATTRIB_VALUE_ENTITY_Q:case l.ATTRIB_VALUE_ENTITY_U:var I;var B;switch(t.state){case l.TEXT_ENTITY:I=l.TEXT;B="textNode";break;case l.ATTRIB_VALUE_ENTITY_Q:I=l.ATTRIB_VALUE_QUOTED;B="attribValue";break;case l.ATTRIB_VALUE_ENTITY_U:I=l.ATTRIB_VALUE_UNQUOTED;B="attribValue";break}if(n===";"){if(t.opt.unparsedEntities){var p=parseEntity(t);t.entity="";t.state=I;t.write(p)}else{t[B]+=parseEntity(t);t.entity="";t.state=I}}else if(isMatch(t.entity.length?u:c,n)){t.entity+=n}else{strictFail(t,"Invalid character in entity name");t[B]+="&"+t.entity+n;t.entity="";t.state=I}continue;default:{throw new Error(t,"Unknown state: "+t.state)}}}if(t.position>=t.bufferCheckPosition){checkBufferLength(t)}return t}
67
+ */(function(){"use strict";var i={function:true,object:true};var n=i[typeof window]&&window||this;var o=n;var s=i[typeof t]&&t;var g=i["object"]&&A&&!A.nodeType&&A;var a=s&&g&&typeof global=="object"&&global;if(a&&(a.global===a||a.window===a||a.self===a)){n=a}var I=Math.pow(2,53)-1;var B=/\bOpera/;var Q=this;var E=Object.prototype;var c=E.hasOwnProperty;var u=E.toString;function capitalize(A){A=String(A);return A.charAt(0).toUpperCase()+A.slice(1)}function cleanupOS(A,t,i){var n={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit",5.1:"XP",5.01:"2000 SP1","5.0":"2000","4.0":"NT","4.90":"ME"};if(t&&i&&/^Win/i.test(A)&&!/^Windows Phone /i.test(A)&&(n=n[/[\d.]+$/.exec(A)])){A="Windows "+n}A=String(A);if(t&&i){A=A.replace(RegExp(t,"i"),i)}A=format(A.replace(/ ce$/i," CE").replace(/\bhpw/i,"web").replace(/\bMacintosh\b/,"Mac OS").replace(/_PowerPC\b/i," OS").replace(/\b(OS X) [^ \d]+/i,"$1").replace(/\bMac (OS X)\b/,"$1").replace(/\/(\d)/," $1").replace(/_/g,".").replace(/(?: BePC|[ .]*fc[ \d.]+)$/i,"").replace(/\bx86\.64\b/gi,"x86_64").replace(/\b(Windows Phone) OS\b/,"$1").replace(/\b(Chrome OS \w+) [\d.]+\b/,"$1").split(" on ")[0]);return A}function each(A,t){var i=-1,n=A?A.length:0;if(typeof n=="number"&&n>-1&&n<=I){while(++i<n){t(A[i],i,A)}}else{forOwn(A,t)}}function format(A){A=trim(A);return/^(?:webOS|i(?:OS|P))/.test(A)?A:capitalize(A)}function forOwn(A,t){for(var i in A){if(c.call(A,i)){t(A[i],i,A)}}}function getClassOf(A){return A==null?capitalize(A):u.call(A).slice(8,-1)}function isHostType(A,t){var i=A!=null?typeof A[t]:"number";return!/^(?:boolean|number|string|undefined)$/.test(i)&&(i=="object"?!!A[t]:true)}function qualify(A){return String(A).replace(/([ -])(?!$)/g,"$1?")}function reduce(A,t){var i=null;each(A,(function(n,o){i=t(i,n,o,A)}));return i}function trim(A){return String(A).replace(/^ +| +$/g,"")}function parse(A){var t=n;var i=A&&typeof A=="object"&&getClassOf(A)!="String";if(i){t=A;A=null}var s=t.navigator||{};var g=s.userAgent||"";A||(A=g);var a=i||Q==o;var I=i?!!s.likeChrome:/\bChrome\b/.test(A)&&!/internal|\n/i.test(u.toString());var E="Object",c=i?E:"ScriptBridgingProxyObject",l=i?E:"Environment",p=i&&t.java?"JavaPackage":getClassOf(t.java),h=i?E:"RuntimeObject";var d=/\bJava/.test(p)&&t.java;var D=d&&getClassOf(t.environment)==l;var y=d?"a":"α";var w=d?"b":"β";var m=t.document||{};var k=t.operamini||t.opera;var v=B.test(v=i&&k?k["[[Class]]"]:getClassOf(k))?v:k=null;var R;var N=A;var x=[];var G=null;var L=A==g;var J=L&&k&&typeof k.version=="function"&&k.version();var K;var H=getLayout([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]);var P=getName(["Adobe AIR","Arora","Avant Browser","Breach","Camino","Electron","Epiphany","Fennec","Flock","Galeon","GreenBrowser","iCab","Iceweasel","K-Meleon","Konqueror","Lunascape","Maxthon",{label:"Microsoft Edge",pattern:"(?:Edge|Edg|EdgA|EdgiOS)"},"Midori","Nook Browser","PaleMoon","PhantomJS","Raven","Rekonq","RockMelt",{label:"Samsung Internet",pattern:"SamsungBrowser"},"SeaMonkey",{label:"Silk",pattern:"(?:Cloud9|Silk-Accelerated)"},"Sleipnir","SlimBrowser",{label:"SRWare Iron",pattern:"Iron"},"Sunrise","Swiftfox","Vivaldi","Waterfox","WebPositive",{label:"Yandex Browser",pattern:"YaBrowser"},{label:"UC Browser",pattern:"UCBrowser"},"Opera Mini",{label:"Opera Mini",pattern:"OPiOS"},"Opera",{label:"Opera",pattern:"OPR"},"Chromium","Chrome",{label:"Chrome",pattern:"(?:HeadlessChrome)"},{label:"Chrome Mobile",pattern:"(?:CriOS|CrMo)"},{label:"Firefox",pattern:"(?:Firefox|Minefield)"},{label:"Firefox for iOS",pattern:"FxiOS"},{label:"IE",pattern:"IEMobile"},{label:"IE",pattern:"MSIE"},"Safari"]);var O=getProduct([{label:"BlackBerry",pattern:"BB10"},"BlackBerry",{label:"Galaxy S",pattern:"GT-I9000"},{label:"Galaxy S2",pattern:"GT-I9100"},{label:"Galaxy S3",pattern:"GT-I9300"},{label:"Galaxy S4",pattern:"GT-I9500"},{label:"Galaxy S5",pattern:"SM-G900"},{label:"Galaxy S6",pattern:"SM-G920"},{label:"Galaxy S6 Edge",pattern:"SM-G925"},{label:"Galaxy S7",pattern:"SM-G930"},{label:"Galaxy S7 Edge",pattern:"SM-G935"},"Google TV","Lumia","iPad","iPod","iPhone","Kindle",{label:"Kindle Fire",pattern:"(?:Cloud9|Silk-Accelerated)"},"Nexus","Nook","PlayBook","PlayStation Vita","PlayStation","TouchPad","Transformer",{label:"Wii U",pattern:"WiiU"},"Wii","Xbox One",{label:"Xbox 360",pattern:"Xbox"},"Xoom"]);var q=getManufacturer({Apple:{iPad:1,iPhone:1,iPod:1},Alcatel:{},Archos:{},Amazon:{Kindle:1,"Kindle Fire":1},Asus:{Transformer:1},"Barnes & Noble":{Nook:1},BlackBerry:{PlayBook:1},Google:{"Google TV":1,Nexus:1},HP:{TouchPad:1},HTC:{},Huawei:{},Lenovo:{},LG:{},Microsoft:{Xbox:1,"Xbox One":1},Motorola:{Xoom:1},Nintendo:{"Wii U":1,Wii:1},Nokia:{Lumia:1},Oppo:{},Samsung:{"Galaxy S":1,"Galaxy S2":1,"Galaxy S3":1,"Galaxy S4":1},Sony:{PlayStation:1,"PlayStation Vita":1},Xiaomi:{Mi:1,Redmi:1}});var j=getOS(["Windows Phone","KaiOS","Android","CentOS",{label:"Chrome OS",pattern:"CrOS"},"Debian",{label:"DragonFly BSD",pattern:"DragonFly"},"Fedora","FreeBSD","Gentoo","Haiku","Kubuntu","Linux Mint","OpenBSD","Red Hat","SuSE","Ubuntu","Xubuntu","Cygwin","Symbian OS","hpwOS","webOS ","webOS","Tablet OS","Tizen","Linux","Mac OS X","Macintosh","Mac","Windows 98;","Windows "]);function getLayout(t){return reduce(t,(function(t,i){return t||RegExp("\\b"+(i.pattern||qualify(i))+"\\b","i").exec(A)&&(i.label||i)}))}function getManufacturer(t){return reduce(t,(function(t,i,n){return t||(i[O]||i[/^[a-z]+(?: +[a-z]+\b)*/i.exec(O)]||RegExp("\\b"+qualify(n)+"(?:\\b|\\w*\\d)","i").exec(A))&&n}))}function getName(t){return reduce(t,(function(t,i){return t||RegExp("\\b"+(i.pattern||qualify(i))+"\\b","i").exec(A)&&(i.label||i)}))}function getOS(t){return reduce(t,(function(t,i){var n=i.pattern||qualify(i);if(!t&&(t=RegExp("\\b"+n+"(?:/[\\d.]+|[ \\w.]*)","i").exec(A))){t=cleanupOS(t,n,i.label||i)}return t}))}function getProduct(t){return reduce(t,(function(t,i){var n=i.pattern||qualify(i);if(!t&&(t=RegExp("\\b"+n+" *\\d+[.\\w_]*","i").exec(A)||RegExp("\\b"+n+" *\\w+-[\\w]*","i").exec(A)||RegExp("\\b"+n+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(A))){if((t=String(i.label&&!RegExp(n,"i").test(i.label)?i.label:t).split("/"))[1]&&!/[\d.]+/.test(t[0])){t[0]+=" "+t[1]}i=i.label||i;t=format(t[0].replace(RegExp(n,"i"),i).replace(RegExp("; *(?:"+i+"[_-])?","i")," ").replace(RegExp("("+i+")[-_.]?(\\w)","i"),"$1 $2"))}return t}))}function getVersion(t){return reduce(t,(function(t,i){return t||(RegExp(i+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(A)||0)[1]||null}))}function toStringPlatform(){return this.description||""}H&&(H=[H]);if(/\bAndroid\b/.test(j)&&!O&&(R=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(A))){O=trim(R[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null}if(q&&!O){O=getProduct([q])}else if(q&&O){O=O.replace(RegExp("^("+qualify(q)+")[-_.\\s]","i"),q+" ").replace(RegExp("^("+qualify(q)+")[-_.]?(\\w)","i"),q+" $2")}if(R=/\bGoogle TV\b/.exec(O)){O=R[0]}if(/\bSimulator\b/i.test(A)){O=(O?O+" ":"")+"Simulator"}if(P=="Opera Mini"&&/\bOPiOS\b/.test(A)){x.push("running in Turbo/Uncompressed mode")}if(P=="IE"&&/\blike iPhone OS\b/.test(A)){R=parse(A.replace(/like iPhone OS/,""));q=R.manufacturer;O=R.product}else if(/^iP/.test(O)){P||(P="Safari");j="iOS"+((R=/ OS ([\d_]+)/i.exec(A))?" "+R[1].replace(/_/g,"."):"")}else if(P=="Konqueror"&&/^Linux\b/i.test(j)){j="Kubuntu"}else if(q&&q!="Google"&&(/Chrome/.test(P)&&!/\bMobile Safari\b/i.test(A)||/\bVita\b/.test(O))||/\bAndroid\b/.test(j)&&/^Chrome/.test(P)&&/\bVersion\//i.test(A)){P="Android Browser";j=/\bAndroid\b/.test(j)?j:"Android"}else if(P=="Silk"){if(!/\bMobi/i.test(A)){j="Android";x.unshift("desktop mode")}if(/Accelerated *= *true/i.test(A)){x.unshift("accelerated")}}else if(P=="UC Browser"&&/\bUCWEB\b/.test(A)){x.push("speed mode")}else if(P=="PaleMoon"&&(R=/\bFirefox\/([\d.]+)\b/.exec(A))){x.push("identifying as Firefox "+R[1])}else if(P=="Firefox"&&(R=/\b(Mobile|Tablet|TV)\b/i.exec(A))){j||(j="Firefox OS");O||(O=R[1])}else if(!P||(R=!/\bMinefield\b/i.test(A)&&/\b(?:Firefox|Safari)\b/.exec(P))){if(P&&!O&&/[\/,]|^[^(]+?\)/.test(A.slice(A.indexOf(R+"/")+8))){P=null}if((R=O||q||j)&&(O||q||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(j))){P=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(j)?j:R)+" Browser"}}else if(P=="Electron"&&(R=(/\bChrome\/([\d.]+)\b/.exec(A)||0)[1])){x.push("Chromium "+R)}if(!J){J=getVersion(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",qualify(P),"(?:Firefox|Minefield|NetFront)"])}if(R=H=="iCab"&&parseFloat(J)>3&&"WebKit"||/\bOpera\b/.test(P)&&(/\bOPR\b/.test(A)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(A)&&!/^(?:Trident|EdgeHTML)$/.test(H)&&"WebKit"||!H&&/\bMSIE\b/i.test(A)&&(j=="Mac OS"?"Tasman":"Trident")||H=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(P)&&"NetFront"){H=[R]}if(P=="IE"&&(R=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(A)||0)[1])){P+=" Mobile";j="Windows Phone "+(/\+$/.test(R)?R:R+".x");x.unshift("desktop mode")}else if(/\bWPDesktop\b/i.test(A)){P="IE Mobile";j="Windows Phone 8.x";x.unshift("desktop mode");J||(J=(/\brv:([\d.]+)/.exec(A)||0)[1])}else if(P!="IE"&&H=="Trident"&&(R=/\brv:([\d.]+)/.exec(A))){if(P){x.push("identifying as "+P+(J?" "+J:""))}P="IE";J=R[1]}if(L){if(isHostType(t,"global")){if(d){R=d.lang.System;N=R.getProperty("os.arch");j=j||R.getProperty("os.name")+" "+R.getProperty("os.version")}if(D){try{J=t.require("ringo/engine").version.join(".");P="RingoJS"}catch(A){if((R=t.system)&&R.global.system==t.system){P="Narwhal";j||(j=R[0].os||null)}}if(!P){P="Rhino"}}else if(typeof t.process=="object"&&!t.process.browser&&(R=t.process)){if(typeof R.versions=="object"){if(typeof R.versions.electron=="string"){x.push("Node "+R.versions.node);P="Electron";J=R.versions.electron}else if(typeof R.versions.nw=="string"){x.push("Chromium "+J,"Node "+R.versions.node);P="NW.js";J=R.versions.nw}}if(!P){P="Node.js";N=R.arch;j=R.platform;J=/[\d.]+/.exec(R.version);J=J?J[0]:null}}}else if(getClassOf(R=t.runtime)==c){P="Adobe AIR";j=R.flash.system.Capabilities.os}else if(getClassOf(R=t.phantom)==h){P="PhantomJS";J=(R=R.version||null)&&R.major+"."+R.minor+"."+R.patch}else if(typeof m.documentMode=="number"&&(R=/\bTrident\/(\d+)/i.exec(A))){J=[J,m.documentMode];if((R=+R[1]+4)!=J[1]){x.push("IE "+J[1]+" mode");H&&(H[1]="");J[1]=R}J=P=="IE"?String(J[1].toFixed(1)):J[0]}else if(typeof m.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(P)){x.push("masking as "+P+" "+J);P="IE";J="11.0";H=["Trident"];j="Windows"}j=j&&format(j)}if(J&&(R=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(J)||/(?:alpha|beta)(?: ?\d)?/i.exec(A+";"+(L&&s.appMinorVersion))||/\bMinefield\b/i.test(A)&&"a")){G=/b/i.test(R)?"beta":"alpha";J=J.replace(RegExp(R+"\\+?$"),"")+(G=="beta"?w:y)+(/\d+\+?/.exec(R)||"")}if(P=="Fennec"||P=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(j)){P="Firefox Mobile"}else if(P=="Maxthon"&&J){J=J.replace(/\.[\d.]+/,".x")}else if(/\bXbox\b/i.test(O)){if(O=="Xbox 360"){j=null}if(O=="Xbox 360"&&/\bIEMobile\b/.test(A)){x.unshift("mobile mode")}}else if((/^(?:Chrome|IE|Opera)$/.test(P)||P&&!O&&!/Browser|Mobi/.test(P))&&(j=="Windows CE"||/Mobi/i.test(A))){P+=" Mobile"}else if(P=="IE"&&L){try{if(t.external===null){x.unshift("platform preview")}}catch(A){x.unshift("embedded")}}else if((/\bBlackBerry\b/.test(O)||/\bBB10\b/.test(A))&&(R=(RegExp(O.replace(/ +/g," *")+"/([.\\d]+)","i").exec(A)||0)[1]||J)){R=[R,/BB10/.test(A)];j=(R[1]?(O=null,q="BlackBerry"):"Device Software")+" "+R[0];J=null}else if(this!=forOwn&&O!="Wii"&&(L&&k||/Opera/.test(P)&&/\b(?:MSIE|Firefox)\b/i.test(A)||P=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(j)||P=="IE"&&(j&&!/^Win/.test(j)&&J>5.5||/\bWindows XP\b/.test(j)&&J>8||J==8&&!/\bTrident\b/.test(A)))&&!B.test(R=parse.call(forOwn,A.replace(B,"")+";"))&&R.name){R="ing as "+R.name+((R=R.version)?" "+R:"");if(B.test(P)){if(/\bIE\b/.test(R)&&j=="Mac OS"){j=null}R="identify"+R}else{R="mask"+R;if(v){P=format(v.replace(/([a-z])([A-Z])/g,"$1 $2"))}else{P="Opera"}if(/\bIE\b/.test(R)){j=null}if(!L){J=null}}H=["Presto"];x.push(R)}if(R=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(A)||0)[1]){R=[parseFloat(R.replace(/\.(\d)$/,".0$1")),R];if(P=="Safari"&&R[1].slice(-1)=="+"){P="WebKit Nightly";G="alpha";J=R[1].slice(0,-1)}else if(J==R[1]||J==(R[2]=(/\bSafari\/([\d.]+\+?)/i.exec(A)||0)[1])){J=null}R[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(A)||0)[1];if(R[0]==537.36&&R[2]==537.36&&parseFloat(R[1])>=28&&H=="WebKit"){H=["Blink"]}if(!L||!I&&!R[1]){H&&(H[1]="like Safari");R=(R=R[0],R<400?1:R<500?2:R<526?3:R<533?4:R<534?"4+":R<535?5:R<537?6:R<538?7:R<601?8:R<602?9:R<604?10:R<606?11:R<608?12:"12")}else{H&&(H[1]="like Chrome");R=R[1]||(R=R[0],R<530?1:R<532?2:R<532.05?3:R<533?4:R<534.03?5:R<534.07?6:R<534.1?7:R<534.13?8:R<534.16?9:R<534.24?10:R<534.3?11:R<535.01?12:R<535.02?"13+":R<535.07?15:R<535.11?16:R<535.19?17:R<536.05?18:R<536.1?19:R<537.01?20:R<537.11?"21+":R<537.13?23:R<537.18?24:R<537.24?25:R<537.36?26:H!="Blink"?"27":"28")}H&&(H[1]+=" "+(R+=typeof R=="number"?".x":/[.+]/.test(R)?"":"+"));if(P=="Safari"&&(!J||parseInt(J)>45)){J=R}else if(P=="Chrome"&&/\bHeadlessChrome/i.test(A)){x.unshift("headless")}}if(P=="Opera"&&(R=/\bzbov|zvav$/.exec(j))){P+=" ";x.unshift("desktop mode");if(R=="zvav"){P+="Mini";J=null}else{P+="Mobile"}j=j.replace(RegExp(" *"+R+"$"),"")}else if(P=="Safari"&&/\bChrome\b/.exec(H&&H[1])){x.unshift("desktop mode");P="Chrome Mobile";J=null;if(/\bOS X\b/.test(j)){q="Apple";j="iOS 4.3+"}else{j=null}}else if(/\bSRWare Iron\b/.test(P)&&!J){J=getVersion("Chrome")}if(J&&J.indexOf(R=/[\d.]+$/.exec(j))==0&&A.indexOf("/"+R+"-")>-1){j=trim(j.replace(R,""))}if(j&&j.indexOf(P)!=-1&&!RegExp(P+" OS").test(j)){j=j.replace(RegExp(" *"+qualify(P)+" *"),"")}if(H&&!/\b(?:Avant|Nook)\b/.test(P)&&(/Browser|Lunascape|Maxthon/.test(P)||P!="Safari"&&/^iOS/.test(j)&&/\bSafari\b/.test(H[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(P)&&H[1])){(R=H[H.length-1])&&x.push(R)}if(x.length){x=["("+x.join("; ")+")"]}if(q&&O&&O.indexOf(q)<0){x.push("on "+q)}if(O){x.push((/^on /.test(x[x.length-1])?"":"on ")+O)}if(j){R=/ ([\d.+]+)$/.exec(j);K=R&&j.charAt(j.length-R[0].length-1)=="/";j={architecture:32,family:R&&!K?j.replace(R[0],""):j,version:R?R[1]:null,toString:function(){var A=this.version;return this.family+(A&&!K?" "+A:"")+(this.architecture==64?" 64-bit":"")}}}if((R=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(N))&&!/\bi686\b/i.test(N)){if(j){j.architecture=64;j.family=j.family.replace(RegExp(" *"+R),"")}if(P&&(/\bWOW64\b/i.test(A)||L&&/\w(?:86|32)$/.test(s.cpuClass||s.platform)&&!/\bWin64; x64\b/i.test(A))){x.unshift("32-bit")}}else if(j&&/^OS X/.test(j.family)&&P=="Chrome"&&parseFloat(J)>=39){j.architecture=64}A||(A=null);var _={};_.description=A;_.layout=H&&H[0];_.manufacturer=q;_.name=P;_.prerelease=G;_.product=O;_.ua=A;_.version=P&&J;_.os=j||{architecture:null,family:null,version:null,toString:function(){return"null"}};_.parse=parse;_.toString=toStringPlatform;if(_.version){x.unshift(J)}if(_.name){x.unshift(P)}if(j&&P&&!(j==String(j).split(" ")[0]&&(j==P.split(" ")[0]||O))){x.push(O?"("+j+")":"on "+j)}if(x.length){_.description=x.join(" ")}return _}var l=parse();if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){n.platform=l;define((function(){return l}))}else if(s&&g){forOwn(l,(function(A,t){s[t]=A}))}else{n.platform=l}}).call(this)},38391:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};var g=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:true});t.ProxyAgent=t.proxies=void 0;const a=s(i(13685));const I=s(i(95687));const B=i(57310);const Q=g(i(24667));const E=i(89511);const c=g(i(38237));const u=i(18786);const l=(0,c.default)("proxy-agent");const p={http:async()=>(await Promise.resolve().then((()=>s(i(23764))))).HttpProxyAgent,https:async()=>(await Promise.resolve().then((()=>s(i(65826))))).HttpsProxyAgent,socks:async()=>(await Promise.resolve().then((()=>s(i(25038))))).SocksProxyAgent,pac:async()=>(await Promise.resolve().then((()=>s(i(26338))))).PacProxyAgent};t.proxies={http:[p.http,p.https],https:[p.http,p.https],socks:[p.socks,p.socks],socks4:[p.socks,p.socks],socks4a:[p.socks,p.socks],socks5:[p.socks,p.socks],socks5h:[p.socks,p.socks],"pac+data":[p.pac,p.pac],"pac+file":[p.pac,p.pac],"pac+ftp":[p.pac,p.pac],"pac+http":[p.pac,p.pac],"pac+https":[p.pac,p.pac]};function isValidProtocol(A){return Object.keys(t.proxies).includes(A)}class ProxyAgent extends E.Agent{constructor(A){super(A);this.cache=new Q.default({max:20,dispose:A=>A.destroy()});l("Creating new ProxyAgent instance: %o",A);this.connectOpts=A;this.httpAgent=A?.httpAgent||new a.Agent(A);this.httpsAgent=A?.httpsAgent||new I.Agent(A);this.getProxyForUrl=A?.getProxyForUrl||u.getProxyForUrl}async connect(A,i){const{secureEndpoint:n}=i;const o=A.getHeader("upgrade")==="websocket";const s=n?o?"wss:":"https:":o?"ws:":"http:";const g=A.getHeader("host");const a=new B.URL(A.path,`${s}//${g}`).href;const I=await this.getProxyForUrl(a,A);if(!I){l("Proxy not enabled for URL: %o",a);return n?this.httpsAgent:this.httpAgent}l("Request URL: %o",a);l("Proxy URL: %o",I);const Q=`${s}+${I}`;let E=this.cache.get(Q);if(!E){const A=new B.URL(I);const i=A.protocol.replace(":","");if(!isValidProtocol(i)){throw new Error(`Unsupported protocol for proxy URL: ${I}`)}const s=await t.proxies[i][n||o?1:0]();E=new s(I,this.connectOpts);this.cache.set(Q,E)}else{l("Cache hit for proxy URL: %o",I)}return E}destroy(){for(const A of this.cache.values()){A.destroy()}super.destroy()}}t.ProxyAgent=ProxyAgent},71124:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const g=s(i(13685));const a=s(i(95687));async function toBuffer(A){let t=0;const i=[];for await(const n of A){t+=n.length;i.push(n)}return Buffer.concat(i,t)}t.toBuffer=toBuffer;async function json(A){const t=await toBuffer(A);const i=t.toString("utf8");try{return JSON.parse(i)}catch(A){const t=A;t.message+=` (input: ${i})`;throw t}}t.json=json;function req(A,t={}){const i=typeof A==="string"?A:A.href;const n=(i.startsWith("https:")?a:g).request(A,t);const o=new Promise(((A,t)=>{n.once("response",A).once("error",t).end()}));n.then=o.then.bind(o);return n}t.req=req},89511:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};var g=this&&this.__exportStar||function(A,t){for(var i in A)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,A,i)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const a=s(i(41808));const I=s(i(13685));const B=i(95687);g(i(71124),t);const Q=Symbol("AgentBaseInternalState");class Agent extends I.Agent{constructor(A){super(A);this[Q]={}}isSecureEndpoint(A){if(A){if(typeof A.secureEndpoint==="boolean"){return A.secureEndpoint}if(typeof A.protocol==="string"){return A.protocol==="https:"}}const{stack:t}=new Error;if(typeof t!=="string")return false;return t.split("\n").some((A=>A.indexOf("(https.js:")!==-1||A.indexOf("node:https:")!==-1))}incrementSockets(A){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[A]){this.sockets[A]=[]}const t=new a.Socket({writable:false});this.sockets[A].push(t);this.totalSocketCount++;return t}decrementSockets(A,t){if(!this.sockets[A]||t===null){return}const i=this.sockets[A];const n=i.indexOf(t);if(n!==-1){i.splice(n,1);this.totalSocketCount--;if(i.length===0){delete this.sockets[A]}}}getName(A){const t=typeof A.secureEndpoint==="boolean"?A.secureEndpoint:this.isSecureEndpoint(A);if(t){return B.Agent.prototype.getName.call(this,A)}return super.getName(A)}createSocket(A,t,i){const n={...t,secureEndpoint:this.isSecureEndpoint(t)};const o=this.getName(n);const s=this.incrementSockets(o);Promise.resolve().then((()=>this.connect(A,n))).then((g=>{this.decrementSockets(o,s);if(g instanceof I.Agent){try{return g.addRequest(A,n)}catch(A){return i(A)}}this[Q].currentSocket=g;super.createSocket(A,t,i)}),(A=>{this.decrementSockets(o,s);i(A)}))}createConnection(){const A=this[Q].currentSocket;this[Q].currentSocket=undefined;if(!A){throw new Error("No socket was returned in the `connect()` function")}return A}get defaultPort(){return this[Q].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(A){if(this[Q]){this[Q].defaultPort=A}}get protocol(){return this[Q].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(A){if(this[Q]){this[Q].protocol=A}}}t.Agent=Agent},65826:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};var g=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:true});t.HttpsProxyAgent=void 0;const a=s(i(41808));const I=s(i(24404));const B=g(i(39491));const Q=g(i(38237));const E=i(89511);const c=i(57310);const u=i(88389);const l=(0,Q.default)("https-proxy-agent");const setServernameFromNonIpHost=A=>{if(A.servername===undefined&&A.host&&!a.isIP(A.host)){return{...A,servername:A.host}}return A};class HttpsProxyAgent extends E.Agent{constructor(A,t){super(t);this.options={path:undefined};this.proxy=typeof A==="string"?new c.URL(A):A;this.proxyHeaders=t?.headers??{};l("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const i=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?omit(t,"headers"):null,host:i,port:n}}async connect(A,t){const{proxy:i}=this;if(!t.host){throw new TypeError('No "host" provided')}let n;if(i.protocol==="https:"){l("Creating `tls.Socket`: %o",this.connectOpts);n=I.connect(setServernameFromNonIpHost(this.connectOpts))}else{l("Creating `net.Socket`: %o",this.connectOpts);n=a.connect(this.connectOpts)}const o=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const s=a.isIPv6(t.host)?`[${t.host}]`:t.host;let g=`CONNECT ${s}:${t.port} HTTP/1.1\r\n`;if(i.username||i.password){const A=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(A).toString("base64")}`}o.Host=`${s}:${t.port}`;if(!o["Proxy-Connection"]){o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const A of Object.keys(o)){g+=`${A}: ${o[A]}\r\n`}const Q=(0,u.parseProxyResponse)(n);n.write(`${g}\r\n`);const{connect:E,buffered:c}=await Q;A.emit("proxyConnect",E);this.emit("proxyConnect",E,A);if(E.statusCode===200){A.once("socket",resume);if(t.secureEndpoint){l("Upgrading socket connection to TLS");return I.connect({...omit(setServernameFromNonIpHost(t),"host","path","port"),socket:n})}return n}n.destroy();const p=new a.Socket({writable:false});p.readable=true;A.once("socket",(A=>{l("Replaying proxy buffer for failed request");(0,B.default)(A.listenerCount("data")>0);A.push(c);A.push(null)}));return p}}HttpsProxyAgent.protocols=["http","https"];t.HttpsProxyAgent=HttpsProxyAgent;function resume(A){A.resume()}function omit(A,...t){const i={};let n;for(n in A){if(!t.includes(n)){i[n]=A[n]}}return i}},88389:function(A,t,i){"use strict";var n=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:true});t.parseProxyResponse=void 0;const o=n(i(38237));const s=(0,o.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(A){return new Promise(((t,i)=>{let n=0;const o=[];function read(){const t=A.read();if(t)ondata(t);else A.once("readable",read)}function cleanup(){A.removeListener("end",onend);A.removeListener("error",onerror);A.removeListener("readable",read)}function onend(){cleanup();s("onend");i(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(A){cleanup();s("onerror %o",A);i(A)}function ondata(g){o.push(g);n+=g.length;const a=Buffer.concat(o,n);const I=a.indexOf("\r\n\r\n");if(I===-1){s("have not received end of HTTP headers yet...");read();return}const B=a.slice(0,I).toString("ascii").split("\r\n");const Q=B.shift();if(!Q){A.destroy();return i(new Error("No header received from proxy CONNECT response"))}const E=Q.split(" ");const c=+E[1];const u=E.slice(2).join(" ");const l={};for(const t of B){if(!t)continue;const n=t.indexOf(":");if(n===-1){A.destroy();return i(new Error(`Invalid header from proxy CONNECT response: "${t}"`))}const o=t.slice(0,n).toLowerCase();const s=t.slice(n+1).trimStart();const g=l[o];if(typeof g==="string"){l[o]=[g,s]}else if(Array.isArray(g)){g.push(s)}else{l[o]=s}}s("got proxy server response: %o %o",Q,l);cleanup();t({connect:{statusCode:c,statusText:u,headers:l},buffered:a})}A.on("error",onerror);A.on("end",onend);read()}))}t.parseProxyResponse=parseProxyResponse},18786:(A,t,i)=>{"use strict";var n=i(57310).parse;var o={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};var s=String.prototype.endsWith||function(A){return A.length<=this.length&&this.indexOf(A,this.length-A.length)!==-1};function getProxyForUrl(A){var t=typeof A==="string"?n(A):A||{};var i=t.protocol;var s=t.host;var g=t.port;if(typeof s!=="string"||!s||typeof i!=="string"){return""}i=i.split(":",1)[0];s=s.replace(/:\d*$/,"");g=parseInt(g)||o[i]||0;if(!shouldProxy(s,g)){return""}var a=getEnv("npm_config_"+i+"_proxy")||getEnv(i+"_proxy")||getEnv("npm_config_proxy")||getEnv("all_proxy");if(a&&a.indexOf("://")===-1){a=i+"://"+a}return a}function shouldProxy(A,t){var i=(getEnv("npm_config_no_proxy")||getEnv("no_proxy")).toLowerCase();if(!i){return true}if(i==="*"){return false}return i.split(/[,\s]/).every((function(i){if(!i){return true}var n=i.match(/^(.+):(\d+)$/);var o=n?n[1]:i;var g=n?parseInt(n[2]):0;if(g&&g!==t){return true}if(!/^[.*]/.test(o)){return A!==o}if(o.charAt(0)==="*"){o=o.slice(1)}return!s.call(A,o)}))}function getEnv(A){return process.env[A.toLowerCase()]||process.env[A.toUpperCase()]||""}t.getProxyForUrl=getProxyForUrl},18341:(A,t,i)=>{var n=i(1223);var o=i(81205);var s=i(57147);var noop=function(){};var g=/^v?\.0/.test(process.version);var isFn=function(A){return typeof A==="function"};var isFS=function(A){if(!g)return false;if(!s)return false;return(A instanceof(s.ReadStream||noop)||A instanceof(s.WriteStream||noop))&&isFn(A.close)};var isRequest=function(A){return A.setHeader&&isFn(A.abort)};var destroyer=function(A,t,i,s){s=n(s);var g=false;A.on("close",(function(){g=true}));o(A,{readable:t,writable:i},(function(A){if(A)return s(A);g=true;s()}));var a=false;return function(t){if(g)return;if(a)return;a=true;if(isFS(A))return A.close(noop);if(isRequest(A))return A.abort();if(isFn(A.destroy))return A.destroy();s(t||new Error("stream was destroyed"))}};var call=function(A){A()};var pipe=function(A,t){return A.pipe(t)};var pump=function(){var A=Array.prototype.slice.call(arguments);var t=isFn(A[A.length-1]||noop)&&A.pop()||noop;if(Array.isArray(A[0]))A=A[0];if(A.length<2)throw new Error("pump requires two streams per minimum");var i;var n=A.map((function(o,s){var g=s<A.length-1;var a=s>0;return destroyer(o,g,a,(function(A){if(!i)i=A;if(A)n.forEach(call);if(g)return;n.forEach(call);t(i)}))}));return A.reduce(pipe)};A.exports=pump},74907:A=>{"use strict";var t=String.prototype.replace;var i=/%20/g;var n={RFC1738:"RFC1738",RFC3986:"RFC3986"};A.exports={default:n.RFC3986,formatters:{RFC1738:function(A){return t.call(A,i,"+")},RFC3986:function(A){return String(A)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},22760:(A,t,i)=>{"use strict";var n=i(79954);var o=i(33912);var s=i(74907);A.exports={formats:s,parse:o,stringify:n}},33912:(A,t,i)=>{"use strict";var n=i(72360);var o=Object.prototype.hasOwnProperty;var s=Array.isArray;var g={allowDots:false,allowEmptyArrays:false,allowPrototypes:false,allowSparse:false,arrayLimit:20,charset:"utf-8",charsetSentinel:false,comma:false,decodeDotInKeys:false,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:false,interpretNumericEntities:false,parameterLimit:1e3,parseArrays:true,plainObjects:false,strictDepth:false,strictMerge:true,strictNullHandling:false,throwOnLimitExceeded:false};var interpretNumericEntities=function(A){return A.replace(/&#(\d+);/g,(function(A,t){return String.fromCharCode(parseInt(t,10))}))};var parseArrayValue=function(A,t,i){if(A&&typeof A==="string"&&t.comma&&A.indexOf(",")>-1){if(t.throwOnLimitExceeded){var n=0;var o=A.indexOf(",");while(o>-1){n+=1;if(n>=t.arrayLimit){throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.")}o=A.indexOf(",",o+1)}}return A.split(",")}if(t.throwOnLimitExceeded&&i>=t.arrayLimit){throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.")}return A};var a="utf8=%26%2310003%3B";var I="utf8=%E2%9C%93";var B=function parseQueryStringValues(A,t){var i={__proto__:null};var B=t.ignoreQueryPrefix?A.replace(/^\?/,""):A;B=B.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var Q=t.parameterLimit===Infinity?void undefined:t.parameterLimit;var E=B.split(t.delimiter,t.throwOnLimitExceeded&&typeof Q!=="undefined"?Q+1:Q);if(t.throwOnLimitExceeded&&typeof Q!=="undefined"&&E.length>Q){throw new RangeError("Parameter limit exceeded. Only "+Q+" parameter"+(Q===1?"":"s")+" allowed.")}var c=-1;var u;var l=t.charset;if(t.charsetSentinel){for(u=0;u<E.length;++u){if(E[u].indexOf("utf8=")===0){if(E[u]===I){l="utf-8"}else if(E[u]===a){l="iso-8859-1"}c=u;u=E.length}}}for(u=0;u<E.length;++u){if(u===c){continue}var p=E[u];var h=p.indexOf("]=");var d=h===-1?p.indexOf("="):h+1;var D;var y;if(d===-1){D=t.decoder(p,g.decoder,l,"key");y=t.strictNullHandling?null:""}else{D=t.decoder(p.slice(0,d),g.decoder,l,"key");if(D!==null){y=n.maybeMap(parseArrayValue(p.slice(d+1),t,s(i[D])?i[D].length:0),(function(A){return t.decoder(A,g.decoder,l,"value")}))}}if(y&&t.interpretNumericEntities&&l==="iso-8859-1"){y=interpretNumericEntities(String(y))}if(p.indexOf("[]=")>-1){y=s(y)?[y]:y}if(t.comma&&s(y)&&y.length>t.arrayLimit){y=n.combine([],y,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded)}if(D!==null){var w=o.call(i,D);if(w&&(t.duplicates==="combine"||p.indexOf("[]=")>-1)){i[D]=n.combine(i[D],y,t.arrayLimit,t.plainObjects,t.throwOnLimitExceeded)}else if(!w||t.duplicates==="last"){i[D]=y}}}return i};var parseObject=function(A,t,i,o){var s=0;if(A.length>0&&A[A.length-1]==="[]"){var g=A.slice(0,-1).join("");s=Array.isArray(t)&&t[g]?t[g].length:0}var a=o?t:parseArrayValue(t,i,s);for(var I=A.length-1;I>=0;--I){var B;var Q=A[I];if(Q==="[]"&&i.parseArrays){if(n.isOverflow(a)){B=a}else{B=i.allowEmptyArrays&&(a===""||i.strictNullHandling&&a===null)?[]:n.combine([],a,i.arrayLimit,i.plainObjects,i.throwOnLimitExceeded)}}else{B=i.plainObjects?{__proto__:null}:{};var E=Q.charAt(0)==="["&&Q.charAt(Q.length-1)==="]"?Q.slice(1,-1):Q;var c=i.decodeDotInKeys?E.replace(/%2E/g,"."):E;var u=parseInt(c,10);var l=!isNaN(u)&&Q!==c&&String(u)===c&&u>=0&&i.parseArrays;if(!i.parseArrays&&c===""){B={0:a}}else if(l&&u<i.arrayLimit){B=[];B[u]=a}else if(l&&i.throwOnLimitExceeded){throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.")}else if(l){B[u]=a;n.markOverflow(B,u)}else if(c!=="__proto__"){B[c]=a}}a=B}return a};var Q=function splitKeyIntoSegments(A,t){var i=t.allowDots?A.replace(/\.([^.[]+)/g,"[$1]"):A;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,i)){if(!t.allowPrototypes){return}}return[i]}var n=[];var s=i.indexOf("[");var g=s>=0?i.slice(0,s):i;if(g){if(!t.plainObjects&&o.call(Object.prototype,g)){if(!t.allowPrototypes){return}}n[n.length]=g}var a=i.length;var I=s;var B=0;while(I>=0&&B<t.depth){var Q=1;var E=I+1;var c=-1;while(E<a&&c<0){var u=i.charCodeAt(E);if(u===91){Q+=1}else if(u===93){Q-=1;if(Q===0){c=E}}E+=1}if(c<0){n[n.length]="["+i.slice(I)+"]";return n}var l=i.slice(I,c+1);var p=l.slice(1,-1);if(!t.plainObjects&&o.call(Object.prototype,p)&&!t.allowPrototypes){return}n[n.length]=l;B+=1;I=i.indexOf("[",c+1)}if(I>=0){if(t.strictDepth===true){throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true")}n[n.length]="["+i.slice(I)+"]"}return n};var E=function parseQueryStringKeys(A,t,i,n){if(!A){return}var o=Q(A,i);if(!o){return}return parseObject(o,t,i,n)};var c=function normalizeParseOptions(A){if(!A){return g}if(typeof A.allowEmptyArrays!=="undefined"&&typeof A.allowEmptyArrays!=="boolean"){throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided")}if(typeof A.decodeDotInKeys!=="undefined"&&typeof A.decodeDotInKeys!=="boolean"){throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided")}if(A.decoder!==null&&typeof A.decoder!=="undefined"&&typeof A.decoder!=="function"){throw new TypeError("Decoder has to be a function.")}if(typeof A.charset!=="undefined"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}if(typeof A.throwOnLimitExceeded!=="undefined"&&typeof A.throwOnLimitExceeded!=="boolean"){throw new TypeError("`throwOnLimitExceeded` option must be a boolean")}var t=typeof A.charset==="undefined"?g.charset:A.charset;var i=typeof A.duplicates==="undefined"?g.duplicates:A.duplicates;if(i!=="combine"&&i!=="first"&&i!=="last"){throw new TypeError("The duplicates option must be either combine, first, or last")}var o=typeof A.allowDots==="undefined"?A.decodeDotInKeys===true?true:g.allowDots:!!A.allowDots;return{allowDots:o,allowEmptyArrays:typeof A.allowEmptyArrays==="boolean"?!!A.allowEmptyArrays:g.allowEmptyArrays,allowPrototypes:typeof A.allowPrototypes==="boolean"?A.allowPrototypes:g.allowPrototypes,allowSparse:typeof A.allowSparse==="boolean"?A.allowSparse:g.allowSparse,arrayLimit:typeof A.arrayLimit==="number"?A.arrayLimit:g.arrayLimit,charset:t,charsetSentinel:typeof A.charsetSentinel==="boolean"?A.charsetSentinel:g.charsetSentinel,comma:typeof A.comma==="boolean"?A.comma:g.comma,decodeDotInKeys:typeof A.decodeDotInKeys==="boolean"?A.decodeDotInKeys:g.decodeDotInKeys,decoder:typeof A.decoder==="function"?A.decoder:g.decoder,delimiter:typeof A.delimiter==="string"||n.isRegExp(A.delimiter)?A.delimiter:g.delimiter,depth:typeof A.depth==="number"||A.depth===false?+A.depth:g.depth,duplicates:i,ignoreQueryPrefix:A.ignoreQueryPrefix===true,interpretNumericEntities:typeof A.interpretNumericEntities==="boolean"?A.interpretNumericEntities:g.interpretNumericEntities,parameterLimit:typeof A.parameterLimit==="number"?A.parameterLimit:g.parameterLimit,parseArrays:A.parseArrays!==false,plainObjects:typeof A.plainObjects==="boolean"?A.plainObjects:g.plainObjects,strictDepth:typeof A.strictDepth==="boolean"?!!A.strictDepth:g.strictDepth,strictMerge:typeof A.strictMerge==="boolean"?!!A.strictMerge:g.strictMerge,strictNullHandling:typeof A.strictNullHandling==="boolean"?A.strictNullHandling:g.strictNullHandling,throwOnLimitExceeded:typeof A.throwOnLimitExceeded==="boolean"?A.throwOnLimitExceeded:false}};A.exports=function(A,t){var i=c(t);if(A===""||A===null||typeof A==="undefined"){return i.plainObjects?{__proto__:null}:{}}var o=typeof A==="string"?B(A,i):A;var s=i.plainObjects?{__proto__:null}:{};var g=Object.keys(o);for(var a=0;a<g.length;++a){var I=g[a];var Q=E(I,o[I],i,typeof A==="string");s=n.merge(s,Q,i)}if(i.allowSparse===true){return s}return n.compact(s)}},79954:(A,t,i)=>{"use strict";var n=i(51674);var o=i(72360);var s=i(74907);var g=Object.prototype.hasOwnProperty;var a={brackets:function brackets(A){return A+"[]"},comma:"comma",indices:function indices(A,t){return A+"["+t+"]"},repeat:function repeat(A){return A}};var I=Array.isArray;var B=Array.prototype.push;var pushToArray=function(A,t){B.apply(A,I(t)?t:[t])};var Q=Date.prototype.toISOString;var E=s["default"];var c={addQueryPrefix:false,allowDots:false,allowEmptyArrays:false,arrayFormat:"indices",charset:"utf-8",charsetSentinel:false,commaRoundTrip:false,delimiter:"&",depth:Infinity,encode:true,encodeDotInKeys:false,encoder:o.encode,encodeValuesOnly:false,filter:void undefined,format:E,formatter:s.formatters[E],indices:false,serializeDate:function serializeDate(A){return Q.call(A)},skipNulls:false,strictNullHandling:false};var u=function isNonNullishPrimitive(A){return typeof A==="string"||typeof A==="number"||typeof A==="boolean"||typeof A==="symbol"||typeof A==="bigint"};var l={};var p=function stringify(A,t,i,s,g,a,B,Q,E,p,h,d,D,y,w,m,k,v,R,N){var x=A;if(N>R){throw new RangeError("Input depth exceeded depth option of "+R)}var G=v;var L=0;var J=false;while((G=G.get(l))!==void undefined&&!J){var K=G.get(A);L+=1;if(typeof K!=="undefined"){if(K===L){throw new RangeError("Cyclic object value")}else{J=true}}if(typeof G.get(l)==="undefined"){L=0}}x=typeof p==="function"?p(t,x):x;if(x instanceof Date){x=D(x)}else if(i==="comma"&&I(x)){x=o.maybeMap(x,(function(A){if(A instanceof Date){return D(A)}return A}))}if(x===null){if(a){return w(E&&!m?E(t,c.encoder,k,"key",y):t)}x=""}if(u(x)||o.isBuffer(x)){if(E){var H=m?t:E(t,c.encoder,k,"key",y);return[w(H)+"="+w(E(x,c.encoder,k,"value",y))]}return[w(t)+"="+w(String(x))]}var P=[];if(typeof x==="undefined"){return P}var O;if(i==="comma"&&I(x)){if(m&&E){x=o.maybeMap(x,(function(A){return A==null?A:E(A)}))}O=[{value:x.length>0?x.join(",")||null:void undefined}]}else if(I(p)){O=p}else{var q=Object.keys(x);O=h?q.sort(h):q}var j=Q?String(t).replace(/\./g,"%2E"):String(t);var _=s&&I(x)&&x.length===1?j+"[]":j;if(g&&I(x)&&x.length===0&&Object.keys(x).length===0){return _+"[]"}for(var W=0;W<O.length;++W){var X=O[W];var Z=typeof X==="object"&&X&&typeof X.value!=="undefined"?X.value:x[X];if(B&&Z===null){continue}var z=d&&Q?String(X).replace(/\./g,"%2E"):String(X);var $=I(x)?typeof i==="function"?i(_,z):_:_+(d?"."+z:"["+z+"]");v.set(A,L);var AA=n();AA.set(l,v);pushToArray(P,stringify(Z,$,i,s,g,a,B,Q,i==="comma"&&m&&I(x)?null:E,p,h,d,D,y,w,m,k,AA,R,N+1))}return P};var h=function normalizeStringifyOptions(A){if(!A){return c}if(typeof A.allowEmptyArrays!=="undefined"&&typeof A.allowEmptyArrays!=="boolean"){throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided")}if(typeof A.encodeDotInKeys!=="undefined"&&typeof A.encodeDotInKeys!=="boolean"){throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided")}if(A.encoder!==null&&typeof A.encoder!=="undefined"&&typeof A.encoder!=="function"){throw new TypeError("Encoder has to be a function.")}var t=A.charset||c.charset;if(typeof A.charset!=="undefined"&&A.charset!=="utf-8"&&A.charset!=="iso-8859-1"){throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined")}var i=s["default"];if(typeof A.format!=="undefined"){if(!g.call(s.formatters,A.format)){throw new TypeError("Unknown format option provided.")}i=A.format}var n=s.formatters[i];var o=c.filter;if(typeof A.filter==="function"||I(A.filter)){o=A.filter}var B;if(A.arrayFormat in a){B=A.arrayFormat}else if("indices"in A){B=A.indices?"indices":"repeat"}else{B=c.arrayFormat}if("commaRoundTrip"in A&&typeof A.commaRoundTrip!=="boolean"){throw new TypeError("`commaRoundTrip` must be a boolean, or absent")}var Q=typeof A.allowDots==="undefined"?A.encodeDotInKeys===true?true:c.allowDots:!!A.allowDots;return{addQueryPrefix:typeof A.addQueryPrefix==="boolean"?A.addQueryPrefix:c.addQueryPrefix,allowDots:Q,allowEmptyArrays:typeof A.allowEmptyArrays==="boolean"?!!A.allowEmptyArrays:c.allowEmptyArrays,arrayFormat:B,charset:t,charsetSentinel:typeof A.charsetSentinel==="boolean"?A.charsetSentinel:c.charsetSentinel,commaRoundTrip:!!A.commaRoundTrip,delimiter:typeof A.delimiter==="undefined"?c.delimiter:A.delimiter,depth:typeof A.depth==="number"?A.depth:c.depth,encode:typeof A.encode==="boolean"?A.encode:c.encode,encodeDotInKeys:typeof A.encodeDotInKeys==="boolean"?A.encodeDotInKeys:c.encodeDotInKeys,encoder:typeof A.encoder==="function"?A.encoder:c.encoder,encodeValuesOnly:typeof A.encodeValuesOnly==="boolean"?A.encodeValuesOnly:c.encodeValuesOnly,filter:o,format:i,formatter:n,serializeDate:typeof A.serializeDate==="function"?A.serializeDate:c.serializeDate,skipNulls:typeof A.skipNulls==="boolean"?A.skipNulls:c.skipNulls,sort:typeof A.sort==="function"?A.sort:null,strictNullHandling:typeof A.strictNullHandling==="boolean"?A.strictNullHandling:c.strictNullHandling}};A.exports=function(A,t){var i=A;var o=h(t);var s;var g;if(typeof o.filter==="function"){g=o.filter;i=g("",i)}else if(I(o.filter)){g=o.filter;s=g}var B=[];if(typeof i!=="object"||i===null){return""}var Q=a[o.arrayFormat];var E=Q==="comma"&&o.commaRoundTrip;if(!s){s=Object.keys(i)}if(o.sort){s.sort(o.sort)}var c=n();for(var u=0;u<s.length;++u){var l=s[u];if(typeof l==="undefined"||l===null){continue}var d=i[l];if(o.skipNulls&&d===null){continue}var D=o.encodeDotInKeys?String(l).replace(/\./g,"%2E"):String(l);pushToArray(B,p(d,D,Q,E,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,c,o.depth,0))}var y=B.join(o.delimiter);var w=o.addQueryPrefix===true?"?":"";if(o.charsetSentinel){if(o.charset==="iso-8859-1"){w+="utf8=%26%2310003%3B"+o.delimiter}else{w+="utf8=%E2%9C%93"+o.delimiter}}return y.length>0?w+y:""}},72360:(A,t,i)=>{"use strict";var n=i(74907);var o=i(51674);var s=i(1951);var g=Object.prototype.hasOwnProperty;var a=Array.isArray;var I=o();var B=function markOverflow(A,t){I.set(A,t);return A};var Q=function isOverflow(A){return I.has(A)};var E=function getMaxIndex(A){return I.get(A)};var c=function setMaxIndex(A,t){I.set(A,t)};var u=function(){var A=[];for(var t=0;t<256;++t){A[A.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase()}return A}();var l=function compactQueue(A){while(A.length>1){var t=A.pop();var i=t.obj[t.prop];if(a(i)){var n=[];for(var o=0;o<i.length;++o){if(typeof i[o]!=="undefined"){n[n.length]=i[o]}}t.obj[t.prop]=n}}};var p=function arrayToObject(A,t){var i=t&&t.plainObjects?{__proto__:null}:{};for(var n=0;n<A.length;++n){if(typeof A[n]!=="undefined"){i[n]=A[n]}}return i};var h=function setProperty(A,t,i){if(t==="__proto__"&&s){s(A,t,{configurable:true,enumerable:true,value:i,writable:true})}else{A[t]=i}};var d=function merge(A,t,i){if(!t){return A}if(typeof t!=="object"&&typeof t!=="function"){if(a(A)){var n=A.length;if(i&&typeof i.arrayLimit==="number"&&n>=i.arrayLimit){if(i.throwOnLimitExceeded){throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.")}return B(p(A.concat(t),i),n)}A[n]=t}else if(A&&typeof A==="object"){if(Q(A)){var o=E(A)+1;A[o]=t;c(A,o)}else if(i&&i.strictMerge){return[A,t]}else if(i&&(i.plainObjects||i.allowPrototypes)||!g.call(Object.prototype,t)){A[t]=true}}else{return[A,t]}return A}if(!A||typeof A!=="object"){if(Q(t)){var s=Object.keys(t);var I=i&&i.plainObjects?{__proto__:null,0:A}:{0:A};for(var u=0;u<s.length;u++){var l=parseInt(s[u],10);I[l+1]=t[s[u]]}return B(I,E(t)+1)}var d=[A].concat(t);if(i&&typeof i.arrayLimit==="number"&&d.length>i.arrayLimit){if(i.throwOnLimitExceeded){throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.")}return B(p(d,i),d.length-1)}return d}var D=A;if(a(A)&&!a(t)){D=p(A,i)}if(a(A)&&a(t)){t.forEach((function(t,n){if(g.call(A,n)){var o=A[n];if(o&&typeof o==="object"&&t&&typeof t==="object"){A[n]=merge(o,t,i)}else{A[A.length]=t}}else{A[n]=t}}));if(i&&typeof i.arrayLimit==="number"&&A.length>i.arrayLimit){if(i.throwOnLimitExceeded){throw new RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(i.arrayLimit===1?"":"s")+" allowed in an array.")}return B(p(A,i),A.length-1)}return A}return Object.keys(t).reduce((function(A,n){var o=t[n];if(g.call(A,n)){h(A,n,merge(A[n],o,i))}else{h(A,n,o)}if(Q(t)&&!Q(A)){B(A,E(t))}if(Q(A)){var s=parseInt(n,10);if(String(s)===n&&s>=0&&s>E(A)){c(A,s)}}return A}),D)};var D=function assignSingleSource(A,t){return Object.keys(t).reduce((function(A,i){h(A,i,t[i]);return A}),A)};var decode=function(A,t,i){var n=A.replace(/\+/g," ");if(i==="iso-8859-1"){return n.replace(/%[0-9a-f]{2}/gi,unescape)}try{return decodeURIComponent(n)}catch(A){return n}};var y=1024;var w=function encode(A,t,i,o,s){if(A.length===0){return A}var g=A;if(typeof A==="symbol"){g=Symbol.prototype.toString.call(A)}else if(typeof A!=="string"){g=String(A)}if(i==="iso-8859-1"){return escape(g).replace(/%u[0-9a-f]{4}/gi,(function(A){return"%26%23"+parseInt(A.slice(2),16)+"%3B"}))}var a="";for(var I=0;I<g.length;I+=y){var B=g.length>=y?g.slice(I,I+y):g;if(I+y<g.length){var Q=B.charCodeAt(B.length-1);if(Q>=55296&&Q<=56319){B=B.slice(0,-1);I-=1}}var E=[];for(var c=0;c<B.length;++c){var l=B.charCodeAt(c);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||s===n.RFC1738&&(l===40||l===41)){E[E.length]=B.charAt(c);continue}if(l<128){E[E.length]=u[l];continue}if(l<2048){E[E.length]=u[192|l>>6]+u[128|l&63];continue}if(l<55296||l>=57344){E[E.length]=u[224|l>>12]+u[128|l>>6&63]+u[128|l&63];continue}c+=1;l=65536+((l&1023)<<10|B.charCodeAt(c)&1023);E[E.length]=u[240|l>>18]+u[128|l>>12&63]+u[128|l>>6&63]+u[128|l&63]}a+=E.join("")}return a};var m=function compact(A){var t=[{obj:{o:A},prop:"o"}];var i=o();for(var n=0;n<t.length;++n){var s=t[n];var g=s.obj[s.prop];var a=Object.keys(g);for(var I=0;I<a.length;++I){var B=a[I];var Q=g[B];if(typeof Q==="object"&&Q!==null&&!i.has(Q)){t[t.length]={obj:g,prop:B};i.set(Q,true)}}}l(t);return A};var k=function isRegExp(A){return Object.prototype.toString.call(A)==="[object RegExp]"};var v=function isBuffer(A){if(!A||typeof A!=="object"){return false}return!!(A.constructor&&typeof A.constructor.isBuffer==="function"&&A.constructor.isBuffer(A))};var R=function combine(A,t,i,n,o){if(Q(A)){if(o){throw new RangeError("Array limit exceeded. Only "+i+" element"+(i===1?"":"s")+" allowed in an array.")}var s=a(t)?t:[t];var g=E(A);for(var I=0;I<s.length;++I){g+=1;A[g]=s[I]}c(A,g);return A}var u=[].concat(A,t);if(u.length>i){if(o){throw new RangeError("Array limit exceeded. Only "+i+" element"+(i===1?"":"s")+" allowed in an array.")}return B(p(u,{plainObjects:n}),u.length-1)}return u};var N=function maybeMap(A,t){if(a(A)){var i=[];for(var n=0;n<A.length;n+=1){i[i.length]=t(A[n])}return i}return t(A)};A.exports={arrayToObject:p,assign:D,combine:R,compact:m,decode:decode,encode:w,isBuffer:v,isOverflow:Q,isRegExp:k,markOverflow:B,maybeMap:N,merge:d}},1951:A=>{"use strict";var t=Object.defineProperty||false;if(t){try{t({},"a",{value:1})}catch(A){t=false}}A.exports=t},60396:(A,t,i)=>{"use strict";var n=i(20504);var o=i(6361);var listGetNode=function(A,t,i){var n=A;var o;for(;(o=n.next)!=null;n=o){if(o.key===t){n.next=o.next;if(!i){o.next=A.next;A.next=o}return o}}};var listGet=function(A,t){if(!A){return void undefined}var i=listGetNode(A,t);return i&&i.value};var listSet=function(A,t,i){var n=listGetNode(A,t);if(n){n.value=i}else{A.next={key:t,next:A.next,value:i}}};var listHas=function(A,t){if(!A){return false}return!!listGetNode(A,t)};var listDelete=function(A,t){if(A){return listGetNode(A,t,true)}};A.exports=function getSideChannelList(){var A;var t={assert:function(A){if(!t.has(A)){throw new o("Side channel does not contain "+n(A))}},delete:function(t){var i=listDelete(A,t);if(i&&A&&!A.next){A=void undefined}return!!i},get:function(t){return listGet(A,t)},has:function(t){return listHas(A,t)},set:function(t,i){if(!A){A={next:void undefined}}listSet(A,t,i)}};return t}},51674:(A,t,i)=>{"use strict";var n=i(6361);var o=i(20504);var s=i(60396);var g=i(2172);var a=i(71012);var I=a||g||s;A.exports=function getSideChannel(){var A;var t={assert:function(A){if(!t.has(A)){var i=A&&Object(A)===A?"the given object key":o(A);throw new n("Side channel does not contain "+i)}},delete:function(t){return!!A&&A["delete"](t)},get:function(t){return A&&A.get(t)},has:function(t){return!!A&&A.has(t)},set:function(t,i){if(!A){A=I()}A.set(t,i)}};return t}},15118:(A,t,i)=>{"use strict";var n=i(14300);var o=n.Buffer;var s={};var g;for(g in n){if(!n.hasOwnProperty(g))continue;if(g==="SlowBuffer"||g==="Buffer")continue;s[g]=n[g]}var a=s.Buffer={};for(g in o){if(!o.hasOwnProperty(g))continue;if(g==="allocUnsafe"||g==="allocUnsafeSlow")continue;a[g]=o[g]}s.Buffer.prototype=o.prototype;if(!a.from||a.from===Uint8Array.from){a.from=function(A,t,i){if(typeof A==="number"){throw new TypeError('The "value" argument must not be of type number. Received type '+typeof A)}if(A&&typeof A.length==="undefined"){throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof A)}return o(A,t,i)}}if(!a.alloc){a.alloc=function(A,t,i){if(typeof A!=="number"){throw new TypeError('The "size" argument must be of type number. Received type '+typeof A)}if(A<0||A>=2*(1<<30)){throw new RangeError('The value "'+A+'" is invalid for option "size"')}var n=o(A);if(!t||t.length===0){n.fill(0)}else if(typeof i==="string"){n.fill(t,i)}else{n.fill(t)}return n}}if(!s.kStringMaxLength){try{s.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(A){}}if(!s.constants){s.constants={MAX_LENGTH:s.kMaxLength};if(s.kStringMaxLength){s.constants.MAX_STRING_LENGTH=s.kStringMaxLength}}A.exports=s},72043:(A,t,i)=>{(function(A){A.parser=function(A,t){return new SAXParser(A,t)};A.SAXParser=SAXParser;A.SAXStream=SAXStream;A.createStream=createStream;A.MAX_BUFFER_LENGTH=64*1024;var t=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];A.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function SAXParser(t,i){if(!(this instanceof SAXParser)){return new SAXParser(t,i)}var n=this;clearBuffers(n);n.q=n.c="";n.bufferCheckPosition=A.MAX_BUFFER_LENGTH;n.opt=i||{};n.opt.lowercase=n.opt.lowercase||n.opt.lowercasetags;n.looseCase=n.opt.lowercase?"toLowerCase":"toUpperCase";n.tags=[];n.closed=n.closedRoot=n.sawRoot=false;n.tag=n.error=null;n.strict=!!t;n.noscript=!!(t||n.opt.noscript);n.state=l.BEGIN;n.strictEntities=n.opt.strictEntities;n.ENTITIES=n.strictEntities?Object.create(A.XML_ENTITIES):Object.create(A.ENTITIES);n.attribList=[];if(n.opt.xmlns){n.ns=Object.create(B)}n.trackPosition=n.opt.position!==false;if(n.trackPosition){n.position=n.line=n.column=0}emit(n,"onready")}if(!Object.create){Object.create=function(A){function F(){}F.prototype=A;var t=new F;return t}}if(!Object.keys){Object.keys=function(A){var t=[];for(var i in A)if(A.hasOwnProperty(i))t.push(i);return t}}function checkBufferLength(i){var n=Math.max(A.MAX_BUFFER_LENGTH,10);var o=0;for(var s=0,g=t.length;s<g;s++){var a=i[t[s]].length;if(a>n){switch(t[s]){case"textNode":closeText(i);break;case"cdata":emitNode(i,"oncdata",i.cdata);i.cdata="";break;case"script":emitNode(i,"onscript",i.script);i.script="";break;default:error(i,"Max buffer length exceeded: "+t[s])}}o=Math.max(o,a)}var I=A.MAX_BUFFER_LENGTH-o;i.bufferCheckPosition=I+i.position}function clearBuffers(A){for(var i=0,n=t.length;i<n;i++){A[t[i]]=""}}function flushBuffers(A){closeText(A);if(A.cdata!==""){emitNode(A,"oncdata",A.cdata);A.cdata=""}if(A.script!==""){emitNode(A,"onscript",A.script);A.script=""}}SAXParser.prototype={end:function(){end(this)},write:write,resume:function(){this.error=null;return this},close:function(){return this.write(null)},flush:function(){flushBuffers(this)}};var n;try{n=i(12781).Stream}catch(A){n=function(){}}if(!n)n=function(){};var o=A.EVENTS.filter((function(A){return A!=="error"&&A!=="end"}));function createStream(A,t){return new SAXStream(A,t)}function SAXStream(A,t){if(!(this instanceof SAXStream)){return new SAXStream(A,t)}n.apply(this);this._parser=new SAXParser(A,t);this.writable=true;this.readable=true;var i=this;this._parser.onend=function(){i.emit("end")};this._parser.onerror=function(A){i.emit("error",A);i._parser.error=null};this._decoder=null;o.forEach((function(A){Object.defineProperty(i,"on"+A,{get:function(){return i._parser["on"+A]},set:function(t){if(!t){i.removeAllListeners(A);i._parser["on"+A]=t;return t}i.on(A,t)},enumerable:true,configurable:false})}))}SAXStream.prototype=Object.create(n.prototype,{constructor:{value:SAXStream}});SAXStream.prototype.write=function(A){if(typeof Buffer==="function"&&typeof Buffer.isBuffer==="function"&&Buffer.isBuffer(A)){if(!this._decoder){var t=i(71576).StringDecoder;this._decoder=new t("utf8")}A=this._decoder.write(A)}this._parser.write(A.toString());this.emit("data",A);return true};SAXStream.prototype.end=function(A){if(A&&A.length){this.write(A)}this._parser.end();return true};SAXStream.prototype.on=function(A,t){var i=this;if(!i._parser["on"+A]&&o.indexOf(A)!==-1){i._parser["on"+A]=function(){var t=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);t.splice(0,0,A);i.emit.apply(i,t)}}return n.prototype.on.call(i,A,t)};var s="[CDATA[";var g="DOCTYPE";var a="http://www.w3.org/XML/1998/namespace";var I="http://www.w3.org/2000/xmlns/";var B={xml:a,xmlns:I};var Q=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;var E=/[:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;var c=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;var u=/[#:_A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u00B7\u0300-\u036F\u203F-\u2040.\d-]/;function isWhitespace(A){return A===" "||A==="\n"||A==="\r"||A==="\t"}function isQuote(A){return A==='"'||A==="'"}function isAttribEnd(A){return A===">"||isWhitespace(A)}function isMatch(A,t){return A.test(t)}function notMatch(A,t){return!isMatch(A,t)}var l=0;A.STATE={BEGIN:l++,BEGIN_WHITESPACE:l++,TEXT:l++,TEXT_ENTITY:l++,OPEN_WAKA:l++,SGML_DECL:l++,SGML_DECL_QUOTED:l++,DOCTYPE:l++,DOCTYPE_QUOTED:l++,DOCTYPE_DTD:l++,DOCTYPE_DTD_QUOTED:l++,COMMENT_STARTING:l++,COMMENT:l++,COMMENT_ENDING:l++,COMMENT_ENDED:l++,CDATA:l++,CDATA_ENDING:l++,CDATA_ENDING_2:l++,PROC_INST:l++,PROC_INST_BODY:l++,PROC_INST_ENDING:l++,OPEN_TAG:l++,OPEN_TAG_SLASH:l++,ATTRIB:l++,ATTRIB_NAME:l++,ATTRIB_NAME_SAW_WHITE:l++,ATTRIB_VALUE:l++,ATTRIB_VALUE_QUOTED:l++,ATTRIB_VALUE_CLOSED:l++,ATTRIB_VALUE_UNQUOTED:l++,ATTRIB_VALUE_ENTITY_Q:l++,ATTRIB_VALUE_ENTITY_U:l++,CLOSE_TAG:l++,CLOSE_TAG_SAW_WHITE:l++,SCRIPT:l++,SCRIPT_ENDING:l++};A.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"};A.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830};Object.keys(A.ENTITIES).forEach((function(t){var i=A.ENTITIES[t];var n=typeof i==="number"?String.fromCharCode(i):i;A.ENTITIES[t]=n}));for(var p in A.STATE){A.STATE[A.STATE[p]]=p}l=A.STATE;function emit(A,t,i){A[t]&&A[t](i)}function emitNode(A,t,i){if(A.textNode)closeText(A);emit(A,t,i)}function closeText(A){A.textNode=textopts(A.opt,A.textNode);if(A.textNode)emit(A,"ontext",A.textNode);A.textNode=""}function textopts(A,t){if(A.trim)t=t.trim();if(A.normalize)t=t.replace(/\s+/g," ");return t}function error(A,t){closeText(A);if(A.trackPosition){t+="\nLine: "+A.line+"\nColumn: "+A.column+"\nChar: "+A.c}t=new Error(t);A.error=t;emit(A,"onerror",t);return A}function end(A){if(A.sawRoot&&!A.closedRoot)strictFail(A,"Unclosed root tag");if(A.state!==l.BEGIN&&A.state!==l.BEGIN_WHITESPACE&&A.state!==l.TEXT){error(A,"Unexpected end")}closeText(A);A.c="";A.closed=true;emit(A,"onend");SAXParser.call(A,A.strict,A.opt);return A}function strictFail(A,t){if(typeof A!=="object"||!(A instanceof SAXParser)){throw new Error("bad call to strictFail")}if(A.strict){error(A,t)}}function newTag(A){if(!A.strict)A.tagName=A.tagName[A.looseCase]();var t=A.tags[A.tags.length-1]||A;var i=A.tag={name:A.tagName,attributes:{}};if(A.opt.xmlns){i.ns=t.ns}A.attribList.length=0;emitNode(A,"onopentagstart",i)}function qname(A,t){var i=A.indexOf(":");var n=i<0?["",A]:A.split(":");var o=n[0];var s=n[1];if(t&&A==="xmlns"){o="xmlns";s=""}return{prefix:o,local:s}}function attrib(A){if(!A.strict){A.attribName=A.attribName[A.looseCase]()}if(A.attribList.indexOf(A.attribName)!==-1||A.tag.attributes.hasOwnProperty(A.attribName)){A.attribName=A.attribValue="";return}if(A.opt.xmlns){var t=qname(A.attribName,true);var i=t.prefix;var n=t.local;if(i==="xmlns"){if(n==="xml"&&A.attribValue!==a){strictFail(A,"xml: prefix must be bound to "+a+"\n"+"Actual: "+A.attribValue)}else if(n==="xmlns"&&A.attribValue!==I){strictFail(A,"xmlns: prefix must be bound to "+I+"\n"+"Actual: "+A.attribValue)}else{var o=A.tag;var s=A.tags[A.tags.length-1]||A;if(o.ns===s.ns){o.ns=Object.create(s.ns)}o.ns[n]=A.attribValue}}A.attribList.push([A.attribName,A.attribValue])}else{A.tag.attributes[A.attribName]=A.attribValue;emitNode(A,"onattribute",{name:A.attribName,value:A.attribValue})}A.attribName=A.attribValue=""}function openTag(A,t){if(A.opt.xmlns){var i=A.tag;var n=qname(A.tagName);i.prefix=n.prefix;i.local=n.local;i.uri=i.ns[n.prefix]||"";if(i.prefix&&!i.uri){strictFail(A,"Unbound namespace prefix: "+JSON.stringify(A.tagName));i.uri=n.prefix}var o=A.tags[A.tags.length-1]||A;if(i.ns&&o.ns!==i.ns){Object.keys(i.ns).forEach((function(t){emitNode(A,"onopennamespace",{prefix:t,uri:i.ns[t]})}))}for(var s=0,g=A.attribList.length;s<g;s++){var a=A.attribList[s];var I=a[0];var B=a[1];var Q=qname(I,true);var E=Q.prefix;var c=Q.local;var u=E===""?"":i.ns[E]||"";var p={name:I,value:B,prefix:E,local:c,uri:u};if(E&&E!=="xmlns"&&!u){strictFail(A,"Unbound namespace prefix: "+JSON.stringify(E));p.uri=E}A.tag.attributes[I]=p;emitNode(A,"onattribute",p)}A.attribList.length=0}A.tag.isSelfClosing=!!t;A.sawRoot=true;A.tags.push(A.tag);emitNode(A,"onopentag",A.tag);if(!t){if(!A.noscript&&A.tagName.toLowerCase()==="script"){A.state=l.SCRIPT}else{A.state=l.TEXT}A.tag=null;A.tagName=""}A.attribName=A.attribValue="";A.attribList.length=0}function closeTag(A){if(!A.tagName){strictFail(A,"Weird empty close tag.");A.textNode+="</>";A.state=l.TEXT;return}if(A.script){if(A.tagName!=="script"){A.script+="</"+A.tagName+">";A.tagName="";A.state=l.SCRIPT;return}emitNode(A,"onscript",A.script);A.script=""}var t=A.tags.length;var i=A.tagName;if(!A.strict){i=i[A.looseCase]()}var n=i;while(t--){var o=A.tags[t];if(o.name!==n){strictFail(A,"Unexpected close tag")}else{break}}if(t<0){strictFail(A,"Unmatched closing tag: "+A.tagName);A.textNode+="</"+A.tagName+">";A.state=l.TEXT;return}A.tagName=i;var s=A.tags.length;while(s-- >t){var g=A.tag=A.tags.pop();A.tagName=A.tag.name;emitNode(A,"onclosetag",A.tagName);var a={};for(var I in g.ns){a[I]=g.ns[I]}var B=A.tags[A.tags.length-1]||A;if(A.opt.xmlns&&g.ns!==B.ns){Object.keys(g.ns).forEach((function(t){var i=g.ns[t];emitNode(A,"onclosenamespace",{prefix:t,uri:i})}))}}if(t===0)A.closedRoot=true;A.tagName=A.attribValue=A.attribName="";A.attribList.length=0;A.state=l.TEXT}function parseEntity(A){var t=A.entity;var i=t.toLowerCase();var n;var o="";if(A.ENTITIES[t]){return A.ENTITIES[t]}if(A.ENTITIES[i]){return A.ENTITIES[i]}t=i;if(t.charAt(0)==="#"){if(t.charAt(1)==="x"){t=t.slice(2);n=parseInt(t,16);o=n.toString(16)}else{t=t.slice(1);n=parseInt(t,10);o=n.toString(10)}}t=t.replace(/^0+/,"");if(isNaN(n)||o.toLowerCase()!==t){strictFail(A,"Invalid character entity");return"&"+A.entity+";"}return String.fromCodePoint(n)}function beginWhiteSpace(A,t){if(t==="<"){A.state=l.OPEN_WAKA;A.startTagPosition=A.position}else if(!isWhitespace(t)){strictFail(A,"Non-whitespace before first tag.");A.textNode=t;A.state=l.TEXT}}function charAt(A,t){var i="";if(t<A.length){i=A.charAt(t)}return i}function write(A){var t=this;if(this.error){throw this.error}if(t.closed){return error(t,"Cannot write after close. Assign an onready handler.")}if(A===null){return end(t)}if(typeof A==="object"){A=A.toString()}var i=0;var n="";while(true){n=charAt(A,i++);t.c=n;if(!n){break}if(t.trackPosition){t.position++;if(n==="\n"){t.line++;t.column=0}else{t.column++}}switch(t.state){case l.BEGIN:t.state=l.BEGIN_WHITESPACE;if(n==="\ufeff"){continue}beginWhiteSpace(t,n);continue;case l.BEGIN_WHITESPACE:beginWhiteSpace(t,n);continue;case l.TEXT:if(t.sawRoot&&!t.closedRoot){var o=i-1;while(n&&n!=="<"&&n!=="&"){n=charAt(A,i++);if(n&&t.trackPosition){t.position++;if(n==="\n"){t.line++;t.column=0}else{t.column++}}}t.textNode+=A.substring(o,i-1)}if(n==="<"&&!(t.sawRoot&&t.closedRoot&&!t.strict)){t.state=l.OPEN_WAKA;t.startTagPosition=t.position}else{if(!isWhitespace(n)&&(!t.sawRoot||t.closedRoot)){strictFail(t,"Text data outside of root node.")}if(n==="&"){t.state=l.TEXT_ENTITY}else{t.textNode+=n}}continue;case l.SCRIPT:if(n==="<"){t.state=l.SCRIPT_ENDING}else{t.script+=n}continue;case l.SCRIPT_ENDING:if(n==="/"){t.state=l.CLOSE_TAG}else{t.script+="<"+n;t.state=l.SCRIPT}continue;case l.OPEN_WAKA:if(n==="!"){t.state=l.SGML_DECL;t.sgmlDecl=""}else if(isWhitespace(n)){}else if(isMatch(Q,n)){t.state=l.OPEN_TAG;t.tagName=n}else if(n==="/"){t.state=l.CLOSE_TAG;t.tagName=""}else if(n==="?"){t.state=l.PROC_INST;t.procInstName=t.procInstBody=""}else{strictFail(t,"Unencoded <");if(t.startTagPosition+1<t.position){var a=t.position-t.startTagPosition;n=new Array(a).join(" ")+n}t.textNode+="<"+n;t.state=l.TEXT}continue;case l.SGML_DECL:if((t.sgmlDecl+n).toUpperCase()===s){emitNode(t,"onopencdata");t.state=l.CDATA;t.sgmlDecl="";t.cdata=""}else if(t.sgmlDecl+n==="--"){t.state=l.COMMENT;t.comment="";t.sgmlDecl=""}else if((t.sgmlDecl+n).toUpperCase()===g){t.state=l.DOCTYPE;if(t.doctype||t.sawRoot){strictFail(t,"Inappropriately located doctype declaration")}t.doctype="";t.sgmlDecl=""}else if(n===">"){emitNode(t,"onsgmldeclaration",t.sgmlDecl);t.sgmlDecl="";t.state=l.TEXT}else if(isQuote(n)){t.state=l.SGML_DECL_QUOTED;t.sgmlDecl+=n}else{t.sgmlDecl+=n}continue;case l.SGML_DECL_QUOTED:if(n===t.q){t.state=l.SGML_DECL;t.q=""}t.sgmlDecl+=n;continue;case l.DOCTYPE:if(n===">"){t.state=l.TEXT;emitNode(t,"ondoctype",t.doctype);t.doctype=true}else{t.doctype+=n;if(n==="["){t.state=l.DOCTYPE_DTD}else if(isQuote(n)){t.state=l.DOCTYPE_QUOTED;t.q=n}}continue;case l.DOCTYPE_QUOTED:t.doctype+=n;if(n===t.q){t.q="";t.state=l.DOCTYPE}continue;case l.DOCTYPE_DTD:t.doctype+=n;if(n==="]"){t.state=l.DOCTYPE}else if(isQuote(n)){t.state=l.DOCTYPE_DTD_QUOTED;t.q=n}continue;case l.DOCTYPE_DTD_QUOTED:t.doctype+=n;if(n===t.q){t.state=l.DOCTYPE_DTD;t.q=""}continue;case l.COMMENT:if(n==="-"){t.state=l.COMMENT_ENDING}else{t.comment+=n}continue;case l.COMMENT_ENDING:if(n==="-"){t.state=l.COMMENT_ENDED;t.comment=textopts(t.opt,t.comment);if(t.comment){emitNode(t,"oncomment",t.comment)}t.comment=""}else{t.comment+="-"+n;t.state=l.COMMENT}continue;case l.COMMENT_ENDED:if(n!==">"){strictFail(t,"Malformed comment");t.comment+="--"+n;t.state=l.COMMENT}else{t.state=l.TEXT}continue;case l.CDATA:if(n==="]"){t.state=l.CDATA_ENDING}else{t.cdata+=n}continue;case l.CDATA_ENDING:if(n==="]"){t.state=l.CDATA_ENDING_2}else{t.cdata+="]"+n;t.state=l.CDATA}continue;case l.CDATA_ENDING_2:if(n===">"){if(t.cdata){emitNode(t,"oncdata",t.cdata)}emitNode(t,"onclosecdata");t.cdata="";t.state=l.TEXT}else if(n==="]"){t.cdata+="]"}else{t.cdata+="]]"+n;t.state=l.CDATA}continue;case l.PROC_INST:if(n==="?"){t.state=l.PROC_INST_ENDING}else if(isWhitespace(n)){t.state=l.PROC_INST_BODY}else{t.procInstName+=n}continue;case l.PROC_INST_BODY:if(!t.procInstBody&&isWhitespace(n)){continue}else if(n==="?"){t.state=l.PROC_INST_ENDING}else{t.procInstBody+=n}continue;case l.PROC_INST_ENDING:if(n===">"){emitNode(t,"onprocessinginstruction",{name:t.procInstName,body:t.procInstBody});t.procInstName=t.procInstBody="";t.state=l.TEXT}else{t.procInstBody+="?"+n;t.state=l.PROC_INST_BODY}continue;case l.OPEN_TAG:if(isMatch(E,n)){t.tagName+=n}else{newTag(t);if(n===">"){openTag(t)}else if(n==="/"){t.state=l.OPEN_TAG_SLASH}else{if(!isWhitespace(n)){strictFail(t,"Invalid character in tag name")}t.state=l.ATTRIB}}continue;case l.OPEN_TAG_SLASH:if(n===">"){openTag(t,true);closeTag(t)}else{strictFail(t,"Forward-slash in opening tag not followed by >");t.state=l.ATTRIB}continue;case l.ATTRIB:if(isWhitespace(n)){continue}else if(n===">"){openTag(t)}else if(n==="/"){t.state=l.OPEN_TAG_SLASH}else if(isMatch(Q,n)){t.attribName=n;t.attribValue="";t.state=l.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name")}continue;case l.ATTRIB_NAME:if(n==="="){t.state=l.ATTRIB_VALUE}else if(n===">"){strictFail(t,"Attribute without value");t.attribValue=t.attribName;attrib(t);openTag(t)}else if(isWhitespace(n)){t.state=l.ATTRIB_NAME_SAW_WHITE}else if(isMatch(E,n)){t.attribName+=n}else{strictFail(t,"Invalid attribute name")}continue;case l.ATTRIB_NAME_SAW_WHITE:if(n==="="){t.state=l.ATTRIB_VALUE}else if(isWhitespace(n)){continue}else{strictFail(t,"Attribute without value");t.tag.attributes[t.attribName]="";t.attribValue="";emitNode(t,"onattribute",{name:t.attribName,value:""});t.attribName="";if(n===">"){openTag(t)}else if(isMatch(Q,n)){t.attribName=n;t.state=l.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name");t.state=l.ATTRIB}}continue;case l.ATTRIB_VALUE:if(isWhitespace(n)){continue}else if(isQuote(n)){t.q=n;t.state=l.ATTRIB_VALUE_QUOTED}else{strictFail(t,"Unquoted attribute value");t.state=l.ATTRIB_VALUE_UNQUOTED;t.attribValue=n}continue;case l.ATTRIB_VALUE_QUOTED:if(n!==t.q){if(n==="&"){t.state=l.ATTRIB_VALUE_ENTITY_Q}else{t.attribValue+=n}continue}attrib(t);t.q="";t.state=l.ATTRIB_VALUE_CLOSED;continue;case l.ATTRIB_VALUE_CLOSED:if(isWhitespace(n)){t.state=l.ATTRIB}else if(n===">"){openTag(t)}else if(n==="/"){t.state=l.OPEN_TAG_SLASH}else if(isMatch(Q,n)){strictFail(t,"No whitespace between attributes");t.attribName=n;t.attribValue="";t.state=l.ATTRIB_NAME}else{strictFail(t,"Invalid attribute name")}continue;case l.ATTRIB_VALUE_UNQUOTED:if(!isAttribEnd(n)){if(n==="&"){t.state=l.ATTRIB_VALUE_ENTITY_U}else{t.attribValue+=n}continue}attrib(t);if(n===">"){openTag(t)}else{t.state=l.ATTRIB}continue;case l.CLOSE_TAG:if(!t.tagName){if(isWhitespace(n)){continue}else if(notMatch(Q,n)){if(t.script){t.script+="</"+n;t.state=l.SCRIPT}else{strictFail(t,"Invalid tagname in closing tag.")}}else{t.tagName=n}}else if(n===">"){closeTag(t)}else if(isMatch(E,n)){t.tagName+=n}else if(t.script){t.script+="</"+t.tagName;t.tagName="";t.state=l.SCRIPT}else{if(!isWhitespace(n)){strictFail(t,"Invalid tagname in closing tag")}t.state=l.CLOSE_TAG_SAW_WHITE}continue;case l.CLOSE_TAG_SAW_WHITE:if(isWhitespace(n)){continue}if(n===">"){closeTag(t)}else{strictFail(t,"Invalid characters in closing tag")}continue;case l.TEXT_ENTITY:case l.ATTRIB_VALUE_ENTITY_Q:case l.ATTRIB_VALUE_ENTITY_U:var I;var B;switch(t.state){case l.TEXT_ENTITY:I=l.TEXT;B="textNode";break;case l.ATTRIB_VALUE_ENTITY_Q:I=l.ATTRIB_VALUE_QUOTED;B="attribValue";break;case l.ATTRIB_VALUE_ENTITY_U:I=l.ATTRIB_VALUE_UNQUOTED;B="attribValue";break}if(n===";"){if(t.opt.unparsedEntities){var p=parseEntity(t);t.entity="";t.state=I;t.write(p)}else{t[B]+=parseEntity(t);t.entity="";t.state=I}}else if(isMatch(t.entity.length?u:c,n)){t.entity+=n}else{strictFail(t,"Invalid character in entity name");t[B]+="&"+t.entity+n;t.entity="";t.state=I}continue;default:{throw new Error(t,"Unknown state: "+t.state)}}}if(t.position>=t.bufferCheckPosition){checkBufferLength(t)}return t}
68
68
  /*! http://mths.be/fromcodepoint v0.1.0 by @mathias */if(!String.fromCodePoint){(function(){var A=String.fromCharCode;var t=Math.floor;var fromCodePoint=function(){var i=16384;var n=[];var o;var s;var g=-1;var a=arguments.length;if(!a){return""}var I="";while(++g<a){var B=Number(arguments[g]);if(!isFinite(B)||B<0||B>1114111||t(B)!==B){throw RangeError("Invalid code point: "+B)}if(B<=65535){n.push(B)}else{B-=65536;o=(B>>10)+55296;s=B%1024+56320;n.push(o,s)}if(g+1===a||n.length>i){I+=A.apply(null,n);n.length=0}}return I};if(Object.defineProperty){Object.defineProperty(String,"fromCodePoint",{value:fromCodePoint,configurable:true,writable:true})}else{String.fromCodePoint=fromCodePoint}})()}})(false?0:t)},19100:(A,t,i)=>{"use strict";var n=i(95284);var o=i(82361).EventEmitter;var s=i(73837);A.exports=Base;function Base(){o.call(this);this.on("error",this.defaultErrorHandler.bind(this))}s.inherits(Base,o);n.mixin(Base.prototype);Base.prototype.defaultErrorHandler=function(A){if(this.listeners("error").length>1){return}console.error("\n[%s][pid: %s][%s][%s] %s: %s \nError Stack:\n %s",Date(),process.pid,this.constructor.name,__filename,A.name,A.message,A.stack);var t=[];for(var i in A){if(i==="name"||i==="message"){continue}t.push(s.format(" %s: %j",i,A[i]))}if(t.length){console.error("Error Additions:\n%s",t.join("\n"))}console.error()}},2172:(A,t,i)=>{"use strict";var n=i(97700);var o=i(5497);var s=i(20504);var g=i(6361);var a=n("%Map%",true);var I=o("Map.prototype.get",true);var B=o("Map.prototype.set",true);var Q=o("Map.prototype.has",true);var E=o("Map.prototype.delete",true);var c=o("Map.prototype.size",true);A.exports=!!a&&function getSideChannelMap(){var A;var t={assert:function(A){if(!t.has(A)){throw new g("Side channel does not contain "+s(A))}},delete:function(t){if(A){var i=E(A,t);if(c(A)===0){A=void undefined}return i}return false},get:function(t){if(A){return I(A,t)}},has:function(t){if(A){return Q(A,t)}return false},set:function(t,i){if(!A){A=new a}B(A,t,i)}};return t}},5497:(A,t,i)=>{"use strict";var n=i(97700);var o=i(86815);var s=o([n("%String.prototype.indexOf%")]);A.exports=function callBoundIntrinsic(A,t){var i=n(A,!!t);if(typeof i==="function"&&s(A,".prototype.")>-1){return o([i])}return i}},76658:A=>{"use strict";var t=Object.defineProperty||false;if(t){try{t({},"a",{value:1})}catch(A){t=false}}A.exports=t},15091:A=>{"use strict";A.exports=Object},97700:(A,t,i)=>{"use strict";var n;var o=i(15091);var s=i(28015);var g=i(91933);var a=i(54415);var I=i(46279);var B=i(75474);var Q=i(6361);var E=i(5065);var c=i(19775);var u=i(60924);var l=i(52419);var p=i(73373);var h=i(78029);var d=i(59396);var D=i(39091);var y=Function;var getEvalledConstructor=function(A){try{return y('"use strict"; return ('+A+").constructor;")()}catch(A){}};var w=i(35277);var m=i(76658);var throwTypeError=function(){throw new Q};var k=w?function(){try{arguments.callee;return throwTypeError}catch(A){try{return w(arguments,"callee").get}catch(A){return throwTypeError}}}():throwTypeError;var v=i(75567)();var R=i(13592);var N=i(5045);var x=i(78859);var G=i(54177);var L=i(2808);var J={};var K=typeof Uint8Array==="undefined"||!R?n:R(Uint8Array);var H={__proto__:null,"%AggregateError%":typeof AggregateError==="undefined"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer,"%ArrayIteratorPrototype%":v&&R?R([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":J,"%AsyncGenerator%":J,"%AsyncGeneratorFunction%":J,"%AsyncIteratorPrototype%":J,"%Atomics%":typeof Atomics==="undefined"?n:Atomics,"%BigInt%":typeof BigInt==="undefined"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array==="undefined"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array==="undefined"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":s,"%eval%":eval,"%EvalError%":g,"%Float16Array%":typeof Float16Array==="undefined"?n:Float16Array,"%Float32Array%":typeof Float32Array==="undefined"?n:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?n:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":J,"%Int8Array%":typeof Int8Array==="undefined"?n:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?n:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&R?R(R([][Symbol.iterator]())):n,"%JSON%":typeof JSON==="object"?JSON:n,"%Map%":typeof Map==="undefined"?n:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!v||!R?n:R((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?n:Promise,"%Proxy%":typeof Proxy==="undefined"?n:Proxy,"%RangeError%":a,"%ReferenceError%":I,"%Reflect%":typeof Reflect==="undefined"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?n:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!v||!R?n:R((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&R?R(""[Symbol.iterator]()):n,"%Symbol%":v?Symbol:n,"%SyntaxError%":B,"%ThrowTypeError%":k,"%TypedArray%":K,"%TypeError%":Q,"%Uint8Array%":typeof Uint8Array==="undefined"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?n:Uint32Array,"%URIError%":E,"%WeakMap%":typeof WeakMap==="undefined"?n:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?n:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?n:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":G,"%Object.defineProperty%":m,"%Object.getPrototypeOf%":N,"%Math.abs%":c,"%Math.floor%":u,"%Math.max%":l,"%Math.min%":p,"%Math.pow%":h,"%Math.round%":d,"%Math.sign%":D,"%Reflect.getPrototypeOf%":x};if(R){try{null.error}catch(A){var P=R(R(A));H["%Error.prototype%"]=P}}var O=function doEval(A){var t;if(A==="%AsyncFunction%"){t=getEvalledConstructor("async function () {}")}else if(A==="%GeneratorFunction%"){t=getEvalledConstructor("function* () {}")}else if(A==="%AsyncGeneratorFunction%"){t=getEvalledConstructor("async function* () {}")}else if(A==="%AsyncGenerator%"){var i=doEval("%AsyncGeneratorFunction%");if(i){t=i.prototype}}else if(A==="%AsyncIteratorPrototype%"){var n=doEval("%AsyncGenerator%");if(n&&R){t=R(n.prototype)}}H[A]=t;return t};var q={__proto__:null,"%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"]};var j=i(88334);var _=i(62157);var W=j.call(L,Array.prototype.concat);var X=j.call(G,Array.prototype.splice);var Z=j.call(L,String.prototype.replace);var z=j.call(L,String.prototype.slice);var $=j.call(L,RegExp.prototype.exec);var AA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var eA=/\\(\\)?/g;var tA=function stringToPath(A){var t=z(A,0,1);var i=z(A,-1);if(t==="%"&&i!=="%"){throw new B("invalid intrinsic syntax, expected closing `%`")}else if(i==="%"&&t!=="%"){throw new B("invalid intrinsic syntax, expected opening `%`")}var n=[];Z(A,AA,(function(A,t,i,o){n[n.length]=i?Z(o,eA,"$1"):t||A}));return n};var iA=function getBaseIntrinsic(A,t){var i=A;var n;if(_(q,i)){n=q[i];i="%"+n[0]+"%"}if(_(H,i)){var o=H[i];if(o===J){o=O(i)}if(typeof o==="undefined"&&!t){throw new Q("intrinsic "+A+" exists, but is not available. Please file an issue!")}return{alias:n,name:i,value:o}}throw new B("intrinsic "+A+" does not exist!")};A.exports=function GetIntrinsic(A,t){if(typeof A!=="string"||A.length===0){throw new Q("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof t!=="boolean"){throw new Q('"allowMissing" argument must be a boolean')}if($(/^%?[^%]*%?$/,A)===null){throw new B("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var i=tA(A);var o=i.length>0?i[0]:"";var s=iA("%"+o+"%",t);var g=s.name;var a=s.value;var I=false;var E=s.alias;if(E){o=E[0];X(i,W([0,1],E))}for(var c=1,u=true;c<i.length;c+=1){var l=i[c];var p=z(l,0,1);var h=z(l,-1);if((p==='"'||p==="'"||p==="`"||(h==='"'||h==="'"||h==="`"))&&p!==h){throw new B("property names with quotes must have matching quotes")}if(l==="constructor"||!u){I=true}o+="."+l;g="%"+o+"%";if(_(H,g)){a=H[g]}else if(a!=null){if(!(l in a)){if(!t){throw new Q("base intrinsic for "+A+" exists, but the property is not available.")}return void n}if(w&&c+1>=i.length){var d=w(a,l);u=!!d;if(u&&"get"in d&&!("originalValue"in d.get)){a=d.get}else{a=a[l]}}else{u=_(a,l);a=a[l]}if(u&&!I){H[g]=a}}}return a}},70107:A=>{"use strict";A.exports=Object.getOwnPropertyDescriptor},35277:(A,t,i)=>{"use strict";var n=i(70107);if(n){try{n([],"length")}catch(A){n=null}}A.exports=n},75567:(A,t,i)=>{"use strict";var n=typeof Symbol!=="undefined"&&Symbol;var o=i(12841);A.exports=function hasNativeSymbols(){if(typeof n!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof n("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return o()}},12841:A=>{"use strict";A.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var A={};var t=Symbol("test");var i=Object(t);if(typeof t==="string"){return false}if(Object.prototype.toString.call(t)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(i)!=="[object Symbol]"){return false}var n=42;A[t]=n;for(var o in A){return false}if(typeof Object.keys==="function"&&Object.keys(A).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(A).length!==0){return false}var s=Object.getOwnPropertySymbols(A);if(s.length!==1||s[0]!==t){return false}if(!Object.prototype.propertyIsEnumerable.call(A,t)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var g=Object.getOwnPropertyDescriptor(A,t);if(g.value!==n||g.enumerable!==true){return false}}return true}},71012:(A,t,i)=>{"use strict";var n=i(70590);var o=i(51814);var s=i(20504);var g=i(2172);var a=i(6361);var I=n("%WeakMap%",true);var B=o("WeakMap.prototype.get",true);var Q=o("WeakMap.prototype.set",true);var E=o("WeakMap.prototype.has",true);var c=o("WeakMap.prototype.delete",true);A.exports=I?function getSideChannelWeakMap(){var A;var t;var i={assert:function(A){if(!i.has(A)){throw new a("Side channel does not contain "+s(A))}},delete:function(i){if(I&&i&&(typeof i==="object"||typeof i==="function")){if(A){return c(A,i)}}else if(g){if(t){return t["delete"](i)}}return false},get:function(i){if(I&&i&&(typeof i==="object"||typeof i==="function")){if(A){return B(A,i)}}return t&&t.get(i)},has:function(i){if(I&&i&&(typeof i==="object"||typeof i==="function")){if(A){return E(A,i)}}return!!t&&t.has(i)},set:function(i,n){if(I&&i&&(typeof i==="object"||typeof i==="function")){if(!A){A=new I}Q(A,i,n)}else if(g){if(!t){t=g()}t.set(i,n)}}};return i}:g},51814:(A,t,i)=>{"use strict";var n=i(70590);var o=i(86815);var s=o([n("%String.prototype.indexOf%")]);A.exports=function callBoundIntrinsic(A,t){var i=n(A,!!t);if(typeof i==="function"&&s(A,".prototype.")>-1){return o([i])}return i}},28788:A=>{"use strict";var t=Object.defineProperty||false;if(t){try{t({},"a",{value:1})}catch(A){t=false}}A.exports=t},88219:A=>{"use strict";A.exports=Object},70590:(A,t,i)=>{"use strict";var n;var o=i(88219);var s=i(28015);var g=i(91933);var a=i(54415);var I=i(46279);var B=i(75474);var Q=i(6361);var E=i(5065);var c=i(19775);var u=i(60924);var l=i(52419);var p=i(73373);var h=i(78029);var d=i(59396);var D=i(39091);var y=Function;var getEvalledConstructor=function(A){try{return y('"use strict"; return ('+A+").constructor;")()}catch(A){}};var w=i(66275);var m=i(28788);var throwTypeError=function(){throw new Q};var k=w?function(){try{arguments.callee;return throwTypeError}catch(A){try{return w(arguments,"callee").get}catch(A){return throwTypeError}}}():throwTypeError;var v=i(72847)();var R=i(13592);var N=i(5045);var x=i(78859);var G=i(54177);var L=i(2808);var J={};var K=typeof Uint8Array==="undefined"||!R?n:R(Uint8Array);var H={__proto__:null,"%AggregateError%":typeof AggregateError==="undefined"?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer==="undefined"?n:ArrayBuffer,"%ArrayIteratorPrototype%":v&&R?R([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":J,"%AsyncGenerator%":J,"%AsyncGeneratorFunction%":J,"%AsyncIteratorPrototype%":J,"%Atomics%":typeof Atomics==="undefined"?n:Atomics,"%BigInt%":typeof BigInt==="undefined"?n:BigInt,"%BigInt64Array%":typeof BigInt64Array==="undefined"?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array==="undefined"?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView==="undefined"?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":s,"%eval%":eval,"%EvalError%":g,"%Float16Array%":typeof Float16Array==="undefined"?n:Float16Array,"%Float32Array%":typeof Float32Array==="undefined"?n:Float32Array,"%Float64Array%":typeof Float64Array==="undefined"?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry==="undefined"?n:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":J,"%Int8Array%":typeof Int8Array==="undefined"?n:Int8Array,"%Int16Array%":typeof Int16Array==="undefined"?n:Int16Array,"%Int32Array%":typeof Int32Array==="undefined"?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&R?R(R([][Symbol.iterator]())):n,"%JSON%":typeof JSON==="object"?JSON:n,"%Map%":typeof Map==="undefined"?n:Map,"%MapIteratorPrototype%":typeof Map==="undefined"||!v||!R?n:R((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":w,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise==="undefined"?n:Promise,"%Proxy%":typeof Proxy==="undefined"?n:Proxy,"%RangeError%":a,"%ReferenceError%":I,"%Reflect%":typeof Reflect==="undefined"?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set==="undefined"?n:Set,"%SetIteratorPrototype%":typeof Set==="undefined"||!v||!R?n:R((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer==="undefined"?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&R?R(""[Symbol.iterator]()):n,"%Symbol%":v?Symbol:n,"%SyntaxError%":B,"%ThrowTypeError%":k,"%TypedArray%":K,"%TypeError%":Q,"%Uint8Array%":typeof Uint8Array==="undefined"?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray==="undefined"?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array==="undefined"?n:Uint16Array,"%Uint32Array%":typeof Uint32Array==="undefined"?n:Uint32Array,"%URIError%":E,"%WeakMap%":typeof WeakMap==="undefined"?n:WeakMap,"%WeakRef%":typeof WeakRef==="undefined"?n:WeakRef,"%WeakSet%":typeof WeakSet==="undefined"?n:WeakSet,"%Function.prototype.call%":L,"%Function.prototype.apply%":G,"%Object.defineProperty%":m,"%Object.getPrototypeOf%":N,"%Math.abs%":c,"%Math.floor%":u,"%Math.max%":l,"%Math.min%":p,"%Math.pow%":h,"%Math.round%":d,"%Math.sign%":D,"%Reflect.getPrototypeOf%":x};if(R){try{null.error}catch(A){var P=R(R(A));H["%Error.prototype%"]=P}}var O=function doEval(A){var t;if(A==="%AsyncFunction%"){t=getEvalledConstructor("async function () {}")}else if(A==="%GeneratorFunction%"){t=getEvalledConstructor("function* () {}")}else if(A==="%AsyncGeneratorFunction%"){t=getEvalledConstructor("async function* () {}")}else if(A==="%AsyncGenerator%"){var i=doEval("%AsyncGeneratorFunction%");if(i){t=i.prototype}}else if(A==="%AsyncIteratorPrototype%"){var n=doEval("%AsyncGenerator%");if(n&&R){t=R(n.prototype)}}H[A]=t;return t};var q={__proto__:null,"%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"]};var j=i(88334);var _=i(62157);var W=j.call(L,Array.prototype.concat);var X=j.call(G,Array.prototype.splice);var Z=j.call(L,String.prototype.replace);var z=j.call(L,String.prototype.slice);var $=j.call(L,RegExp.prototype.exec);var AA=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;var eA=/\\(\\)?/g;var tA=function stringToPath(A){var t=z(A,0,1);var i=z(A,-1);if(t==="%"&&i!=="%"){throw new B("invalid intrinsic syntax, expected closing `%`")}else if(i==="%"&&t!=="%"){throw new B("invalid intrinsic syntax, expected opening `%`")}var n=[];Z(A,AA,(function(A,t,i,o){n[n.length]=i?Z(o,eA,"$1"):t||A}));return n};var iA=function getBaseIntrinsic(A,t){var i=A;var n;if(_(q,i)){n=q[i];i="%"+n[0]+"%"}if(_(H,i)){var o=H[i];if(o===J){o=O(i)}if(typeof o==="undefined"&&!t){throw new Q("intrinsic "+A+" exists, but is not available. Please file an issue!")}return{alias:n,name:i,value:o}}throw new B("intrinsic "+A+" does not exist!")};A.exports=function GetIntrinsic(A,t){if(typeof A!=="string"||A.length===0){throw new Q("intrinsic name must be a non-empty string")}if(arguments.length>1&&typeof t!=="boolean"){throw new Q('"allowMissing" argument must be a boolean')}if($(/^%?[^%]*%?$/,A)===null){throw new B("`%` may not be present anywhere but at the beginning and end of the intrinsic name")}var i=tA(A);var o=i.length>0?i[0]:"";var s=iA("%"+o+"%",t);var g=s.name;var a=s.value;var I=false;var E=s.alias;if(E){o=E[0];X(i,W([0,1],E))}for(var c=1,u=true;c<i.length;c+=1){var l=i[c];var p=z(l,0,1);var h=z(l,-1);if((p==='"'||p==="'"||p==="`"||(h==='"'||h==="'"||h==="`"))&&p!==h){throw new B("property names with quotes must have matching quotes")}if(l==="constructor"||!u){I=true}o+="."+l;g="%"+o+"%";if(_(H,g)){a=H[g]}else if(a!=null){if(!(l in a)){if(!t){throw new Q("base intrinsic for "+A+" exists, but the property is not available.")}return void n}if(w&&c+1>=i.length){var d=w(a,l);u=!!d;if(u&&"get"in d&&!("originalValue"in d.get)){a=d.get}else{a=a[l]}}else{u=_(a,l);a=a[l]}if(u&&!I){H[g]=a}}}return a}},76911:A=>{"use strict";A.exports=Object.getOwnPropertyDescriptor},66275:(A,t,i)=>{"use strict";var n=i(76911);if(n){try{n([],"length")}catch(A){n=null}}A.exports=n},72847:(A,t,i)=>{"use strict";var n=typeof Symbol!=="undefined"&&Symbol;var o=i(77271);A.exports=function hasNativeSymbols(){if(typeof n!=="function"){return false}if(typeof Symbol!=="function"){return false}if(typeof n("foo")!=="symbol"){return false}if(typeof Symbol("bar")!=="symbol"){return false}return o()}},77271:A=>{"use strict";A.exports=function hasSymbols(){if(typeof Symbol!=="function"||typeof Object.getOwnPropertySymbols!=="function"){return false}if(typeof Symbol.iterator==="symbol"){return true}var A={};var t=Symbol("test");var i=Object(t);if(typeof t==="string"){return false}if(Object.prototype.toString.call(t)!=="[object Symbol]"){return false}if(Object.prototype.toString.call(i)!=="[object Symbol]"){return false}var n=42;A[t]=n;for(var o in A){return false}if(typeof Object.keys==="function"&&Object.keys(A).length!==0){return false}if(typeof Object.getOwnPropertyNames==="function"&&Object.getOwnPropertyNames(A).length!==0){return false}var s=Object.getOwnPropertySymbols(A);if(s.length!==1||s[0]!==t){return false}if(!Object.prototype.propertyIsEnumerable.call(A,t)){return false}if(typeof Object.getOwnPropertyDescriptor==="function"){var g=Object.getOwnPropertyDescriptor(A,t);if(g.value!==n||g.enumerable!==true){return false}}return true}},71062:(A,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(98132);const o=4096;const s="utf8";class SmartBuffer{constructor(A){this.length=0;this._encoding=s;this._writeOffset=0;this._readOffset=0;if(SmartBuffer.isSmartBufferOptions(A)){if(A.encoding){n.checkEncoding(A.encoding);this._encoding=A.encoding}if(A.size){if(n.isFiniteInteger(A.size)&&A.size>0){this._buff=Buffer.allocUnsafe(A.size)}else{throw new Error(n.ERRORS.INVALID_SMARTBUFFER_SIZE)}}else if(A.buff){if(Buffer.isBuffer(A.buff)){this._buff=A.buff;this.length=A.buff.length}else{throw new Error(n.ERRORS.INVALID_SMARTBUFFER_BUFFER)}}else{this._buff=Buffer.allocUnsafe(o)}}else{if(typeof A!=="undefined"){throw new Error(n.ERRORS.INVALID_SMARTBUFFER_OBJECT)}this._buff=Buffer.allocUnsafe(o)}}static fromSize(A,t){return new this({size:A,encoding:t})}static fromBuffer(A,t){return new this({buff:A,encoding:t})}static fromOptions(A){return new this(A)}static isSmartBufferOptions(A){const t=A;return t&&(t.encoding!==undefined||t.size!==undefined||t.buff!==undefined)}readInt8(A){return this._readNumberValue(Buffer.prototype.readInt8,1,A)}readInt16BE(A){return this._readNumberValue(Buffer.prototype.readInt16BE,2,A)}readInt16LE(A){return this._readNumberValue(Buffer.prototype.readInt16LE,2,A)}readInt32BE(A){return this._readNumberValue(Buffer.prototype.readInt32BE,4,A)}readInt32LE(A){return this._readNumberValue(Buffer.prototype.readInt32LE,4,A)}readBigInt64BE(A){n.bigIntAndBufferInt64Check("readBigInt64BE");return this._readNumberValue(Buffer.prototype.readBigInt64BE,8,A)}readBigInt64LE(A){n.bigIntAndBufferInt64Check("readBigInt64LE");return this._readNumberValue(Buffer.prototype.readBigInt64LE,8,A)}writeInt8(A,t){this._writeNumberValue(Buffer.prototype.writeInt8,1,A,t);return this}insertInt8(A,t){return this._insertNumberValue(Buffer.prototype.writeInt8,1,A,t)}writeInt16BE(A,t){return this._writeNumberValue(Buffer.prototype.writeInt16BE,2,A,t)}insertInt16BE(A,t){return this._insertNumberValue(Buffer.prototype.writeInt16BE,2,A,t)}writeInt16LE(A,t){return this._writeNumberValue(Buffer.prototype.writeInt16LE,2,A,t)}insertInt16LE(A,t){return this._insertNumberValue(Buffer.prototype.writeInt16LE,2,A,t)}writeInt32BE(A,t){return this._writeNumberValue(Buffer.prototype.writeInt32BE,4,A,t)}insertInt32BE(A,t){return this._insertNumberValue(Buffer.prototype.writeInt32BE,4,A,t)}writeInt32LE(A,t){return this._writeNumberValue(Buffer.prototype.writeInt32LE,4,A,t)}insertInt32LE(A,t){return this._insertNumberValue(Buffer.prototype.writeInt32LE,4,A,t)}writeBigInt64BE(A,t){n.bigIntAndBufferInt64Check("writeBigInt64BE");return this._writeNumberValue(Buffer.prototype.writeBigInt64BE,8,A,t)}insertBigInt64BE(A,t){n.bigIntAndBufferInt64Check("writeBigInt64BE");return this._insertNumberValue(Buffer.prototype.writeBigInt64BE,8,A,t)}writeBigInt64LE(A,t){n.bigIntAndBufferInt64Check("writeBigInt64LE");return this._writeNumberValue(Buffer.prototype.writeBigInt64LE,8,A,t)}insertBigInt64LE(A,t){n.bigIntAndBufferInt64Check("writeBigInt64LE");return this._insertNumberValue(Buffer.prototype.writeBigInt64LE,8,A,t)}readUInt8(A){return this._readNumberValue(Buffer.prototype.readUInt8,1,A)}readUInt16BE(A){return this._readNumberValue(Buffer.prototype.readUInt16BE,2,A)}readUInt16LE(A){return this._readNumberValue(Buffer.prototype.readUInt16LE,2,A)}readUInt32BE(A){return this._readNumberValue(Buffer.prototype.readUInt32BE,4,A)}readUInt32LE(A){return this._readNumberValue(Buffer.prototype.readUInt32LE,4,A)}readBigUInt64BE(A){n.bigIntAndBufferInt64Check("readBigUInt64BE");return this._readNumberValue(Buffer.prototype.readBigUInt64BE,8,A)}readBigUInt64LE(A){n.bigIntAndBufferInt64Check("readBigUInt64LE");return this._readNumberValue(Buffer.prototype.readBigUInt64LE,8,A)}writeUInt8(A,t){return this._writeNumberValue(Buffer.prototype.writeUInt8,1,A,t)}insertUInt8(A,t){return this._insertNumberValue(Buffer.prototype.writeUInt8,1,A,t)}writeUInt16BE(A,t){return this._writeNumberValue(Buffer.prototype.writeUInt16BE,2,A,t)}insertUInt16BE(A,t){return this._insertNumberValue(Buffer.prototype.writeUInt16BE,2,A,t)}writeUInt16LE(A,t){return this._writeNumberValue(Buffer.prototype.writeUInt16LE,2,A,t)}insertUInt16LE(A,t){return this._insertNumberValue(Buffer.prototype.writeUInt16LE,2,A,t)}writeUInt32BE(A,t){return this._writeNumberValue(Buffer.prototype.writeUInt32BE,4,A,t)}insertUInt32BE(A,t){return this._insertNumberValue(Buffer.prototype.writeUInt32BE,4,A,t)}writeUInt32LE(A,t){return this._writeNumberValue(Buffer.prototype.writeUInt32LE,4,A,t)}insertUInt32LE(A,t){return this._insertNumberValue(Buffer.prototype.writeUInt32LE,4,A,t)}writeBigUInt64BE(A,t){n.bigIntAndBufferInt64Check("writeBigUInt64BE");return this._writeNumberValue(Buffer.prototype.writeBigUInt64BE,8,A,t)}insertBigUInt64BE(A,t){n.bigIntAndBufferInt64Check("writeBigUInt64BE");return this._insertNumberValue(Buffer.prototype.writeBigUInt64BE,8,A,t)}writeBigUInt64LE(A,t){n.bigIntAndBufferInt64Check("writeBigUInt64LE");return this._writeNumberValue(Buffer.prototype.writeBigUInt64LE,8,A,t)}insertBigUInt64LE(A,t){n.bigIntAndBufferInt64Check("writeBigUInt64LE");return this._insertNumberValue(Buffer.prototype.writeBigUInt64LE,8,A,t)}readFloatBE(A){return this._readNumberValue(Buffer.prototype.readFloatBE,4,A)}readFloatLE(A){return this._readNumberValue(Buffer.prototype.readFloatLE,4,A)}writeFloatBE(A,t){return this._writeNumberValue(Buffer.prototype.writeFloatBE,4,A,t)}insertFloatBE(A,t){return this._insertNumberValue(Buffer.prototype.writeFloatBE,4,A,t)}writeFloatLE(A,t){return this._writeNumberValue(Buffer.prototype.writeFloatLE,4,A,t)}insertFloatLE(A,t){return this._insertNumberValue(Buffer.prototype.writeFloatLE,4,A,t)}readDoubleBE(A){return this._readNumberValue(Buffer.prototype.readDoubleBE,8,A)}readDoubleLE(A){return this._readNumberValue(Buffer.prototype.readDoubleLE,8,A)}writeDoubleBE(A,t){return this._writeNumberValue(Buffer.prototype.writeDoubleBE,8,A,t)}insertDoubleBE(A,t){return this._insertNumberValue(Buffer.prototype.writeDoubleBE,8,A,t)}writeDoubleLE(A,t){return this._writeNumberValue(Buffer.prototype.writeDoubleLE,8,A,t)}insertDoubleLE(A,t){return this._insertNumberValue(Buffer.prototype.writeDoubleLE,8,A,t)}readString(A,t){let i;if(typeof A==="number"){n.checkLengthValue(A);i=Math.min(A,this.length-this._readOffset)}else{t=A;i=this.length-this._readOffset}if(typeof t!=="undefined"){n.checkEncoding(t)}const o=this._buff.slice(this._readOffset,this._readOffset+i).toString(t||this._encoding);this._readOffset+=i;return o}insertString(A,t,i){n.checkOffsetValue(t);return this._handleString(A,true,t,i)}writeString(A,t,i){return this._handleString(A,false,t,i)}readStringNT(A){if(typeof A!=="undefined"){n.checkEncoding(A)}let t=this.length;for(let A=this._readOffset;A<this.length;A++){if(this._buff[A]===0){t=A;break}}const i=this._buff.slice(this._readOffset,t);this._readOffset=t+1;return i.toString(A||this._encoding)}insertStringNT(A,t,i){n.checkOffsetValue(t);this.insertString(A,t,i);this.insertUInt8(0,t+A.length);return this}writeStringNT(A,t,i){this.writeString(A,t,i);this.writeUInt8(0,typeof t==="number"?t+A.length:this.writeOffset);return this}readBuffer(A){if(typeof A!=="undefined"){n.checkLengthValue(A)}const t=typeof A==="number"?A:this.length;const i=Math.min(this.length,this._readOffset+t);const o=this._buff.slice(this._readOffset,i);this._readOffset=i;return o}insertBuffer(A,t){n.checkOffsetValue(t);return this._handleBuffer(A,true,t)}writeBuffer(A,t){return this._handleBuffer(A,false,t)}readBufferNT(){let A=this.length;for(let t=this._readOffset;t<this.length;t++){if(this._buff[t]===0){A=t;break}}const t=this._buff.slice(this._readOffset,A);this._readOffset=A+1;return t}insertBufferNT(A,t){n.checkOffsetValue(t);this.insertBuffer(A,t);this.insertUInt8(0,t+A.length);return this}writeBufferNT(A,t){if(typeof t!=="undefined"){n.checkOffsetValue(t)}this.writeBuffer(A,t);this.writeUInt8(0,typeof t==="number"?t+A.length:this._writeOffset);return this}clear(){this._writeOffset=0;this._readOffset=0;this.length=0;return this}remaining(){return this.length-this._readOffset}get readOffset(){return this._readOffset}set readOffset(A){n.checkOffsetValue(A);n.checkTargetOffset(A,this);this._readOffset=A}get writeOffset(){return this._writeOffset}set writeOffset(A){n.checkOffsetValue(A);n.checkTargetOffset(A,this);this._writeOffset=A}get encoding(){return this._encoding}set encoding(A){n.checkEncoding(A);this._encoding=A}get internalBuffer(){return this._buff}toBuffer(){return this._buff.slice(0,this.length)}toString(A){const t=typeof A==="string"?A:this._encoding;n.checkEncoding(t);return this._buff.toString(t,0,this.length)}destroy(){this.clear();return this}_handleString(A,t,i,o){let s=this._writeOffset;let g=this._encoding;if(typeof i==="number"){s=i}else if(typeof i==="string"){n.checkEncoding(i);g=i}if(typeof o==="string"){n.checkEncoding(o);g=o}const a=Buffer.byteLength(A,g);if(t){this.ensureInsertable(a,s)}else{this._ensureWriteable(a,s)}this._buff.write(A,s,a,g);if(t){this._writeOffset+=a}else{if(typeof i==="number"){this._writeOffset=Math.max(this._writeOffset,s+a)}else{this._writeOffset+=a}}return this}_handleBuffer(A,t,i){const n=typeof i==="number"?i:this._writeOffset;if(t){this.ensureInsertable(A.length,n)}else{this._ensureWriteable(A.length,n)}A.copy(this._buff,n);if(t){this._writeOffset+=A.length}else{if(typeof i==="number"){this._writeOffset=Math.max(this._writeOffset,n+A.length)}else{this._writeOffset+=A.length}}return this}ensureReadable(A,t){let i=this._readOffset;if(typeof t!=="undefined"){n.checkOffsetValue(t);i=t}if(i<0||i+A>this.length){throw new Error(n.ERRORS.INVALID_READ_BEYOND_BOUNDS)}}ensureInsertable(A,t){n.checkOffsetValue(t);this._ensureCapacity(this.length+A);if(t<this.length){this._buff.copy(this._buff,t+A,t,this._buff.length)}if(t+A>this.length){this.length=t+A}else{this.length+=A}}_ensureWriteable(A,t){const i=typeof t==="number"?t:this._writeOffset;this._ensureCapacity(i+A);if(i+A>this.length){this.length=i+A}}_ensureCapacity(A){const t=this._buff.length;if(A>t){let i=this._buff;let n=t*3/2+1;if(n<A){n=A}this._buff=Buffer.allocUnsafe(n);i.copy(this._buff,0,0,t)}}_readNumberValue(A,t,i){this.ensureReadable(t,i);const n=A.call(this._buff,typeof i==="number"?i:this._readOffset);if(typeof i==="undefined"){this._readOffset+=t}return n}_insertNumberValue(A,t,i,o){n.checkOffsetValue(o);this.ensureInsertable(t,o);A.call(this._buff,i,o);this._writeOffset+=t;return this}_writeNumberValue(A,t,i,o){if(typeof o==="number"){if(o<0){throw new Error(n.ERRORS.INVALID_WRITE_BEYOND_BOUNDS)}n.checkOffsetValue(o)}const s=typeof o==="number"?o:this._writeOffset;this._ensureWriteable(t,s);A.call(this._buff,i,s);if(typeof o==="number"){this._writeOffset=Math.max(this._writeOffset,s+t)}else{this._writeOffset+=t}return this}}t.SmartBuffer=SmartBuffer},98132:(A,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=i(14300);const o={INVALID_ENCODING:"Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.",INVALID_SMARTBUFFER_SIZE:"Invalid size provided. Size must be a valid integer greater than zero.",INVALID_SMARTBUFFER_BUFFER:"Invalid Buffer provided in SmartBufferOptions.",INVALID_SMARTBUFFER_OBJECT:"Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.",INVALID_OFFSET:"An invalid offset value was provided.",INVALID_OFFSET_NON_NUMBER:"An invalid offset value was provided. A numeric value is required.",INVALID_LENGTH:"An invalid length value was provided.",INVALID_LENGTH_NON_NUMBER:"An invalid length value was provived. A numeric value is required.",INVALID_TARGET_OFFSET:"Target offset is beyond the bounds of the internal SmartBuffer data.",INVALID_TARGET_LENGTH:"Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.",INVALID_READ_BEYOND_BOUNDS:"Attempted to read beyond the bounds of the managed data.",INVALID_WRITE_BEYOND_BOUNDS:"Attempted to write beyond the bounds of the managed data."};t.ERRORS=o;function checkEncoding(A){if(!n.Buffer.isEncoding(A)){throw new Error(o.INVALID_ENCODING)}}t.checkEncoding=checkEncoding;function isFiniteInteger(A){return typeof A==="number"&&isFinite(A)&&isInteger(A)}t.isFiniteInteger=isFiniteInteger;function checkOffsetOrLengthValue(A,t){if(typeof A==="number"){if(!isFiniteInteger(A)||A<0){throw new Error(t?o.INVALID_OFFSET:o.INVALID_LENGTH)}}else{throw new Error(t?o.INVALID_OFFSET_NON_NUMBER:o.INVALID_LENGTH_NON_NUMBER)}}function checkLengthValue(A){checkOffsetOrLengthValue(A,false)}t.checkLengthValue=checkLengthValue;function checkOffsetValue(A){checkOffsetOrLengthValue(A,true)}t.checkOffsetValue=checkOffsetValue;function checkTargetOffset(A,t){if(A<0||A>t.length){throw new Error(o.INVALID_TARGET_OFFSET)}}t.checkTargetOffset=checkTargetOffset;function isInteger(A){return typeof A==="number"&&isFinite(A)&&Math.floor(A)===A}function bigIntAndBufferInt64Check(A){if(typeof BigInt==="undefined"){throw new Error("Platform does not support JS BigInt type.")}if(typeof n.Buffer.prototype[A]==="undefined"){throw new Error(`Platform does not support Buffer.prototype.${A}.`)}}t.bigIntAndBufferInt64Check=bigIntAndBufferInt64Check},25038:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};var g=this&&this.__importDefault||function(A){return A&&A.__esModule?A:{default:A}};Object.defineProperty(t,"__esModule",{value:true});t.SocksProxyAgent=void 0;const a=i(70786);const I=i(2825);const B=g(i(38237));const Q=s(i(9523));const E=s(i(41808));const c=s(i(24404));const u=i(57310);const l=(0,B.default)("socks-proxy-agent");const setServernameFromNonIpHost=A=>{if(A.servername===undefined&&A.host&&!E.isIP(A.host)){return{...A,servername:A.host}}return A};function parseSocksURL(A){let t=false;let i=5;const n=A.hostname;const o=parseInt(A.port,10)||1080;switch(A.protocol.replace(":","")){case"socks4":t=true;i=4;break;case"socks4a":i=4;break;case"socks5":t=true;i=5;break;case"socks":i=5;break;case"socks5h":i=5;break;default:throw new TypeError(`A "socks" protocol must be specified! Got: ${String(A.protocol)}`)}const s={host:n,port:o,type:i};if(A.username){Object.defineProperty(s,"userId",{value:decodeURIComponent(A.username),enumerable:false})}if(A.password!=null){Object.defineProperty(s,"password",{value:decodeURIComponent(A.password),enumerable:false})}return{lookup:t,proxy:s}}class SocksProxyAgent extends I.Agent{constructor(A,t){super(t);const i=typeof A==="string"?new u.URL(A):A;const{proxy:n,lookup:o}=parseSocksURL(i);this.shouldLookup=o;this.proxy=n;this.timeout=t?.timeout??null;this.socketOptions=t?.socketOptions??null}async connect(A,t){const{shouldLookup:i,proxy:n,timeout:o}=this;if(!t.host){throw new Error("No `host` defined!")}let{host:s}=t;const{port:g,lookup:I=Q.lookup}=t;if(i){s=await new Promise(((A,t)=>{I(s,{},((i,n)=>{if(i){t(i)}else{A(n)}}))}))}const B={proxy:n,destination:{host:s,port:typeof g==="number"?g:parseInt(g,10)},command:"connect",timeout:o??undefined,socket_options:this.socketOptions??undefined};const cleanup=t=>{A.destroy();E.destroy();if(t)t.destroy()};l("Creating socks proxy connection: %o",B);const{socket:E}=await a.SocksClient.createConnection(B);l("Successfully created socks proxy connection");if(o!==null){E.setTimeout(o);E.on("timeout",(()=>cleanup()))}if(t.secureEndpoint){l("Upgrading socket connection to TLS");const A=c.connect({...omit(setServernameFromNonIpHost(t),"host","path","port"),socket:E});A.once("error",(t=>{l("Socket TLS error",t.message);cleanup(A)}));return A}return E}}SocksProxyAgent.protocols=["socks","socks4","socks4a","socks5","socks5h"];t.SocksProxyAgent=SocksProxyAgent;function omit(A,...t){const i={};let n;for(n in A){if(!t.includes(n)){i[n]=A[n]}}return i}},11244:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};Object.defineProperty(t,"__esModule",{value:true});t.req=t.json=t.toBuffer=void 0;const g=s(i(13685));const a=s(i(95687));async function toBuffer(A){let t=0;const i=[];for await(const n of A){t+=n.length;i.push(n)}return Buffer.concat(i,t)}t.toBuffer=toBuffer;async function json(A){const t=await toBuffer(A);const i=t.toString("utf8");try{return JSON.parse(i)}catch(A){const t=A;t.message+=` (input: ${i})`;throw t}}t.json=json;function req(A,t={}){const i=typeof A==="string"?A:A.href;const n=(i.startsWith("https:")?a:g).request(A,t);const o=new Promise(((A,t)=>{n.once("response",A).once("error",t).end()}));n.then=o.then.bind(o);return n}t.req=req},2825:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};var g=this&&this.__exportStar||function(A,t){for(var i in A)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,A,i)};Object.defineProperty(t,"__esModule",{value:true});t.Agent=void 0;const a=s(i(41808));const I=s(i(13685));const B=i(95687);g(i(11244),t);const Q=Symbol("AgentBaseInternalState");class Agent extends I.Agent{constructor(A){super(A);this[Q]={}}isSecureEndpoint(A){if(A){if(typeof A.secureEndpoint==="boolean"){return A.secureEndpoint}if(typeof A.protocol==="string"){return A.protocol==="https:"}}const{stack:t}=new Error;if(typeof t!=="string")return false;return t.split("\n").some((A=>A.indexOf("(https.js:")!==-1||A.indexOf("node:https:")!==-1))}incrementSockets(A){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[A]){this.sockets[A]=[]}const t=new a.Socket({writable:false});this.sockets[A].push(t);this.totalSocketCount++;return t}decrementSockets(A,t){if(!this.sockets[A]||t===null){return}const i=this.sockets[A];const n=i.indexOf(t);if(n!==-1){i.splice(n,1);this.totalSocketCount--;if(i.length===0){delete this.sockets[A]}}}getName(A){const t=typeof A.secureEndpoint==="boolean"?A.secureEndpoint:this.isSecureEndpoint(A);if(t){return B.Agent.prototype.getName.call(this,A)}return super.getName(A)}createSocket(A,t,i){const n={...t,secureEndpoint:this.isSecureEndpoint(t)};const o=this.getName(n);const s=this.incrementSockets(o);Promise.resolve().then((()=>this.connect(A,n))).then((g=>{this.decrementSockets(o,s);if(g instanceof I.Agent){try{return g.addRequest(A,n)}catch(A){return i(A)}}this[Q].currentSocket=g;super.createSocket(A,t,i)}),(A=>{this.decrementSockets(o,s);i(A)}))}createConnection(){const A=this[Q].currentSocket;this[Q].currentSocket=undefined;if(!A){throw new Error("No socket was returned in the `connect()` function")}return A}get defaultPort(){return this[Q].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(A){if(this[Q]){this[Q].defaultPort=A}}get protocol(){return this[Q].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(A){if(this[Q]){this[Q].protocol=A}}}t.Agent=Agent},51315:(A,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.AddressError=void 0;class AddressError extends Error{constructor(A,t){super(A);this.name="AddressError";this.parseMessage=t}}t.AddressError=AddressError},43146:(A,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.isInSubnet=isInSubnet;t.isHostInSubnet=isHostInSubnet;t.isGloballyReachable=isGloballyReachable;t.offsetBigInt=offsetBigInt;t.isCorrect=isCorrect;t.prefixLengthFromMask=prefixLengthFromMask;t.assertByteArray=assertByteArray;t.numberToPaddedHex=numberToPaddedHex;t.stringToPaddedHex=stringToPaddedHex;t.testBit=testBit;const n=i(51315);function isInSubnet(A){if(this.subnetMask<A.subnetMask){return false}return isHostInSubnet.call(this,A)}function isHostInSubnet(A){if(this.binaryZeroPad().length!==A.binaryZeroPad().length){return false}return this.mask(A.subnetMask)===A.mask()}function isGloballyReachable(A){let t=null;for(let i=0;i<A.length;i++){const n=A[i];if(n.reachable!==null&&isHostInSubnet.call(this,n.subnet)&&(t===null||n.subnet.subnetMask>t.subnet.subnetMask)){t=n}}return t===null?true:t.reachable}function offsetBigInt(A,t,i,o){if(typeof t==="number"&&!Number.isSafeInteger(t)){throw new n.AddressError(`${o} offset must be an integer`)}if(typeof t!=="number"&&typeof t!=="bigint"){throw new n.AddressError(`${o} offset must be an integer`)}const s=A+BigInt(t);if(s<BigInt(0)||s>(BigInt(1)<<BigInt(i))-BigInt(1)){throw new n.AddressError(`${o} offset leaves the address space`)}return s}function isCorrect(A){return function isCorrectForm(){if(this.addressMinusSuffix!==this.correctForm()){return false}if(this.subnetMask===A&&!this.parsedSubnet){return true}return this.parsedSubnet===String(this.subnetMask)}}function prefixLengthFromMask(A,t){const i=A.toString(2).padStart(t,"0");if(i.length>t){throw new n.AddressError("Invalid subnet mask.")}const o=i.indexOf("0");if(o===-1){return t}if(i.slice(o).includes("1")){throw new n.AddressError("Invalid subnet mask.")}return o}function assertByteArray(A,t,i,o){if(A.length!==t){throw new n.AddressError(`${i} addresses require exactly ${t} bytes`)}for(let t=0;t<A.length;t++){if(!Number.isInteger(A[t])||A[t]<o||A[t]>255){throw new n.AddressError(`All bytes must be integers between ${o} and 255`)}}}function numberToPaddedHex(A){return A.toString(16).padStart(2,"0")}function stringToPaddedHex(A){return numberToPaddedHex(parseInt(A,10))}function testBit(A,t){const{length:i}=A;if(t>i){return false}const n=i-t;return A.substring(n,n+1)==="1"}},83213:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};Object.defineProperty(t,"__esModule",{value:true});t.v6=t.AddressError=t.Address6=t.Address4=void 0;var g=i(1216);Object.defineProperty(t,"Address4",{enumerable:true,get:function(){return g.Address4}});var a=i(80411);Object.defineProperty(t,"Address6",{enumerable:true,get:function(){return a.Address6}});var I=i(51315);Object.defineProperty(t,"AddressError",{enumerable:true,get:function(){return I.AddressError}});const B=s(i(77021));t.v6={helpers:B}},1216:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};Object.defineProperty(t,"__esModule",{value:true});t.Address4=void 0;const g=s(i(43146));const a=s(i(2058));const I=i(51315);const B=g.isCorrect(a.BITS);class Address4{constructor(A){this.addressMinusSuffix="";this.groups=a.GROUPS;this.parsedAddress=[];this.parsedSubnet="";this.subnet="/32";this.subnetMask=32;this.v4=true;this.isCorrect=B;this.isInSubnet=g.isInSubnet;this.isHostInSubnet=g.isHostInSubnet;this.address=A;const t=a.RE_SUBNET_STRING.exec(A);if(t){this.parsedSubnet=t[0].replace("/","");this.subnetMask=parseInt(this.parsedSubnet,10);this.subnet=`/${this.subnetMask}`;if(this.subnetMask<0||this.subnetMask>a.BITS){throw new I.AddressError("Invalid subnet mask.")}A=A.replace(a.RE_SUBNET_STRING,"")}const i=a.GROUPS*4-1;if(A.length>i){throw new I.AddressError(`IPv4 addresses are at most ${i} characters.`)}this.addressMinusSuffix=A;this.parsedAddress=this.parse(A)}static isValid(A){try{new Address4(A);return true}catch{return false}}parse(A){const t=A.split(".");if(t.some((A=>/^0\d/.test(A)))){throw new I.AddressError("IPv4 addresses can't have leading zeroes.")}if(!A.match(a.RE_ADDRESS)){throw new I.AddressError("Invalid IPv4 address.")}return t}correctForm(){return this.parsedAddress.map((A=>parseInt(A,10))).join(".")}static fromAddressAndMask(A,t){const i=g.prefixLengthFromMask(new Address4(t).bigInt(),a.BITS);return new Address4(`${A}/${i}`)}static fromAddressAndWildcardMask(A,t){const i=new Address4(t).bigInt();const n=(BigInt(1)<<BigInt(a.BITS))-BigInt(1);const o=i^n;const s=g.prefixLengthFromMask(o,a.BITS);return new Address4(`${A}/${s}`)}static fromWildcard(A){const t=A.split(".");if(t.length!==a.GROUPS){throw new I.AddressError("Wildcard pattern must have 4 octets")}let i=-1;for(let A=0;A<t.length;A++){if(t[A]==="*"){if(i===-1){i=A}}else if(i!==-1){throw new I.AddressError("Wildcard `*` must only appear in trailing octets (e.g. `192.168.0.*`)")}}const n=i===-1?0:t.length-i;const o=t.map((A=>A==="*"?"0":A));const s=a.BITS-n*8;return new Address4(`${o.join(".")}/${s}`)}static fromHex(A){const t=A.replace(/:/g,"");if(!/^[0-9a-fA-F]{8}$/.test(t)){throw new I.AddressError("IPv4 hex must be exactly 8 hex digits")}const i=[];for(let A=0;A<8;A+=2){i.push(parseInt(t.slice(A,A+2),16))}return new Address4(i.join("."))}static fromInteger(A){if(!Number.isInteger(A)||A<0||A>4294967295){throw new I.AddressError("IPv4 integer must be in the range 0 to 2**32 - 1")}return Address4.fromHex(A.toString(16).padStart(8,"0"))}static fromArpa(A){const t=A.replace(/(\.in-addr\.arpa)?\.?$/i,"");const i=t.split(".").reverse().join(".");return new Address4(i)}toHex(){return this.parsedAddress.map((A=>g.stringToPaddedHex(A))).join(":")}toArray(){return this.parsedAddress.map((A=>parseInt(A,10)))}toGroup6(){const A=[];let t;for(t=0;t<a.GROUPS;t+=2){A.push(`${g.stringToPaddedHex(this.parsedAddress[t])}${g.stringToPaddedHex(this.parsedAddress[t+1])}`)}return A.join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map((A=>g.stringToPaddedHex(A))).join("")}`)}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(a.BITS-this.subnetMask)}`)}startAddress(){return Address4.fromBigInt(this._startAddress())}startAddressExclusive(){const A=BigInt("1");return Address4.fromBigInt(this._startAddress()+A)}offset(A){return Address4.fromBigInt(g.offsetBigInt(this.bigInt(),A,a.BITS,"IPv4")).withSubnetMask(this.subnetMask)}nextNetwork(){return Address4.fromBigInt(g.offsetBigInt(this._endAddress(),1,a.BITS,"IPv4")).withSubnetMask(this.subnetMask)}withSubnetMask(A){return new Address4(`${this.correctForm()}/${A}`)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(a.BITS-this.subnetMask)}`)}endAddress(){return Address4.fromBigInt(this._endAddress())}endAddressExclusive(){const A=BigInt("1");return Address4.fromBigInt(this._endAddress()-A)}subnetMaskAddress(){return Address4.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(a.BITS-this.subnetMask)}`))}wildcardMask(){return Address4.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(a.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}static fromBigInt(A){if(A<BigInt(0)||A>BigInt(4294967295)){throw new I.AddressError("IPv4 BigInt must be in the range 0 to 2**32 - 1")}return Address4.fromHex(A.toString(16).padStart(8,"0"))}static fromByteArray(A){g.assertByteArray(A,4,"IPv4",0);return this.fromUnsignedByteArray(A)}static fromUnsignedByteArray(A){if(A.length!==4){throw new I.AddressError("IPv4 addresses require exactly 4 bytes")}const t=A.join(".");return new Address4(t)}mask(A){if(A===undefined){A=this.subnetMask}return this.getBitsBase2(0,A)}getBitsBase2(A,t){return this.binaryZeroPad().slice(A,t)}reverseForm(A){if(!A){A={}}const t=this.correctForm().split(".").reverse().join(".");if(A.omitSuffix){return t}return`${t}.in-addr.arpa.`}isMulticast(){return this.isHostInSubnet(Q)}isPrivate(){return E.some((A=>this.isHostInSubnet(A)))}isLoopback(){return this.isHostInSubnet(c)}isLinkLocal(){return this.isHostInSubnet(u)}isUnspecified(){return this.isHostInSubnet(l)}isBroadcast(){return this.isHostInSubnet(p)}isCGNAT(){return this.isHostInSubnet(h)}isDocumentation(){return d.some((A=>this.isHostInSubnet(A)))}isBenchmarking(){return this.isHostInSubnet(D)}isReserved(){return this.isHostInSubnet(y)}isGlobal(){return!this.isMulticast()&&g.isGloballyReachable.call(this,w)}binaryZeroPad(){if(this._binaryZeroPad===undefined){this._binaryZeroPad=this.bigInt().toString(2).padStart(a.BITS,"0")}return this._binaryZeroPad}groupForV6(){const A=this.parsedAddress;return this.correctForm().replace(a.RE_ADDRESS,`<span class="hover-group group-v4 group-6">${A.slice(0,2).join(".")}</span>.<span class="hover-group group-v4 group-7">${A.slice(2,4).join(".")}</span>`)}}t.Address4=Address4;const Q=new Address4("224.0.0.0/4");const E=[new Address4("10.0.0.0/8"),new Address4("172.16.0.0/12"),new Address4("192.168.0.0/16")];const c=new Address4("127.0.0.0/8");const u=new Address4("169.254.0.0/16");const l=new Address4("0.0.0.0/32");const p=new Address4("255.255.255.255/32");const h=new Address4("100.64.0.0/10");const d=[new Address4("192.0.2.0/24"),new Address4("198.51.100.0/24"),new Address4("203.0.113.0/24")];const D=new Address4("198.18.0.0/15");const y=new Address4("240.0.0.0/4");const w=a.SPECIAL_PURPOSE.map((([A,,t])=>({subnet:new Address4(A),reachable:t})))},80411:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};Object.defineProperty(t,"__esModule",{value:true});t.Address6=void 0;const g=s(i(43146));const a=s(i(2058));const I=s(i(27420));const B=s(i(77021));const Q=i(1216);const E=i(32776);const c=i(51315);const u=i(43146);const l=g.isCorrect(I.BITS);function assert(A){if(!A){throw new Error("Assertion failed.")}}function addCommas(A){const t=/(\d+)(\d{3})/;while(t.test(A)){A=A.replace(t,"$1,$2")}return A}function spanLeadingZeroes4(A){A=A.replace(/^(0{1,})([1-9]+)$/,'<span class="parse-error">$1</span>$2');A=A.replace(/^(0{1,})(0)$/,'<span class="parse-error">$1</span>$2');return A}function compact(A,t){const i=[];const n=[];let o;for(o=0;o<A.length;o++){if(o<t[0]){i.push(A[o])}else if(o>t[1]){n.push(A[o])}}return i.concat(["compact"]).concat(n)}function paddedHex(A){return parseInt(A,16).toString(16).padStart(4,"0")}function unsignByte(A){return A&255}class Address6{constructor(A,t){this.addressMinusSuffix="";this.parsedSubnet="";this.subnet="/128";this.subnetMask=128;this.v4=false;this.zone="";this.isInSubnet=g.isInSubnet;this.isHostInSubnet=g.isHostInSubnet;this.isCorrect=l;if(t===undefined){this.groups=I.GROUPS}else{this.groups=t}this.address=A;const i=I.RE_SUBNET_STRING.exec(A);if(i){this.parsedSubnet=i[0].replace("/","");this.subnetMask=parseInt(this.parsedSubnet,10);this.subnet=`/${this.subnetMask}`;if(Number.isNaN(this.subnetMask)||this.subnetMask<0||this.subnetMask>I.BITS){throw new c.AddressError("Invalid subnet mask.")}A=A.replace(I.RE_SUBNET_STRING,"")}if(/\//.test(A)){throw new c.AddressError("Invalid subnet mask.")}const n=I.RE_ZONE_STRING.exec(A);if(n){this.zone=n[0];A=A.replace(I.RE_ZONE_STRING,"")}const o=this.groups*5+5;if(A.length>o){throw new c.AddressError(`IPv6 addresses are at most ${o} characters.`)}this.addressMinusSuffix=A;this.parsedAddress=this.parse(this.addressMinusSuffix)}static isValid(A){try{new Address6(A);return true}catch{return false}}static fromBigInt(A){if(A<BigInt(0)||A>(BigInt(1)<<BigInt(I.BITS))-BigInt(1)){throw new c.AddressError("IPv6 BigInt must be in the range 0 to 2**128 - 1")}const t=A.toString(16).padStart(32,"0");const i=[];for(let A=0;A<I.GROUPS;A++){i.push(t.slice(A*4,(A+1)*4))}return new Address6(i.join(":"))}static fromURL(A){var t;let i;let n=null;let o;let s;const g=A.replace(/^[a-z][a-z0-9+.-]*:\/\//i,"");if(g.indexOf("[")!==-1&&g.indexOf("]:")!==-1){s="failed to parse address with port";o=I.RE_URL_WITH_PORT.exec(g);if(o===null){return{error:s,address:null,port:null}}i=o[1];n=o[2]}else{s="failed to parse address from URL";o=I.RE_URL.exec(g);if(o===null){return{error:s,address:null,port:null}}i=(t=o[1])!==null&&t!==void 0?t:o[2]}if(n){n=parseInt(n,10);if(n<0||n>65535){n=null}}else{n=null}let a;try{a=new Address6(i)}catch{return{error:s,address:null,port:null}}return{address:a,port:n}}static fromAddressAndMask(A,t){const i=g.prefixLengthFromMask(new Address6(t).bigInt(),I.BITS);return new Address6(`${A}/${i}`)}static fromAddressAndWildcardMask(A,t){const i=new Address6(t).bigInt();const n=(BigInt(1)<<BigInt(I.BITS))-BigInt(1);const o=i^n;const s=g.prefixLengthFromMask(o,I.BITS);return new Address6(`${A}/${s}`)}static fromWildcard(A){if(A.includes("%")||A.includes("/")){throw new c.AddressError("Wildcard pattern must not include a zone or CIDR suffix")}const t=A.split("::");if(t.length>2){throw new c.AddressError("Wildcard pattern cannot contain more than one '::'")}let i;if(t.length===2){const A=t[0]===""?[]:t[0].split(":");const n=t[1]===""?[]:t[1].split(":");const o=I.GROUPS-A.length-n.length;if(o<1){throw new c.AddressError("Wildcard pattern with '::' has too many groups")}i=[...A,...new Array(o).fill("0"),...n]}else{i=A.split(":")}if(i.length!==I.GROUPS){throw new c.AddressError("Wildcard pattern must have 8 groups")}let n=-1;for(let A=0;A<i.length;A++){if(i[A]==="*"){if(n===-1){n=A}}else if(n!==-1){throw new c.AddressError("Wildcard `*` must only appear in trailing groups (e.g. `2001:db8:*:*:*:*:*:*`)")}}const o=n===-1?0:i.length-n;const s=i.map((A=>A==="*"?"0":A));const g=I.BITS-o*16;return new Address6(`${s.join(":")}/${g}`)}static fromAddress4(A){const t=new Q.Address4(A);const i=I.BITS-(a.BITS-t.subnetMask);return new Address6(`::ffff:${t.correctForm()}/${i}`)}static fromArpa(A){const t=A.replace(/(\.ip6\.arpa)?\.?$/i,"");if(!/^[0-9a-f](\.[0-9a-f]){0,31}$/i.test(t)){throw new c.AddressError("Invalid 'ip6.arpa' form.")}const i=t.split(".").reverse();const n=i.length*4;const o=i.join("").padEnd(32,"0");const s=[];for(let A=0;A<I.GROUPS;A++){s.push(o.slice(A*4,(A+1)*4))}return new Address6(`${s.join(":")}/${n}`)}microsoftTranscription(){return`${this.correctForm().replace(/:/g,"-")}.ipv6-literal.net`}mask(A=this.subnetMask){return this.getBitsBase2(0,A)}possibleSubnets(A=128){const t=I.BITS-this.subnetMask;const i=Math.abs(A-I.BITS);const n=t-i;if(n<0){return"0"}return addCommas((BigInt("2")**BigInt(n)).toString(10))}_startAddress(){return BigInt(`0b${this.mask()+"0".repeat(I.BITS-this.subnetMask)}`)}startAddress(){return Address6.fromBigInt(this._startAddress())}startAddressExclusive(){const A=BigInt("1");return Address6.fromBigInt(this._startAddress()+A)}_endAddress(){return BigInt(`0b${this.mask()+"1".repeat(I.BITS-this.subnetMask)}`)}endAddress(){return Address6.fromBigInt(this._endAddress())}endAddressExclusive(){const A=BigInt("1");return Address6.fromBigInt(this._endAddress()-A)}offset(A){return Address6.fromBigInt(g.offsetBigInt(this.bigInt(),A,I.BITS,"IPv6")).withSubnetMask(this.subnetMask)}nextNetwork(){return Address6.fromBigInt(g.offsetBigInt(this._endAddress(),1,I.BITS,"IPv6")).withSubnetMask(this.subnetMask)}withSubnetMask(A){return new Address6(`${this.correctForm()}/${A}`)}subnetMaskAddress(){return Address6.fromBigInt(BigInt(`0b${"1".repeat(this.subnetMask)}${"0".repeat(I.BITS-this.subnetMask)}`))}wildcardMask(){return Address6.fromBigInt(BigInt(`0b${"0".repeat(this.subnetMask)}${"1".repeat(I.BITS-this.subnetMask)}`))}networkForm(){return`${this.startAddress().correctForm()}/${this.subnetMask}`}getScope(){const A=this.getType();if(A==="Multicast"||A.startsWith("Multicast ")){const A=I.SCOPES[parseInt(this.getBits(12,16).toString(10),10)];return A||"Unknown"}if(A==="Link-local unicast"||A==="Loopback"){return"Link local"}if(A==="Unspecified"){return"Unknown"}return"Global"}getType(){for(let A=0;A<p.length;A++){const t=p[A];if(this.isHostInSubnet(t[0])){return t[1]}}return"Global unicast"}getBits(A,t){return BigInt(`0b${this.getBitsBase2(A,t)}`)}getBitsBase2(A,t){return this.binaryZeroPad().slice(A,t)}getBitsBase16(A,t){const i=t-A;if(i%4!==0){throw new Error("Length of bits to retrieve must be divisible by four")}return this.getBits(A,t).toString(16).padStart(i/4,"0")}getBitsPastSubnet(){return this.getBitsBase2(this.subnetMask,I.BITS)}reverseForm(A){if(!A){A={}}const t=Math.floor(this.subnetMask/4);const i=this.canonicalForm().replace(/:/g,"").split("").slice(0,t).reverse().join(".");if(t>0){if(A.omitSuffix){return i}return`${i}.ip6.arpa.`}if(A.omitSuffix){return""}return"ip6.arpa."}correctForm(){let A;let t=[];let i=0;const n=[];for(A=0;A<this.parsedAddress.length;A++){const t=parseInt(this.parsedAddress[A],16);if(t===0){i++}if(t!==0&&i>0){if(i>1){n.push([A-i,A-1])}i=0}}if(i>1){n.push([this.parsedAddress.length-i,this.parsedAddress.length-1])}const o=n.map((A=>A[1]-A[0]+1));if(n.length>0){const A=o.indexOf(Math.max(...o));t=compact(this.parsedAddress,n[A])}else{t=this.parsedAddress}for(A=0;A<t.length;A++){if(t[A]!=="compact"){t[A]=parseInt(t[A],16).toString(16)}}let s=t.join(":");s=s.replace(/^compact$/,"::");s=s.replace(/(^compact)|(compact$)/,":");s=s.replace(/compact/,"");return s}binaryZeroPad(){if(this._binaryZeroPad===undefined){this._binaryZeroPad=this.bigInt().toString(2).padStart(I.BITS,"0")}return this._binaryZeroPad}parse4in6(A){if(A.indexOf(".")===-1){return A}const t=A.split(":");const i=t.slice(-1)[0];const n=i.split(".");if(n.length===a.GROUPS&&n.every((A=>/^\d{1,3}$/.test(A)))){if(n.some((A=>/^0\d/.test(A)))){const A=n.map(spanLeadingZeroes4).join(".");const i=t.slice(0,-1).map(B.escapeHtml).join(":");const o=t.length>1?":":"";throw new c.AddressError("IPv4 addresses can't have leading zeroes.",`${i}${o}${A}`)}}const o=i.match(a.RE_ADDRESS);if(o){this.parsedAddress4=o[0];const i=this.subnetMask>=96?`/${this.subnetMask-96}`:"";this.address4=new Q.Address4(`${this.parsedAddress4}${i}`);this.v4=true;t[t.length-1]=this.address4.toGroup6();A=t.join(":")}return A}parse(A){A=this.parse4in6(A);const t=A.match(I.RE_BAD_CHARACTERS);if(t){throw new c.AddressError(`Bad character${t.length>1?"s":""} detected in address: ${t.join("")}`,A.replace(I.RE_BAD_CHARACTERS,'<span class="parse-error">$1</span>'))}const i=A.match(I.RE_BAD_ADDRESS);if(i){throw new c.AddressError(`Address failed regex: ${i.join("")}`,A.replace(I.RE_BAD_ADDRESS,'<span class="parse-error">$1</span>'))}let n=[];const o=A.split("::");if(o.length===2){let A=o[0].split(":");let t=o[1].split(":");if(A.length===1&&A[0]===""){A=[]}if(t.length===1&&t[0]===""){t=[]}const i=this.groups-(A.length+t.length);if(!i){throw new c.AddressError("Error parsing groups")}this.elidedGroups=i;this.elisionBegin=A.length;this.elisionEnd=A.length+this.elidedGroups;n=n.concat(A);for(let A=0;A<i;A++){n.push("0")}n=n.concat(t)}else if(o.length===1){n=A.split(":");this.elidedGroups=0}else{throw new c.AddressError("Too many :: groups found")}n=n.map((A=>parseInt(A,16).toString(16)));if(n.length!==this.groups){throw new c.AddressError("Incorrect number of groups found")}return n}canonicalForm(){return this.parsedAddress.map(paddedHex).join(":")}decimal(){return this.parsedAddress.map((A=>parseInt(A,16).toString(10).padStart(5,"0"))).join(":")}bigInt(){return BigInt(`0x${this.parsedAddress.map(paddedHex).join("")}`)}to4(){const A=this.binaryZeroPad().split("");const t=BigInt(`0b${A.slice(96,128).join("")}`).toString(16).padStart(8,"0");if(this.subnetMask>=96){const A=this.subnetMask-96;const i=[];for(let A=0;A<8;A+=2){i.push(parseInt(t.slice(A,A+2),16))}return new Q.Address4(`${i.join(".")}/${A}`)}return Q.Address4.fromHex(t)}to4in6(){const A=this.to4();const t=new Address6(this.parsedAddress.slice(0,6).join(":"),6);const i=t.correctForm();let n="";if(!/:$/.test(i)){n=":"}return i+n+A.correctForm()}inspectTeredo(){const A=this.getBitsBase16(0,32);const t=this.getBits(80,96);const i=(t^BigInt("0xffff")).toString();const n=Q.Address4.fromHex(this.getBitsBase16(32,64));const o=this.getBits(96,128);const s=Q.Address4.fromHex((o^BigInt("0xffffffff")).toString(16).padStart(8,"0"));const g=this.getBitsBase2(64,80);const a=(0,u.testBit)(g,15);const I=(0,u.testBit)(g,14);const B=(0,u.testBit)(g,8);const E=(0,u.testBit)(g,9);const c=BigInt(`0b${g.slice(2,6)+g.slice(8,16)}`).toString(10);return{prefix:`${A.slice(0,4)}:${A.slice(4,8)}`,server4:n.address,client4:s.address,flags:g,coneNat:a,microsoft:{reserved:I,universalLocal:E,groupIndividual:B,nonce:c},udpPort:i}}inspect6to4(){const A=this.getBitsBase16(0,16);const t=Q.Address4.fromHex(this.getBitsBase16(16,48));return{prefix:A.slice(0,4),gateway:t.address}}to6to4(){if(!this.is4()){return null}const A=["2002",this.getBitsBase16(96,112),this.getBitsBase16(112,128),"","/16"].join(":");return new Address6(A)}static fromAddress4Nat64(A,t="64:ff9b::/96"){const i=new Q.Address4(A);const n=new Address6(t);const o=n.subnetMask;if(o!==32&&o!==40&&o!==48&&o!==56&&o!==64&&o!==96){throw new c.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96")}const s=n.binaryZeroPad();const g=i.binaryZeroPad();let a;if(o===96){a=s.slice(0,96)+g}else{const A=64-o;a=[s.slice(0,o),g.slice(0,A),"00000000",g.slice(A),"0".repeat(128-72-(32-A))].join("")}const I=BigInt(`0b${a}`).toString(16).padStart(32,"0");const B=[];for(let A=0;A<8;A++){B.push(I.slice(A*4,(A+1)*4))}return new Address6(B.join(":"))}toAddress4Nat64(A="64:ff9b::/96"){const t=new Address6(A);const i=t.subnetMask;if(i!==32&&i!==40&&i!==48&&i!==56&&i!==64&&i!==96){throw new c.AddressError("NAT64 prefix length must be 32, 40, 48, 56, 64, or 96")}if(!this.isHostInSubnet(t)){return null}const n=this.binaryZeroPad();let o;if(i===96){o=n.slice(96,128)}else{const A=64-i;o=n.slice(i,i+A)+n.slice(72,72+(32-A))}const s=[];for(let A=0;A<4;A++){s.push(parseInt(o.slice(A*8,(A+1)*8),2).toString())}return new Q.Address4(s.join("."))}toByteArray(){const A=this.bigInt().toString(16).padStart(I.BITS/4,"0");const t=[];for(let i=0,n=A.length;i<n;i+=2){t.push(parseInt(A.substring(i,i+2),16))}return t}toUnsignedByteArray(){return this.toByteArray().map(unsignByte)}static fromByteArray(A){g.assertByteArray(A,16,"IPv6",-128);return this.fromUnsignedByteArray(A.map(unsignByte))}static fromUnsignedByteArray(A){g.assertByteArray(A,16,"IPv6",0);const t=BigInt("256");let i=BigInt("0");let n=BigInt("1");for(let o=A.length-1;o>=0;o--){i+=n*BigInt(A[o].toString(10));n*=t}return Address6.fromBigInt(i)}isCanonical(){return this.addressMinusSuffix===this.canonicalForm()}isLinkLocal(){const A=this.embeddedIPv4();if(A){return A.isLinkLocal()}return this.isHostInSubnet(y)}isMulticast(){const A=this.embeddedIPv4();if(A){return A.isMulticast()}const t=this.getType();return t==="Multicast"||t.startsWith("Multicast ")}is4(){return this.v4}isMapped4(){return this.isHostInSubnet(R)}embeddedIPv4(){if(this.isMapped4()||this.isHostInSubnet(N)){return this.to4()}return null}isTeredo(){return this.isHostInSubnet(h)}is6to4(){return this.isHostInSubnet(d)}isLoopback(){const A=this.embeddedIPv4();if(A){return A.isLoopback()}return this.getType()==="Loopback"}isULA(){return this.isHostInSubnet(D)}isPrivate(){const A=this.embeddedIPv4();if(A){return A.isPrivate()}return this.isULA()||this.isHostInSubnet(x)}isCGNAT(){const A=this.embeddedIPv4();if(A){return A.isCGNAT()}return false}isBroadcast(){const A=this.embeddedIPv4();if(A){return A.isBroadcast()}return false}isUnspecified(){const A=this.embeddedIPv4();if(A){return A.isUnspecified()}return this.getType()==="Unspecified"}isDocumentation(){return w.some((A=>this.isHostInSubnet(A)))}isBenchmarking(){const A=this.embeddedIPv4();if(A){return A.isBenchmarking()}return this.isHostInSubnet(m)}isGlobal(){const A=this.embeddedIPv4();if(A){return A.isGlobal()}return this.isHostInSubnet(k)&&g.isGloballyReachable.call(this,v)}href(A){if(A===undefined){A=""}else{A=`:${A}`}return`http://[${this.correctForm()}]${A}/`}link(A){if(!A){A={}}if(A.className===undefined){A.className=""}if(A.prefix===undefined){A.prefix="/#address="}if(A.v4===undefined){A.v4=false}let t=this.correctForm;if(A.v4){t=this.to4in6}const i=t.call(this);const n=B.escapeHtml(`${A.prefix}${i}`);const o=B.escapeHtml(i);if(A.className){const t=B.escapeHtml(A.className);return`<a href="${n}" class="${t}">${o}</a>`}return`<a href="${n}">${o}</a>`}group(){if(this.elidedGroups===0){return B.simpleGroup(this.addressMinusSuffix).join(":")}assert(typeof this.elidedGroups==="number");assert(typeof this.elisionBegin==="number");const A=[];const[t,i]=this.addressMinusSuffix.split("::");if(t.length){A.push(...B.simpleGroup(t))}else{A.push("")}const n=["hover-group"];for(let A=this.elisionBegin;A<this.elisionBegin+this.elidedGroups;A++){n.push(`group-${A}`)}A.push(`<span class="${n.join(" ")}"></span>`);if(i.length){A.push(...B.simpleGroup(i,this.elisionEnd))}else{A.push("")}if(this.is4()){assert(this.address4 instanceof Q.Address4);A.pop();A.push(this.address4.groupForV6())}return A.join(":")}regularExpressionString(A=false){let t=[];const i=new Address6(this.correctForm());if(i.elidedGroups===0){t.push((0,E.simpleRegularExpression)(i.parsedAddress))}else if(i.elidedGroups===I.GROUPS){t.push((0,E.possibleElisions)(I.GROUPS))}else{const A=i.address.split("::");if(A[0].length){t.push((0,E.simpleRegularExpression)(A[0].split(":")))}assert(typeof i.elidedGroups==="number");t.push((0,E.possibleElisions)(i.elidedGroups,A[0].length!==0,A[1].length!==0));if(A[1].length){t.push((0,E.simpleRegularExpression)(A[1].split(":")))}t=[t.join(":")]}if(!A){t=["(?=^|",E.ADDRESS_BOUNDARY,"|[^\\w\\:])(",...t,")(?=[^\\w\\:]|",E.ADDRESS_BOUNDARY,"|$)"]}return t.join("")}regularExpression(A=false){return new RegExp(this.regularExpressionString(A),"i")}}t.Address6=Address6;const p=Object.keys(I.TYPES).map((A=>[new Address6(A),I.TYPES[A]]));const h=new Address6("2001::/32");const d=new Address6("2002::/16");const D=new Address6("fc00::/7");const y=new Address6("fe80::/10");const w=[new Address6("2001:db8::/32"),new Address6("3fff::/20")];const m=new Address6("2001:2::/48");const k=new Address6("2000::/3");const v=I.SPECIAL_PURPOSE.map((([A,,t])=>({subnet:new Address6(A),reachable:t})));const R=new Address6("::ffff:0:0/96");const N=new Address6("64:ff9b::/96");const x=new Address6("64:ff9b:1::/48")},2058:(A,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_PURPOSE=t.RE_SUBNET_STRING=t.RE_ADDRESS=t.GROUPS=t.BITS=void 0;t.BITS=32;t.GROUPS=4;t.RE_ADDRESS=/^(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])$/g;t.RE_SUBNET_STRING=/\/\d{1,2}$/;t.SPECIAL_PURPOSE=[["0.0.0.0/8","This network",false],["0.0.0.0/32","This host on this network",false],["10.0.0.0/8","Private-Use",false],["100.64.0.0/10","Shared Address Space",false],["127.0.0.0/8","Loopback",false],["169.254.0.0/16","Link Local",false],["172.16.0.0/12","Private-Use",false],["192.0.0.0/24","IETF Protocol Assignments",false],["192.0.0.0/29","IPv4 Service Continuity Prefix",false],["192.0.0.8/32","IPv4 dummy address",false],["192.0.0.9/32","Port Control Protocol Anycast",true],["192.0.0.10/32","Traversal Using Relays around NAT Anycast",true],["192.0.0.170/32","NAT64/DNS64 Discovery",false],["192.0.0.171/32","NAT64/DNS64 Discovery",false],["192.0.2.0/24","Documentation (TEST-NET-1)",false],["192.31.196.0/24","AS112-v4",true],["192.52.193.0/24","AMT",true],["192.88.99.0/24","Deprecated (6to4 Relay Anycast)",null],["192.88.99.2/32","6a44-relay anycast address",false],["192.168.0.0/16","Private-Use",false],["192.175.48.0/24","Direct Delegation AS112 Service",true],["198.18.0.0/15","Benchmarking",false],["198.51.100.0/24","Documentation (TEST-NET-2)",false],["203.0.113.0/24","Documentation (TEST-NET-3)",false],["240.0.0.0/4","Reserved",false],["255.255.255.255/32","Limited Broadcast",false]]},27420:(A,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SPECIAL_PURPOSE=t.RE_URL_WITH_PORT=t.RE_URL=t.RE_ZONE_STRING=t.RE_SUBNET_STRING=t.RE_BAD_ADDRESS=t.RE_BAD_CHARACTERS=t.TYPES=t.SCOPES=t.GROUPS=t.BITS=void 0;t.BITS=128;t.GROUPS=8;t.SCOPES={0:"Reserved",1:"Interface local",2:"Link local",4:"Admin local",5:"Site local",8:"Organization local",14:"Global",15:"Reserved"};t.TYPES={"ff01::1/128":"Multicast (All nodes on this interface)","ff01::2/128":"Multicast (All routers on this interface)","ff02::1/128":"Multicast (All nodes on this link)","ff02::2/128":"Multicast (All routers on this link)","ff05::2/128":"Multicast (All routers in this site)","ff02::5/128":"Multicast (OSPFv3 AllSPF routers)","ff02::6/128":"Multicast (OSPFv3 AllDR routers)","ff02::9/128":"Multicast (RIP routers)","ff02::a/128":"Multicast (EIGRP routers)","ff02::d/128":"Multicast (PIM routers)","ff02::16/128":"Multicast (MLDv2 reports)","ff01::fb/128":"Multicast (mDNSv6)","ff02::fb/128":"Multicast (mDNSv6)","ff05::fb/128":"Multicast (mDNSv6)","ff02::1:2/128":"Multicast (All DHCP servers and relay agents on this link)","ff05::1:2/128":"Multicast (All DHCP servers and relay agents in this site)","ff02::1:3/128":"Multicast (All DHCP servers on this link)","ff05::1:3/128":"Multicast (All DHCP servers in this site)","::/128":"Unspecified","::1/128":"Loopback","::ffff:0:0/96":"IPv4-mapped","ff00::/8":"Multicast","fe80::/10":"Link-local unicast","fc00::/7":"Unique local","2001::/32":"Teredo","2001:2::/48":"Benchmarking","2002::/16":"6to4","2001:db8::/32":"Documentation","3fff::/20":"Documentation","100::/64":"Discard-only","fec0::/10":"Site-local unicast (deprecated)","::/96":"IPv4-compatible (deprecated)","64:ff9b::/96":"NAT64 (well-known)","64:ff9b:1::/48":"NAT64 (local-use)"};t.RE_BAD_CHARACTERS=/([^0-9a-f:/%])/gi;t.RE_BAD_ADDRESS=/([0-9a-f]{5,}|:{3,}|[^:]:$|^:[^:]|\/$)/gi;t.RE_SUBNET_STRING=/\/\d{1,3}(?=%|$)/;t.RE_ZONE_STRING=/%.*$/;t.RE_URL=/^(?:\[([0-9a-f:.]+)\]|([0-9a-f:.]+))(?:[/?#].*)?$/i;t.RE_URL_WITH_PORT=/^\[([0-9a-f:.]+)\]:([0-9]{1,5})(?:[/?#].*)?$/i;t.SPECIAL_PURPOSE=[["::1/128","Loopback Address",false],["::/128","Unspecified Address",false],["::ffff:0:0/96","IPv4-mapped Address",false],["64:ff9b::/96","IPv4-IPv6 Translat.",true],["64:ff9b:1::/48","IPv4-IPv6 Translat.",false],["100::/64","Discard-Only Address Block",false],["100:0:0:1::/64","Dummy IPv6 Prefix",false],["2001::/23","IETF Protocol Assignments",false],["2001::/32","TEREDO",false],["2001:1::1/128","Port Control Protocol Anycast",true],["2001:1::2/128","Traversal Using Relays around NAT Anycast",true],["2001:1::3/128","DNS-SD Service Registration Protocol Anycast",true],["2001:2::/48","Benchmarking",false],["2001:3::/32","AMT",true],["2001:4:112::/48","AS112-v6",true],["2001:10::/28","Deprecated (previously ORCHID)",null],["2001:20::/28","ORCHIDv2",true],["2001:30::/28","Drone Remote ID Protocol Entity Tags (DETs) Prefix",true],["2001:db8::/32","Documentation",false],["2002::/16","6to4",false],["2620:4f:8000::/48","Direct Delegation AS112 Service",true],["3fff::/20","Documentation",false],["5f00::/16","Segment Routing (SRv6) SIDs",false],["fc00::/7","Unique-Local",false],["fe80::/10","Link-Local Unicast",false]]},77021:(A,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.escapeHtml=escapeHtml;t.spanAllZeroes=spanAllZeroes;t.spanAll=spanAll;t.spanLeadingZeroes=spanLeadingZeroes;t.simpleGroup=simpleGroup;function escapeHtml(A){return A.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}function spanAllZeroes(A){return escapeHtml(A).replace(/(0+)/g,'<span class="zero">$1</span>')}function spanAll(A,t=0){const i=A.split("");return i.map(((A,i)=>`<span class="digit value-${escapeHtml(A)} position-${i+t}">${spanAllZeroes(A)}</span>`)).join("")}function spanLeadingZeroesSimple(A){return escapeHtml(A).replace(/^(0+)/,'<span class="zero">$1</span>')}function spanLeadingZeroes(A){const t=A.split(":");return t.map((A=>spanLeadingZeroesSimple(A))).join(":")}function simpleGroup(A,t=0){const i=A.split(":");return i.map(((A,i)=>{if(/group-v4/.test(A)){return A}return`<span class="hover-group group-${i+t}">${spanLeadingZeroesSimple(A)}</span>`}))}},32776:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__setModuleDefault||(Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t});var s=this&&this.__importStar||function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))n(t,A,i);o(t,A);return t};Object.defineProperty(t,"__esModule",{value:true});t.ADDRESS_BOUNDARY=void 0;t.groupPossibilities=groupPossibilities;t.padGroup=padGroup;t.simpleRegularExpression=simpleRegularExpression;t.possibleElisions=possibleElisions;const g=s(i(27420));function groupPossibilities(A){return`(${A.join("|")})`}function padGroup(A){if(A.length<4){return`0{0,${4-A.length}}${A}`}return A}t.ADDRESS_BOUNDARY="[^A-Fa-f0-9:]";function simpleRegularExpression(A){const t=[];A.forEach(((A,i)=>{const n=parseInt(A,16);if(n===0){t.push(i)}}));const i=t.map((t=>A.map(((A,i)=>{if(i===t){const t=i===0||i===g.GROUPS-1?":":"";return groupPossibilities([padGroup(A),t])}return padGroup(A)})).join(":")));i.push(A.map(padGroup).join(":"));return groupPossibilities(i)}function possibleElisions(A,t,i){const n=t?"":":";const o=i?"":":";const s=[];if(!t&&!i){s.push("::")}if(t&&i){s.push("")}if(i&&!t||!i&&t){s.push(":")}s.push(`${n}(:0{1,4}){1,${A-1}}`);s.push(`(0{1,4}:){1,${A-1}}${o}`);s.push(`(0{1,4}:){${A-1}}0{1,4}`);for(let t=1;t<A-1;t++){for(let i=1;i<A-t;i++){s.push(`(0{1,4}:){${i}}:(0{1,4}:){${A-i-t-1}}0{1,4}`)}}return groupPossibilities(s)}},12617:function(A,t,i){"use strict";var n=this&&this.__awaiter||function(A,t,i,n){function adopt(A){return A instanceof i?A:new i((function(t){t(A)}))}return new(i||(i=Promise))((function(i,o){function fulfilled(A){try{step(n.next(A))}catch(A){o(A)}}function rejected(A){try{step(n["throw"](A))}catch(A){o(A)}}function step(A){A.done?i(A.value):adopt(A.value).then(fulfilled,rejected)}step((n=n.apply(A,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:true});t.SocksClientError=t.SocksClient=void 0;const o=i(82361);const s=i(41808);const g=i(71062);const a=i(46907);const I=i(75287);const B=i(44353);const Q=i(44820);Object.defineProperty(t,"SocksClientError",{enumerable:true,get:function(){return Q.SocksClientError}});const E=i(83213);class SocksClient extends o.EventEmitter{constructor(A){super();this.options=Object.assign({},A);(0,I.validateSocksClientOptions)(A);this.setState(a.SocksClientState.Created)}static createConnection(A,t){return new Promise(((i,n)=>{try{(0,I.validateSocksClientOptions)(A,["connect"])}catch(A){if(typeof t==="function"){t(A);return i(A)}else{return n(A)}}const o=new SocksClient(A);o.connect(A.existing_socket);o.once("established",(A=>{o.removeAllListeners();if(typeof t==="function"){t(null,A);i(A)}else{i(A)}}));o.once("error",(A=>{o.removeAllListeners();if(typeof t==="function"){t(A);i(A)}else{n(A)}}))}))}static createConnectionChain(A,t){return new Promise(((i,o)=>n(this,void 0,void 0,(function*(){try{(0,I.validateSocksClientChainOptions)(A)}catch(A){if(typeof t==="function"){t(A);return i(A)}else{return o(A)}}if(A.randomizeChain){(0,Q.shuffleArray)(A.proxies)}try{let n;for(let t=0;t<A.proxies.length;t++){const i=A.proxies[t];const o=t===A.proxies.length-1?A.destination:{host:A.proxies[t+1].host||A.proxies[t+1].ipaddress,port:A.proxies[t+1].port};const s=yield SocksClient.createConnection({command:"connect",proxy:i,destination:o,existing_socket:n});n=n||s.socket}if(typeof t==="function"){t(null,{socket:n});i({socket:n})}else{i({socket:n})}}catch(A){if(typeof t==="function"){t(A);i(A)}else{o(A)}}}))))}static createUDPFrame(A){const t=new g.SmartBuffer;t.writeUInt16BE(0);t.writeUInt8(A.frameNumber||0);if(s.isIPv4(A.remoteHost.host)){t.writeUInt8(a.Socks5HostType.IPv4);t.writeUInt32BE((0,I.ipv4ToInt32)(A.remoteHost.host))}else if(s.isIPv6(A.remoteHost.host)){t.writeUInt8(a.Socks5HostType.IPv6);t.writeBuffer((0,I.ipToBuffer)(A.remoteHost.host))}else{t.writeUInt8(a.Socks5HostType.Hostname);t.writeUInt8(Buffer.byteLength(A.remoteHost.host));t.writeString(A.remoteHost.host)}t.writeUInt16BE(A.remoteHost.port);t.writeBuffer(A.data);return t.toBuffer()}static parseUDPFrame(A){const t=g.SmartBuffer.fromBuffer(A);t.readOffset=2;const i=t.readUInt8();const n=t.readUInt8();let o;if(n===a.Socks5HostType.IPv4){o=(0,I.int32ToIpv4)(t.readUInt32BE())}else if(n===a.Socks5HostType.IPv6){o=E.Address6.fromByteArray(Array.from(t.readBuffer(16))).canonicalForm()}else{o=t.readString(t.readUInt8())}const s=t.readUInt16BE();return{frameNumber:i,remoteHost:{host:o,port:s},data:t.readBuffer()}}setState(A){if(this.state!==a.SocksClientState.Error){this.state=A}}connect(A){this.onDataReceived=A=>this.onDataReceivedHandler(A);this.onClose=()=>this.onCloseHandler();this.onError=A=>this.onErrorHandler(A);this.onConnect=()=>this.onConnectHandler();const t=setTimeout((()=>this.onEstablishedTimeout()),this.options.timeout||a.DEFAULT_TIMEOUT);if(t.unref&&typeof t.unref==="function"){t.unref()}if(A){this.socket=A}else{this.socket=new s.Socket}this.socket.once("close",this.onClose);this.socket.once("error",this.onError);this.socket.once("connect",this.onConnect);this.socket.on("data",this.onDataReceived);this.setState(a.SocksClientState.Connecting);this.receiveBuffer=new B.ReceiveBuffer;if(A){this.socket.emit("connect")}else{this.socket.connect(this.getSocketOptions());if(this.options.set_tcp_nodelay!==undefined&&this.options.set_tcp_nodelay!==null){this.socket.setNoDelay(!!this.options.set_tcp_nodelay)}}this.prependOnceListener("established",(A=>{setImmediate((()=>{if(this.receiveBuffer.length>0){const t=this.receiveBuffer.get(this.receiveBuffer.length);A.socket.emit("data",t)}A.socket.resume()}))}))}getSocketOptions(){return Object.assign(Object.assign({},this.options.socket_options),{host:this.options.proxy.host||this.options.proxy.ipaddress,port:this.options.proxy.port})}onEstablishedTimeout(){if(this.state!==a.SocksClientState.Established&&this.state!==a.SocksClientState.BoundWaitingForConnection){this.closeSocket(a.ERRORS.ProxyConnectionTimedOut)}}onConnectHandler(){this.setState(a.SocksClientState.Connected);if(this.options.proxy.type===4){this.sendSocks4InitialHandshake()}else{this.sendSocks5InitialHandshake()}this.setState(a.SocksClientState.SentInitialHandshake)}onDataReceivedHandler(A){this.receiveBuffer.append(A);this.processData()}processData(){while(this.state!==a.SocksClientState.Established&&this.state!==a.SocksClientState.Error&&this.receiveBuffer.length>=this.nextRequiredPacketBufferSize){if(this.state===a.SocksClientState.SentInitialHandshake){if(this.options.proxy.type===4){this.handleSocks4FinalHandshakeResponse()}else{this.handleInitialSocks5HandshakeResponse()}}else if(this.state===a.SocksClientState.SentAuthentication){this.handleInitialSocks5AuthenticationHandshakeResponse()}else if(this.state===a.SocksClientState.SentFinalHandshake){this.handleSocks5FinalHandshakeResponse()}else if(this.state===a.SocksClientState.BoundWaitingForConnection){if(this.options.proxy.type===4){this.handleSocks4IncomingConnectionResponse()}else{this.handleSocks5IncomingConnectionResponse()}}else{this.closeSocket(a.ERRORS.InternalError);break}}}onCloseHandler(){this.closeSocket(a.ERRORS.SocketClosed)}onErrorHandler(A){this.closeSocket(A.message)}removeInternalSocketHandlers(){this.socket.pause();this.socket.removeListener("data",this.onDataReceived);this.socket.removeListener("close",this.onClose);this.socket.removeListener("error",this.onError);this.socket.removeListener("connect",this.onConnect)}closeSocket(A){if(this.state!==a.SocksClientState.Error){this.setState(a.SocksClientState.Error);this.socket.destroy();this.removeInternalSocketHandlers();this.emit("error",new Q.SocksClientError(A,this.options))}}sendSocks4InitialHandshake(){const A=this.options.proxy.userId||"";const t=new g.SmartBuffer;t.writeUInt8(4);t.writeUInt8(a.SocksCommand[this.options.command]);t.writeUInt16BE(this.options.destination.port);if(s.isIPv4(this.options.destination.host)){t.writeBuffer((0,I.ipToBuffer)(this.options.destination.host));t.writeStringNT(A)}else{t.writeUInt8(0);t.writeUInt8(0);t.writeUInt8(0);t.writeUInt8(1);t.writeStringNT(A);t.writeStringNT(this.options.destination.host)}this.nextRequiredPacketBufferSize=a.SOCKS_INCOMING_PACKET_SIZES.Socks4Response;this.socket.write(t.toBuffer())}handleSocks4FinalHandshakeResponse(){const A=this.receiveBuffer.get(8);if(A[1]!==a.Socks4Response.Granted){this.closeSocket(`${a.ERRORS.Socks4ProxyRejectedConnection} - (${a.Socks4Response[A[1]]})`)}else{if(a.SocksCommand[this.options.command]===a.SocksCommand.bind){const t=g.SmartBuffer.fromBuffer(A);t.readOffset=2;const i={port:t.readUInt16BE(),host:(0,I.int32ToIpv4)(t.readUInt32BE())};if(i.host==="0.0.0.0"){i.host=this.options.proxy.ipaddress}this.setState(a.SocksClientState.BoundWaitingForConnection);this.emit("bound",{remoteHost:i,socket:this.socket})}else{this.setState(a.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{socket:this.socket})}}}handleSocks4IncomingConnectionResponse(){const A=this.receiveBuffer.get(8);if(A[1]!==a.Socks4Response.Granted){this.closeSocket(`${a.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${a.Socks4Response[A[1]]})`)}else{const t=g.SmartBuffer.fromBuffer(A);t.readOffset=2;const i={port:t.readUInt16BE(),host:(0,I.int32ToIpv4)(t.readUInt32BE())};this.setState(a.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{remoteHost:i,socket:this.socket})}}sendSocks5InitialHandshake(){const A=new g.SmartBuffer;const t=[a.Socks5Auth.NoAuth];if(this.options.proxy.userId||this.options.proxy.password){t.push(a.Socks5Auth.UserPass)}if(this.options.proxy.custom_auth_method!==undefined){t.push(this.options.proxy.custom_auth_method)}A.writeUInt8(5);A.writeUInt8(t.length);for(const i of t){A.writeUInt8(i)}this.nextRequiredPacketBufferSize=a.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse;this.socket.write(A.toBuffer());this.setState(a.SocksClientState.SentInitialHandshake)}handleInitialSocks5HandshakeResponse(){const A=this.receiveBuffer.get(2);if(A[0]!==5){this.closeSocket(a.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion)}else if(A[1]===a.SOCKS5_NO_ACCEPTABLE_AUTH){this.closeSocket(a.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType)}else{if(A[1]===a.Socks5Auth.NoAuth){this.socks5ChosenAuthType=a.Socks5Auth.NoAuth;this.sendSocks5CommandRequest()}else if(A[1]===a.Socks5Auth.UserPass){this.socks5ChosenAuthType=a.Socks5Auth.UserPass;this.sendSocks5UserPassAuthentication()}else if(A[1]===this.options.proxy.custom_auth_method){this.socks5ChosenAuthType=this.options.proxy.custom_auth_method;this.sendSocks5CustomAuthentication()}else{this.closeSocket(a.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType)}}}sendSocks5UserPassAuthentication(){const A=this.options.proxy.userId||"";const t=this.options.proxy.password||"";const i=new g.SmartBuffer;i.writeUInt8(1);i.writeUInt8(Buffer.byteLength(A));i.writeString(A);i.writeUInt8(Buffer.byteLength(t));i.writeString(t);this.nextRequiredPacketBufferSize=a.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse;this.socket.write(i.toBuffer());this.setState(a.SocksClientState.SentAuthentication)}sendSocks5CustomAuthentication(){return n(this,void 0,void 0,(function*(){this.nextRequiredPacketBufferSize=this.options.proxy.custom_auth_response_size;this.socket.write(yield this.options.proxy.custom_auth_request_handler());this.setState(a.SocksClientState.SentAuthentication)}))}handleSocks5CustomAuthHandshakeResponse(A){return n(this,void 0,void 0,(function*(){return yield this.options.proxy.custom_auth_response_handler(A)}))}handleSocks5AuthenticationNoAuthHandshakeResponse(A){return n(this,void 0,void 0,(function*(){return A[1]===0}))}handleSocks5AuthenticationUserPassHandshakeResponse(A){return n(this,void 0,void 0,(function*(){return A[1]===0}))}handleInitialSocks5AuthenticationHandshakeResponse(){return n(this,void 0,void 0,(function*(){this.setState(a.SocksClientState.ReceivedAuthenticationResponse);let A=false;if(this.socks5ChosenAuthType===a.Socks5Auth.NoAuth){A=yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2))}else if(this.socks5ChosenAuthType===a.Socks5Auth.UserPass){A=yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2))}else if(this.socks5ChosenAuthType===this.options.proxy.custom_auth_method){A=yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size))}if(!A){this.closeSocket(a.ERRORS.Socks5AuthenticationFailed)}else{this.sendSocks5CommandRequest()}}))}sendSocks5CommandRequest(){const A=new g.SmartBuffer;A.writeUInt8(5);A.writeUInt8(a.SocksCommand[this.options.command]);A.writeUInt8(0);if(s.isIPv4(this.options.destination.host)){A.writeUInt8(a.Socks5HostType.IPv4);A.writeBuffer((0,I.ipToBuffer)(this.options.destination.host))}else if(s.isIPv6(this.options.destination.host)){A.writeUInt8(a.Socks5HostType.IPv6);A.writeBuffer((0,I.ipToBuffer)(this.options.destination.host))}else{A.writeUInt8(a.Socks5HostType.Hostname);A.writeUInt8(this.options.destination.host.length);A.writeString(this.options.destination.host)}A.writeUInt16BE(this.options.destination.port);this.nextRequiredPacketBufferSize=a.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader;this.socket.write(A.toBuffer());this.setState(a.SocksClientState.SentFinalHandshake)}handleSocks5FinalHandshakeResponse(){const A=this.receiveBuffer.peek(5);if(A[0]!==5||A[1]!==a.Socks5Response.Granted){this.closeSocket(`${a.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${a.Socks5Response[A[1]]}`)}else{const t=A[3];let i;let n;if(t===a.Socks5HostType.IPv4){const A=a.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<A){this.nextRequiredPacketBufferSize=A;return}n=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(A).slice(4));i={host:(0,I.int32ToIpv4)(n.readUInt32BE()),port:n.readUInt16BE()};if(i.host==="0.0.0.0"){i.host=this.options.proxy.ipaddress}}else if(t===a.Socks5HostType.Hostname){const t=A[4];const o=a.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(t);if(this.receiveBuffer.length<o){this.nextRequiredPacketBufferSize=o;return}n=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(o).slice(5));i={host:n.readString(t),port:n.readUInt16BE()}}else if(t===a.Socks5HostType.IPv6){const A=a.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<A){this.nextRequiredPacketBufferSize=A;return}n=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(A).slice(4));i={host:E.Address6.fromByteArray(Array.from(n.readBuffer(16))).canonicalForm(),port:n.readUInt16BE()}}this.setState(a.SocksClientState.ReceivedFinalResponse);if(a.SocksCommand[this.options.command]===a.SocksCommand.connect){this.setState(a.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{remoteHost:i,socket:this.socket})}else if(a.SocksCommand[this.options.command]===a.SocksCommand.bind){this.setState(a.SocksClientState.BoundWaitingForConnection);this.nextRequiredPacketBufferSize=a.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader;this.emit("bound",{remoteHost:i,socket:this.socket})}else if(a.SocksCommand[this.options.command]===a.SocksCommand.associate){this.setState(a.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{remoteHost:i,socket:this.socket})}}}handleSocks5IncomingConnectionResponse(){const A=this.receiveBuffer.peek(5);if(A[0]!==5||A[1]!==a.Socks5Response.Granted){this.closeSocket(`${a.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${a.Socks5Response[A[1]]}`)}else{const t=A[3];let i;let n;if(t===a.Socks5HostType.IPv4){const A=a.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4;if(this.receiveBuffer.length<A){this.nextRequiredPacketBufferSize=A;return}n=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(A).slice(4));i={host:(0,I.int32ToIpv4)(n.readUInt32BE()),port:n.readUInt16BE()};if(i.host==="0.0.0.0"){i.host=this.options.proxy.ipaddress}}else if(t===a.Socks5HostType.Hostname){const t=A[4];const o=a.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(t);if(this.receiveBuffer.length<o){this.nextRequiredPacketBufferSize=o;return}n=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(o).slice(5));i={host:n.readString(t),port:n.readUInt16BE()}}else if(t===a.Socks5HostType.IPv6){const A=a.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6;if(this.receiveBuffer.length<A){this.nextRequiredPacketBufferSize=A;return}n=g.SmartBuffer.fromBuffer(this.receiveBuffer.get(A).slice(4));i={host:E.Address6.fromByteArray(Array.from(n.readBuffer(16))).canonicalForm(),port:n.readUInt16BE()}}this.setState(a.SocksClientState.Established);this.removeInternalSocketHandlers();this.emit("established",{remoteHost:i,socket:this.socket})}}get socksClientOptions(){return Object.assign({},this.options)}}t.SocksClient=SocksClient},46907:(A,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SOCKS5_NO_ACCEPTABLE_AUTH=t.SOCKS5_CUSTOM_AUTH_END=t.SOCKS5_CUSTOM_AUTH_START=t.SOCKS_INCOMING_PACKET_SIZES=t.SocksClientState=t.Socks5Response=t.Socks5HostType=t.Socks5Auth=t.Socks4Response=t.SocksCommand=t.ERRORS=t.DEFAULT_TIMEOUT=void 0;const i=3e4;t.DEFAULT_TIMEOUT=i;const n={InvalidSocksCommand:"An invalid SOCKS command was provided. Valid options are connect, bind, and associate.",InvalidSocksCommandForOperation:"An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.",InvalidSocksCommandChain:"An invalid SOCKS command was provided. Chaining currently only supports the connect command.",InvalidSocksClientOptionsDestination:"An invalid destination host was provided.",InvalidSocksClientOptionsExistingSocket:"An invalid existing socket was provided. This should be an instance of stream.Duplex.",InvalidSocksClientOptionsProxy:"Invalid SOCKS proxy details were provided.",InvalidSocksClientOptionsTimeout:"An invalid timeout value was provided. Please enter a value above 0 (in ms).",InvalidSocksClientOptionsProxiesLength:"At least two socks proxies must be provided for chaining.",InvalidSocksClientOptionsCustomAuthRange:"Custom auth must be a value between 0x80 and 0xFE.",InvalidSocksClientOptionsCustomAuthOptions:"When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.",NegotiationError:"Negotiation error",SocketClosed:"Socket closed",ProxyConnectionTimedOut:"Proxy connection timed out",InternalError:"SocksClient internal error (this should not happen)",InvalidSocks4HandshakeResponse:"Received invalid Socks4 handshake response",Socks4ProxyRejectedConnection:"Socks4 Proxy rejected connection",InvalidSocks4IncomingConnectionResponse:"Socks4 invalid incoming connection response",Socks4ProxyRejectedIncomingBoundConnection:"Socks4 Proxy rejected incoming bound connection",InvalidSocks5InitialHandshakeResponse:"Received invalid Socks5 initial handshake response",InvalidSocks5IntiailHandshakeSocksVersion:"Received invalid Socks5 initial handshake (invalid socks version)",InvalidSocks5InitialHandshakeNoAcceptedAuthType:"Received invalid Socks5 initial handshake (no accepted authentication type)",InvalidSocks5InitialHandshakeUnknownAuthType:"Received invalid Socks5 initial handshake (unknown authentication type)",Socks5AuthenticationFailed:"Socks5 Authentication failed",InvalidSocks5FinalHandshake:"Received invalid Socks5 final handshake response",InvalidSocks5FinalHandshakeRejected:"Socks5 proxy rejected connection",InvalidSocks5IncomingConnectionResponse:"Received invalid Socks5 incoming connection response",Socks5ProxyRejectedIncomingBoundConnection:"Socks5 Proxy rejected incoming bound connection"};t.ERRORS=n;const o={Socks5InitialHandshakeResponse:2,Socks5UserPassAuthenticationResponse:2,Socks5ResponseHeader:5,Socks5ResponseIPv4:10,Socks5ResponseIPv6:22,Socks5ResponseHostname:A=>A+7,Socks4Response:8};t.SOCKS_INCOMING_PACKET_SIZES=o;var s;(function(A){A[A["connect"]=1]="connect";A[A["bind"]=2]="bind";A[A["associate"]=3]="associate"})(s||(t.SocksCommand=s={}));var g;(function(A){A[A["Granted"]=90]="Granted";A[A["Failed"]=91]="Failed";A[A["Rejected"]=92]="Rejected";A[A["RejectedIdent"]=93]="RejectedIdent"})(g||(t.Socks4Response=g={}));var a;(function(A){A[A["NoAuth"]=0]="NoAuth";A[A["GSSApi"]=1]="GSSApi";A[A["UserPass"]=2]="UserPass"})(a||(t.Socks5Auth=a={}));const I=128;t.SOCKS5_CUSTOM_AUTH_START=I;const B=254;t.SOCKS5_CUSTOM_AUTH_END=B;const Q=255;t.SOCKS5_NO_ACCEPTABLE_AUTH=Q;var E;(function(A){A[A["Granted"]=0]="Granted";A[A["Failure"]=1]="Failure";A[A["NotAllowed"]=2]="NotAllowed";A[A["NetworkUnreachable"]=3]="NetworkUnreachable";A[A["HostUnreachable"]=4]="HostUnreachable";A[A["ConnectionRefused"]=5]="ConnectionRefused";A[A["TTLExpired"]=6]="TTLExpired";A[A["CommandNotSupported"]=7]="CommandNotSupported";A[A["AddressNotSupported"]=8]="AddressNotSupported"})(E||(t.Socks5Response=E={}));var c;(function(A){A[A["IPv4"]=1]="IPv4";A[A["Hostname"]=3]="Hostname";A[A["IPv6"]=4]="IPv6"})(c||(t.Socks5HostType=c={}));var u;(function(A){A[A["Created"]=0]="Created";A[A["Connecting"]=1]="Connecting";A[A["Connected"]=2]="Connected";A[A["SentInitialHandshake"]=3]="SentInitialHandshake";A[A["ReceivedInitialHandshakeResponse"]=4]="ReceivedInitialHandshakeResponse";A[A["SentAuthentication"]=5]="SentAuthentication";A[A["ReceivedAuthenticationResponse"]=6]="ReceivedAuthenticationResponse";A[A["SentFinalHandshake"]=7]="SentFinalHandshake";A[A["ReceivedFinalResponse"]=8]="ReceivedFinalResponse";A[A["BoundWaitingForConnection"]=9]="BoundWaitingForConnection";A[A["Established"]=10]="Established";A[A["Disconnected"]=11]="Disconnected";A[A["Error"]=99]="Error"})(u||(t.SocksClientState=u={}))},75287:(A,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.validateSocksClientOptions=validateSocksClientOptions;t.validateSocksClientChainOptions=validateSocksClientChainOptions;t.ipv4ToInt32=ipv4ToInt32;t.int32ToIpv4=int32ToIpv4;t.ipToBuffer=ipToBuffer;const n=i(44820);const o=i(46907);const s=i(12781);const g=i(83213);const a=i(41808);function validateSocksClientOptions(A,t=["connect","bind","associate"]){if(!o.SocksCommand[A.command]){throw new n.SocksClientError(o.ERRORS.InvalidSocksCommand,A)}if(t.indexOf(A.command)===-1){throw new n.SocksClientError(o.ERRORS.InvalidSocksCommandForOperation,A)}if(!isValidSocksRemoteHost(A.destination)){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsDestination,A)}if(!isValidSocksProxy(A.proxy)){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsProxy,A)}validateCustomProxyAuth(A.proxy,A);if(A.timeout&&!isValidTimeoutValue(A.timeout)){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsTimeout,A)}if(A.existing_socket&&!(A.existing_socket instanceof s.Duplex)){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsExistingSocket,A)}}function validateSocksClientChainOptions(A){if(A.command!=="connect"){throw new n.SocksClientError(o.ERRORS.InvalidSocksCommandChain,A)}if(!isValidSocksRemoteHost(A.destination)){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsDestination,A)}if(!(A.proxies&&Array.isArray(A.proxies)&&A.proxies.length>=2)){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsProxiesLength,A)}A.proxies.forEach((t=>{if(!isValidSocksProxy(t)){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsProxy,A)}validateCustomProxyAuth(t,A)}));if(A.timeout&&!isValidTimeoutValue(A.timeout)){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsTimeout,A)}}function validateCustomProxyAuth(A,t){if(A.custom_auth_method!==undefined){if(A.custom_auth_method<o.SOCKS5_CUSTOM_AUTH_START||A.custom_auth_method>o.SOCKS5_CUSTOM_AUTH_END){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsCustomAuthRange,t)}if(A.custom_auth_request_handler===undefined||typeof A.custom_auth_request_handler!=="function"){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,t)}if(A.custom_auth_response_size===undefined){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,t)}if(A.custom_auth_response_handler===undefined||typeof A.custom_auth_response_handler!=="function"){throw new n.SocksClientError(o.ERRORS.InvalidSocksClientOptionsCustomAuthOptions,t)}}}function isValidSocksRemoteHost(A){return A&&typeof A.host==="string"&&Buffer.byteLength(A.host)<256&&typeof A.port==="number"&&A.port>=0&&A.port<=65535}function isValidSocksProxy(A){return A&&(typeof A.host==="string"||typeof A.ipaddress==="string")&&typeof A.port==="number"&&A.port>=0&&A.port<=65535&&(A.type===4||A.type===5)}function isValidTimeoutValue(A){return typeof A==="number"&&A>0}function ipv4ToInt32(A){const t=new g.Address4(A);return t.toArray().reduce(((A,t)=>(A<<8)+t),0)>>>0}function int32ToIpv4(A){const t=A>>>24&255;const i=A>>>16&255;const n=A>>>8&255;const o=A&255;return[t,i,n,o].join(".")}function ipToBuffer(A){if(a.isIPv4(A)){const t=new g.Address4(A);return Buffer.from(t.toArray())}else if(a.isIPv6(A)){const t=new g.Address6(A);return Buffer.from(t.canonicalForm().split(":").map((A=>A.padStart(4,"0"))).join(""),"hex")}else{throw new Error("Invalid IP address format")}}},44353:(A,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.ReceiveBuffer=void 0;class ReceiveBuffer{constructor(A=4096){this.buffer=Buffer.allocUnsafe(A);this.offset=0;this.originalSize=A}get length(){return this.offset}append(A){if(!Buffer.isBuffer(A)){throw new Error("Attempted to append a non-buffer instance to ReceiveBuffer.")}if(this.offset+A.length>=this.buffer.length){const t=this.buffer;this.buffer=Buffer.allocUnsafe(Math.max(this.buffer.length+this.originalSize,this.buffer.length+A.length));t.copy(this.buffer)}A.copy(this.buffer,this.offset);return this.offset+=A.length}peek(A){if(A>this.offset){throw new Error("Attempted to read beyond the bounds of the managed internal data.")}return this.buffer.slice(0,A)}get(A){if(A>this.offset){throw new Error("Attempted to read beyond the bounds of the managed internal data.")}const t=Buffer.allocUnsafe(A);this.buffer.slice(0,A).copy(t);this.buffer.copyWithin(0,A,A+this.offset-A);this.offset-=A;return t}}t.ReceiveBuffer=ReceiveBuffer},44820:(A,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:true});t.SocksClientError=void 0;t.shuffleArray=shuffleArray;class SocksClientError extends Error{constructor(A,t){super(A);this.options=t}}t.SocksClientError=SocksClientError;function shuffleArray(A){for(let t=A.length-1;t>0;t--){const i=Math.floor(Math.random()*(t+1));[A[t],A[i]]=[A[i],A[t]]}}},70786:function(A,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]});var o=this&&this.__exportStar||function(A,t){for(var i in A)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))n(t,A,i)};Object.defineProperty(t,"__esModule",{value:true});o(i(12617),t)},26375:(A,t,i)=>{var n=i(12344);var o=Object.prototype.hasOwnProperty;var s=typeof Map!=="undefined";function ArraySet(){this._array=[];this._set=s?new Map:Object.create(null)}ArraySet.fromArray=function ArraySet_fromArray(A,t){var i=new ArraySet;for(var n=0,o=A.length;n<o;n++){i.add(A[n],t)}return i};ArraySet.prototype.size=function ArraySet_size(){return s?this._set.size:Object.getOwnPropertyNames(this._set).length};ArraySet.prototype.add=function ArraySet_add(A,t){var i=s?A:n.toSetString(A);var g=s?this.has(A):o.call(this._set,i);var a=this._array.length;if(!g||t){this._array.push(A)}if(!g){if(s){this._set.set(A,a)}else{this._set[i]=a}}};ArraySet.prototype.has=function ArraySet_has(A){if(s){return this._set.has(A)}else{var t=n.toSetString(A);return o.call(this._set,t)}};ArraySet.prototype.indexOf=function ArraySet_indexOf(A){if(s){var t=this._set.get(A);if(t>=0){return t}}else{var i=n.toSetString(A);if(o.call(this._set,i)){return this._set[i]}}throw new Error('"'+A+'" is not in the set.')};ArraySet.prototype.at=function ArraySet_at(A){if(A>=0&&A<this._array.length){return this._array[A]}throw new Error("No element indexed by "+A)};ArraySet.prototype.toArray=function ArraySet_toArray(){return this._array.slice()};t.I=ArraySet},10975:(A,t,i)=>{var n=i(6156);var o=5;var s=1<<o;var g=s-1;var a=s;function toVLQSigned(A){return A<0?(-A<<1)+1:(A<<1)+0}function fromVLQSigned(A){var t=(A&1)===1;var i=A>>1;return t?-i:i}t.encode=function base64VLQ_encode(A){var t="";var i;var s=toVLQSigned(A);do{i=s&g;s>>>=o;if(s>0){i|=a}t+=n.encode(i)}while(s>0);return t};t.decode=function base64VLQ_decode(A,t,i){var s=A.length;var I=0;var B=0;var Q,E;do{if(t>=s){throw new Error("Expected more digits in base 64 VLQ value.")}E=n.decode(A.charCodeAt(t++));if(E===-1){throw new Error("Invalid base64 digit: "+A.charAt(t-1))}Q=!!(E&a);E&=g;I=I+(E<<B);B+=o}while(Q);i.value=fromVLQSigned(I);i.rest=t}},6156:(A,t)=>{var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(A){if(0<=A&&A<i.length){return i[A]}throw new TypeError("Must be between 0 and 63: "+A)};t.decode=function(A){var t=65;var i=90;var n=97;var o=122;var s=48;var g=57;var a=43;var I=47;var B=26;var Q=52;if(t<=A&&A<=i){return A-t}if(n<=A&&A<=o){return A-n+B}if(s<=A&&A<=g){return A-s+Q}if(A==a){return 62}if(A==I){return 63}return-1}},33600:(A,t)=>{t.GREATEST_LOWER_BOUND=1;t.LEAST_UPPER_BOUND=2;function recursiveSearch(A,i,n,o,s,g){var a=Math.floor((i-A)/2)+A;var I=s(n,o[a],true);if(I===0){return a}else if(I>0){if(i-a>1){return recursiveSearch(a,i,n,o,s,g)}if(g==t.LEAST_UPPER_BOUND){return i<o.length?i:-1}else{return a}}else{if(a-A>1){return recursiveSearch(A,a,n,o,s,g)}if(g==t.LEAST_UPPER_BOUND){return a}else{return A<0?-1:A}}}t.search=function search(A,i,n,o){if(i.length===0){return-1}var s=recursiveSearch(-1,i.length,A,i,n,o||t.GREATEST_LOWER_BOUND);if(s<0){return-1}while(s-1>=0){if(n(i[s],i[s-1],true)!==0){break}--s}return s}},86817:(A,t,i)=>{var n=i(12344);function generatedPositionAfter(A,t){var i=A.generatedLine;var o=t.generatedLine;var s=A.generatedColumn;var g=t.generatedColumn;return o>i||o==i&&g>=s||n.compareByGeneratedPositionsInflated(A,t)<=0}function MappingList(){this._array=[];this._sorted=true;this._last={generatedLine:-1,generatedColumn:0}}MappingList.prototype.unsortedForEach=function MappingList_forEach(A,t){this._array.forEach(A,t)};MappingList.prototype.add=function MappingList_add(A){if(generatedPositionAfter(this._last,A)){this._last=A;this._array.push(A)}else{this._sorted=false;this._array.push(A)}};MappingList.prototype.toArray=function MappingList_toArray(){if(!this._sorted){this._array.sort(n.compareByGeneratedPositionsInflated);this._sorted=true}return this._array};t.H=MappingList},73254:(A,t)=>{function swap(A,t,i){var n=A[t];A[t]=A[i];A[i]=n}function randomIntInRange(A,t){return Math.round(A+Math.random()*(t-A))}function doQuickSort(A,t,i,n){if(i<n){var o=randomIntInRange(i,n);var s=i-1;swap(A,o,n);var g=A[n];for(var a=i;a<n;a++){if(t(A[a],g)<=0){s+=1;swap(A,s,a)}}swap(A,s+1,a);var I=s+1;doQuickSort(A,t,i,I-1);doQuickSort(A,t,I+1,n)}}t.U=function(A,t){doQuickSort(A,t,0,A.length-1)}},75155:(A,t,i)=>{var n;var o=i(12344);var s=i(33600);var g=i(26375).I;var a=i(10975);var I=i(73254).U;function SourceMapConsumer(A,t){var i=A;if(typeof A==="string"){i=o.parseSourceMapInput(A)}return i.sections!=null?new IndexedSourceMapConsumer(i,t):new BasicSourceMapConsumer(i,t)}SourceMapConsumer.fromSourceMap=function(A,t){return BasicSourceMapConsumer.fromSourceMap(A,t)};SourceMapConsumer.prototype._version=3;SourceMapConsumer.prototype.__generatedMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_generatedMappings",{configurable:true,enumerable:true,get:function(){if(!this.__generatedMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__generatedMappings}});SourceMapConsumer.prototype.__originalMappings=null;Object.defineProperty(SourceMapConsumer.prototype,"_originalMappings",{configurable:true,enumerable:true,get:function(){if(!this.__originalMappings){this._parseMappings(this._mappings,this.sourceRoot)}return this.__originalMappings}});SourceMapConsumer.prototype._charIsMappingSeparator=function SourceMapConsumer_charIsMappingSeparator(A,t){var i=A.charAt(t);return i===";"||i===","};SourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(A,t){throw new Error("Subclasses must implement _parseMappings")};SourceMapConsumer.GENERATED_ORDER=1;SourceMapConsumer.ORIGINAL_ORDER=2;SourceMapConsumer.GREATEST_LOWER_BOUND=1;SourceMapConsumer.LEAST_UPPER_BOUND=2;SourceMapConsumer.prototype.eachMapping=function SourceMapConsumer_eachMapping(A,t,i){var n=t||null;var s=i||SourceMapConsumer.GENERATED_ORDER;var g;switch(s){case SourceMapConsumer.GENERATED_ORDER:g=this._generatedMappings;break;case SourceMapConsumer.ORIGINAL_ORDER:g=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var a=this.sourceRoot;g.map((function(A){var t=A.source===null?null:this._sources.at(A.source);t=o.computeSourceURL(a,t,this._sourceMapURL);return{source:t,generatedLine:A.generatedLine,generatedColumn:A.generatedColumn,originalLine:A.originalLine,originalColumn:A.originalColumn,name:A.name===null?null:this._names.at(A.name)}}),this).forEach(A,n)};SourceMapConsumer.prototype.allGeneratedPositionsFor=function SourceMapConsumer_allGeneratedPositionsFor(A){var t=o.getArg(A,"line");var i={source:o.getArg(A,"source"),originalLine:t,originalColumn:o.getArg(A,"column",0)};i.source=this._findSourceIndex(i.source);if(i.source<0){return[]}var n=[];var g=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,s.LEAST_UPPER_BOUND);if(g>=0){var a=this._originalMappings[g];if(A.column===undefined){var I=a.originalLine;while(a&&a.originalLine===I){n.push({line:o.getArg(a,"generatedLine",null),column:o.getArg(a,"generatedColumn",null),lastColumn:o.getArg(a,"lastGeneratedColumn",null)});a=this._originalMappings[++g]}}else{var B=a.originalColumn;while(a&&a.originalLine===t&&a.originalColumn==B){n.push({line:o.getArg(a,"generatedLine",null),column:o.getArg(a,"generatedColumn",null),lastColumn:o.getArg(a,"lastGeneratedColumn",null)});a=this._originalMappings[++g]}}}return n};n=SourceMapConsumer;function BasicSourceMapConsumer(A,t){var i=A;if(typeof A==="string"){i=o.parseSourceMapInput(A)}var n=o.getArg(i,"version");var s=o.getArg(i,"sources");var a=o.getArg(i,"names",[]);var I=o.getArg(i,"sourceRoot",null);var B=o.getArg(i,"sourcesContent",null);var Q=o.getArg(i,"mappings");var E=o.getArg(i,"file",null);if(n!=this._version){throw new Error("Unsupported version: "+n)}if(I){I=o.normalize(I)}s=s.map(String).map(o.normalize).map((function(A){return I&&o.isAbsolute(I)&&o.isAbsolute(A)?o.relative(I,A):A}));this._names=g.fromArray(a.map(String),true);this._sources=g.fromArray(s,true);this._absoluteSources=this._sources.toArray().map((function(A){return o.computeSourceURL(I,A,t)}));this.sourceRoot=I;this.sourcesContent=B;this._mappings=Q;this._sourceMapURL=t;this.file=E}BasicSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);BasicSourceMapConsumer.prototype.consumer=SourceMapConsumer;BasicSourceMapConsumer.prototype._findSourceIndex=function(A){var t=A;if(this.sourceRoot!=null){t=o.relative(this.sourceRoot,t)}if(this._sources.has(t)){return this._sources.indexOf(t)}var i;for(i=0;i<this._absoluteSources.length;++i){if(this._absoluteSources[i]==A){return i}}return-1};BasicSourceMapConsumer.fromSourceMap=function SourceMapConsumer_fromSourceMap(A,t){var i=Object.create(BasicSourceMapConsumer.prototype);var n=i._names=g.fromArray(A._names.toArray(),true);var s=i._sources=g.fromArray(A._sources.toArray(),true);i.sourceRoot=A._sourceRoot;i.sourcesContent=A._generateSourcesContent(i._sources.toArray(),i.sourceRoot);i.file=A._file;i._sourceMapURL=t;i._absoluteSources=i._sources.toArray().map((function(A){return o.computeSourceURL(i.sourceRoot,A,t)}));var a=A._mappings.toArray().slice();var B=i.__generatedMappings=[];var Q=i.__originalMappings=[];for(var E=0,c=a.length;E<c;E++){var u=a[E];var l=new Mapping;l.generatedLine=u.generatedLine;l.generatedColumn=u.generatedColumn;if(u.source){l.source=s.indexOf(u.source);l.originalLine=u.originalLine;l.originalColumn=u.originalColumn;if(u.name){l.name=n.indexOf(u.name)}Q.push(l)}B.push(l)}I(i.__originalMappings,o.compareByOriginalPositions);return i};BasicSourceMapConsumer.prototype._version=3;Object.defineProperty(BasicSourceMapConsumer.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Mapping(){this.generatedLine=0;this.generatedColumn=0;this.source=null;this.originalLine=null;this.originalColumn=null;this.name=null}BasicSourceMapConsumer.prototype._parseMappings=function SourceMapConsumer_parseMappings(A,t){var i=1;var n=0;var s=0;var g=0;var B=0;var Q=0;var E=A.length;var c=0;var u={};var l={};var p=[];var h=[];var d,D,y,w,m;while(c<E){if(A.charAt(c)===";"){i++;c++;n=0}else if(A.charAt(c)===","){c++}else{d=new Mapping;d.generatedLine=i;for(w=c;w<E;w++){if(this._charIsMappingSeparator(A,w)){break}}D=A.slice(c,w);y=u[D];if(y){c+=D.length}else{y=[];while(c<w){a.decode(A,c,l);m=l.value;c=l.rest;y.push(m)}if(y.length===2){throw new Error("Found a source, but no line and column")}if(y.length===3){throw new Error("Found a source and line, but no column")}u[D]=y}d.generatedColumn=n+y[0];n=d.generatedColumn;if(y.length>1){d.source=B+y[1];B+=y[1];d.originalLine=s+y[2];s=d.originalLine;d.originalLine+=1;d.originalColumn=g+y[3];g=d.originalColumn;if(y.length>4){d.name=Q+y[4];Q+=y[4]}}h.push(d);if(typeof d.originalLine==="number"){p.push(d)}}}I(h,o.compareByGeneratedPositionsDeflated);this.__generatedMappings=h;I(p,o.compareByOriginalPositions);this.__originalMappings=p};BasicSourceMapConsumer.prototype._findMapping=function SourceMapConsumer_findMapping(A,t,i,n,o,g){if(A[i]<=0){throw new TypeError("Line must be greater than or equal to 1, got "+A[i])}if(A[n]<0){throw new TypeError("Column must be greater than or equal to 0, got "+A[n])}return s.search(A,t,o,g)};BasicSourceMapConsumer.prototype.computeColumnSpans=function SourceMapConsumer_computeColumnSpans(){for(var A=0;A<this._generatedMappings.length;++A){var t=this._generatedMappings[A];if(A+1<this._generatedMappings.length){var i=this._generatedMappings[A+1];if(t.generatedLine===i.generatedLine){t.lastGeneratedColumn=i.generatedColumn-1;continue}}t.lastGeneratedColumn=Infinity}};BasicSourceMapConsumer.prototype.originalPositionFor=function SourceMapConsumer_originalPositionFor(A){var t={generatedLine:o.getArg(A,"line"),generatedColumn:o.getArg(A,"column")};var i=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",o.compareByGeneratedPositionsDeflated,o.getArg(A,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(i>=0){var n=this._generatedMappings[i];if(n.generatedLine===t.generatedLine){var s=o.getArg(n,"source",null);if(s!==null){s=this._sources.at(s);s=o.computeSourceURL(this.sourceRoot,s,this._sourceMapURL)}var g=o.getArg(n,"name",null);if(g!==null){g=this._names.at(g)}return{source:s,line:o.getArg(n,"originalLine",null),column:o.getArg(n,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}};BasicSourceMapConsumer.prototype.hasContentsOfAllSources=function BasicSourceMapConsumer_hasContentsOfAllSources(){if(!this.sourcesContent){return false}return this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(A){return A==null}))};BasicSourceMapConsumer.prototype.sourceContentFor=function SourceMapConsumer_sourceContentFor(A,t){if(!this.sourcesContent){return null}var i=this._findSourceIndex(A);if(i>=0){return this.sourcesContent[i]}var n=A;if(this.sourceRoot!=null){n=o.relative(this.sourceRoot,n)}var s;if(this.sourceRoot!=null&&(s=o.urlParse(this.sourceRoot))){var g=n.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(g)){return this.sourcesContent[this._sources.indexOf(g)]}if((!s.path||s.path=="/")&&this._sources.has("/"+n)){return this.sourcesContent[this._sources.indexOf("/"+n)]}}if(t){return null}else{throw new Error('"'+n+'" is not in the SourceMap.')}};BasicSourceMapConsumer.prototype.generatedPositionFor=function SourceMapConsumer_generatedPositionFor(A){var t=o.getArg(A,"source");t=this._findSourceIndex(t);if(t<0){return{line:null,column:null,lastColumn:null}}var i={source:t,originalLine:o.getArg(A,"line"),originalColumn:o.getArg(A,"column")};var n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",o.compareByOriginalPositions,o.getArg(A,"bias",SourceMapConsumer.GREATEST_LOWER_BOUND));if(n>=0){var s=this._originalMappings[n];if(s.source===i.source){return{line:o.getArg(s,"generatedLine",null),column:o.getArg(s,"generatedColumn",null),lastColumn:o.getArg(s,"lastGeneratedColumn",null)}}}return{line:null,column:null,lastColumn:null}};n=BasicSourceMapConsumer;function IndexedSourceMapConsumer(A,t){var i=A;if(typeof A==="string"){i=o.parseSourceMapInput(A)}var n=o.getArg(i,"version");var s=o.getArg(i,"sections");if(n!=this._version){throw new Error("Unsupported version: "+n)}this._sources=new g;this._names=new g;var a={line:-1,column:0};this._sections=s.map((function(A){if(A.url){throw new Error("Support for url field in sections not implemented.")}var i=o.getArg(A,"offset");var n=o.getArg(i,"line");var s=o.getArg(i,"column");if(n<a.line||n===a.line&&s<a.column){throw new Error("Section offsets must be ordered and non-overlapping.")}a=i;return{generatedOffset:{generatedLine:n+1,generatedColumn:s+1},consumer:new SourceMapConsumer(o.getArg(A,"map"),t)}}))}IndexedSourceMapConsumer.prototype=Object.create(SourceMapConsumer.prototype);IndexedSourceMapConsumer.prototype.constructor=SourceMapConsumer;IndexedSourceMapConsumer.prototype._version=3;Object.defineProperty(IndexedSourceMapConsumer.prototype,"sources",{get:function(){var A=[];for(var t=0;t<this._sections.length;t++){for(var i=0;i<this._sections[t].consumer.sources.length;i++){A.push(this._sections[t].consumer.sources[i])}}return A}});IndexedSourceMapConsumer.prototype.originalPositionFor=function IndexedSourceMapConsumer_originalPositionFor(A){var t={generatedLine:o.getArg(A,"line"),generatedColumn:o.getArg(A,"column")};var i=s.search(t,this._sections,(function(A,t){var i=A.generatedLine-t.generatedOffset.generatedLine;if(i){return i}return A.generatedColumn-t.generatedOffset.generatedColumn}));var n=this._sections[i];if(!n){return{source:null,line:null,column:null,name:null}}return n.consumer.originalPositionFor({line:t.generatedLine-(n.generatedOffset.generatedLine-1),column:t.generatedColumn-(n.generatedOffset.generatedLine===t.generatedLine?n.generatedOffset.generatedColumn-1:0),bias:A.bias})};IndexedSourceMapConsumer.prototype.hasContentsOfAllSources=function IndexedSourceMapConsumer_hasContentsOfAllSources(){return this._sections.every((function(A){return A.consumer.hasContentsOfAllSources()}))};IndexedSourceMapConsumer.prototype.sourceContentFor=function IndexedSourceMapConsumer_sourceContentFor(A,t){for(var i=0;i<this._sections.length;i++){var n=this._sections[i];var o=n.consumer.sourceContentFor(A,true);if(o){return o}}if(t){return null}else{throw new Error('"'+A+'" is not in the SourceMap.')}};IndexedSourceMapConsumer.prototype.generatedPositionFor=function IndexedSourceMapConsumer_generatedPositionFor(A){for(var t=0;t<this._sections.length;t++){var i=this._sections[t];if(i.consumer._findSourceIndex(o.getArg(A,"source"))===-1){continue}var n=i.consumer.generatedPositionFor(A);if(n){var s={line:n.line+(i.generatedOffset.generatedLine-1),column:n.column+(i.generatedOffset.generatedLine===n.line?i.generatedOffset.generatedColumn-1:0)};return s}}return{line:null,column:null}};IndexedSourceMapConsumer.prototype._parseMappings=function IndexedSourceMapConsumer_parseMappings(A,t){this.__generatedMappings=[];this.__originalMappings=[];for(var i=0;i<this._sections.length;i++){var n=this._sections[i];var s=n.consumer._generatedMappings;for(var g=0;g<s.length;g++){var a=s[g];var B=n.consumer._sources.at(a.source);B=o.computeSourceURL(n.consumer.sourceRoot,B,this._sourceMapURL);this._sources.add(B);B=this._sources.indexOf(B);var Q=null;if(a.name){Q=n.consumer._names.at(a.name);this._names.add(Q);Q=this._names.indexOf(Q)}var E={source:B,generatedLine:a.generatedLine+(n.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(n.generatedOffset.generatedLine===a.generatedLine?n.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:Q};this.__generatedMappings.push(E);if(typeof E.originalLine==="number"){this.__originalMappings.push(E)}}}I(this.__generatedMappings,o.compareByGeneratedPositionsDeflated);I(this.__originalMappings,o.compareByOriginalPositions)};n=IndexedSourceMapConsumer},69425:(A,t,i)=>{var n=i(10975);var o=i(12344);var s=i(26375).I;var g=i(86817).H;function SourceMapGenerator(A){if(!A){A={}}this._file=o.getArg(A,"file",null);this._sourceRoot=o.getArg(A,"sourceRoot",null);this._skipValidation=o.getArg(A,"skipValidation",false);this._sources=new s;this._names=new s;this._mappings=new g;this._sourcesContents=null}SourceMapGenerator.prototype._version=3;SourceMapGenerator.fromSourceMap=function SourceMapGenerator_fromSourceMap(A){var t=A.sourceRoot;var i=new SourceMapGenerator({file:A.file,sourceRoot:t});A.eachMapping((function(A){var n={generated:{line:A.generatedLine,column:A.generatedColumn}};if(A.source!=null){n.source=A.source;if(t!=null){n.source=o.relative(t,n.source)}n.original={line:A.originalLine,column:A.originalColumn};if(A.name!=null){n.name=A.name}}i.addMapping(n)}));A.sources.forEach((function(n){var s=n;if(t!==null){s=o.relative(t,n)}if(!i._sources.has(s)){i._sources.add(s)}var g=A.sourceContentFor(n);if(g!=null){i.setSourceContent(n,g)}}));return i};SourceMapGenerator.prototype.addMapping=function SourceMapGenerator_addMapping(A){var t=o.getArg(A,"generated");var i=o.getArg(A,"original",null);var n=o.getArg(A,"source",null);var s=o.getArg(A,"name",null);if(!this._skipValidation){this._validateMapping(t,i,n,s)}if(n!=null){n=String(n);if(!this._sources.has(n)){this._sources.add(n)}}if(s!=null){s=String(s);if(!this._names.has(s)){this._names.add(s)}}this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:n,name:s})};SourceMapGenerator.prototype.setSourceContent=function SourceMapGenerator_setSourceContent(A,t){var i=A;if(this._sourceRoot!=null){i=o.relative(this._sourceRoot,i)}if(t!=null){if(!this._sourcesContents){this._sourcesContents=Object.create(null)}this._sourcesContents[o.toSetString(i)]=t}else if(this._sourcesContents){delete this._sourcesContents[o.toSetString(i)];if(Object.keys(this._sourcesContents).length===0){this._sourcesContents=null}}};SourceMapGenerator.prototype.applySourceMap=function SourceMapGenerator_applySourceMap(A,t,i){var n=t;if(t==null){if(A.file==null){throw new Error("SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, "+'or the source map\'s "file" property. Both were omitted.')}n=A.file}var g=this._sourceRoot;if(g!=null){n=o.relative(g,n)}var a=new s;var I=new s;this._mappings.unsortedForEach((function(t){if(t.source===n&&t.originalLine!=null){var s=A.originalPositionFor({line:t.originalLine,column:t.originalColumn});if(s.source!=null){t.source=s.source;if(i!=null){t.source=o.join(i,t.source)}if(g!=null){t.source=o.relative(g,t.source)}t.originalLine=s.line;t.originalColumn=s.column;if(s.name!=null){t.name=s.name}}}var B=t.source;if(B!=null&&!a.has(B)){a.add(B)}var Q=t.name;if(Q!=null&&!I.has(Q)){I.add(Q)}}),this);this._sources=a;this._names=I;A.sources.forEach((function(t){var n=A.sourceContentFor(t);if(n!=null){if(i!=null){t=o.join(i,t)}if(g!=null){t=o.relative(g,t)}this.setSourceContent(t,n)}}),this)};SourceMapGenerator.prototype._validateMapping=function SourceMapGenerator_validateMapping(A,t,i,n){if(t&&typeof t.line!=="number"&&typeof t.column!=="number"){throw new Error("original.line and original.column are not numbers -- you probably meant to omit "+"the original mapping entirely and only map the generated position. If so, pass "+"null for the original mapping instead of an object with empty or null values.")}if(A&&"line"in A&&"column"in A&&A.line>0&&A.column>=0&&!t&&!i&&!n){return}else if(A&&"line"in A&&"column"in A&&t&&"line"in t&&"column"in t&&A.line>0&&A.column>=0&&t.line>0&&t.column>=0&&i){return}else{throw new Error("Invalid mapping: "+JSON.stringify({generated:A,source:i,original:t,name:n}))}};SourceMapGenerator.prototype._serializeMappings=function SourceMapGenerator_serializeMappings(){var A=0;var t=1;var i=0;var s=0;var g=0;var a=0;var I="";var B;var Q;var E;var c;var u=this._mappings.toArray();for(var l=0,p=u.length;l<p;l++){Q=u[l];B="";if(Q.generatedLine!==t){A=0;while(Q.generatedLine!==t){B+=";";t++}}else{if(l>0){if(!o.compareByGeneratedPositionsInflated(Q,u[l-1])){continue}B+=","}}B+=n.encode(Q.generatedColumn-A);A=Q.generatedColumn;if(Q.source!=null){c=this._sources.indexOf(Q.source);B+=n.encode(c-a);a=c;B+=n.encode(Q.originalLine-1-s);s=Q.originalLine-1;B+=n.encode(Q.originalColumn-i);i=Q.originalColumn;if(Q.name!=null){E=this._names.indexOf(Q.name);B+=n.encode(E-g);g=E}}I+=B}return I};SourceMapGenerator.prototype._generateSourcesContent=function SourceMapGenerator_generateSourcesContent(A,t){return A.map((function(A){if(!this._sourcesContents){return null}if(t!=null){A=o.relative(t,A)}var i=o.toSetString(A);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null}),this)};SourceMapGenerator.prototype.toJSON=function SourceMapGenerator_toJSON(){var A={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};if(this._file!=null){A.file=this._file}if(this._sourceRoot!=null){A.sourceRoot=this._sourceRoot}if(this._sourcesContents){A.sourcesContent=this._generateSourcesContent(A.sources,A.sourceRoot)}return A};SourceMapGenerator.prototype.toString=function SourceMapGenerator_toString(){return JSON.stringify(this.toJSON())};t.h=SourceMapGenerator},92616:(A,t,i)=>{var n=i(69425).h;var o=i(12344);var s=/(\r?\n)/;var g=10;var a="$$$isSourceNode$$$";function SourceNode(A,t,i,n,o){this.children=[];this.sourceContents={};this.line=A==null?null:A;this.column=t==null?null:t;this.source=i==null?null:i;this.name=o==null?null:o;this[a]=true;if(n!=null)this.add(n)}SourceNode.fromStringWithSourceMap=function SourceNode_fromStringWithSourceMap(A,t,i){var n=new SourceNode;var g=A.split(s);var a=0;var shiftNextLine=function(){var A=getNextLine();var t=getNextLine()||"";return A+t;function getNextLine(){return a<g.length?g[a++]:undefined}};var I=1,B=0;var Q=null;t.eachMapping((function(A){if(Q!==null){if(I<A.generatedLine){addMappingWithCode(Q,shiftNextLine());I++;B=0}else{var t=g[a]||"";var i=t.substr(0,A.generatedColumn-B);g[a]=t.substr(A.generatedColumn-B);B=A.generatedColumn;addMappingWithCode(Q,i);Q=A;return}}while(I<A.generatedLine){n.add(shiftNextLine());I++}if(B<A.generatedColumn){var t=g[a]||"";n.add(t.substr(0,A.generatedColumn));g[a]=t.substr(A.generatedColumn);B=A.generatedColumn}Q=A}),this);if(a<g.length){if(Q){addMappingWithCode(Q,shiftNextLine())}n.add(g.splice(a).join(""))}t.sources.forEach((function(A){var s=t.sourceContentFor(A);if(s!=null){if(i!=null){A=o.join(i,A)}n.setSourceContent(A,s)}}));return n;function addMappingWithCode(A,t){if(A===null||A.source===undefined){n.add(t)}else{var s=i?o.join(i,A.source):A.source;n.add(new SourceNode(A.originalLine,A.originalColumn,s,t,A.name))}}};SourceNode.prototype.add=function SourceNode_add(A){if(Array.isArray(A)){A.forEach((function(A){this.add(A)}),this)}else if(A[a]||typeof A==="string"){if(A){this.children.push(A)}}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+A)}return this};SourceNode.prototype.prepend=function SourceNode_prepend(A){if(Array.isArray(A)){for(var t=A.length-1;t>=0;t--){this.prepend(A[t])}}else if(A[a]||typeof A==="string"){this.children.unshift(A)}else{throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+A)}return this};SourceNode.prototype.walk=function SourceNode_walk(A){var t;for(var i=0,n=this.children.length;i<n;i++){t=this.children[i];if(t[a]){t.walk(A)}else{if(t!==""){A(t,{source:this.source,line:this.line,column:this.column,name:this.name})}}}};SourceNode.prototype.join=function SourceNode_join(A){var t;var i;var n=this.children.length;if(n>0){t=[];for(i=0;i<n-1;i++){t.push(this.children[i]);t.push(A)}t.push(this.children[i]);this.children=t}return this};SourceNode.prototype.replaceRight=function SourceNode_replaceRight(A,t){var i=this.children[this.children.length-1];if(i[a]){i.replaceRight(A,t)}else if(typeof i==="string"){this.children[this.children.length-1]=i.replace(A,t)}else{this.children.push("".replace(A,t))}return this};SourceNode.prototype.setSourceContent=function SourceNode_setSourceContent(A,t){this.sourceContents[o.toSetString(A)]=t};SourceNode.prototype.walkSourceContents=function SourceNode_walkSourceContents(A){for(var t=0,i=this.children.length;t<i;t++){if(this.children[t][a]){this.children[t].walkSourceContents(A)}}var n=Object.keys(this.sourceContents);for(var t=0,i=n.length;t<i;t++){A(o.fromSetString(n[t]),this.sourceContents[n[t]])}};SourceNode.prototype.toString=function SourceNode_toString(){var A="";this.walk((function(t){A+=t}));return A};SourceNode.prototype.toStringWithSourceMap=function SourceNode_toStringWithSourceMap(A){var t={code:"",line:1,column:0};var i=new n(A);var o=false;var s=null;var a=null;var I=null;var B=null;this.walk((function(A,n){t.code+=A;if(n.source!==null&&n.line!==null&&n.column!==null){if(s!==n.source||a!==n.line||I!==n.column||B!==n.name){i.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})}s=n.source;a=n.line;I=n.column;B=n.name;o=true}else if(o){i.addMapping({generated:{line:t.line,column:t.column}});s=null;o=false}for(var Q=0,E=A.length;Q<E;Q++){if(A.charCodeAt(Q)===g){t.line++;t.column=0;if(Q+1===E){s=null;o=false}else if(o){i.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name})}}else{t.column++}}}));this.walkSourceContents((function(A,t){i.setSourceContent(A,t)}));return{code:t.code,map:i}};t.SourceNode=SourceNode},12344:(A,t)=>{function getArg(A,t,i){if(t in A){return A[t]}else if(arguments.length===3){return i}else{throw new Error('"'+t+'" is a required argument.')}}t.getArg=getArg;var i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/;var n=/^data:.+\,.+$/;function urlParse(A){var t=A.match(i);if(!t){return null}return{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}}t.urlParse=urlParse;function urlGenerate(A){var t="";if(A.scheme){t+=A.scheme+":"}t+="//";if(A.auth){t+=A.auth+"@"}if(A.host){t+=A.host}if(A.port){t+=":"+A.port}if(A.path){t+=A.path}return t}t.urlGenerate=urlGenerate;function normalize(A){var i=A;var n=urlParse(A);if(n){if(!n.path){return A}i=n.path}var o=t.isAbsolute(i);var s=i.split(/\/+/);for(var g,a=0,I=s.length-1;I>=0;I--){g=s[I];if(g==="."){s.splice(I,1)}else if(g===".."){a++}else if(a>0){if(g===""){s.splice(I+1,a);a=0}else{s.splice(I,2);a--}}}i=s.join("/");if(i===""){i=o?"/":"."}if(n){n.path=i;return urlGenerate(n)}return i}t.normalize=normalize;function join(A,t){if(A===""){A="."}if(t===""){t="."}var i=urlParse(t);var o=urlParse(A);if(o){A=o.path||"/"}if(i&&!i.scheme){if(o){i.scheme=o.scheme}return urlGenerate(i)}if(i||t.match(n)){return t}if(o&&!o.host&&!o.path){o.host=t;return urlGenerate(o)}var s=t.charAt(0)==="/"?t:normalize(A.replace(/\/+$/,"")+"/"+t);if(o){o.path=s;return urlGenerate(o)}return s}t.join=join;t.isAbsolute=function(A){return A.charAt(0)==="/"||i.test(A)};function relative(A,t){if(A===""){A="."}A=A.replace(/\/$/,"");var i=0;while(t.indexOf(A+"/")!==0){var n=A.lastIndexOf("/");if(n<0){return t}A=A.slice(0,n);if(A.match(/^([^\/]+:\/)?\/*$/)){return t}++i}return Array(i+1).join("../")+t.substr(A.length+1)}t.relative=relative;var o=function(){var A=Object.create(null);return!("__proto__"in A)}();function identity(A){return A}function toSetString(A){if(isProtoString(A)){return"$"+A}return A}t.toSetString=o?identity:toSetString;function fromSetString(A){if(isProtoString(A)){return A.slice(1)}return A}t.fromSetString=o?identity:fromSetString;function isProtoString(A){if(!A){return false}var t=A.length;if(t<9){return false}if(A.charCodeAt(t-1)!==95||A.charCodeAt(t-2)!==95||A.charCodeAt(t-3)!==111||A.charCodeAt(t-4)!==116||A.charCodeAt(t-5)!==111||A.charCodeAt(t-6)!==114||A.charCodeAt(t-7)!==112||A.charCodeAt(t-8)!==95||A.charCodeAt(t-9)!==95){return false}for(var i=t-10;i>=0;i--){if(A.charCodeAt(i)!==36){return false}}return true}function compareByOriginalPositions(A,t,i){var n=strcmp(A.source,t.source);if(n!==0){return n}n=A.originalLine-t.originalLine;if(n!==0){return n}n=A.originalColumn-t.originalColumn;if(n!==0||i){return n}n=A.generatedColumn-t.generatedColumn;if(n!==0){return n}n=A.generatedLine-t.generatedLine;if(n!==0){return n}return strcmp(A.name,t.name)}t.compareByOriginalPositions=compareByOriginalPositions;function compareByGeneratedPositionsDeflated(A,t,i){var n=A.generatedLine-t.generatedLine;if(n!==0){return n}n=A.generatedColumn-t.generatedColumn;if(n!==0||i){return n}n=strcmp(A.source,t.source);if(n!==0){return n}n=A.originalLine-t.originalLine;if(n!==0){return n}n=A.originalColumn-t.originalColumn;if(n!==0){return n}return strcmp(A.name,t.name)}t.compareByGeneratedPositionsDeflated=compareByGeneratedPositionsDeflated;function strcmp(A,t){if(A===t){return 0}if(A===null){return 1}if(t===null){return-1}if(A>t){return 1}return-1}function compareByGeneratedPositionsInflated(A,t){var i=A.generatedLine-t.generatedLine;if(i!==0){return i}i=A.generatedColumn-t.generatedColumn;if(i!==0){return i}i=strcmp(A.source,t.source);if(i!==0){return i}i=A.originalLine-t.originalLine;if(i!==0){return i}i=A.originalColumn-t.originalColumn;if(i!==0){return i}return strcmp(A.name,t.name)}t.compareByGeneratedPositionsInflated=compareByGeneratedPositionsInflated;function parseSourceMapInput(A){return JSON.parse(A.replace(/^\)]}'[^\n]*\n/,""))}t.parseSourceMapInput=parseSourceMapInput;function computeSourceURL(A,t,i){t=t||"";if(A){if(A[A.length-1]!=="/"&&t[0]!=="/"){A+="/"}t=A+t}if(i){var n=urlParse(i);if(!n){throw new Error("sourceMapURL could not be parsed")}if(n.path){var o=n.path.lastIndexOf("/");if(o>=0){n.path=n.path.substring(0,o+1)}}t=join(urlGenerate(n),t)}return normalize(t)}t.computeSourceURL=computeSourceURL},56594:(A,t,i)=>{i(69425).h;i(75155);t.SourceNode=i(92616).SourceNode},98751:A=>{"use strict";A.exports=(A,t)=>new Promise(((i,n)=>{if(typeof A.resume!=="function"){return i()}A.unpipe&&A.unpipe();A.resume();if(A._readableState&&A._readableState.ended){return i()}if(!A.readable||A.destroyed){return i()}function cleanup(){A.removeListener("end",onEnd);A.removeListener("close",onEnd);A.removeListener("error",onError)}function onEnd(){cleanup();i()}function onError(A){cleanup();if(t){n(A)}else{i()}}A.on("end",onEnd);A.on("close",onEnd);A.on("error",onError)}))},59318:(A,t,i)=>{"use strict";const n=i(22037);const o=i(76224);const s=i(81533);const{env:g}=process;let a;if(s("no-color")||s("no-colors")||s("color=false")||s("color=never")){a=0}else if(s("color")||s("colors")||s("color=true")||s("color=always")){a=1}function envForceColor(){if("FORCE_COLOR"in g){if(g.FORCE_COLOR==="true"){return 1}if(g.FORCE_COLOR==="false"){return 0}return g.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(g.FORCE_COLOR,10),3)}}function translateLevel(A){if(A===0){return false}return{level:A,hasBasic:true,has256:A>=2,has16m:A>=3}}function supportsColor(A,{streamIsTTY:t,sniffFlags:i=true}={}){const o=envForceColor();if(o!==undefined){a=o}const I=i?a:o;if(I===0){return 0}if(i){if(s("color=16m")||s("color=full")||s("color=truecolor")){return 3}if(s("color=256")){return 2}}if(A&&!t&&I===undefined){return 0}const B=I||0;if(g.TERM==="dumb"){return B}if(process.platform==="win32"){const A=n.release().split(".");if(Number(A[0])>=10&&Number(A[2])>=10586){return Number(A[2])>=14931?3:2}return 1}if("CI"in g){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE","DRONE"].some((A=>A in g))||g.CI_NAME==="codeship"){return 1}return B}if("TEAMCITY_VERSION"in g){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(g.TEAMCITY_VERSION)?1:0}if(g.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in g){const A=Number.parseInt((g.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(g.TERM_PROGRAM){case"iTerm.app":return A>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(g.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(g.TERM)){return 1}if("COLORTERM"in g){return 1}return B}function getSupportLevel(A,t={}){const i=supportsColor(A,{streamIsTTY:A&&A.isTTY,...t});return translateLevel(i)}A.exports={supportsColor:getSupportLevel,stdout:getSupportLevel({isTTY:o.isatty(1)}),stderr:getSupportLevel({isTTY:o.isatty(2)})}},81533:A=>{"use strict";A.exports=(A,t=process.argv)=>{const i=A.startsWith("-")?"":A.length===1?"-":"--";const n=t.indexOf(i+A);const o=t.indexOf("--");return n!==-1&&(o===-1||n<o)}},38690:(A,t,i)=>{var n=i(4115);A.exports=thenifyAll;thenifyAll.withCallback=withCallback;thenifyAll.thenify=n;function thenifyAll(A,t,i){return promisifyAll(A,t,i,n)}function withCallback(A,t,i){return promisifyAll(A,t,i,n.withCallback)}function promisifyAll(A,t,i,n){if(!t){t={};i=Object.keys(A)}if(Array.isArray(t)){i=t;t={}}if(!i){i=Object.keys(A)}if(typeof A==="function")t=n(A);i.forEach((function(i){if(typeof A[i]==="function")t[i]=n(A[i])}));Object.keys(A).forEach((function(i){if(deprecated(A,i))return;if(t[i])return;t[i]=A[i]}));return t}function deprecated(A,t){var i=Object.getOwnPropertyDescriptor(A,t);if(!i||!i.get)return false;if(i.get.name==="deprecated")return true;return false}},4115:(A,t,i)=>{var n=i(55768);var o=i(39491);A.exports=thenify;function thenify(A,t){o(typeof A==="function");return createWrapper(A,t)}thenify.withCallback=function(A,t){o(typeof A==="function");t=t||{};t.withCallback=true;return createWrapper(A,t)};function createCallback(A,t,i){if(i===undefined)i=true;return function(n,o){if(n)return t(n);var s=arguments.length;if(s<=2||!i)return A(o);if(Array.isArray(i)){var g={};for(var a=1;a<s;a++)g[i[a-1]]=arguments[a];return A(g)}var g=new Array(s-1);for(var a=1;a<s;++a)g[a-1]=arguments[a];A(g)}}function createWrapper(A,t){t=t||{};var i=A.name;i=(i||"").replace(/\s|bound(?!$)/g,"");var newFn=function(){var i=this;var o=arguments.length;if(t.withCallback){var s=typeof arguments[o-1];if(s==="function")return A.apply(i,arguments)}var g=new Array(o+1);for(var a=0;a<o;++a)g[a]=arguments[a];var I=a;return new n((function(n,o){g[I]=createCallback(n,o,t.multiArgs);A.apply(i,g)}))};Object.defineProperty(newFn,"name",{value:i});return newFn}},10421:(A,t,i)=>{var n=i(12781);t=A.exports=through;through.through=through;function through(A,t,i){A=A||function(A){this.queue(A)};t=t||function(){this.queue(null)};var o=false,s=false,g=[],a=false;var I=new n;I.readable=I.writable=true;I.paused=false;I.autoDestroy=!(i&&i.autoDestroy===false);I.write=function(t){A.call(this,t);return!I.paused};function drain(){while(g.length&&!I.paused){var A=g.shift();if(null===A)return I.emit("end");else I.emit("data",A)}}I.queue=I.push=function(A){if(a)return I;if(A===null)a=true;g.push(A);drain();return I};I.on("end",(function(){I.readable=false;if(!I.writable&&I.autoDestroy)process.nextTick((function(){I.destroy()}))}));function _end(){I.writable=false;t.call(I);if(!I.readable&&I.autoDestroy)I.destroy()}I.end=function(A){if(o)return;o=true;if(arguments.length)I.write(A);_end();return I};I.destroy=function(){if(s)return;s=true;o=true;g.length=0;I.writable=I.readable=false;I.emit("close");return I};I.pause=function(){if(I.paused)return;I.paused=true;return I};I.resume=function(){if(I.paused){I.paused=false;I.emit("resume")}drain();if(!I.paused)I.emit("drain");return I};return I}},4351:A=>{var t;var i;var n;var o;var s;var g;var a;var I;var B;var Q;var E;var c;var u;var l;var p;var h;var d;var D;var y;var w;var m;var k;var v;var R;var N;var x;var G;var L;var J;var K;var H;(function(t){var i=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(A){t(createExporter(i,createExporter(A)))}))}else if(true&&typeof A.exports==="object"){t(createExporter(i,createExporter(A.exports)))}else{t(createExporter(i))}function createExporter(A,t){if(A!==i){if(typeof Object.create==="function"){Object.defineProperty(A,"__esModule",{value:true})}else{A.__esModule=true}}return function(i,n){return A[i]=t?t(i,n):n}}})((function(A){var P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i))A[i]=t[i]};t=function(A,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");P(A,t);function __(){this.constructor=A}A.prototype=t===null?Object.create(t):(__.prototype=t.prototype,new __)};i=Object.assign||function(A){for(var t,i=1,n=arguments.length;i<n;i++){t=arguments[i];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))A[o]=t[o]}return A};n=function(A,t){var i={};for(var n in A)if(Object.prototype.hasOwnProperty.call(A,n)&&t.indexOf(n)<0)i[n]=A[n];if(A!=null&&typeof Object.getOwnPropertySymbols==="function")for(var o=0,n=Object.getOwnPropertySymbols(A);o<n.length;o++){if(t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(A,n[o]))i[n[o]]=A[n[o]]}return i};o=function(A,t,i,n){var o=arguments.length,s=o<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,i):n,g;if(typeof Reflect==="object"&&typeof Reflect.decorate==="function")s=Reflect.decorate(A,t,i,n);else for(var a=A.length-1;a>=0;a--)if(g=A[a])s=(o<3?g(s):o>3?g(t,i,s):g(t,i))||s;return o>3&&s&&Object.defineProperty(t,i,s),s};s=function(A,t){return function(i,n){t(i,n,A)}};g=function(A,t,i,n,o,s){function accept(A){if(A!==void 0&&typeof A!=="function")throw new TypeError("Function expected");return A}var g=n.kind,a=g==="getter"?"get":g==="setter"?"set":"value";var I=!t&&A?n["static"]?A:A.prototype:null;var B=t||(I?Object.getOwnPropertyDescriptor(I,n.name):{});var Q,E=false;for(var c=i.length-1;c>=0;c--){var u={};for(var l in n)u[l]=l==="access"?{}:n[l];for(var l in n.access)u.access[l]=n.access[l];u.addInitializer=function(A){if(E)throw new TypeError("Cannot add initializers after decoration has completed");s.push(accept(A||null))};var p=(0,i[c])(g==="accessor"?{get:B.get,set:B.set}:B[a],u);if(g==="accessor"){if(p===void 0)continue;if(p===null||typeof p!=="object")throw new TypeError("Object expected");if(Q=accept(p.get))B.get=Q;if(Q=accept(p.set))B.set=Q;if(Q=accept(p.init))o.unshift(Q)}else if(Q=accept(p)){if(g==="field")o.unshift(Q);else B[a]=Q}}if(I)Object.defineProperty(I,n.name,B);E=true};a=function(A,t,i){var n=arguments.length>2;for(var o=0;o<t.length;o++){i=n?t[o].call(A,i):t[o].call(A)}return n?i:void 0};I=function(A){return typeof A==="symbol"?A:"".concat(A)};B=function(A,t,i){if(typeof t==="symbol")t=t.description?"[".concat(t.description,"]"):"";return Object.defineProperty(A,"name",{configurable:true,value:i?"".concat(i," ",t):t})};Q=function(A,t){if(typeof Reflect==="object"&&typeof Reflect.metadata==="function")return Reflect.metadata(A,t)};E=function(A,t,i,n){function adopt(A){return A instanceof i?A:new i((function(t){t(A)}))}return new(i||(i=Promise))((function(i,o){function fulfilled(A){try{step(n.next(A))}catch(A){o(A)}}function rejected(A){try{step(n["throw"](A))}catch(A){o(A)}}function step(A){A.done?i(A.value):adopt(A.value).then(fulfilled,rejected)}step((n=n.apply(A,t||[])).next())}))};c=function(A,t){var i={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,o,s,g;return g={next:verb(0),throw:verb(1),return:verb(2)},typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(A){return function(t){return step([A,t])}}function step(a){if(n)throw new TypeError("Generator is already executing.");while(g&&(g=0,a[0]&&(i=0)),i)try{if(n=1,o&&(s=a[0]&2?o["return"]:a[0]?o["throw"]||((s=o["return"])&&s.call(o),0):o.next)&&!(s=s.call(o,a[1])).done)return s;if(o=0,s)a=[a[0]&2,s.value];switch(a[0]){case 0:case 1:s=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(s=i.trys,s=s.length>0&&s[s.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!s||a[1]>s[0]&&a[1]<s[3])){i.label=a[1];break}if(a[0]===6&&i.label<s[1]){i.label=s[1];s=a;break}if(s&&i.label<s[2]){i.label=s[2];i.ops.push(a);break}if(s[2])i.ops.pop();i.trys.pop();continue}a=t.call(A,i)}catch(A){a=[6,A];o=0}finally{n=s=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};u=function(A,t){for(var i in A)if(i!=="default"&&!Object.prototype.hasOwnProperty.call(t,i))J(t,A,i)};J=Object.create?function(A,t,i,n){if(n===undefined)n=i;var o=Object.getOwnPropertyDescriptor(t,i);if(!o||("get"in o?!t.__esModule:o.writable||o.configurable)){o={enumerable:true,get:function(){return t[i]}}}Object.defineProperty(A,n,o)}:function(A,t,i,n){if(n===undefined)n=i;A[n]=t[i]};l=function(A){var t=typeof Symbol==="function"&&Symbol.iterator,i=t&&A[t],n=0;if(i)return i.call(A);if(A&&typeof A.length==="number")return{next:function(){if(A&&n>=A.length)A=void 0;return{value:A&&A[n++],done:!A}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};p=function(A,t){var i=typeof Symbol==="function"&&A[Symbol.iterator];if(!i)return A;var n=i.call(A),o,s=[],g;try{while((t===void 0||t-- >0)&&!(o=n.next()).done)s.push(o.value)}catch(A){g={error:A}}finally{try{if(o&&!o.done&&(i=n["return"]))i.call(n)}finally{if(g)throw g.error}}return s};h=function(){for(var A=[],t=0;t<arguments.length;t++)A=A.concat(p(arguments[t]));return A};d=function(){for(var A=0,t=0,i=arguments.length;t<i;t++)A+=arguments[t].length;for(var n=Array(A),o=0,t=0;t<i;t++)for(var s=arguments[t],g=0,a=s.length;g<a;g++,o++)n[o]=s[g];return n};D=function(A,t,i){if(i||arguments.length===2)for(var n=0,o=t.length,s;n<o;n++){if(s||!(n in t)){if(!s)s=Array.prototype.slice.call(t,0,n);s[n]=t[n]}}return A.concat(s||Array.prototype.slice.call(t))};y=function(A){return this instanceof y?(this.v=A,this):new y(A)};w=function(A,t,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=i.apply(A,t||[]),o,s=[];return o={},verb("next"),verb("throw"),verb("return"),o[Symbol.asyncIterator]=function(){return this},o;function verb(A){if(n[A])o[A]=function(t){return new Promise((function(i,n){s.push([A,t,i,n])>1||resume(A,t)}))}}function resume(A,t){try{step(n[A](t))}catch(A){settle(s[0][3],A)}}function step(A){A.value instanceof y?Promise.resolve(A.value.v).then(fulfill,reject):settle(s[0][2],A)}function fulfill(A){resume("next",A)}function reject(A){resume("throw",A)}function settle(A,t){if(A(t),s.shift(),s.length)resume(s[0][0],s[0][1])}};m=function(A){var t,i;return t={},verb("next"),verb("throw",(function(A){throw A})),verb("return"),t[Symbol.iterator]=function(){return this},t;function verb(n,o){t[n]=A[n]?function(t){return(i=!i)?{value:y(A[n](t)),done:false}:o?o(t):t}:o}};k=function(A){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=A[Symbol.asyncIterator],i;return t?t.call(A):(A=typeof l==="function"?l(A):A[Symbol.iterator](),i={},verb("next"),verb("throw"),verb("return"),i[Symbol.asyncIterator]=function(){return this},i);function verb(t){i[t]=A[t]&&function(i){return new Promise((function(n,o){i=A[t](i),settle(n,o,i.done,i.value)}))}}function settle(A,t,i,n){Promise.resolve(n).then((function(t){A({value:t,done:i})}),t)}};v=function(A,t){if(Object.defineProperty){Object.defineProperty(A,"raw",{value:t})}else{A.raw=t}return A};var O=Object.create?function(A,t){Object.defineProperty(A,"default",{enumerable:true,value:t})}:function(A,t){A["default"]=t};R=function(A){if(A&&A.__esModule)return A;var t={};if(A!=null)for(var i in A)if(i!=="default"&&Object.prototype.hasOwnProperty.call(A,i))J(t,A,i);O(t,A);return t};N=function(A){return A&&A.__esModule?A:{default:A}};x=function(A,t,i,n){if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t==="function"?A!==t||!n:!t.has(A))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?n:i==="a"?n.call(A):n?n.value:t.get(A)};G=function(A,t,i,n,o){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!o)throw new TypeError("Private accessor was defined without a setter");if(typeof t==="function"?A!==t||!o:!t.has(A))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?o.call(A,i):o?o.value=i:t.set(A,i),i};L=function(A,t){if(t===null||typeof t!=="object"&&typeof t!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof A==="function"?t===A:A.has(t)};K=function(A,t,i){if(t!==null&&t!==void 0){if(typeof t!=="object"&&typeof t!=="function")throw new TypeError("Object expected.");var n;if(i){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose]}if(typeof n!=="function")throw new TypeError("Object not disposable.");A.stack.push({value:t,dispose:n,async:i})}else if(i){A.stack.push({async:true})}return t};var q=typeof SuppressedError==="function"?SuppressedError:function(A,t,i){var n=new Error(i);return n.name="SuppressedError",n.error=A,n.suppressed=t,n};H=function(A){function fail(t){A.error=A.hasError?new q(t,A.error,"An error was suppressed during disposal."):t;A.hasError=true}function next(){while(A.stack.length){var t=A.stack.pop();try{var i=t.dispose&&t.dispose.call(t.value);if(t.async)return Promise.resolve(i).then(next,(function(A){fail(A);return next()}))}catch(A){fail(A)}}if(A.hasError)throw A.error}return next()};A("__extends",t);A("__assign",i);A("__rest",n);A("__decorate",o);A("__param",s);A("__esDecorate",g);A("__runInitializers",a);A("__propKey",I);A("__setFunctionName",B);A("__metadata",Q);A("__awaiter",E);A("__generator",c);A("__exportStar",u);A("__createBinding",J);A("__values",l);A("__read",p);A("__spread",h);A("__spreadArrays",d);A("__spreadArray",D);A("__await",y);A("__asyncGenerator",w);A("__asyncDelegator",m);A("__asyncValues",k);A("__makeTemplateObject",v);A("__importStar",R);A("__importDefault",N);A("__classPrivateFieldGet",x);A("__classPrivateFieldSet",G);A("__classPrivateFieldIn",L);A("__addDisposableResource",K);A("__disposeResources",H)}))},71441:(A,t,i)=>{"use strict";var n=i(67512);var o={};var s;var g={default:{"&quot;":'"',"&#34;":'"',"&apos;":"'","&#39;":"'","&amp;":"&","&#38;":"&","&gt;":">","&#62;":">","&lt;":"<","&#60;":"<"},extras:{"&cent;":"¢","&#162;":"¢","&copy;":"©","&#169;":"©","&euro;":"€","&#8364;":"€","&pound;":"£","&#163;":"£","&reg;":"®","&#174;":"®","&yen;":"¥","&#165;":"¥"}};Object.defineProperty(g,"all",{get:function(){return s||(s=n({},g.default,g.extras))}});function unescape(A,t){if(!isString(A))return"";var i=g[t||"default"];var n=toRegex(t,i);return A.replace(n,(function(A){return i[A]}))}function toRegex(A,t){if(o[A]){return o[A]}var i=Object.keys(t).join("|");var n=new RegExp("(?=("+i+"))\\1","g");o[A]=n;return n}function isString(A){return A&&typeof A==="string"}unescape.chars=g.default;unescape.extras=g.extras;Object.defineProperty(unescape,"all",{get:function(){return g.all}});A.exports=unescape},58593:(A,t,i)=>{"use strict";var n=i(1607)("urllib:detect_proxy_agent");var o=i(6183);var s={};function detectProxyAgent(A,t){if(!t.enableProxy&&!process.env.URLLIB_ENABLE_PROXY){return null}var g=t.proxy||process.env.URLLIB_PROXY;if(!g){g=o(A);if(!g){return null}}var a=s[g];if(!a){n("create new proxy %s",g);a=s[g]=new(i(38391))(g)}n("get proxy: %s",g);return a}A.exports=detectProxyAgent;A.exports.proxyAgents=s},6183:A=>{"use strict";function formatHostname(A){return A.replace(/^\.*/,".").toLowerCase()}function parseNoProxyZone(A){A=A.trim().toLowerCase();var t=A.split(":",2),i=formatHostname(t[0]),n=t[1],o=A.indexOf(":")>-1;return{hostname:i,port:n,hasPort:o}}function uriInNoProxy(A,t){var i=A.port||(A.protocol==="https:"?"443":"80"),n=formatHostname(A.hostname),o=t.split(",");return o.map(parseNoProxyZone).some((function(A){var t=n.indexOf(A.hostname),o=t>-1&&t===n.length-A.hostname.length;if(A.hasPort){return i===A.port&&o}return o}))}function getProxyFromURI(A){var t=process.env.NO_PROXY||process.env.no_proxy||"";if(t==="*"){return null}if(t!==""&&uriInNoProxy(A,t)){return null}if(A.protocol==="http:"){return process.env.HTTP_PROXY||process.env.http_proxy||null}if(A.protocol==="https:"){return process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null}return null}A.exports=getProxyFromURI},66509:(A,t,i)=>{"use strict";var n=i(82361).EventEmitter;var o=i(73837);var s=i(33877);var g=i(50516);A.exports=HttpClient;function HttpClient(A){n.call(this);A=A||{};if(A.agent!==undefined){this.agent=A.agent;this.hasCustomAgent=true}else{this.agent=g.agent;this.hasCustomAgent=false}if(A.httpsAgent!==undefined){this.httpsAgent=A.httpsAgent;this.hasCustomHttpsAgent=true}else{this.httpsAgent=g.httpsAgent;this.hasCustomHttpsAgent=false}this.defaultArgs=A.defaultArgs}o.inherits(HttpClient,n);HttpClient.prototype.request=HttpClient.prototype.curl=function(A,t,i){if(typeof t==="function"){i=t;t=null}t=t||{};if(this.defaultArgs){t=s.assign({},[this.defaultArgs,t])}t.emitter=this;t.agent=getAgent(t.agent,this.agent);t.httpsAgent=getAgent(t.httpsAgent,this.httpsAgent);return g.request(A,t,i)};HttpClient.prototype.requestThunk=function(A,t){t=t||{};if(this.defaultArgs){t=s.assign({},[this.defaultArgs,t])}t.emitter=this;t.agent=getAgent(t.agent,this.agent);t.httpsAgent=getAgent(t.httpsAgent,this.httpsAgent);return g.requestThunk(A,t)};function getAgent(A,t){return A===undefined?t:A}},47399:(A,t,i)=>{"use strict";var n=i(73837);var o=i(1607)("urllib");var s=i(10845);var g=i(66509);var a;A.exports=HttpClient2;function HttpClient2(A){g.call(this,A)}n.inherits(HttpClient2,g);HttpClient2.prototype.request=HttpClient2.prototype.curl=function request(A,t){var i=this;t=t||{};t.retry=t.retry||0;if(t.retryDelay){t.retryDelay=s(t.retryDelay)}t.isRetry=t.isRetry||function(A){return A.status>=500};return g.prototype.request.call(i,A,t).then((function(n){if(t.retry>0&&typeof t.isRetry==="function"&&t.isRetry(n)){t.retry--;o("retry request %s, remain %s",A,t.retry);if(t.retryDelay){o("retry after %sms",t.retryDelay);return sleep(t.retryDelay).then((function(){return i.request(A,t)}))}return i.request(A,t)}return n})).catch((function(n){if(t.retry>0){t.retry--;o("retry request %s, remain %s, err %s",A,t.retry,n);if(t.retryDelay){o("retry after %sms",t.retryDelay);return sleep(t.retryDelay).then((function(){return i.request(A,t)}))}return i.request(A,t)}throw n}))};HttpClient2.prototype.requestThunk=function requestThunk(A,t){var i=this;return function(n){i.request(A,t).then((function(A){var t=n;n=null;t(null,A)})).catch((function(A){if(!n){return}n(A)}))}};function sleep(A){if(!a){a=i(55768)}return new a((function(t){setTimeout(t,A)}))}},64783:(A,t,i)=>{"use strict";var n=i(50516);t.USER_AGENT=n.USER_AGENT;t.TIMEOUT=n.TIMEOUT;t.TIMEOUTS=n.TIMEOUTS;t.agent=n.agent;t.httpsAgent=n.httpsAgent;t.curl=n.curl;t.request=n.request;t.requestWithCallback=n.requestWithCallback;t.requestThunk=n.requestThunk;t.HttpClient=i(66509);t.HttpClient2=i(47399);t.create=function(A){return new t.HttpClient(A)}},50516:(A,t,i)=>{"use strict";var n=i(1607)("urllib");var o=i(71017);var s=i(9523);var g=i(13685);var a=i(95687);var I=i(57310);var B=I.URL;var Q=i(73837);var E=i(22760);var c=i(87547);var u=i(63477);var l=i(59796);var p=i(26834);var h=i(77774);var d=i(10845);var D=i(63967);var y=i(99915);var w=i(14401);var m=i(18341);var k=i(33877);var v=i(75454);var R=i(58593);var N;var x;var G=i(57164);var L=t.USER_AGENT=p("node-urllib",G.version);var J=parseInt(process.versions.node.split(".")[0]);t.agent=new g.Agent;t.agent.maxSockets=1e3;t.httpsAgent=new a.Agent;t.httpsAgent.maxSockets=1e3;var K="\n --------------------\n";t.TIMEOUT=d("5s");t.TIMEOUTS=[d("5s"),d("5s")];var H=0;var P=Math.pow(2,31)-10;var O=/^v0\.10\.\d+$/.test(process.version);var q=/^v0\.12\.\d+$/.test(process.version);var j=["json","text"];var _=/^https?:\/\//i;var W=/^timeout=(\d+)/i;var X="_URLLIB_SOCKET_REQUEST_COUNT";var Z="_URLLIB_SOCKET_RESPONSE_COUNT";t.request=function request(A,n,o){if(arguments.length===2&&typeof n==="function"){o=n;n=null}if(typeof o==="function"){return t.requestWithCallback(A,n,o)}if(!N){N=i(55768)}return new N((function(i,o){t.requestWithCallback(A,n,makeCallback(i,o))}))};t.curl=t.request;function makeCallback(A,t){return function(i,n,o){if(i){return t(i)}A({data:n,status:o.statusCode,headers:o.headers,res:o})}}t.requestThunk=function requestThunk(A,i){return function(n){t.requestWithCallback(A,i,(function(A,t,i){if(A){return n(A)}n(null,{data:t,status:i.statusCode,headers:i.headers,res:i})}))}};function requestWithCallback(A,p,y){var N;if(!A||typeof A!=="string"&&typeof A!=="object"){var x=Q.format("expect request url to be a string or a http request options, but got %j",A);throw new Error(x)}if(arguments.length===2&&typeof p==="function"){y=p;p=null}p=p||{};if(H>=P){H=0}var G=++H;p.requestUrls=p.requestUrls||[];p.timeout=p.timeout||t.TIMEOUTS;p.maxRedirects=p.maxRedirects||10;p.streaming=p.streaming||p.customResponse;var K=Date.now();var z;if(typeof A==="string"){if(!_.test(A)){A="http://"+A}if(B){z=I.parse(new B(A).href)}else{z=I.parse(A)}}else{z=A}var $={requestId:G,url:z.href,args:p,ctx:p.ctx};if(p.emitter){p.emitter.emit("request",$)}var AA=(p.type||p.method||z.method||"GET").toUpperCase();var eA=z.port||80;var tA=g;var iA=getAgent(p.agent,t.agent);var rA=p.fixJSONCtlChars;if(z.protocol==="https:"){tA=a;iA=getAgent(p.httpsAgent,t.httpsAgent);if(!z.port){eA=443}}var nA=R(z,p);if(nA){iA=nA}var oA=p.lookup;if(p.checkAddress){var sA=oA||s.lookup;oA=function(A,t,i){sA(A,t,(function emitLookup(t,n,o){if(!t&&!p.checkAddress(n,o)){t=new Error("illegal address");t.name="IllegalAddressError";t.hostname=A;t.ip=n;t.family=o}i(t,n,o)}))}}var gA=0;var aA={host:z.hostname||z.host||"localhost",path:z.path||"/",method:AA,port:eA,agent:iA,headers:{},lookup:oA};var IA={};if(p.headers){var CA=k.getOwnEnumerables(p.headers,true);for(var BA=0;BA<CA.length;BA++){var QA=CA[BA];var EA=QA.toLowerCase();if(EA!==QA){IA[EA]=QA}aA.headers[EA]=p.headers[QA]}}if(p.socketPath){aA.socketPath=p.socketPath}var cA=["pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","secureProtocol","secureOptions"];for(var BA=0;BA<cA.length;BA++){var QA=cA[BA];if(p.hasOwnProperty(QA)){aA[QA]=p[QA]}}if(J<12){if(aA.rejectUnauthorized===false&&!aA.hasOwnProperty("secureOptions")){aA.secureOptions=i(22057).SSL_OP_NO_TLSv1_2}}var uA=p.auth||z.auth;if(uA){aA.auth=uA}var lA=null;var pA=false;if(p.files){if(!aA.method||aA.method==="GET"||aA.method==="HEAD"){aA.method="POST"}var hA=p.files;var fA=[];if(Array.isArray(hA)){for(var BA=0;BA<hA.length;BA++){var dA="file"+(BA===0?"":BA);fA.push([dA,hA[BA]])}}else{if(Buffer.isBuffer(hA)||typeof hA.pipe==="function"||typeof hA==="string"){fA.push(["file",hA])}else if(typeof hA==="object"){for(var dA in hA){fA.push([dA,hA[dA]])}}}var DA=new v;if(p.data){for(var yA in p.data){DA.field(yA,p.data[yA])}}for(var BA=0;BA<fA.length;BA++){var wA=fA[BA];if(Buffer.isBuffer(wA[1])){DA.buffer(wA[0],wA[1],"bufferfile"+BA)}else if(typeof wA[1].pipe==="function"){var mA=wA[1].path||"streamfile"+BA;mA=o.basename(mA);DA.stream(wA[0],wA[1],mA)}else{DA.file(wA[0],wA[1])}}var SA=DA.headers();var FA=k.getOwnEnumerables(SA,true);for(var BA=0;BA<FA.length;BA++){var QA=FA[BA];aA.headers[QA.toLowerCase()]=SA[QA]}n("set multipart headers: %j, method: %s",SA,aA.method);p.stream=DA}else{lA=p.content||p.data;pA=AA==="GET"||AA==="HEAD"||p.dataAsQueryString;if(!p.content){if(lA&&!(typeof lA==="string"||Buffer.isBuffer(lA))){if(pA){lA=p.nestedQuerystring?E.stringify(lA):u.stringify(lA)}else{var kA=aA.headers["content-type"];if(!kA){if(p.contentType==="json"){kA="application/json"}else{kA="application/x-www-form-urlencoded"}aA.headers["content-type"]=kA}if(parseContentType(kA).type==="application/json"){lA=JSON.stringify(lA)}else{lA=p.nestedQuerystring?E.stringify(lA):u.stringify(lA)}}}}}if(lA){if(pA){aA.path+=(z.query?"&":"?")+lA;lA=null}if(lA){var vA=lA.length;if(!Buffer.isBuffer(lA)){vA=Buffer.byteLength(lA)}gA=vA;aA.headers["content-length"]=vA.toString()}}if(p.dataType==="json"){if(!aA.headers.accept){aA.headers.accept="application/json"}}if(typeof p.beforeRequest==="function"){p.beforeRequest(aA)}var MA=null;var RA=null;var bA=null;var NA=false;var xA=false;var GA=0;var UA=0;var LA=0;var JA=-1;var KA=null;var HA=false;var YA="";var TA="";var PA=null;if(p.timing){PA={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0}}function cancelConnectTimer(){if(MA){clearTimeout(MA);MA=null;n("Request#%d connect timer canceled",G)}}function cancelResponseTimer(){if(RA){clearTimeout(RA);RA=null;n("Request#%d response timer canceled",G)}}function done(t,i,o){cancelConnectTimer();cancelResponseTimer();if(!y){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),G,process.pid,aA.method,A);if(t){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s: %s\nstack: %s",Date(),G,process.pid,t.name,t.message,t.stack)}return}var s=y;y=null;var g={};if(o){JA=o.statusCode;KA=o.statusMessage;g=o.headers}if(handleDigestAuth(o,s)){return}var a=createCallbackResponse(i,o);n("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j, socketHandledRequests: %s, socketHandledResponses: %s",a.requestUseTime,LA,JA,aA.method,aA.host,aA.path,xA,PA,GA,UA);if(t){var I="";if(iA&&typeof iA.getCurrentStatus==="function"){I=", agent status: "+JSON.stringify(iA.getCurrentStatus())}t.message+=", "+aA.method+" "+A+" "+JA+" (connected: "+NA+", keepalive socket: "+xA+I+", socketHandledRequests: "+GA+", socketHandledResponses: "+UA+")"+"\nheaders: "+JSON.stringify(g);t.data=i;t.path=aA.path;t.status=JA;t.headers=g;t.res=a;addLongStackTrace(t,N)}var B=iA&&(iA.options&&iA.options.freeSocketTimeout||iA.freeSocketKeepAliveTimeout);if(iA&&iA.keepAlive&&B>0&&JA>=200&&g.connection==="keep-alive"&&g["keep-alive"]){var Q=W.exec(g["keep-alive"]);if(Q){var E=parseInt(Q[1]);if(E>0){var c=E*1e3-500;if(c<B){var u=o.socket||N&&N.socket;if(iA.options&&iA.options.freeSocketTimeout){u.freeSocketTimeout=c}else{u.freeSocketKeepAliveTimeout=c}}}}}s(t,i,p.streaming?o:a);emitResponseEvent(t,a)}function createAndEmitResponseEvent(A,t){var i=createCallbackResponse(A,t);emitResponseEvent(null,i)}function createCallbackResponse(A,t){var i=Date.now()-K;if(PA){PA.contentDownload=i}var n=t&&t.headers||{};var o=t&&t.statusCode||JA;var s=t&&t.statusMessage||KA;return{status:o,statusCode:o,statusMessage:s,headers:n,size:LA,aborted:HA,rt:i,keepAliveSocket:xA,data:A,requestUrls:p.requestUrls,timing:PA,remoteAddress:YA,remotePort:TA,socketHandledRequests:GA,socketHandledResponses:UA}}function emitResponseEvent(A,t){if(p.emitter){$.url=z.href;$.socket=N&&N.connection;$.options=aA;$.size=gA;p.emitter.emit("response",{requestId:G,error:A,ctx:p.ctx,req:$,res:t})}}function handleDigestAuth(i,o){var s={};if(i&&i.headers){s=i.headers}if(JA===401&&s["www-authenticate"]&&!aA.headers.authorization&&p.digestAuth){var g=s["www-authenticate"];if(g.indexOf("Digest ")>=0){n("Request#%d %s: got digest auth header WWW-Authenticate: %s",G,A,g);aA.headers.authorization=h(aA.method,aA.path,g,p.digestAuth);n("Request#%d %s: auth with digest header: %s",G,A,aA.headers.authorization);if(i.headers["set-cookie"]){aA.headers.cookie=i.headers["set-cookie"].join(";")}p.headers=aA.headers;t.requestWithCallback(A,p,o);return true}}return false}function handleRedirect(i){var o=null;if(p.followRedirect&&D.redirect[i.statusCode]){p._followRedirectCount=(p._followRedirectCount||0)+1;var s=i.headers.location;if(!s){o=new Error("Got statusCode "+i.statusCode+" but cannot resolve next location from headers");o.name="FollowRedirectError"}else if(p._followRedirectCount>p.maxRedirects){o=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+A);o.name="MaxRedirectError"}else{var g=p.formatRedirectUrl?p.formatRedirectUrl(A,s):I.resolve(A,s);n("Request#%d %s: `redirected` from %s to %s",G,aA.path,A,g);cancelResponseTimer();if(aA.headers.host&&_.test(s)){aA.headers.host=null;p.headers=aA.headers}var a=y;y=null;t.requestWithCallback(g,p,a);return{redirect:true,error:null}}}return{redirect:false,error:o}}if(p.headers&&(p.headers["User-Agent"]===null||p.headers["user-agent"]===null)){if(aA.headers["user-agent"]){delete aA.headers["user-agent"]}}else{var OA=aA.headers["user-agent"];if(!OA){aA.headers["user-agent"]=L}}if(p.gzip){var qA=p.headers&&(p.headers["Accept-Encoding"]===null||p.headers["accept-encoding"]===null);if(!qA){var jA=aA.headers["accept-encoding"];if(!jA){aA.headers["accept-encoding"]="gzip, deflate"}}}function decodeContent(t,i,o){if(HA){n("Request#%d %s: Remote socket was terminated before `response.end()` was called",G,A);var s=XA||new Error("Remote socket was terminated before `response.end()` was called");return o(s)}var g=t.headers["content-encoding"];if(i.length===0||!g){return o(null,i,g)}g=g.toLowerCase();switch(g){case"gzip":case"deflate":n("unzip %d length body",i.length);l.unzip(i,(function(A,t){if(A&&A.name==="Error"){A.name="UnzipError"}o(A,t)}));break;default:o(null,i,g)}}var _A=p.writeStream;var WA=false;n("Request#%d %s %s with headers %j, options.path: %s",G,AA,A,aA.headers,aA.path);p.requestUrls.push(z.href);var VA=false;var XA;function onResponse(t){VA=true;UA=t.socket[Z]=(t.socket[Z]||0)+1;if(PA){PA.waiting=Date.now()-K}n("Request#%d %s `req response` event emit: status %d, headers: %j",G,A,t.statusCode,t.headers);if(p.streaming){var i=handleRedirect(t);if(i.redirect){t.resume();createAndEmitResponseEvent(null,t);return}if(i.error){t.resume();return done(i.error,null,t)}return done(null,null,t)}t.on("error",(function(t){XA=t;n("Request#%d %s: `res error` event emit, total size %d, socket handled %s requests and %s responses",G,A,LA,GA,UA)}));t.on("aborted",(function(){HA=true;n("Request#%d %s: `res aborted` event emit, total size %d",G,A,LA)}));if(_A){var i=handleRedirect(t);if(i.redirect){t.resume();createAndEmitResponseEvent(null,t);return}if(i.error){t.resume();_A.end();done(i.error,null,t);return}if(p.consumeWriteStream===false){t.on("end",done.bind(null,null,null,t));m(t,_A,(function(t){if(WA){return}WA=true;n("Request#%d %s: writeStream close, error: %s",G,A,t)}));return}if(O||q){w([[_A,"close"],[t,"aborted"]],(function(i,o,s){n("Request#%d %s: writeStream or res %s event emitted",G,A,s);done(bA||null,null,t)}));t.pipe(_A);return}n("Request#%d %s: pump res to writeStream",G,A);m(t,_A,(function(i){n("Request#%d %s: writeStream close event emitted, error: %s, isWriteStreamClose: %s",G,A,i,WA);if(WA){return}WA=true;done(bA||i,null,t)}));return}var o=[];t.on("data",(function(t){n("Request#%d %s: `res data` event emit, size %d",G,A,t.length);LA+=t.length;o.push(t)}));var s=false;function handleResponseCloseAndEnd(i){n("Request#%d %s: `res %s` event emit, total size %d, socket handled %s requests and %s responses",G,A,i,LA,GA,UA);if(s){return}s=true;var g=Buffer.concat(o,LA);n("Request#%d %s: _dumped: %s",G,A,t._dumped);if(bA){return done(bA,g,t)}var a=handleRedirect(t);if(a.error){return done(a.error,g,t)}if(a.redirect){createAndEmitResponseEvent(null,t);return}decodeContent(t,g,(function(A,i,o){if(A){return done(A,g,t)}if(!o&&j.indexOf(p.dataType)>=0){try{i=decodeBodyByCharset(i,t)}catch(A){n("decodeBodyByCharset error: %s",A);return done(null,i,t)}if(p.dataType==="json"){if(LA===0){i=null}else{var s=parseJSON(i,rA);if(s.error){A=s.error}else{i=s.data}}}}done(A,i,t)}))}t.on("close",(function(){handleResponseCloseAndEnd("close")}));t.on("end",(function(){handleResponseCloseAndEnd("end")}))}var ZA,zA;if(Array.isArray(p.timeout)){ZA=d(p.timeout[0]);zA=d(p.timeout[1])}else{ZA=zA=d(p.timeout)}n("ConnectTimeout: %d, ResponseTimeout: %d",ZA,zA);function startConnectTimer(){n("Connect timer ticking, timeout: %d",ZA);MA=setTimeout((function(){MA=null;if(JA===-1){JA=-2}var t="Connect timeout for "+ZA+"ms";var i="ConnectionTimeoutError";if(!N.socket){i="SocketAssignTimeoutError";t+=", working sockets is full"}bA=new Error(t);bA.name=i;bA.requestId=G;n("ConnectTimeout: Request#%d %s %s: %s, connected: %s",G,A,bA.name,t,NA);abortRequest()}),ZA)}function startResposneTimer(){n("Response timer ticking, timeout: %d",zA);RA=setTimeout((function(){RA=null;var t="Response timeout for "+zA+"ms";var i="ResponseTimeoutError";bA=new Error(t);bA.name=i;bA.requestId=G;n("ResponseTimeout: Request#%d %s %s: %s, connected: %s",G,A,bA.name,t,NA);abortRequest()}),zA)}if(p.checkAddress){var $A=z.hostname;var Ae=null;if(c.isV4Format($A)){Ae=4}else if(c.isV6Format($A)){Ae=6}if(Ae){if(!p.checkAddress($A,Ae)){var ee=new Error("illegal address");ee.name="IllegalAddressError";ee.hostname=$A;ee.ip=$A;ee.family=Ae;return done(ee)}}}try{var te=aA;if(p.keepHeaderCase){var ie=Object.keys(IA);if(ie.length){var re={};var CA=k.getOwnEnumerables(aA.headers,true);for(var BA=0;BA<CA.length;BA++){var QA=CA[BA];re[IA[QA]||QA]=aA.headers[QA]}te=Object.assign({},aA);te.headers=re}}N=tA.request(te,onResponse);if(p.trace){N._callSite={};Error.captureStackTrace(N._callSite,requestWithCallback)}}catch(ee){return done(ee)}if(typeof window==="undefined"){startConnectTimer()}var ne=false;function abortRequest(){if(ne){return}ne=true;n("Request#%d %s abort, connected: %s",G,A,NA);if(!N.socket){bA.noSocket=true;done(bA)}N.abort()}if(PA){N.on("finish",(function(){PA.requestSent=Date.now()-K}))}N.once("socket",(function(t){if(PA){PA.queuing=Date.now()-K}if(O&&t.socket){t=t.socket}var i=getSocketTimeout(t);if(i&&i<zA){var o=zA+500;n("Request#%d socket.timeout(%s) < responseTimeout(%s), reset socket timeout to %s",G,i,zA,o);t.setTimeout(o)}GA=t[X]=(t[X]||0)+1;if(t[Z]){UA=t[Z]}var s=t.readyState;if(s==="opening"){t.once("lookup",(function(t,i,o){n("Request#%d %s lookup: %s, %s, %s",G,A,t,i,o);if(PA){PA.dnslookup=Date.now()-K}if(i){YA=i}}));t.once("connect",(function(){if(PA){PA.connected=Date.now()-K}cancelConnectTimer();startResposneTimer();n("Request#%d %s new socket connected",G,A);NA=true;if(!YA){YA=t.remoteAddress}TA=t.remotePort}));return}n("Request#%d %s reuse socket connected, readyState: %s",G,A,s);NA=true;xA=true;if(!YA){YA=t.remoteAddress}TA=t.remotePort;cancelConnectTimer();startResposneTimer()}));if(_A){_A.once("error",(function(t){t.message+=' (writeStream "error")';bA=t;n("Request#%d %s `writeStream error` event emit, %s: %s",G,A,t.name,t.message);abortRequest()}))}var oe=false;function handleRequestError(t){if(!t){return}if(oe&&VA){return}oe=true;if(t.name==="Error"){t.name=NA?"ResponseError":"RequestError"}n("Request#%d %s `req error` event emit, %s: %s",G,A,t.name,t.message);done(bA||t)}if(p.stream){n("Request#%d pump args.stream to req",G);m(p.stream,N,handleRequestError)}else{N.end(lA,(function(){oe=true}))}N.on("error",handleRequestError);N.requestId=G;return N}t.requestWithCallback=requestWithCallback;var z={'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};var $=/[\u0000-\u001F\u005C]/g;function _replaceOneChar(A){return z[A]||"\\u"+(A.charCodeAt(0)+65536).toString(16).substr(1)}function replaceJSONCtlChars(A){return A.replace($,_replaceOneChar)}function parseJSON(A,t){var i={error:null,data:null};if(t){if(typeof t==="function"){A=t(A)}else{A=replaceJSONCtlChars(A)}}try{i.data=JSON.parse(A)}catch(t){if(t.name==="SyntaxError"){t.name="JSONResponseFormatError"}if(A.length>1024){t.message+=" (data json format: "+JSON.stringify(A.slice(0,512))+" ...skip... "+JSON.stringify(A.slice(A.length-512))+")"}else{t.message+=" (data json format: "+JSON.stringify(A)+")"}i.error=t}return i}function decodeBodyByCharset(A,t){var n=t.headers["content-type"];if(!n){return A.toString()}var n=parseContentType(n);var o=n.parameters.charset||"utf-8";if(!Buffer.isEncoding(o)){if(!x){x=i(2507)}return x.decode(A,o)}return A.toString(o)}function getAgent(A,t){return A===undefined?t:A}function parseContentType(A){try{return y.parse(A)}catch(A){return{parameters:{}}}}function addLongStackTrace(A,t){if(!t){return}var i=t._callSite&&t._callSite.stack;if(!i||typeof i!=="string"){return}if(A._longStack){return}var n=i.indexOf("\n");if(n!==-1){A._longStack=true;A.stack+=K+i.substr(n+1)}}function getSocketTimeout(A){return A.timeout||A._idleTimeout}},63509:(A,t,i)=>{t=A.exports=i(65914);t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:localstorage();t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"];function useColors(){if(typeof window!=="undefined"&&window.process&&window.process.type==="renderer"){return true}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}t.formatters.j=function(A){try{return JSON.stringify(A)}catch(A){return"[UnexpectedJSONParseError]: "+A.message}};function formatArgs(A){var i=this.useColors;A[0]=(i?"%c":"")+this.namespace+(i?" %c":" ")+A[0]+(i?"%c ":" ")+"+"+t.humanize(this.diff);if(!i)return;var n="color: "+this.color;A.splice(1,0,n,"color: inherit");var o=0;var s=0;A[0].replace(/%[a-zA-Z%]/g,(function(A){if("%%"===A)return;o++;if("%c"===A){s=o}}));A.splice(s,0,n)}function log(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function save(A){try{if(null==A){t.storage.removeItem("debug")}else{t.storage.debug=A}}catch(A){}}function load(){var A;try{A=t.storage.debug}catch(A){}if(!A&&typeof process!=="undefined"&&"env"in process){A=process.env.DEBUG}return A}t.enable(load());function localstorage(){try{return window.localStorage}catch(A){}}},65914:(A,t,i)=>{t=A.exports=createDebug.debug=createDebug["default"]=createDebug;t.coerce=coerce;t.disable=disable;t.enable=enable;t.enabled=enabled;t.humanize=i(65172);t.names=[];t.skips=[];t.formatters={};var n;function selectColor(A){var i=0,n;for(n in A){i=(i<<5)-i+A.charCodeAt(n);i|=0}return t.colors[Math.abs(i)%t.colors.length]}function createDebug(A){function debug(){if(!debug.enabled)return;var A=debug;var i=+new Date;var o=i-(n||i);A.diff=o;A.prev=n;A.curr=i;n=i;var s=new Array(arguments.length);for(var g=0;g<s.length;g++){s[g]=arguments[g]}s[0]=t.coerce(s[0]);if("string"!==typeof s[0]){s.unshift("%O")}var a=0;s[0]=s[0].replace(/%([a-zA-Z%])/g,(function(i,n){if(i==="%%")return i;a++;var o=t.formatters[n];if("function"===typeof o){var g=s[a];i=o.call(A,g);s.splice(a,1);a--}return i}));t.formatArgs.call(A,s);var I=debug.log||t.log||console.log.bind(console);I.apply(A,s)}debug.namespace=A;debug.enabled=t.enabled(A);debug.useColors=t.useColors();debug.color=selectColor(A);if("function"===typeof t.init){t.init(debug)}return debug}function enable(A){t.save(A);t.names=[];t.skips=[];var i=(typeof A==="string"?A:"").split(/[\s,]+/);var n=i.length;for(var o=0;o<n;o++){if(!i[o])continue;A=i[o].replace(/\*/g,".*?");if(A[0]==="-"){t.skips.push(new RegExp("^"+A.substr(1)+"$"))}else{t.names.push(new RegExp("^"+A+"$"))}}}function disable(){t.enable("")}function enabled(A){var i,n;for(i=0,n=t.skips.length;i<n;i++){if(t.skips[i].test(A)){return false}}for(i=0,n=t.names.length;i<n;i++){if(t.names[i].test(A)){return true}}return false}function coerce(A){if(A instanceof Error)return A.stack||A.message;return A}},1607:(A,t,i)=>{if(typeof process!=="undefined"&&process.type==="renderer"){A.exports=i(63509)}else{A.exports=i(55505)}},55505:(A,t,i)=>{var n=i(76224);var o=i(73837);t=A.exports=i(65914);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.colors=[6,2,3,4,5,1];t.inspectOpts=Object.keys(process.env).filter((function(A){return/^debug_/i.test(A)})).reduce((function(A,t){var i=t.substring(6).toLowerCase().replace(/_([a-z])/g,(function(A,t){return t.toUpperCase()}));var n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n))n=true;else if(/^(no|off|false|disabled)$/i.test(n))n=false;else if(n==="null")n=null;else n=Number(n);A[i]=n;return A}),{});var s=parseInt(process.env.DEBUG_FD,10)||2;if(1!==s&&2!==s){o.deprecate((function(){}),"except for stderr(2) and stdout(1), any other usage of DEBUG_FD is deprecated. Override debug.log if you want to use a different log function (https://git.io/debug_fd)")()}var g=1===s?process.stdout:2===s?process.stderr:createWritableStdioStream(s);function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(s)}t.formatters.o=function(A){this.inspectOpts.colors=this.useColors;return o.inspect(A,this.inspectOpts).split("\n").map((function(A){return A.trim()})).join(" ")};t.formatters.O=function(A){this.inspectOpts.colors=this.useColors;return o.inspect(A,this.inspectOpts)};function formatArgs(A){var i=this.namespace;var n=this.useColors;if(n){var o=this.color;var s=" [3"+o+";1m"+i+" "+"";A[0]=s+A[0].split("\n").join("\n"+s);A.push("[3"+o+"m+"+t.humanize(this.diff)+"")}else{A[0]=(new Date).toUTCString()+" "+i+" "+A[0]}}function log(){return g.write(o.format.apply(o,arguments)+"\n")}function save(A){if(null==A){delete process.env.DEBUG}else{process.env.DEBUG=A}}function load(){return process.env.DEBUG}function createWritableStdioStream(A){var t;var o=process.binding("tty_wrap");switch(o.guessHandleType(A)){case"TTY":t=new n.WriteStream(A);t._type="tty";if(t._handle&&t._handle.unref){t._handle.unref()}break;case"FILE":var s=i(57147);t=new s.SyncWriteStream(A,{autoClose:false});t._type="fs";break;case"PIPE":case"TCP":var g=i(41808);t=new g.Socket({fd:A,readable:false,writable:true});t.readable=false;t.read=null;t._type="pipe";if(t._handle&&t._handle.unref){t._handle.unref()}break;default:throw new Error("Implement me. Unknown stream file type!")}t.fd=A;t._isStdio=true;return t}function init(A){A.inspectOpts={};var i=Object.keys(t.inspectOpts);for(var n=0;n<i.length;n++){A.inspectOpts[i[n]]=t.inspectOpts[i[n]]}}t.enable(load())},45545:(A,t,i)=>{"use strict";var n=i(15118).Buffer;t._dbcs=DBCSCodec;var o=-1,s=-2,g=-10,a=-1e3,I=new Array(256),B=-1;for(var Q=0;Q<256;Q++)I[Q]=o;function DBCSCodec(A,t){this.encodingName=A.encodingName;if(!A)throw new Error("DBCS codec is called without the data.");if(!A.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var i=A.table();this.decodeTables=[];this.decodeTables[0]=I.slice(0);this.decodeTableSeq=[];for(var n=0;n<i.length;n++)this._addDecodeChunk(i[n]);this.defaultCharUnicode=t.defaultCharUnicode;this.encodeTable=[];this.encodeTableSeq=[];var g={};if(A.encodeSkipVals)for(var n=0;n<A.encodeSkipVals.length;n++){var B=A.encodeSkipVals[n];if(typeof B==="number")g[B]=true;else for(var Q=B.from;Q<=B.to;Q++)g[Q]=true}this._fillEncodeTable(0,0,g);if(A.encodeAdd){for(var E in A.encodeAdd)if(Object.prototype.hasOwnProperty.call(A.encodeAdd,E))this._setEncodeChar(E.charCodeAt(0),A.encodeAdd[E])}this.defCharSB=this.encodeTable[0][t.defaultCharSingleByte.charCodeAt(0)];if(this.defCharSB===o)this.defCharSB=this.encodeTable[0]["?"];if(this.defCharSB===o)this.defCharSB="?".charCodeAt(0);if(typeof A.gb18030==="function"){this.gb18030=A.gb18030();var c=this.decodeTables.length;var u=this.decodeTables[c]=I.slice(0);var l=this.decodeTables.length;var p=this.decodeTables[l]=I.slice(0);for(var n=129;n<=254;n++){var h=a-this.decodeTables[0][n];var d=this.decodeTables[h];for(var Q=48;Q<=57;Q++)d[Q]=a-c}for(var n=129;n<=254;n++)u[n]=a-l;for(var n=48;n<=57;n++)p[n]=s}}DBCSCodec.prototype.encoder=DBCSEncoder;DBCSCodec.prototype.decoder=DBCSDecoder;DBCSCodec.prototype._getDecodeTrieNode=function(A){var t=[];for(;A>0;A>>=8)t.push(A&255);if(t.length==0)t.push(0);var i=this.decodeTables[0];for(var n=t.length-1;n>0;n--){var s=i[t[n]];if(s==o){i[t[n]]=a-this.decodeTables.length;this.decodeTables.push(i=I.slice(0))}else if(s<=a){i=this.decodeTables[a-s]}else throw new Error("Overwrite byte in "+this.encodingName+", addr: "+A.toString(16))}return i};DBCSCodec.prototype._addDecodeChunk=function(A){var t=parseInt(A[0],16);var i=this._getDecodeTrieNode(t);t=t&255;for(var n=1;n<A.length;n++){var o=A[n];if(typeof o==="string"){for(var s=0;s<o.length;){var a=o.charCodeAt(s++);if(55296<=a&&a<56320){var I=o.charCodeAt(s++);if(56320<=I&&I<57344)i[t++]=65536+(a-55296)*1024+(I-56320);else throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+A[0])}else if(4080<a&&a<=4095){var B=4095-a+2;var Q=[];for(var E=0;E<B;E++)Q.push(o.charCodeAt(s++));i[t++]=g-this.decodeTableSeq.length;this.decodeTableSeq.push(Q)}else i[t++]=a}}else if(typeof o==="number"){var c=i[t-1]+1;for(var s=0;s<o;s++)i[t++]=c++}else throw new Error("Incorrect type '"+typeof o+"' given in "+this.encodingName+" at chunk "+A[0])}if(t>255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+A[0]+": too long"+t)};DBCSCodec.prototype._getEncodeBucket=function(A){var t=A>>8;if(this.encodeTable[t]===undefined)this.encodeTable[t]=I.slice(0);return this.encodeTable[t]};DBCSCodec.prototype._setEncodeChar=function(A,t){var i=this._getEncodeBucket(A);var n=A&255;if(i[n]<=g)this.encodeTableSeq[g-i[n]][B]=t;else if(i[n]==o)i[n]=t};DBCSCodec.prototype._setEncodeSequence=function(A,t){var i=A[0];var n=this._getEncodeBucket(i);var s=i&255;var a;if(n[s]<=g){a=this.encodeTableSeq[g-n[s]]}else{a={};if(n[s]!==o)a[B]=n[s];n[s]=g-this.encodeTableSeq.length;this.encodeTableSeq.push(a)}for(var I=1;I<A.length-1;I++){var Q=a[i];if(typeof Q==="object")a=Q;else{a=a[i]={};if(Q!==undefined)a[B]=Q}}i=A[A.length-1];a[i]=t};DBCSCodec.prototype._fillEncodeTable=function(A,t,i){var n=this.decodeTables[A];for(var o=0;o<256;o++){var s=n[o];var I=t+o;if(i[I])continue;if(s>=0)this._setEncodeChar(s,I);else if(s<=a)this._fillEncodeTable(a-s,I<<8,i);else if(s<=g)this._setEncodeSequence(this.decodeTableSeq[g-s],I)}};function DBCSEncoder(A,t){this.leadSurrogate=-1;this.seqObj=undefined;this.encodeTable=t.encodeTable;this.encodeTableSeq=t.encodeTableSeq;this.defaultCharSingleByte=t.defCharSB;this.gb18030=t.gb18030}DBCSEncoder.prototype.write=function(A){var t=n.alloc(A.length*(this.gb18030?4:3)),i=this.leadSurrogate,s=this.seqObj,a=-1,I=0,Q=0;while(true){if(a===-1){if(I==A.length)break;var E=A.charCodeAt(I++)}else{var E=a;a=-1}if(55296<=E&&E<57344){if(E<56320){if(i===-1){i=E;continue}else{i=E;E=o}}else{if(i!==-1){E=65536+(i-55296)*1024+(E-56320);i=-1}else{E=o}}}else if(i!==-1){a=E;E=o;i=-1}var c=o;if(s!==undefined&&E!=o){var u=s[E];if(typeof u==="object"){s=u;continue}else if(typeof u=="number"){c=u}else if(u==undefined){u=s[B];if(u!==undefined){c=u;a=E}else{}}s=undefined}else if(E>=0){var l=this.encodeTable[E>>8];if(l!==undefined)c=l[E&255];if(c<=g){s=this.encodeTableSeq[g-c];continue}if(c==o&&this.gb18030){var p=findIdx(this.gb18030.uChars,E);if(p!=-1){var c=this.gb18030.gbChars[p]+(E-this.gb18030.uChars[p]);t[Q++]=129+Math.floor(c/12600);c=c%12600;t[Q++]=48+Math.floor(c/1260);c=c%1260;t[Q++]=129+Math.floor(c/10);c=c%10;t[Q++]=48+c;continue}}}if(c===o)c=this.defaultCharSingleByte;if(c<256){t[Q++]=c}else if(c<65536){t[Q++]=c>>8;t[Q++]=c&255}else{t[Q++]=c>>16;t[Q++]=c>>8&255;t[Q++]=c&255}}this.seqObj=s;this.leadSurrogate=i;return t.slice(0,Q)};DBCSEncoder.prototype.end=function(){if(this.leadSurrogate===-1&&this.seqObj===undefined)return;var A=n.alloc(10),t=0;if(this.seqObj){var i=this.seqObj[B];if(i!==undefined){if(i<256){A[t++]=i}else{A[t++]=i>>8;A[t++]=i&255}}else{}this.seqObj=undefined}if(this.leadSurrogate!==-1){A[t++]=this.defaultCharSingleByte;this.leadSurrogate=-1}return A.slice(0,t)};DBCSEncoder.prototype.findIdx=findIdx;function DBCSDecoder(A,t){this.nodeIdx=0;this.prevBuf=n.alloc(0);this.decodeTables=t.decodeTables;this.decodeTableSeq=t.decodeTableSeq;this.defaultCharUnicode=t.defaultCharUnicode;this.gb18030=t.gb18030}DBCSDecoder.prototype.write=function(A){var t=n.alloc(A.length*2),i=this.nodeIdx,I=this.prevBuf,B=this.prevBuf.length,Q=-this.prevBuf.length,E;if(B>0)I=n.concat([I,A.slice(0,10)]);for(var c=0,u=0;c<A.length;c++){var l=c>=0?A[c]:I[c+B];var E=this.decodeTables[i][l];if(E>=0){}else if(E===o){c=Q;E=this.defaultCharUnicode.charCodeAt(0)}else if(E===s){var p=Q>=0?A.slice(Q,c+1):I.slice(Q+B,c+1+B);var h=(p[0]-129)*12600+(p[1]-48)*1260+(p[2]-129)*10+(p[3]-48);var d=findIdx(this.gb18030.gbChars,h);E=this.gb18030.uChars[d]+h-this.gb18030.gbChars[d]}else if(E<=a){i=a-E;continue}else if(E<=g){var D=this.decodeTableSeq[g-E];for(var y=0;y<D.length-1;y++){E=D[y];t[u++]=E&255;t[u++]=E>>8}E=D[D.length-1]}else throw new Error("iconv-lite internal error: invalid decoding table value "+E+" at "+i+"/"+l);if(E>65535){E-=65536;var w=55296+Math.floor(E/1024);t[u++]=w&255;t[u++]=w>>8;E=56320+E%1024}t[u++]=E&255;t[u++]=E>>8;i=0;Q=c+1}this.nodeIdx=i;this.prevBuf=Q>=0?A.slice(Q):I.slice(Q+B);return t.slice(0,u).toString("ucs2")};DBCSDecoder.prototype.end=function(){var A="";while(this.prevBuf.length>0){A+=this.defaultCharUnicode;var t=this.prevBuf.slice(1);this.prevBuf=n.alloc(0);this.nodeIdx=0;if(t.length>0)A+=this.write(t)}this.nodeIdx=0;return A};function findIdx(A,t){if(A[0]>t)return-1;var i=0,n=A.length;while(i<n-1){var o=i+Math.floor((n-i+1)/2);if(A[o]<=t)i=o;else n=o}return i}},8458:(A,t,i)=>{"use strict";A.exports={shiftjis:{type:"_dbcs",table:function(){return i(39314)},encodeAdd:{"¥":92,"‾":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return i(70288)},encodeAdd:{"¥":92,"‾":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return i(49710)}},gbk:{type:"_dbcs",table:function(){return i(49710).concat(i(80905))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return i(49710).concat(i(80905))},gb18030:function(){return i(96444)},encodeSkipVals:[128],encodeAdd:{"€":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return i(60669)}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return i(95410)}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return i(95410).concat(i(83315))},encodeSkipVals:[41676]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}},91797:(A,t,i)=>{"use strict";var n=[i(99178),i(33108),i(43530),i(24647),i(95789),i(82937),i(45545),i(8458)];for(var o=0;o<n.length;o++){var s=n[o];for(var g in s)if(Object.prototype.hasOwnProperty.call(s,g))t[g]=s[g]}},99178:(A,t,i)=>{"use strict";var n=i(15118).Buffer;A.exports={utf8:{type:"_internal",bomAware:true},cesu8:{type:"_internal",bomAware:true},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:true},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:InternalCodec};function InternalCodec(A,t){this.enc=A.encodingName;this.bomAware=A.bomAware;if(this.enc==="base64")this.encoder=InternalEncoderBase64;else if(this.enc==="cesu8"){this.enc="utf8";this.encoder=InternalEncoderCesu8;if(n.from("eda0bdedb2a9","hex").toString()!=="💩"){this.decoder=InternalDecoderCesu8;this.defaultCharUnicode=t.defaultCharUnicode}}}InternalCodec.prototype.encoder=InternalEncoder;InternalCodec.prototype.decoder=InternalDecoder;var o=i(71576).StringDecoder;if(!o.prototype.end)o.prototype.end=function(){};function InternalDecoder(A,t){o.call(this,t.enc)}InternalDecoder.prototype=o.prototype;function InternalEncoder(A,t){this.enc=t.enc}InternalEncoder.prototype.write=function(A){return n.from(A,this.enc)};InternalEncoder.prototype.end=function(){};function InternalEncoderBase64(A,t){this.prevStr=""}InternalEncoderBase64.prototype.write=function(A){A=this.prevStr+A;var t=A.length-A.length%4;this.prevStr=A.slice(t);A=A.slice(0,t);return n.from(A,"base64")};InternalEncoderBase64.prototype.end=function(){return n.from(this.prevStr,"base64")};function InternalEncoderCesu8(A,t){}InternalEncoderCesu8.prototype.write=function(A){var t=n.alloc(A.length*3),i=0;for(var o=0;o<A.length;o++){var s=A.charCodeAt(o);if(s<128)t[i++]=s;else if(s<2048){t[i++]=192+(s>>>6);t[i++]=128+(s&63)}else{t[i++]=224+(s>>>12);t[i++]=128+(s>>>6&63);t[i++]=128+(s&63)}}return t.slice(0,i)};InternalEncoderCesu8.prototype.end=function(){};function InternalDecoderCesu8(A,t){this.acc=0;this.contBytes=0;this.accBytes=0;this.defaultCharUnicode=t.defaultCharUnicode}InternalDecoderCesu8.prototype.write=function(A){var t=this.acc,i=this.contBytes,n=this.accBytes,o="";for(var s=0;s<A.length;s++){var g=A[s];if((g&192)!==128){if(i>0){o+=this.defaultCharUnicode;i=0}if(g<128){o+=String.fromCharCode(g)}else if(g<224){t=g&31;i=1;n=1}else if(g<240){t=g&15;i=2;n=1}else{o+=this.defaultCharUnicode}}else{if(i>0){t=t<<6|g&63;i--;n++;if(i===0){if(n===2&&t<128&&t>0)o+=this.defaultCharUnicode;else if(n===3&&t<2048)o+=this.defaultCharUnicode;else o+=String.fromCharCode(t)}}else{o+=this.defaultCharUnicode}}}this.acc=t;this.contBytes=i;this.accBytes=n;return o};InternalDecoderCesu8.prototype.end=function(){var A=0;if(this.contBytes>0)A+=this.defaultCharUnicode;return A}},24647:(A,t,i)=>{"use strict";var n=i(15118).Buffer;t._sbcs=SBCSCodec;function SBCSCodec(A,t){if(!A)throw new Error("SBCS codec is called without the data.");if(!A.chars||A.chars.length!==128&&A.chars.length!==256)throw new Error("Encoding '"+A.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(A.chars.length===128){var i="";for(var o=0;o<128;o++)i+=String.fromCharCode(o);A.chars=i+A.chars}this.decodeBuf=n.from(A.chars,"ucs2");var s=n.alloc(65536,t.defaultCharSingleByte.charCodeAt(0));for(var o=0;o<A.chars.length;o++)s[A.chars.charCodeAt(o)]=o;this.encodeBuf=s}SBCSCodec.prototype.encoder=SBCSEncoder;SBCSCodec.prototype.decoder=SBCSDecoder;function SBCSEncoder(A,t){this.encodeBuf=t.encodeBuf}SBCSEncoder.prototype.write=function(A){var t=n.alloc(A.length);for(var i=0;i<A.length;i++)t[i]=this.encodeBuf[A.charCodeAt(i)];return t};SBCSEncoder.prototype.end=function(){};function SBCSDecoder(A,t){this.decodeBuf=t.decodeBuf}SBCSDecoder.prototype.write=function(A){var t=this.decodeBuf;var i=n.alloc(A.length*2);var o=0,s=0;for(var g=0;g<A.length;g++){o=A[g]*2;s=g*2;i[s]=t[o];i[s+1]=t[o+1]}return i.toString("ucs2")};SBCSDecoder.prototype.end=function(){}},82937:A=>{"use strict";A.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�ݰħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤Ĩϧ¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨͧĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Чš©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ "},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ "},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ "},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ "},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ "},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ "},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�"},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ "},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"},maccyrillic:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},macgreek:{type:"_sbcs",chars:"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�"},maciceland:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macroman:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macromania:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},macthai:{type:"_sbcs",chars:"«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู\ufeff​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����"},macturkish:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ"},macukraine:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"},koi8r:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8u:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8ru:{type:"_sbcs",chars:"─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},koi8t:{type:"_sbcs",chars:"қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"},armscii8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�"},rk1048:{type:"_sbcs",chars:"ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},tcvn:{type:"_sbcs",chars:"\0ÚỤỪỬỮ\b\t\n\v\f\rỨỰỲỶỸÝỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"},georgianacademy:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},georgianps:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"},pt154:{type:"_sbcs",chars:"ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"},viscii:{type:"_sbcs",chars:"\0ẲẴẪ\b\t\n\v\f\rỶỸỴ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"},iso646cn:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},iso646jp:{type:"_sbcs",chars:"\0\b\t\n\v\f\r !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������"},hproman8:{type:"_sbcs",chars:"€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�"},macintosh:{type:"_sbcs",chars:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"},ascii:{type:"_sbcs",chars:"��������������������������������������������������������������������������������������������������������������������������������"},tis620:{type:"_sbcs",chars:"���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����"}}},95789:A=>{"use strict";A.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "},mik:{type:"_sbcs",chars:"АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}},33108:(A,t,i)=>{"use strict";var n=i(15118).Buffer;t.utf16be=Utf16BECodec;function Utf16BECodec(){}Utf16BECodec.prototype.encoder=Utf16BEEncoder;Utf16BECodec.prototype.decoder=Utf16BEDecoder;Utf16BECodec.prototype.bomAware=true;function Utf16BEEncoder(){}Utf16BEEncoder.prototype.write=function(A){var t=n.from(A,"ucs2");for(var i=0;i<t.length;i+=2){var o=t[i];t[i]=t[i+1];t[i+1]=o}return t};Utf16BEEncoder.prototype.end=function(){};function Utf16BEDecoder(){this.overflowByte=-1}Utf16BEDecoder.prototype.write=function(A){if(A.length==0)return"";var t=n.alloc(A.length+1),i=0,o=0;if(this.overflowByte!==-1){t[0]=A[0];t[1]=this.overflowByte;i=1;o=2}for(;i<A.length-1;i+=2,o+=2){t[o]=A[i+1];t[o+1]=A[i]}this.overflowByte=i==A.length-1?A[A.length-1]:-1;return t.slice(0,o).toString("ucs2")};Utf16BEDecoder.prototype.end=function(){};t.utf16=Utf16Codec;function Utf16Codec(A,t){this.iconv=t}Utf16Codec.prototype.encoder=Utf16Encoder;Utf16Codec.prototype.decoder=Utf16Decoder;function Utf16Encoder(A,t){A=A||{};if(A.addBOM===undefined)A.addBOM=true;this.encoder=t.iconv.getEncoder("utf-16le",A)}Utf16Encoder.prototype.write=function(A){return this.encoder.write(A)};Utf16Encoder.prototype.end=function(){return this.encoder.end()};function Utf16Decoder(A,t){this.decoder=null;this.initialBytes=[];this.initialBytesLen=0;this.options=A||{};this.iconv=t.iconv}Utf16Decoder.prototype.write=function(A){if(!this.decoder){this.initialBytes.push(A);this.initialBytesLen+=A.length;if(this.initialBytesLen<16)return"";var A=n.concat(this.initialBytes),t=detectEncoding(A,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);this.initialBytes.length=this.initialBytesLen=0}return this.decoder.write(A)};Utf16Decoder.prototype.end=function(){if(!this.decoder){var A=n.concat(this.initialBytes),t=detectEncoding(A,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);var i=this.decoder.write(A),o=this.decoder.end();return o?i+o:i}return this.decoder.end()};function detectEncoding(A,t){var i=t||"utf-16le";if(A.length>=2){if(A[0]==254&&A[1]==255)i="utf-16be";else if(A[0]==255&&A[1]==254)i="utf-16le";else{var n=0,o=0,s=Math.min(A.length-A.length%2,64);for(var g=0;g<s;g+=2){if(A[g]===0&&A[g+1]!==0)o++;if(A[g]!==0&&A[g+1]===0)n++}if(o>n)i="utf-16be";else if(o<n)i="utf-16le"}}return i}},43530:(A,t,i)=>{"use strict";var n=i(15118).Buffer;t.utf7=Utf7Codec;t.unicode11utf7="utf7";function Utf7Codec(A,t){this.iconv=t}Utf7Codec.prototype.encoder=Utf7Encoder;Utf7Codec.prototype.decoder=Utf7Decoder;Utf7Codec.prototype.bomAware=true;var o=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function Utf7Encoder(A,t){this.iconv=t.iconv}Utf7Encoder.prototype.write=function(A){return n.from(A.replace(o,function(A){return"+"+(A==="+"?"":this.iconv.encode(A,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};Utf7Encoder.prototype.end=function(){};function Utf7Decoder(A,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=""}var s=/[A-Za-z0-9\/+]/;var g=[];for(var a=0;a<256;a++)g[a]=s.test(String.fromCharCode(a));var I="+".charCodeAt(0),B="-".charCodeAt(0),Q="&".charCodeAt(0);Utf7Decoder.prototype.write=function(A){var t="",i=0,o=this.inBase64,s=this.base64Accum;for(var a=0;a<A.length;a++){if(!o){if(A[a]==I){t+=this.iconv.decode(A.slice(i,a),"ascii");i=a+1;o=true}}else{if(!g[A[a]]){if(a==i&&A[a]==B){t+="+"}else{var Q=s+A.slice(i,a).toString();t+=this.iconv.decode(n.from(Q,"base64"),"utf16-be")}if(A[a]!=B)a--;i=a+1;o=false;s=""}}}if(!o){t+=this.iconv.decode(A.slice(i),"ascii")}else{var Q=s+A.slice(i).toString();var E=Q.length-Q.length%8;s=Q.slice(E);Q=Q.slice(0,E);t+=this.iconv.decode(n.from(Q,"base64"),"utf16-be")}this.inBase64=o;this.base64Accum=s;return t};Utf7Decoder.prototype.end=function(){var A="";if(this.inBase64&&this.base64Accum.length>0)A=this.iconv.decode(n.from(this.base64Accum,"base64"),"utf16-be");this.inBase64=false;this.base64Accum="";return A};t.utf7imap=Utf7IMAPCodec;function Utf7IMAPCodec(A,t){this.iconv=t}Utf7IMAPCodec.prototype.encoder=Utf7IMAPEncoder;Utf7IMAPCodec.prototype.decoder=Utf7IMAPDecoder;Utf7IMAPCodec.prototype.bomAware=true;function Utf7IMAPEncoder(A,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=n.alloc(6);this.base64AccumIdx=0}Utf7IMAPEncoder.prototype.write=function(A){var t=this.inBase64,i=this.base64Accum,o=this.base64AccumIdx,s=n.alloc(A.length*5+10),g=0;for(var a=0;a<A.length;a++){var I=A.charCodeAt(a);if(32<=I&&I<=126){if(t){if(o>0){g+=s.write(i.slice(0,o).toString("base64").replace(/\//g,",").replace(/=+$/,""),g);o=0}s[g++]=B;t=false}if(!t){s[g++]=I;if(I===Q)s[g++]=B}}else{if(!t){s[g++]=Q;t=true}if(t){i[o++]=I>>8;i[o++]=I&255;if(o==i.length){g+=s.write(i.toString("base64").replace(/\//g,","),g);o=0}}}}this.inBase64=t;this.base64AccumIdx=o;return s.slice(0,g)};Utf7IMAPEncoder.prototype.end=function(){var A=n.alloc(10),t=0;if(this.inBase64){if(this.base64AccumIdx>0){t+=A.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),t);this.base64AccumIdx=0}A[t++]=B;this.inBase64=false}return A.slice(0,t)};function Utf7IMAPDecoder(A,t){this.iconv=t.iconv;this.inBase64=false;this.base64Accum=""}var E=g.slice();E[",".charCodeAt(0)]=true;Utf7IMAPDecoder.prototype.write=function(A){var t="",i=0,o=this.inBase64,s=this.base64Accum;for(var g=0;g<A.length;g++){if(!o){if(A[g]==Q){t+=this.iconv.decode(A.slice(i,g),"ascii");i=g+1;o=true}}else{if(!E[A[g]]){if(g==i&&A[g]==B){t+="&"}else{var a=s+A.slice(i,g).toString().replace(/,/g,"/");t+=this.iconv.decode(n.from(a,"base64"),"utf16-be")}if(A[g]!=B)g--;i=g+1;o=false;s=""}}}if(!o){t+=this.iconv.decode(A.slice(i),"ascii")}else{var a=s+A.slice(i).toString().replace(/,/g,"/");var I=a.length-a.length%8;s=a.slice(I);a=a.slice(0,I);t+=this.iconv.decode(n.from(a,"base64"),"utf16-be")}this.inBase64=o;this.base64Accum=s;return t};Utf7IMAPDecoder.prototype.end=function(){var A="";if(this.inBase64&&this.base64Accum.length>0)A=this.iconv.decode(n.from(this.base64Accum,"base64"),"utf16-be");this.inBase64=false;this.base64Accum="";return A}},62688:(A,t)=>{"use strict";var i="\ufeff";t.PrependBOM=PrependBOMWrapper;function PrependBOMWrapper(A,t){this.encoder=A;this.addBOM=true}PrependBOMWrapper.prototype.write=function(A){if(this.addBOM){A=i+A;this.addBOM=false}return this.encoder.write(A)};PrependBOMWrapper.prototype.end=function(){return this.encoder.end()};t.StripBOM=StripBOMWrapper;function StripBOMWrapper(A,t){this.decoder=A;this.pass=false;this.options=t||{}}StripBOMWrapper.prototype.write=function(A){var t=this.decoder.write(A);if(this.pass||!t)return t;if(t[0]===i){t=t.slice(1);if(typeof this.options.stripBOM==="function")this.options.stripBOM()}this.pass=true;return t};StripBOMWrapper.prototype.end=function(){return this.decoder.end()}},18296:(A,t,i)=>{"use strict";var n=i(14300).Buffer;A.exports=function(A){var t=undefined;A.supportsNodeEncodingsExtension=!(n.from||new n(0)instanceof Uint8Array);A.extendNodeEncodings=function extendNodeEncodings(){if(t)return;t={};if(!A.supportsNodeEncodingsExtension){console.error("ACTION NEEDED: require('iconv-lite').extendNodeEncodings() is not supported in your version of Node");console.error("See more info at https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility");return}var o={hex:true,utf8:true,"utf-8":true,ascii:true,binary:true,base64:true,ucs2:true,"ucs-2":true,utf16le:true,"utf-16le":true};n.isNativeEncoding=function(A){return A&&o[A.toLowerCase()]};var s=i(14300).SlowBuffer;t.SlowBufferToString=s.prototype.toString;s.prototype.toString=function(i,o,s){i=String(i||"utf8").toLowerCase();if(n.isNativeEncoding(i))return t.SlowBufferToString.call(this,i,o,s);if(typeof o=="undefined")o=0;if(typeof s=="undefined")s=this.length;return A.decode(this.slice(o,s),i)};t.SlowBufferWrite=s.prototype.write;s.prototype.write=function(i,o,s,g){if(isFinite(o)){if(!isFinite(s)){g=s;s=undefined}}else{var a=g;g=o;o=s;s=a}o=+o||0;var I=this.length-o;if(!s){s=I}else{s=+s;if(s>I){s=I}}g=String(g||"utf8").toLowerCase();if(n.isNativeEncoding(g))return t.SlowBufferWrite.call(this,i,o,s,g);if(i.length>0&&(s<0||o<0))throw new RangeError("attempt to write beyond buffer bounds");var B=A.encode(i,g);if(B.length<s)s=B.length;B.copy(this,o,0,s);return s};t.BufferIsEncoding=n.isEncoding;n.isEncoding=function(t){return n.isNativeEncoding(t)||A.encodingExists(t)};t.BufferByteLength=n.byteLength;n.byteLength=s.byteLength=function(i,o){o=String(o||"utf8").toLowerCase();if(n.isNativeEncoding(o))return t.BufferByteLength.call(this,i,o);return A.encode(i,o).length};t.BufferToString=n.prototype.toString;n.prototype.toString=function(i,o,s){i=String(i||"utf8").toLowerCase();if(n.isNativeEncoding(i))return t.BufferToString.call(this,i,o,s);if(typeof o=="undefined")o=0;if(typeof s=="undefined")s=this.length;return A.decode(this.slice(o,s),i)};t.BufferWrite=n.prototype.write;n.prototype.write=function(i,o,s,g){var a=o,I=s,B=g;if(isFinite(o)){if(!isFinite(s)){g=s;s=undefined}}else{var Q=g;g=o;o=s;s=Q}g=String(g||"utf8").toLowerCase();if(n.isNativeEncoding(g))return t.BufferWrite.call(this,i,a,I,B);o=+o||0;var E=this.length-o;if(!s){s=E}else{s=+s;if(s>E){s=E}}if(i.length>0&&(s<0||o<0))throw new RangeError("attempt to write beyond buffer bounds");var c=A.encode(i,g);if(c.length<s)s=c.length;c.copy(this,o,0,s);return s};if(A.supportsStreams){var g=i(12781).Readable;t.ReadableSetEncoding=g.prototype.setEncoding;g.prototype.setEncoding=function setEncoding(t,i){this._readableState.decoder=A.getDecoder(t,i);this._readableState.encoding=t};g.prototype.collect=A._collect}};A.undoExtendNodeEncodings=function undoExtendNodeEncodings(){if(!A.supportsNodeEncodingsExtension)return;if(!t)throw new Error("require('iconv-lite').undoExtendNodeEncodings(): Nothing to undo; extendNodeEncodings() is not called.");delete n.isNativeEncoding;var o=i(14300).SlowBuffer;o.prototype.toString=t.SlowBufferToString;o.prototype.write=t.SlowBufferWrite;n.isEncoding=t.BufferIsEncoding;n.byteLength=t.BufferByteLength;n.prototype.toString=t.BufferToString;n.prototype.write=t.BufferWrite;if(A.supportsStreams){var s=i(12781).Readable;s.prototype.setEncoding=t.ReadableSetEncoding;delete s.prototype.collect}t=undefined}}},2507:(A,t,i)=>{"use strict";var n=i(15118).Buffer;var o=i(62688),s=A.exports;s.encodings=null;s.defaultCharUnicode="�";s.defaultCharSingleByte="?";s.encode=function encode(A,t,i){A=""+(A||"");var o=s.getEncoder(t,i);var g=o.write(A);var a=o.end();return a&&a.length>0?n.concat([g,a]):g};s.decode=function decode(A,t,i){if(typeof A==="string"){if(!s.skipDecodeWarning){console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding");s.skipDecodeWarning=true}A=n.from(""+(A||""),"binary")}var o=s.getDecoder(t,i);var g=o.write(A);var a=o.end();return a?g+a:g};s.encodingExists=function encodingExists(A){try{s.getCodec(A);return true}catch(A){return false}};s.toEncoding=s.encode;s.fromEncoding=s.decode;s._codecDataCache={};s.getCodec=function getCodec(A){if(!s.encodings)s.encodings=i(91797);var t=s._canonicalizeEncoding(A);var n={};while(true){var o=s._codecDataCache[t];if(o)return o;var g=s.encodings[t];switch(typeof g){case"string":t=g;break;case"object":for(var a in g)n[a]=g[a];if(!n.encodingName)n.encodingName=t;t=g.type;break;case"function":if(!n.encodingName)n.encodingName=t;o=new g(n,s);s._codecDataCache[n.encodingName]=o;return o;default:throw new Error("Encoding not recognized: '"+A+"' (searched as: '"+t+"')")}}};s._canonicalizeEncoding=function(A){return(""+A).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};s.getEncoder=function getEncoder(A,t){var i=s.getCodec(A),n=new i.encoder(t,i);if(i.bomAware&&t&&t.addBOM)n=new o.PrependBOM(n,t);return n};s.getDecoder=function getDecoder(A,t){var i=s.getCodec(A),n=new i.decoder(t,i);if(i.bomAware&&!(t&&t.stripBOM===false))n=new o.StripBOM(n,t);return n};var g=typeof process!=="undefined"&&process.versions&&process.versions.node;if(g){var a=g.split(".").map(Number);if(a[0]>0||a[1]>=10){i(15013)(s)}i(18296)(s)}if(false){}},15013:(A,t,i)=>{"use strict";var n=i(14300).Buffer,o=i(12781).Transform;A.exports=function(A){A.encodeStream=function encodeStream(t,i){return new IconvLiteEncoderStream(A.getEncoder(t,i),i)};A.decodeStream=function decodeStream(t,i){return new IconvLiteDecoderStream(A.getDecoder(t,i),i)};A.supportsStreams=true;A.IconvLiteEncoderStream=IconvLiteEncoderStream;A.IconvLiteDecoderStream=IconvLiteDecoderStream;A._collect=IconvLiteDecoderStream.prototype.collect};function IconvLiteEncoderStream(A,t){this.conv=A;t=t||{};t.decodeStrings=false;o.call(this,t)}IconvLiteEncoderStream.prototype=Object.create(o.prototype,{constructor:{value:IconvLiteEncoderStream}});IconvLiteEncoderStream.prototype._transform=function(A,t,i){if(typeof A!="string")return i(new Error("Iconv encoding stream needs strings as its input."));try{var n=this.conv.write(A);if(n&&n.length)this.push(n);i()}catch(A){i(A)}};IconvLiteEncoderStream.prototype._flush=function(A){try{var t=this.conv.end();if(t&&t.length)this.push(t);A()}catch(t){A(t)}};IconvLiteEncoderStream.prototype.collect=function(A){var t=[];this.on("error",A);this.on("data",(function(A){t.push(A)}));this.on("end",(function(){A(null,n.concat(t))}));return this};function IconvLiteDecoderStream(A,t){this.conv=A;t=t||{};t.encoding=this.encoding="utf8";o.call(this,t)}IconvLiteDecoderStream.prototype=Object.create(o.prototype,{constructor:{value:IconvLiteDecoderStream}});IconvLiteDecoderStream.prototype._transform=function(A,t,i){if(!n.isBuffer(A))return i(new Error("Iconv decoding stream needs buffers as its input."));try{var o=this.conv.write(A);if(o&&o.length)this.push(o,this.encoding);i()}catch(A){i(A)}};IconvLiteDecoderStream.prototype._flush=function(A){try{var t=this.conv.end();if(t&&t.length)this.push(t,this.encoding);A()}catch(t){A(t)}};IconvLiteDecoderStream.prototype.collect=function(A){var t="";this.on("error",A);this.on("data",(function(A){t+=A}));this.on("end",(function(){A(null,t)}));return this}},65172:A=>{var t=1e3;var i=t*60;var n=i*60;var o=n*24;var s=o*365.25;A.exports=function(A,t){t=t||{};var i=typeof A;if(i==="string"&&A.length>0){return parse(A)}else if(i==="number"&&isNaN(A)===false){return t.long?fmtLong(A):fmtShort(A)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(A))};function parse(A){A=String(A);if(A.length>100){return}var g=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(A);if(!g){return}var a=parseFloat(g[1]);var I=(g[2]||"ms").toLowerCase();switch(I){case"years":case"year":case"yrs":case"yr":case"y":return a*s;case"days":case"day":case"d":return a*o;case"hours":case"hour":case"hrs":case"hr":case"h":return a*n;case"minutes":case"minute":case"mins":case"min":case"m":return a*i;case"seconds":case"second":case"secs":case"sec":case"s":return a*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return undefined}}function fmtShort(A){if(A>=o){return Math.round(A/o)+"d"}if(A>=n){return Math.round(A/n)+"h"}if(A>=i){return Math.round(A/i)+"m"}if(A>=t){return Math.round(A/t)+"s"}return A+"ms"}function fmtLong(A){return plural(A,o,"day")||plural(A,n,"hour")||plural(A,i,"minute")||plural(A,t,"second")||A+" ms"}function plural(A,t,i){if(A<t){return}if(A<t*1.5){return Math.floor(A/t)+" "+i}return Math.ceil(A/t)+" "+i+"s"}},63967:(A,t,i)=>{"use strict";
69
69
  /*!
70
70
  * statuses