`,cliCategory:i},endOfLine:{since:"1.15.0",category:l,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:n`
`}]},filepath:{since:"1.4.0",category:u,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:a,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:u,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:a},parser:{since:"0.0.10",category:l,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:l,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:r},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:l,description:n`
`,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:r},printWidth:{since:"0.0.0",category:l,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:u,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:n`
t.extract=function(e){for(vart=0,n=[],r="",i=0,o=e.length;i<o;i++){vara=e.charAt(i);t?("]"!==a&&")"!==a||t--,r+=a):","===a?(n.push(r),r=""):("["!==a&&"("!==a||t++,(r.length||","!==a&&"\n"!==a&&" "!==a)&&(r+=a))}returnr.length&&n.push(r),n},t.parseCSS=function(e){for(vart=r.parse(e,{position:!0,comments:!0}),n="undefined"!=typeoft.stylesheet&&t.stylesheet.rules?t.stylesheet.rules:[],i=[],o=0,a=n.length;o<a;o++)if("rule"==n[o].type)for(vars=n[o],l=s.selectors,u=0,c=l.length;u<c;u++)i.push([l[u],s.declarations]);returni},t.getPreservedText=function(e,t,n){for(vari=r.parse(e,{position:!0,comments:!0}),o="undefined"!=typeofi.stylesheet&&i.stylesheet.rules?i.stylesheet.rules:[],a=[],s=o.length-1;s>=0;s--)(t.fontFaces&&"font-face"===o[s].type||t.mediaQueries&&"media"===o[s].type||t.keyFrames&&"keyframes"===o[s].type||t.pseudos&&o[s].selectors&&this.matchesPseudo(o[s].selectors[0],n))&&a.unshift(r.stringify({stylesheet:{rules:[o[s]]}},{comments:!1,indentation:" "})),o[s].position.start;return0!==a.length&&"\n"+a.join("\n")+"\n"},t.normalizeLineEndings=function(e){returne.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")},t.matchesPseudo=function(e,t){returnt.find((function(t){returne.indexOf(t)>-1}))},t.compareFunc=function(e,t){for(varn=Math.min(e.length,t.length),r=0;r<n;r++)if(e[r]!==t[r])returne[r]>t[r]?1:-1;returne.length-t.length},t.compare=function(e,n){return1==t.compareFunc(e,n)?e:n},t.getDefaultOptions=function(e){vart=Object.assign({extraCss:"",insertPreservedExtraCss:!0,applyStyleTags:!0,removeStyleTags:!0,preserveMediaQueries:!0,preserveFontFaces:!0,preserveKeyFrames:!0,preservePseudos:!0,applyWidthAttributes:!0,applyHeightAttributes:!0,applyAttributesTableElements:!0,url:""},e);returnt.webResources=t.webResources||{},t}},"4cd5":function(e,t,n){"use strict";varr=n("7061"),i=n("58c8");e.exports=function(e,t,n){varo=this||i;returnr.forEach(n,(function(n){e=n.call(o,e,t)})),e}},"4d11":function(e,t){functionn(e){constt=["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"];return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:t},contains:[e.QUOTE_STRING_MODE,e.COMMENT("REM","$",{relevance:10}),e.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}e.exports=n},"4d20":function(e,t,n){"use strict";e.exports=a;varr=n("f176"),i=Object.create(n("8ce8"));functiono(e,t){varn=this._transformState;n.transforming=!1;varr=n.writecb;if(!r)returnthis.emit("error",newError("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);vari=this._readableState;i.reading=!1,(
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
varr=n("eb72"),i=r.Buffer;functiono(e,t){for(varnine)t[n]=e[n]}functiona(e,t,n){returni(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,n){if("number"===typeofe)thrownewTypeError("Argument must not be a number");returni(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeofe)thrownewTypeError("Argument must be a number");varr=i(e);returnvoid0!==t?"string"===typeofn?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returni(e)},a.allocUnsafeSlow=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returnr.SlowBuffer(e)}},6008:function(e,t,n){"use strict";varr=n("fbe2"),i=n("6399"),o=10,a=40,s=800;functionl(e){vart=0,n=0,r=0,i=0;return"detail"ine&&(n=e.detail),"wheelDelta"ine&&(n=-e.wheelDelta/120),"wheelDeltaY"ine&&(n=-e.wheelDeltaY/120),"wheelDeltaX"ine&&(t=-e.wheelDeltaX/120),"axis"ine&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*o,i=n*o,"deltaY"ine&&(i=e.deltaY),"deltaX"ine&&(r=e.deltaX),(r||i)&&e.deltaMode&&(1==e.deltaMode?(r*=a,i*=a):(r*=s,i*=s)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}l.getEventType=function(){returnr.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=l},"60bc":function(e,t,n){"use strict";varr=n("7992"),i=n("1eb8");e.exports=function(e,t){varn=e[t];returni(n)?void0:r(n)}},"60cf":function(e,t,n){e.exports=n("623a").PassThrough},"60f8":function(e,t){functionn(e){constt={className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},n={className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},r={className:"variable",begin:/%[_a-zA-Z0-9:]+%/},i={className:"symbol",begin:/\\u[a-fA-F0-9]{4}/},o={className:"symbol",begin:/\\[\\nt$%,()]/};return{name:"Tagger Script",contains:[t,n,r,o,i]}}e.exports=n},"60ff":function(e,t,n){(function(e){(function(e,t){"use strict";functionr(e,t){if(!e)thrownewError(t||"Assertion failed")}functioni(e,t){e.super_=t;varn=function(){};n.prototype=t.prototype,e.prototype=newn,e.prototype.constructor=e}functiono(e,t,n){if(o.isBN(e))returne;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(n=t,t=10),this._init(e||0,t||10,n||"be"))}vara;"object"===typeofe?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeofwindow&&"undefined"!==typeofwindow.Buffer?window.Buffer:n(13).Buffer}catch(D){}functions(e,t){varn=e.charCodeAt(t);returnn>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}functionl(e,t,n){varr=s(e,n);returnn-1>=t&&(r|=s(e,n-1)<<4),r}functionu(e,t,n,r){for(vari=0,o=Math.min(e.length,n),a=t;a<o;a++){vars=e.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}returni}o.isBN=function(e){returneinstanceofo||null!==e&&"object"===typeofe&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){returne.cmp(t)>0?e:t},o.min=function(e,t){returne.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeofe)returnthis._initNumber(e,t,n);if("object"===typeofe)returnthis._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");vari=0;"-"===e[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,n):(this._parseBase(e,t,i),"le"===n&&this._initArray(this.toArray(),t,n)))},o.prototype._initNumber=function(e,t,n){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(r(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===n&&this._initArray(this.toArray(),t,n)},o.prototype._initArray=function(e,t,n){if(r("number"===typeofe.length),e.length<=0)returnthis.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=newArray(this.length);for(vari=0;i<this.length;i++)this.words[i]=0;varo,a,s=0;if("be"===n)
functiono(e,t){if(!i.canUseDOM||t&&!("addEventListener"indocument))return!1;varn="on"+e,o=nindocument;if(!o){vara=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeofa[n]}return!o&&r&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}i.canUseDOM&&(r=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},6593:function(e,t){functionn(e){constt=e.regex,n={begin:"^'{3,}[ \\t]*$",relevance:10},r=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],i=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:t.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],o=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:t.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],a={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},s={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[e.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),e.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ \t].+?([ \t]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},s,a,...r,...i,...o,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},n,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}e.exports=n},"659e":function(e,t,n){"use strict";constr=n("f7af"),i=n("becb");t.parse=function(e,t){constn=newr(t);returnn.parse(e)},t.parseFragment=function(e,t,n){"string"===typeofe&&(n=t,t=e,e=null);consti=newr(n);returni.parseFragment(t,e)},t.serialize=function(e,t){constn=newi(e,t);returnn.serialize()}},"65cc":function(e,t,n){"use strict";t.__esModule=!0;varr=n("da4b");functioni(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}varo=function(){functione(){i(this,e)}returne.prototype.beforeEnter=function(e){(0,r.addClass)(e,"collapse-transition"),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0},e.prototype.enter=function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height=e.scrollHeight+"px",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},e.prototype.afterEnter=function(e){(0,r.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow},e.
returnfunction(t){varn=e,r=n.lib,i=r.WordArray,o=r.Hasher,a=n.algo,s=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),l=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),u=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),c=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),p=i.create([1352829926,1548603684,1836072691,2053994217,0]),h=a.RIPEMD160=o.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(varn=0;n<16;n++){varr=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}varo,a,h,_,E,S,w,x,C,T,D,A=this._hash.words,O=d.words,k=p.words,N=s.words,I=l.words,M=u.words,R=c.words;S=o=A[0],w=a=A[1],x=h=A[2],C=_=A[3],T=E=A[4];for(n=0;n<80;n+=1)D=o+e[t+N[n]]|0,D+=n<16?f(a,h,_)+O[0]:n<32?m(a,h,_)+O[1]:n<48?g(a,h,_)+O[2]:n<64?v(a,h,_)+O[3]:b(a,h,_)+O[4],D|=0,D=y(D,M[n]),D=D+E|0,o=E,E=_,_=y(h,10),h=a,a=D,D=S+e[t+I[n]]|0,D+=n<16?b(w,x,C)+k[0]:n<32?v(w,x,C)+k[1]:n<48?g(w,x,C)+k[2]:n<64?m(w,x,C)+k[3]:f(w,x,C)+k[4],D|=0,D=y(D,R[n]),D=D+T|0,S=T,T=C,C=y(x,10),x=w,w=D;D=A[1]+h+C|0,A[1]=A[2]+_+T|0,A[2]=A[3]+E+S|0,A[3]=A[4]+o+w|0,A[4]=A[0]+a+x|0,A[0]=D},_doFinalize:function(){vare=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(vari=this._hash,o=i.words,a=0;a<5;a++){vars=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}returni},clone:function(){vare=o.clone.call(this);returne._hash=this._hash.clone(),e}});functionf(e,t,n){returne^t^n}functionm(e,t,n){returne&t|~e&n}functiong(e,t,n){return(e|~t)^n}functionv(e,t,n){returne&n|t&~n}functionb(e,t,n){returne^(t|~n)}functiony(e,t){returne<<t|e>>>32-t}n.RIPEMD160=o._createHelper(h),n.HmacRIPEMD160=o._createHmacHelper(h)}(Math),e.RIPEMD160}))},8647:function(e,t,n){"use strict";varr=n("60ff"),i=n("4e45"),o=i.assert,a=i.cachedProperty,s=i.parseBytes;functionl(e,t){this.eddsa=e,"object"!==typeoft&&(t=s(t)),Array.isArray(t)&&(t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.Sinstanceofr&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(l,"S",(function(){returnthis.eddsa.decodeInt(this.Sencoded())})),a(l,"R",(function(){returnthis.eddsa.decodePoint(this.Rencoded())})),a(l,"Rencoded",(function(){returnthis.eddsa.encodePoint(this.R())})),a(l,"Sencoded",(function(){returnthis.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){returnthis.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){returni.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},"86b6":function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},"86df":function(e,t,n){"use strict";constr=n("1826");classiextendsr{constructor(e,t){super(e),this.onItemPop=t.onItemPop}_getOverriddenMethods(e,t){return{pop(){e.onItemPop(this.current),t.pop.call(this)},popAllUpToHtmlElement(){for(lett=this.stackTop;t>0;t--)e.onItemPop(this.items[t]);t.popAllUpToHtmlElement.call(this)},remove(n){e.onItemPop(this.current),t.remove.call(this,n)}}}}e.exports=i},"86fc":function(e,t,n){"use strict";varr;n.r(t),n.d(t,"SelectorType",(function(){returnr})),n.d(t,"IgnoreCaseMode",(function(){returni})),
`,cliCategory:i},endOfLine:{since:"1.15.0",category:l,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:n`
`}]},filepath:{since:"1.4.0",category:u,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:a,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:u,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:a},parser:{since:"0.0.10",category:l,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:l,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:r},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:l,description:n`
`,exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin-search-dir",cliCategory:r},printWidth:{since:"0.0.0",category:l,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:u,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:n`
`,cliCategory:a},tabWidth:{type:"int",category:l,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:l,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:l,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};t.exports={CATEGORY_CONFIG:r,CATEGORY_EDITOR:i,CATEGORY_FORMAT:o,CATEGORY_OTHER:a,CATEGORY_OUTPUT:s,CATEGORY_GLOBAL:l,CATEGORY_SPECIAL:u,options:c}}}),Ot=h({"src/main/support.js"(e,t){b();var i={compare:St(),lt:wt(),gte:xt()},o=Ct(),a=Tt().version,s=At().options;function l(){let{plugins:e=[],showUnreleased:t=!1,showDeprecated:l=!1,showInternal:c=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=a.split("-",1)[0],p=e.flatMap(e=>e.languages||[]).filter(f),h=o(Object.assign({},...e.map(e=>{let{options:t}=e;return t}),s),"name").filter(e=>f(e)&&m(e)).sort((e,t)=>e.name===t.name?0:e.name<t.name?-1:1).map(g).map(t=>{t=Object.assign({},t),Array.isArray(t.default)&&(t.default=1===t.default.length?t.default[0].value:t.default.filter(f).sort((e,t)=>i.compare(t.since,e.since))[0].value),Array.isArray(t.choices)&&(t.choices=t.choices.filter(e=>f(e)&&m(e)),"parser"===t.name&&u(t,p,e));let n=Object.fromEntries(e.filter(e=>e.defaultOptions&&void 0!==e.defaultOptions[t.name]).map(e=>[e.name,e.defaultOptions[t.name]]));return Object.assign(Object.assign({},t),{},{pluginDefaults:n})});return{languages:p,options:h};function f(e){return t||!("since"in e)||e.since&&i.gte(d,e.since)}function m(e){return l||!("deprecated"in e)||e.deprecated&&i.lt(d,e.deprecated)}function g(e){if(c)return e;let{cliName:t,cliCategory:i,cliDescription:o}=e;return r(e,n)}}function u(e,t,n){let r=new Set(e.choices.map(e=>e.value));for(let i of t)if(i.parsers)for(let t of i.parsers)if(!r.has(t)){r.add(t);let o=n.find(e=>e.parsers&&e.parsers[t]),a=i.name;o&&o.name&&(a+=`(plugin:${o.name})`),e.choices.push({value:t,description:a})}}t.exports={getSupportInfo:l}}}),kt=h({"src/utils/is-non-empty-array.js"(e,t){function n(e){return Array.isArray(e)&&e.length>0}b(),t.exports=n}});function Nt(){let{onlyFirst:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var It=p({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){b()}});function Mt(e){if("string"!=typeof e)throw new TypeError(`Expecteda\`string\`, got \`${typeofe}\``);returne.replace(Nt(),"")}varRt=p({"node_modules/strip-ansi/index.js"(){b(),It()}});functionPt(e){return!!Number.isInteger(e)&&(e>=4352&&(e<=4447||9001===e||9002===e||11904<=e&&e<=12871&&12351!==e||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141))}varLt=p({"node_modules/is-fullwidth-code-point/index.js"(){b()}}),Ft=h({"node_modules/emoji-regex/index.js"(e,t){b(),t.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\u
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */T=t.STATE,String.fromCodePoint||function(){vare=String.fromCharCode,t=Math.floor,n=function(){varn,r,i=16384,o=[],a=-1,s=arguments.length;if(!s)return"";varl="";while(++a<s){varu=Number(arguments[a]);if(!isFinite(u)||u<0||u>1114111||t(u)!==u)throwRangeError("Invalid code point: "+u);u<=65535?o.push(u):(u-=65536,n=55296+(u>>10),r=u%1024+56320,o.push(n,r)),(a+1===s||o.length>i)&&(l+=e.apply(null,o),o.length=0)}returnl};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()})(t)}).call(this,n("eb72").Buffer)},aa13:function(e,t,n){(function(){vart,r,i=function(e,t){for(varnint)o.call(t,n)&&(e[n]=t[n]);functionr(){this.constructor=e}returnr.prototype=t.prototype,e.prototype=newr,e.__super__=t.prototype,e},o={}.hasOwnProperty;r=n("093d"),t=n("fe49"),e.exports=function(e){functionn(e){n.__super__.constructor.call(this,e),this.type=t.Dummy}returni(n,e),n.prototype.clone=function(){returnObject.create(this)},n.prototype.toString=function(e){return""},n}(r)}).call(this)},aa4b:function(e,t){functionn(e){constt={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},n=e.UNDERSCORE_TITLE_MODE,r={variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]},i="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:i,contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[e.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[n,{className:"params",begin:/\(/,end:/\)/,keywords:i,contains:["self",e.C_BLOCK_COMMENT_MODE,t,r]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},n]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[n]},{beginKeywords:"use",end:/;/,contains:[n]},{begin:/=>/},t,r]}}e.exports=n},aa9c:function(e,t,n){"use strict";varr=n("8bdb"),i=n("1099"),o=n("1fc1"),a=n("b2b1"),s=n("41c7"),l=n("af9e"),u=l((function(){return4294967297!==[].push.call({length:4294967296},1)})),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){returneinstanceofTypeError}},d=u||!c();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){vart=i(this),n=o(t),r=arguments.length;s(n+r);for(varl=0;l<r;l++)t[n]=arguments[l],n++;returna(t,n),n}})},aacc:function(e,t,n){varr=n("eb72"),i=r.Buffer;functiono(e,t){for(varnine)t[n]=e[n]}functiona(e,t,n){returni(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a),o(i,a),a.from=function(e,t,n){if("number"===typeofe)thrownewTypeError("Argument must not be a number");returni(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeofe)thrownewTypeError("Argument must be a number");varr=i(e);returnvoid0!==t?"string"===typeofn?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returni(e)},a.allocUnsafeSlow=function(e){if("number"!==typeofe)thrownewTypeError("Argument must be a number");returnr.SlowBuffer(e)}},aacf:function(e,t,n){e.exports=!n("cf22")((function(){return7!=Object.defineProperty({},"a",{get:function(){return7}}).a}))},ab3f:function(e,t,n){"use strict";varr=this&&this.
returne.mode.CTRGladman=function(){vart=e.lib.BlockCipherMode.extend();functionn(e){if(255===(e>>24&255)){vart=e>>16&255,n=e>>8&255,r=255&e;255===t?(t=0,255===n?(n=0,255===r?r=0:++r):++n):++t,e=0,e+=t<<16,e+=n<<8,e+=r}elsee+=1<<24;returne}functionr(e){return0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}vari=t.Encryptor=t.extend({processBlock:function(e,t){varn=this._cipher,i=n.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void0),r(a);vars=a.slice(0);n.encryptBlock(s,0);for(varl=0;l<i;l++)e[t+l]^=s[l]}});returnt.Decryptor=i,t}(),e.mode.CTRGladman}))},b472:function(e,t,n){constr=n("7064");functioni(e,t){constn={};if("O"!==e[t+3]||"C"!==e[t+4]||"T"!==e[t+5]||"Y"!==e[t+6]||"P"!==e[t+7]||"E"!==e[t+8])thrownewError("Invalid Tag instead of DOCTYPE");{t+=9;letr=1,i=!1,p=!1,h="";for(;t<e.length;t++)if("<"!==e[t]||p)if(">"===e[t]){if(p?"-"===e[t-1]&&"-"===e[t-2]&&(p=!1,r--):r--,0===r)break}else"["===e[t]?i=!0:h+=e[t];else{if(i&&s(e,t))t+=7,[entityName,val,t]=o(e,t+1),-1===val.indexOf("&")&&(n[d(entityName)]={regx:RegExp(`&${entityName};`,"g"),val:val});elseif(i&&l(e,t))t+=8;elseif(i&&u(e,t))t+=8;elseif(i&&c(e,t))t+=9;else{if(!a)thrownewError("Invalid DOCTYPE");p=!0}r++,h=""}if(0!==r)thrownewError("Unclosed DOCTYPE")}return{entities:n,i:t}}functiono(e,t){letn="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)n+=e[t];if(n=n.trim(),-1!==n.indexOf(" "))thrownewError("External entites are not supported");constr=e[t++];leti="";for(;t<e.length&&e[t]!==r;t++)i+=e[t];return[n,i,t]}functiona(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}functions(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"N"===e[t+3]&&"T"===e[t+4]&&"I"===e[t+5]&&"T"===e[t+6]&&"Y"===e[t+7]}functionl(e,t){return"!"===e[t+1]&&"E"===e[t+2]&&"L"===e[t+3]&&"E"===e[t+4]&&"M"===e[t+5]&&"E"===e[t+6]&&"N"===e[t+7]&&"T"===e[t+8]}functionu(e,t){return"!"===e[t+1]&&"A"===e[t+2]&&"T"===e[t+3]&&"T"===e[t+4]&&"L"===e[t+5]&&"I"===e[t+6]&&"S"===e[t+7]&&"T"===e[t+8]}functionc(e,t){return"!"===e[t+1]&&"N"===e[t+2]&&"O"===e[t+3]&&"T"===e[t+4]&&"A"===e[t+5]&&"T"===e[t+6]&&"I"===e[t+7]&&"O"===e[t+8]&&"N"===e[t+9]}functiond(e){if(r.isName(e))returne;thrownewError("Invalid entity name "+e)}e.exports=i},b481:function(e,t,n){"use strict";varr=n("7061"),i=n("24ff"),o=n("5e65"),a=n("0d47"),s=n("58c8");functionl(e){vart=newo(e),n=i(o.prototype.request,t);returnr.extend(n,o.prototype,t),r.extend(n,t),n.create=function(t){returnl(a(e,t))},n}varu=l(s);u.Axios=o,u.CanceledError=n("eab5"),u.CancelToken=n("716c"),u.isCancel=n("a41b"),u.VERSION=n("3cd1").version,u.toFormData=n("0f8d"),u.AxiosError=n("c9d5"),u.Cancel=u.CanceledError,u.all=function(e){returnPromise.all(e)},u.spread=n("a711"),u.isAxiosError=n("48b0"),e.exports=u,e.exports.default=u},b4ef:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.css=void0;varr=n("a3e2");functioni(e,t){returnnull!=e&&null!=t||"object"===typeofe&&!Array.isArray(e)?r.domEach(this,(function(n,i){r.isTag(n)&&o(n,e,t,i)})):a(this[0],e)}functiono(e,t,n,r){if("string"===typeoft){vari=a(e),l="function"===typeofn?n.call(e,r,i[t]):n;""===l?deletei[t]:null!=l&&(i[t]=l),e.attribs.style=s(i)}else"object"===typeoft&&Object.keys(t).forEach((function(n,r){o(e,n,t[n],r)}))}functiona(e,t){if(e&&r.isTag(e)){varn=l(e.attribs.style);if("string"===typeoft)returnn[t];if(Array.isArray(t)){vari={};returnt.forEach((function(e){null!=n[e]&&(i[e]=n[e])})),i}returnn}}functions(e){returnObject.keys(e).reduce((function(t,n){returnt+(t?" ":"")+n+": "+e[n]+";"}),"")}functionl(e){returne=(e||"").trim(),e?e.split(";").reduce((function(e,t){varn=t.indexOf(":");returnn<1||n===t.length-1||(e[t.slice(0,n).trim()]=t.slice(n+1).trim()),e}),{}):{}}t.css=i},b50b:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFeed=void0;varr=n("ccd4"),i=n("7d5c");functiono(e){vart=d(f,e);returnt?"feed"===t.name?a(t):s(t):null}functiona(e){vart,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){vart,n=e.children,r={media:c(n)};
/*! no static exports found */function(e,t,n){varr=n(/*! ./src/cos */"./src/cos.js");e.exports=r},"./lib/beacon.min.js":
/*!***************************!*\
!***./lib/beacon.min.js***!
\***************************/
/*! no static exports found */function(e,t,n){varr,i,o=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");!function(a,s){"object"==o(t)&&"undefined"!=typeofe?e.exports=s():(r=s,i="function"===typeofr?r.call(t,n,t,e):r,void0===i||(e.exports=i))}(0,(function(){"use strict";vare=function(t,n){returne=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(e,t){e.__proto__=t}||function(e,t){for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)},t=function(){returnt=Object.assign||function(e){for(vart,n=1,r=arguments.length;n<r;n++)for(variint=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);returne},t.apply(this,arguments)};functionn(e,t,n,r){returnnew(n||(n=Promise))((function(i,o){functiona(e){try{l(r.next(e))}catch(e){o(e)}}functions(e){try{l(r.throw(e))}catch(e){o(e)}}functionl(e){vart;e.done?i(e.value):(t=e.value,tinstanceofn?t:newn((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}functionr(e,t){varn,r,i,o,a={label:0,sent:function(){if(1&i[0])throwi[1];returni[1]},trys:[],ops:[]};returno={next:s(0),throw:s(1),return:s(2)},"function"==typeofSymbol&&(o[Symbol.iterator]=function(){returnthis}),o;functions(o){returnfunction(s){returnfunction(o){if(n)thrownewTypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)returni;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case0:case1:i=o;break;case4:returna.label++,{value:o[1],done:!1};case5:a.label++,r=o[1],o=[0];continue;case7:o=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!((i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throwo[1];return{value:o[0]?o[1]:void0,done:!0}}([o,s])}}}vari="__BEACON_",o="__BEACON_deviceId",a="last_report_time",s="sending_event_ids",l="beacon_config",u="beacon_config_request_time",c=function(){functione(){vare=this;this.emit=function(t,n){if(e){varr,i=e.__EventsList[t];if(null==i?void0:i.length){i=i.slice();for(varo=0;o<i.length;o++){r=i[o];try{vara=r.callback.apply(e,[n]);if(1===r.type&&e.remove(t,r.callback),!1===a)break}catch(e){throwe}}}returne}},this.__EventsList={}}returne.prototype.indexOf=function(e,t){for(varn=0;n<e.length;n++)if(e[n].callback===t)returnn;return-1},e.prototype.on=function(e,t,n){if(void0===n&&(n=0),this){varr=this.__EventsList[e];if(r||(r=this.__EventsList[e]=[]),-1===this.indexOf(r,t)){vari={name:e,type:n||0,callback:t};returnr.push(i),this}returnthis}},e.prototype.one=function(e,t){this.on(e,t,1)},e.prototype.remove=function(e,t){if(this){varn=this.__EventsList[e];if(!n)returnnull;if(!t){try{deletethis.__EventsList[e]}catch(e){}returnnull}if(n.length){varr=this.indexOf(n,t);n.splice(r,1)}returnthis}},e}();functiond(e,t){for(varn={},r=0,i=Object.keys(e);r<i.length;r++){varo=i[r],a=e[o];if("string"==typeofa)n[p(o)]=p(a);else{if(t)thrownewError("value mast be string !!!!");n[p(String(o))]=p(String(a))}}returnn}functionp(e){if("string"!=typeofe)returne;try{returne.replace(newRegExp("\\|","g"),"%7C").replace(newRegExp("\\&","g"),"%26").replace(newRegExp("\\=","g"),"%3D").replace(newRegExp("\\+","g"),"%2B")}catch(e){return""}}functionh(e){returnString(e.A99)+String(e.A100)}varf=function(){},m=function(){functione(e){varn=this;this.lifeCycle=newc,this.uploadJobQueue=[],this.additionalParams={},this.delayTime=0,this._normalLogPipeline=function(e){if(!e||!e.reduce||!e.length)thrownewTypeError("createPipeline 方法需要传入至少有一个 pipe 的数组");return1===e.length?function(t,n){e[0](t,n||f)}:e.reduce((function(e,t){returnfunction(n,r){returnvoid0===r&&(r=f),e(n,(function(e){returnnull==t?void0:t(e,r)}))}}))}([function(e){n.send({url:n.strate
/*!***********************!*\
!***./lib/crypto.js***!
\***********************/
/*! no static exports found */function(e,t,n){(function(e){vart=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),r=r||function(e,t){varn={},r=n.lib={},i=function(){},o=r.Base={extend:function(e){i.prototype=this;vart=newi;returne&&t.mixIn(e),t.hasOwnProperty("init")||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){vare=this.extend();returne.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(vartine)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){returnthis.init.prototype.extend(this)}},a=r.WordArray=o.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:4*e.length},toString:function(e){return(e||l).stringify(this)},concat:function(e){vart=this.words,n=e.words,r=this.sigBytes;if(e=e.sigBytes,this.clamp(),r%4)for(vari=0;i<e;i++)t[r+i>>>2]|=(n[i>>>2]>>>24-i%4*8&255)<<24-(r+i)%4*8;elseif(65535<n.length)for(i=0;i<e;i+=4)t[r+i>>>2]=n[i>>>2];elset.push.apply(t,n);returnthis.sigBytes+=e,this},clamp:function(){vart=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){vare=o.clone.call(this);returne.words=this.words.slice(0),e},random:function(t){for(varn=[],r=0;r<t;r+=4)n.push(4294967296*e.random()|0);returnnewa.init(n,t)}}),s=n.enc={},l=s.Hex={stringify:function(e){vart=e.words;e=e.sigBytes;for(varn=[],r=0;r<e;r++){vari=t[r>>>2]>>>24-r%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}returnn.join("")},parse:function(e){for(vart=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;returnnewa.init(n,t/2)}},u=s.Latin1={stringify:function(e){vart=e.words;e=e.sigBytes;for(varn=[],r=0;r<e;r++)n.push(String.fromCharCode(t[r>>>2]>>>24-r%4*8&255));returnn.join("")},parse:function(e){for(vart=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;returnnewa.init(n,t)}},c=s.Utf8={stringify:function(e){try{returndecodeURIComponent(escape(u.stringify(e)))}catch(t){throwError("Malformed UTF-8 data")}},parse:function(e){returnu.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=newa.init,this._nDataBytes=0},_append:function(e){"string"==typeofe&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){varn=this._data,r=n.words,i=n.sigBytes,o=this.blockSize,s=i/(4*o);s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0);if(t=s*o,i=e.min(4*t,i),t){for(varl=0;l<t;l+=o)this._doProcessBlock(r,l);l=r.splice(0,t),n.sigBytes-=i}returnnewa.init(l,i)},clone:function(){vare=o.clone.call(this);returne._data=this._data.clone(),e},_minBufferSize:0});r.Hasher=d.extend({cfg:o.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){d.reset.call(this),this._doReset()},update:function(e){returnthis._append(e),this._process(),this},finalize:function(e){returne&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){returnfunction(t,n){returnnewe.init(n).finalize(t)}},_createHmacHelper:function(e){returnfunction(t,n){returnnewp.HMAC.init(e,n).finalize(t)}}});varp=n.algo={};returnn}(Math);(function(){vare=r,t=e.lib,n=t.WordArray,i=t.Hasher,o=[];t=e.algo.SHA1=i.extend({_doReset:function(){this._hash=newn.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(varn=this._hash.words,r=n[0],i=n[1],a=n[2],s=n[3],l=n[4],u=0;80>u;u++){if(16>u)o[u]=0|e[t+u];else{varc=o[u-3]^o[u-8]^o[u-14]^o[u-16];o[u]=c<<1|c>>>31}c=(r<<5|r>>>27)+l+o[u],c=20>u?c+(1518500249+(i&a|~i&s)):40>u?c+(1859775393+(i^a^s)):60>u?c+((i&a|i&s|a&s)-1894007588):c+((i^a^s)-899497514),l=s,s=a,a=i<<30|i>>>2,i=r,r=c}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+s|0,n[4]=n[4]+l|0},_doFinalize:function(){vare=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;returnt[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._proce
/*!*************************!*\
!***./lib/json2xml.js***!
\*************************/
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i="a-zA-Z_À-ÖØ-öø-ÿͰ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>",o="-.0-9·̀-ͯ‿⁀",a=newRegExp("^([^"+i+"])|^((x|X)(m|M)(l|L))|([^"+i+o+"])","g"),s=/[^\x09\x0A\x0D\x20-\xFF\x85\xA0-\uD7FF\uE000-\uFDCF\uFDE0-\uFFFD]/gm,l=function(e){vart=[];if(einstanceofObject)for(varnine)e.hasOwnProperty(n)&&t.push(n);returnt},u=function(e,t){varn=function(e,n,r,i,o){vars=void0!==t.indent?t.indent:"\t",l=t.prettyPrint?"\n"+newArray(i).join(s):"";t.removeIllegalNameCharacters&&(e=e.replace(a,"_"));varu=[l,"<",e,r||""];returnn&&n.length>0?(u.push(">"),u.push(n),o&&u.push(l),u.push("</"),u.push(e),u.push(">")):u.push("/>"),u.join("")};returnfunctione(i,o,a){vars=r(i);switch((Array.isArray?Array.isArray(i):iinstanceofArray)?s="array":iinstanceofDate&&(s="date"),s){case"array":varu=[];returni.map((function(t){u.push(e(t,1,a+1))})),t.prettyPrint&&u.push("\n"),u.join("");case"date":returni.toJSON?i.toJSON():i+"";case"object":varc=[];for(varpini)if(i.hasOwnProperty(p))if(i[p]instanceofArray)for(varh=0;h<i[p].length;h++)i[p].hasOwnProperty(h)&&c.push(n(p,e(i[p][h],0,a+1),null,a+1,l(i[p][h]).length));elsec.push(n(p,e(i[p],0,a+1),null,a+1));returnt.prettyPrint&&c.length>0&&c.push("\n"),c.join("");case"function":returni();default:returnt.escape?d(i):""+i}}(e,0,0)},c=function(e){vart=['<?xml version="1.0" encoding="UTF-8"'];returne&&t.push(' standalone="yes"'),t.push("?>"),t.join("")};functiond(e){return(""+e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""").replace(s,"")}e.exports=function(e,t){if(t||(t={xmlHeader:{standalone:!0},prettyPrint:!0,indent:" ",escape:!0}),"string"==typeofe)try{e=JSON.parse(e.toString())}catch(a){return!1}varn="",i="";t&&("object"==r(t)?(t.xmlHeader&&(n=c(!!t.xmlHeader.standalone)),"undefined"!=typeoft.docType&&(i="<!DOCTYPE "+t.docType+">")):n=c()),t=t||{};varo=[n,t.prettyPrint&&i?"\n":"",i,u(e,t)];returno.join("").replace(/\n{2,}/g,"\n").replace(/\s+$/g,"")}},"./lib/md5.js":
/*!********************!*\
!***./lib/md5.js***!
\********************/
/*! no static exports found */function(module,exports,__webpack_require__){(function(process,global,module){var__WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");(function(){"use strict";varERROR="input is invalid type",WINDOW="object"===("undefined"===typeofwindow?"undefined":_typeof(window)),root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);varWEB_WORKER=!WINDOW&&"object"===("undefined"===typeofself?"undefined":_typeof(self)),NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===("undefined"===typeofprocess?"undefined":_typeof(process))&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);varCOMMON_JS=!root.JS_MD5_NO_COMMON_JS&&"object"===_typeof(module)&&module.exports,AMD=__webpack_require__(/*! !webpack amd options */"./node_modules/webpack/buildin/amd-options.js"),ARRAY_BUFFER=!root.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!==typeofArrayBuffer,HEX_CHARS="0123456789abcdef".split(""),EXTRA=[128,32768,8388608,-2147483648],SHIFT=[0,8,16,24],OUTPUT_TYPES=["hex","array","digest","buffer","arrayBuffer","base64"],BASE64_ENCODE_CHAR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),blocks=[],buffer8;if(ARRAY_BUFFER){varbuffer=newArrayBuffer(68);buffer8=newUint8Array(buffer),blocks=newUint32Array(buffer)}!root.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!ARRAY_BUFFER||!root.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===_typeof(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});varcreateOutputMethod=function(e){returnfunction(t,n){returnnewMd5(!0).update(t,n)[e]()}},createMethod=function(){vare=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.getCtx=e.create=function(){returnnewMd5},e.update=function(t){returne.create().update(t)};for(vart=0;t<OUTPUT_TYPES.length;++t){varn=OUTPUT_TYPES[t];e[n]=createOutputMethod(n)}returne},nodeWrap=functionnodeWrap(method){varcrypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"===typeofe)returncrypto.createHash("md5").update(e,"utf8").digest("hex");if(null===e||void0===e)throwERROR;returne.constructor===ArrayBuffer&&(e=newUint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash("md5").update(newBuffer(e)).digest("hex"):method(e)};returnnodeMethod};functionMd5(e){if(e)blocks[0]=blocks[16]=blocks[1]=blocks[2]=blocks[3]=blocks[4]=blocks[5]=blocks[6]=blocks[7]=blocks[8]=blocks[9]=blocks[10]=blocks[11]=blocks[12]=blocks[13]=blocks[14]=blocks[15]=0,this.blocks=blocks,this.buffer8=buffer8;elseif(ARRAY_BUFFER){vart=newArrayBuffer(68);this.buffer8=newUint8Array(t),this.blocks=newUint32Array(t)}elsethis.blocks=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}Md5.prototype.update=function(e,t){if(!this.finalized){varn,r,i=0,o=e.length,a=this.blocks,s=this.buffer8;while(i<o){if(this.hashed&&(this.hashed=!1,a[0]=a[16],a[16]=a[1]=a[2]=a[3]=a[4]=a[5]=a[6]=a[7]=a[8]=a[9]=a[10]=a[11]=a[12]=a[13]=a[14]=a[15]=0),ARRAY_BUFFER)for(r=this.start;i<o&&r<64;++i)n=e.charCodeAt(i),t||n<128?s[r++]=n:n<2048?(s[r++]=192|n>>6,s[r++]=128|63&n):n<55296||n>=57344?(s[r++]=224|n>>12,s[r++]=128|n>>6&63,s[r++]=128|63&n):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++i)),s[r++]=240|n>>18,s[r++]=128|n>>12&63,s[r++]=128|n>>6&63,s[r++]=128|63&n);elsefor(r=this.start;i<o&&r<64;++i)n=e.charCodeAt(i),t||n<128?a[r>>2]|=n<<SHIFT[3&r++]:n<2048?(a[r>>2]|=(192|n>>6)<<SHIFT[3&r++],a[r>>2]|=(128|63&n)<<SHIFT[3&r++]):n<55296||n>=57344?(a[r>>2]|=(224|n>>12)<<SHIFT[3&r++],a[r>>2]|=(128|n>>6&63)<<SHIFT[3&r++],a[r>>2]|=(128|63&n)<<SHIFT[3&r++]):(n=65536+((1023&n)<<10|1023&e.charCodeAt(++i)),a[r>>2]|=(240|n>>18)<<SHIFT[3&r++],a[r>>2]|=(128|n>>12&63)<<SHIFT[3&r++],a[r>>2]|=(128|n>>6&63)<<SHIFT[3&r++],a[r>>2]|=(128|63&n)<<SHIFT[3&r++]);this.lastB
/*!************************!*\
!***./lib/request.js***!
\************************/
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=function(e){switch(r(e)){case"string":returne;case"boolean":returne?"true":"false";case"number":returnisFinite(e)?e:"";default:return""}},o=function(e,t,n,o){returnt=t||"&",n=n||"=",null===e&&(e=void0),"object"===r(e)?Object.keys(e).map((function(r){varo=encodeURIComponent(i(r))+n;returnArray.isArray(e[r])?e[r].map((function(e){returno+encodeURIComponent(i(e))})).join(t):o+encodeURIComponent(i(e[r]))})).filter(Boolean).join(t):o?encodeURIComponent(i(o))+n+encodeURIComponent(i(e)):""},a=function(e,t,n){varr={};returnt.getAllResponseHeaders().trim().split("\n").forEach((function(e){if(e){vart=e.indexOf(":"),n=e.substr(0,t).trim().toLowerCase(),i=e.substr(t+1).trim();r[n]=i}})),{error:e,statusCode:t.status,statusMessage:t.statusText,headers:r,body:n}},s=function(e,t){returnt||"text"!==t?e.response:e.responseText},l=function(e,t){varn=(e.method||"GET").toUpperCase(),r=e.url;if(e.qs){vari=o(e.qs);i&&(r+=(-1===r.indexOf("?")?"?":"&")+i)}varl=newXMLHttpRequest;if(l.open(n,r,!0),l.responseType=e.dataType||"text",e.xhrFields)for(varuine.xhrFields)l[u]=e.xhrFields[u];varc=e.headers;if(c)for(vardinc)c.hasOwnProperty(d)&&"content-length"!==d.toLowerCase()&&"user-agent"!==d.toLowerCase()&&"origin"!==d.toLowerCase()&&"host"!==d.toLowerCase()&&l.setRequestHeader(d,c[d]);returne.onProgress&&l.upload&&(l.upload.onprogress=e.onProgress),e.onDownloadProgress&&(l.onprogress=e.onDownloadProgress),e.timeout&&(l.timeout=e.timeout),l.ontimeout=function(e){varn=newError("timeout");t(a(n,l))},l.onload=function(){t(a(null,l,s(l,e.dataType)))},l.onerror=function(n){varr=s(l,e.dataType);if(r)t(a(null,l,r));else{vari=l.statusText;i||0!==l.status||(i=newError("CORS blocked or network error")),t(a(i,l,r))}},l.send(e.body||""),l};e.exports=l},"./lib/xml2json.js":
/*!*************************!*\
!***./lib/xml2json.js***!
\*************************/
/*! no static exports found */function(e,t,n){varr=n(/*! @xmldom/xmldom */"./node_modules/@xmldom/xmldom/lib/index.js").DOMParser,i=function(){this.version="1.3.5";vare={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=newRegExp(/(?!xmlns)^.*:/);newRegExp(/^\s+|\s+$/g);returnthis.grokType=function(e){return/^\s*$/.test(e)?null:/^(?:true|false)$/i.test(e)?"true"===e.toLowerCase():isFinite(e)?parseFloat(e):e},this.parseString=function(e,t){if(e){varn=this.stringToXML(e);returnn.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}returnnull},this.parseXML=function(n,r){for(varoinr)e[o]=r[o];vara={},s=0,l="",u=n.childNodes.length;if(u)for(varc,d,p,h=0;h<n.childNodes.length;h++)c=n.childNodes.item(h),4===c.nodeType?e.mergeCDATA&&(l+=c.nodeValue):3===c.nodeType?l+=c.nodeValue:1===c.nodeType&&(0===s&&(a={}),d=e.stripElemPrefix?c.nodeName.replace(t,""):c.nodeName,p=i.parseXML(c),a.hasOwnProperty(d)?(a[d].constructor!==Array&&(a[d]=[a[d]]),a[d].push(p)):(a[d]=p,s++));returnObject.keys(a).length||(a=l||""),a},this.xmlToString=function(e){try{vart=e.xml?e.xml:(newXMLSerializer).serializeToString(e);returnt}catch(n){returnnull}},this.stringToXML=function(e){try{vart=null;if(window.DOMParser){varn=newr;returnt=n.parseFromString(e,"text/xml"),t}returnt=newActiveXObject("Microsoft.XMLDOM"),t.async=!1,t.loadXML(e),t}catch(i){returnnull}},this}.call({}),o=function(e){returni.parseString(e)};e.exports=o},"./node_modules/@babel/runtime/helpers/classCallCheck.js":
/*! no static exports found */function(e,t){functionn(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/createClass.js":
/*! no static exports found */function(e,t){functionn(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functionr(e,t,r){returnt&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}e.exports=r,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":
/*! no static exports found */function(e,t){functionn(t){returne.exports=n="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},e.exports.__esModule=!0,e.exports["default"]=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports["default"]=e.exports},"./node_modules/@xmldom/xmldom/lib/conventions.js":
/*! no static exports found */function(e,t,n){"use strict";functionr(e,t,n){if(void0===n&&(n=Array.prototype),e&&"function"===typeofn.find)returnn.find.call(e,t);for(varr=0;r<e.length;r++)if(Object.prototype.hasOwnProperty.call(e,r)){vari=e[r];if(t.call(void0,i,r,e))returni}}functioni(e,t){returnvoid0===t&&(t=Object),t&&"function"===typeoft.freeze?t.freeze(e):e}functiono(e,t){if(null===e||"object"!==typeofe)thrownewTypeError("target is not an object");for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);returne}vara=i({HTML:"text/html",isHTML:function(e){returne===a.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),s=i({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){returne===s.HTML},SVG:"http://www.w3.org/2000/svg",XML:"http://www.w3.org/XML/1998/namespace",XMLNS:"http://www.w3.org/2000/xmlns/"});t.assign=o,t.find=r,t.freeze=i,t.MIME_TYPE=a,t.NAMESPACE=s},"./node_modules/@xmldom/xmldom/lib/dom-parser.js":
/*! no static exports found */function(e,t,n){varr=n(/*! ./dom */"./node_modules/@xmldom/xmldom/lib/dom.js");t.DOMImplementation=r.DOMImplementation,t.XMLSerializer=r.XMLSerializer,t.DOMParser=n(/*! ./dom-parser */"./node_modules/@xmldom/xmldom/lib/dom-parser.js").DOMParser},"./node_modules/@xmldom/xmldom/lib/sax.js":
/*! no static exports found */function(e,t,n){varr=n(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js").NAMESPACE,i=/[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,o=newRegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=newRegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$"),s=0,l=1,u=2,c=3,d=4,p=5,h=6,f=7;functionm(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,m)}functiong(){}functionv(e,t,n,i,o){functiona(e){if(e>65535){e-=65536;vart=55296+(e>>10),n=56320+(1023&e);returnString.fromCharCode(t,n)}returnString.fromCharCode(e)}functions(e){vart=e.slice(1,-1);returnObject.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?a(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}functionl(t){if(t>v){varn=e.substring(v,t).replace(/&#?\w+;/g,s);h&&u(v),i.characters(n,0,t-v),v=t}}functionu(t,n){while(t>=d&&(n=p.exec(e)))c=n.index,d=c+n[0].length,h.lineNumber++;h.columnNumber=t-c+1}varc=0,d=0,p=/.*(?:\r\n?|\n)|.*$/g,h=i.locator,f=[{currentNSMap:t}],g={},v=0;while(1){try{varw=e.indexOf("<",v);if(w<0){if(!e.substr(v).match(/^\s*$/)){varD=i.doc,A=D.createTextNode(e.substr(v));D.appendChild(A),i.currentElement=A}return}switch(w>v&&l(w),e.charAt(w+1)){case"/":varO=e.indexOf(">",w+3),k=e.substring(w+2,O).replace(/[ \t\n\r]+$/g,""),N=f.pop();O<0?(k=e.substring(w+2).replace(/[\s<].*/,""),o.error("end tag name: "+k+" is not complete:"+N.tagName),O=w+1+k.length):k.match(/\s</)&&(k=k.replace(/[\s<].*/,""),o.error("end tag name: "+k+" maybe not complete"),O=w+1+k.length);varI=N.localNSMap,M=N.tagName==k,R=M||N.tagName&&N.tagName.toLowerCase()==k.toLowerCase();if(R){if(i.endElement(N.uri,N.localName,k),I)for(varPinI)Object.prototype.hasOwnProperty.call(I,P)&&i.endPrefixMapping(P);M||o.fatalError("end tag name: "+k+" is not match the current start tagName:"+N.tagName)}elsef.push(N);O++;break;case"?":h&&u(w),O=C(e,w,i);break;case"!":h&&u(w),O=x(e,w,i,o);break;default:h&&u(w);varL=newT,F=f[f.length-1].currentNSMap,B=(O=y(e,w,L,F,s,o),L.length);if(!L.closed&&S(e,O,L.tagName,g)&&(L.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),h&&B){for(varj=b(h,{}),U=0;U<B;U++){varq=L[U];u(q.offset),q.locator=b(h,{})}i.locator=j,_(L,i,F)&&f.push(L),i.locator=h}else_(L,i,F)&&f.push(L);r.isHTML(L.uri)&&!L.closed?O=E(e,O,L.tagName,s,i):O++}}catch($){if($instanceofm)throw$;o.error("element parse error: "+$),O=-1}O>v?v=O:l(Math.max(w,v)+1)}}functionb(e,t){returnt.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}functiony(e,t,n,i,o,a){functionm(e,t,r){n.attributeNames.hasOwnProperty(e)&&a.fatalError("Attribute "+e+" redefined"),n.addValue(e,t.replace(/[\t\n\r]/g," ").replace(/&#?\w+;/g,o),r)}varg,v=++t,b=s;while(1){vary=e.charAt(v);switch(y){case"=":if(b===l)g=e.slice(t,v),b=c;else{if(b!==u)thrownewError("attribute equal must after attrName");b=c}break;case"'":case'"':if(b===c||b===l){if(b===l&&(a.warning('attribute value must after "="'),g=e.slice(t,v)),t=v+1,v=e.indexOf(y,t),!(v>0))thrownewError("attribute value no end '"+y+"' match");_=e.slice(t,v),m(g,_,t-1),b=p}else{if(b!=d)thrownewError('attribute value must after "="');_=e.slice(t,v),m(g,_,t),a.warning('attribute "'+g+'" missed start quot('+y+")!!"),t=v+1,b=p}break;case"/":switch(b){cases:n.setTagName(e.slice(t,v));casep:caseh:casef:b=f,n.closed=!0;cased:casel:caseu:break;default:thrownewError("attribute invalid close char('/')")}break;case"":returna.error("unexpected end of input"),b==s&&n.setTagName(e.slice(t,v)),v;case">":switch(b){cases:n.setTagName(e.slice(t,v));casep:caseh:casef:break;cased:casel:_=e.slice(t,v),"/"===_.slice(-1)&&(n.closed=!0,_=_.slice(0,-1));caseu:b===u&&(_=g),b==d?(a.warning('attribute "'+_+'" missed quot(")!'),m(g,_,t)):(r.isHTML(i[""])&&_.match(/^(?:disabled|checked|selected)$/i)||a.warning('attribute "'+_+'" missed value!! "'+_+'" instead!!'),m(_,_,t));break;casec:thrownewError("att
/*!*****************************************!*\
!***./node_modules/process/browser.js***!
\*****************************************/
/*! no static exports found */function(e,t){varn,r,i=e.exports={};functiono(){thrownewError("setTimeout has not been defined")}functiona(){thrownewError("clearTimeout has not been defined")}functions(e){if(n===setTimeout)returnsetTimeout(e,0);if((n===o||!n)&&setTimeout)returnn=setTimeout,setTimeout(e,0);try{returnn(e,0)}catch(t){try{returnn.call(null,e,0)}catch(t){returnn.call(this,e,0)}}}functionl(e){if(r===clearTimeout)returnclearTimeout(e);if((r===a||!r)&&clearTimeout)returnr=clearTimeout,clearTimeout(e);try{returnr(e)}catch(t){try{returnr.call(null,e)}catch(t){returnr.call(this,e)}}}(function(){try{n="function"===typeofsetTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeofclearTimeout?clearTimeout:a}catch(e){r=a}})();varu,c=[],d=!1,p=-1;functionh(){d&&u&&(d=!1,u.length?c=u.concat(c):p=-1,c.length&&f())}functionf(){if(!d){vare=s(h);d=!0;vart=c.length;while(t){u=c,c=[];while(++p<t)u&&u[p].run();p=-1,t=c.length}u=null,d=!1,l(e)}}functionm(e,t){this.fun=e,this.array=t}functiong(){}i.nextTick=function(e){vart=newArray(arguments.length-1);if(arguments.length>1)for(varn=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(newm(e,t)),1!==c.length||d||s(f)},m.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(e){return[]},i.binding=function(e){thrownewError("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){thrownewError("process.chdir is not supported")},i.umask=function(){return0}},"./node_modules/webpack/buildin/amd-options.js":
/*!****************************************!*\
!***(webpack)/buildin/amd-options.js***!
\****************************************/
/*! no static exports found */function(e,t){(function(t){e.exports=t}).call(this,{})},"./node_modules/webpack/buildin/global.js":
/*!***********************************!*\
!***(webpack)/buildin/global.js***!
\***********************************/
/*! no static exports found */function(e,t){varn;n=function(){returnthis}();try{n=n||newFunction("return this")()}catch(r){"object"===typeofwindow&&(n=window)}e.exports=n},"./node_modules/webpack/buildin/module.js":
/*!***********************************!*\
!***(webpack)/buildin/module.js***!
\***********************************/
/*! no static exports found */function(e,t){e.exports=function(e){returne.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){returne.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){returne.i}}),e.webpackPolyfill=1),e}},"./package.json":
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=n(/*! ./session */"./src/session.js"),o=n(/*! ./async */"./src/async.js"),a=n(/*! ./event */"./src/event.js").EventProxy,s=n(/*! ./util */"./src/util.js"),l=n(/*! ./tracker */"./src/tracker.js");functionu(e,t){varn,r,o=this,l=newa,u=e.TaskId,d=e.Bucket,p=e.Region,f=e.Key,g=e.Body,v=e.ChunkSize||e.SliceSize||o.options.ChunkSize,b=e.AsyncLimit,y=e.StorageClass,_=e.ServerSideEncryption,E=e.onHashProgress,S=e.tracker;S&&S.setParams({chunkSize:v}),l.on("error",(function(n){if(o._isRunningTask(u))returnn.UploadId=e.UploadData.UploadId||"",t(n)})),l.on("upload_complete",(function(n){varr=s.extend({UploadId:e.UploadData.UploadId||""},n);t(null,r)})),l.on("upload_slice_complete",(function(t){vara={};s.each(e.Headers,(function(e,t){varn=t.toLowerCase();0!==n.indexOf("x-cos-meta-")&&"pic-operations"!==n||(a[t]=e)})),m.call(o,{Bucket:d,Region:p,Key:f,UploadId:t.UploadId,SliceList:t.SliceList,Headers:a,tracker:S},(function(e,a){if(o._isRunningTask(u)){if(i.removeUsing(t.UploadId),e)returnr(null,!0),l.emit("error",e);i.removeUploadId.call(o,t.UploadId),r({loaded:n,total:n},!0),l.emit("upload_complete",a)}}))})),l.on("get_upload_data_finish",(function(t){vara=i.getFileId(g,e.ChunkSize,d,f);a&&i.saveUploadId.call(o,a,t.UploadId,o.options.UploadIdCacheLimit),i.setUsing(t.UploadId),r(null,!0),h.call(o,{TaskId:u,Bucket:d,Region:p,Key:f,Body:g,FileSize:n,SliceSize:v,AsyncLimit:b,ServerSideEncryption:_,UploadData:t,Headers:e.Headers,onProgress:r,tracker:S},(function(e,t){if(o._isRunningTask(u))returne?(r(null,!0),l.emit("error",e)):voidl.emit("upload_slice_complete",t)}))})),l.on("get_file_size_finish",(function(){if(r=s.throttleOnProgress.call(o,n,e.onProgress),e.UploadData.UploadId)l.emit("get_upload_data_finish",e.UploadData);else{vart=s.extend({TaskId:u,Bucket:d,Region:p,Key:f,Headers:e.Headers,StorageClass:y,Body:g,FileSize:n,SliceSize:v,onHashProgress:E,tracker:S},e);c.call(o,t,(function(t,n){if(o._isRunningTask(u)){if(t)returnl.emit("error",t);e.UploadData.UploadId=n.UploadId,e.UploadData.PartList=n.PartList,l.emit("get_upload_data_finish",e.UploadData)}}))}})),n=e.ContentLength,deletee.ContentLength,!e.Headers&&(e.Headers={}),s.each(e.Headers,(function(t,n){"content-length"===n.toLowerCase()&&deletee.Headers[n]})),function(){for(vart=[1,2,4,8,16,32,64,128,256,512,1024,2048,4096,5120],r=1048576,i=0;i<t.length;i++)if(r=1024*t[i]*1024,n/r<=o.options.MaxPartNumber)break;e.ChunkSize=e.SliceSize=v=Math.max(v,r)}(),0===n?(e.Body="",e.ContentLength=0,e.SkipTask=!0,o.putObject(e,t)):l.emit("get_file_size_finish")}functionc(e,t){varn=e.TaskId,r=e.Bucket,l=e.Region,u=e.Key,c=e.StorageClass,h=this,f={},m=e.FileSize,g=e.SliceSize,v=Math.ceil(m/g),b=0,y=s.throttleOnProgress.call(h,m,e.onHashProgress),_=function(t,n){varr=g*(t-1),i=Math.min(r+g,m),o=i-r;f[t]?n(null,{PartNumber:t,ETag:f[t],Size:o}):s.fileSlice(e.Body,r,i,!1,(function(e){s.getFileMd5(e,(function(e,r){if(e)returnn(s.error(e));vari='"'+r+'"';f[t]=i,1,b+=o,y({loaded:b,total:m}),n(null,{PartNumber:t,ETag:i,Size:o})}))}))},E=function(e,t){varn=e.length;if(0===n)returnt(null,!0);if(n>v)returnt(null,!1);if(n>1){varr=Math.max(e[0].Size,e[1].Size);if(r!==g)returnt(null,!1)}vari=functionr(i){if(i<n){varo=e[i];_(o.PartNumber,(function(e,n){n&&n.ETag===o.ETag&&n.Size===o.Size?r(i+1):t(null,!1)}))}elset(null,!0)};i(0)},S=newa;S.on("error",(function(e){if(h._isRunningTask(n))returnt(e)})),S.on("upload_id_available",(function(e){varn={},r=[];s.each(e.PartList,(function(e){n[e.PartNumber]=e}));for(vari=1;i<=v;i++){varo=n[i];o?(o.PartNumber=i,o.Uploaded=!0):o={PartNumber:i,ETag:null,Uploaded:!1},r.push(o)}e.PartList=r,t(null,e)})),S.on("no_available_upload_id",(function(){if(h._isRunningTask(n)){vari=s.extend({Bucket:r,Region:l,Key:u,Query:s.clone(e.Query),StorageClass:c,Body:e.Body,calledBySdk:"sliceUploadFile",tracker:e.tracker},e),o=s.clone(e.Headers);deleteo["x-cos-mime-limit"],i.Headers=o,h.multipartInit(i,(function(e
/*!**********************!*\
!***./src/async.js***!
\**********************/
/*! no static exports found */function(e,t){varn=function(e,t,n,r){if(r=r||function(){},!e.length||t<=0)returnr();vari=0,o=0,a=0;(functions(){if(i>=e.length)returnr();while(a<t&&o<e.length)o+=1,a+=1,n(e[o-1],(function(t){t?(r(t),r=function(){}):(i+=1,a-=1,i>=e.length?r():s())}))})()},r=function(e,t,n){varr=functionr(i){t((function(t,o){t&&i<e?r(i+1):n(t,o)}))};e<1?n():r(1)},i={eachLimit:n,retry:r};e.exports=i},"./src/base.js":
/*!*********************!*\
!***./src/base.js***!
\*********************/
/*! no static exports found */function(e,t,n){varr=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=n(/*! ../lib/request */"./lib/request.js"),o=n(/*! ./util */"./src/util.js");functiona(e,t){"function"===typeofe&&(t=e,e={});varn=this.options.Protocol||(o.isBrowser&&"object"===("undefined"===typeoflocation?"undefined":r(location))&&"http:"===location.protocol?"http:":"https:"),i=this.options.ServiceDomain,a=e.AppId||this.options.appId,s=e.Region;i?(i=i.replace(/\{\{AppId\}\}/gi,a||"").replace(/\{\{Region\}\}/gi,s||"").replace(/\{\{.*?\}\}/gi,""),/^[a-zA-Z]+:\/\//.test(i)||(i=n+"//"+i),"/"===i.slice(-1)&&(i=i.slice(0,-1))):i=s?n+"//cos."+s+".myqcloud.com":n+"//service.cos.myqcloud.com";varl="",u=s?"cos."+s+".myqcloud.com":"service.cos.myqcloud.com",c=i.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");u===c&&(l=u),Me.call(this,{Action:"name/cos:GetService",url:i,method:"GET",headers:e.Headers,SignHost:l},(function(e,n){if(e)returnt(e);varr=n&&n.ListAllMyBucketsResult&&n.ListAllMyBucketsResult.Buckets&&n.ListAllMyBucketsResult.Buckets.Bucket||[];r=o.isArray(r)?r:[r];vari=n&&n.ListAllMyBucketsResult&&n.ListAllMyBucketsResult.Owner||{};t(null,{Buckets:r,Owner:i,statusCode:n.statusCode,headers:n.headers})}))}functions(e,t){varn=this,r="";if(e["BucketAZConfig"]){vari={BucketAZConfig:e.BucketAZConfig};r=o.json2xml({CreateBucketConfiguration:i})}Me.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,body:r},(function(r,i){if(r)returnt(r);varo=Oe({protocol:n.options.Protocol,domain:n.options.Domain,bucket:e.Bucket,region:e.Region,isLocation:!0});t(null,{Location:o,statusCode:i.statusCode,headers:i.headers})}))}functionl(e,t){Me.call(this,{Action:"name/cos:HeadBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"HEAD"},t)}functionu(e,t){varn={};n["prefix"]=e["Prefix"]||"",n["delimiter"]=e["Delimiter"],n["marker"]=e["Marker"],n["max-keys"]=e["MaxKeys"],n["encoding-type"]=e["EncodingType"],Me.call(this,{Action:"name/cos:GetBucket",ResourceKey:n["prefix"],method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,qs:n},(function(e,n){if(e)returnt(e);varr=n.ListBucketResult||{},i=r.Contents||[],a=r.CommonPrefixes||[];i=o.isArray(i)?i:[i],a=o.isArray(a)?a:[a];vars=o.clone(r);o.extend(s,{Contents:i,CommonPrefixes:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}functionc(e,t){Me.call(this,{Action:"name/cos:DeleteBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"DELETE"},(function(e,n){returne&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):voidt(null,{statusCode:n.statusCode,headers:n.headers})}))}functiond(e,t){varn=e.Headers,r="";if(e["AccessControlPolicy"]){vari=o.clone(e["AccessControlPolicy"]||{}),a=i.Grants||i.Grant;a=o.isArray(a)?a:[a],deletei.Grant,deletei.Grants,i.AccessControlList={Grant:a},r=o.json2xml({AccessControlPolicy:i}),n["Content-Type"]="application/xml",n["Content-MD5"]=o.b64(o.md5(r))}o.each(n,(function(e,t){0===t.indexOf("x-cos-grant-")&&(n[t]=Ae(n[t]))})),Me.call(this,{Action:"name/cos:PutBucketACL",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:n,action:"acl",body:r},(function(e,n){if(e)returnt(e);t(null,{statusCode:n.statusCode,headers:n.headers})}))}functionp(e,t){Me.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"acl"},(function(e,n){if(e)returnt(e);varr=n.AccessControlPolicy||{},i=r.Owner||{},a=r.AccessControlList.Grant||[];a=o.isArray(a)?a:[a];vars=De(r);n.headers&&n.headers["x-cos-acl"]&&(s.ACL=n.headers["x-cos-acl"]),s=o.extend(s,{Owner:i,Grants:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}functionh(e,t){varn=e["CORSConfiguration"]||{},r=n["CORSRules"]||e["CORSRules"]||[];r=o.clone(o.isArray(r)?r:[r]),o.each(r,(function(e){o.each(["AllowedOrigin","AllowedHeader","AllowedMethod","ExposeHeader"],(function(t){varn=t+"s",r=e[n]||e[t]||[];deletee[n],e[t]=o.isArray(r)?r:[r]}))}));vari={CORSRule:r};e.ResponseVary&&(i.ResponseVary=e.ResponseVary);vara=
/*!********************!*\
!***./src/cos.js***!
\********************/
/*! no static exports found */function(e,t,n){"use strict";varr=n(/*! ./util */"./src/util.js"),i=n(/*! ./event */"./src/event.js"),o=n(/*! ./task */"./src/task.js"),a=n(/*! ./base */"./src/base.js"),s=n(/*! ./advance */"./src/advance.js"),l=n(/*! ../package.json */"./package.json"),u={AppId:"",SecretId:"",SecretKey:"",SecurityToken:"",ChunkRetryTimes:2,FileParallelLimit:3,ChunkParallelLimit:3,ChunkSize:1048576,SliceSize:1048576,CopyChunkParallelLimit:20,CopyChunkSize:10485760,CopySliceSize:10485760,MaxPartNumber:1e4,ProgressInterval:1e3,Domain:"",ServiceDomain:"",Protocol:"",CompatibilityMode:!1,ForcePathStyle:!1,UseRawKey:!1,Timeout:0,CorrectClockSkew:!0,SystemClockOffset:0,UploadCheckContentMd5:!1,UploadQueueSize:1e4,UploadAddMetaMd5:!1,UploadIdCacheLimit:50,UseAccelerate:!1,ForceSignHost:!0,EnableTracker:!1,DeepTracker:!1,TrackerDelay:5e3,CustomId:""},c=function(e){this.options=r.extend(r.clone(u),e||{}),this.options.FileParallelLimit=Math.max(1,this.options.FileParallelLimit),this.options.ChunkParallelLimit=Math.max(1,this.options.ChunkParallelLimit),this.options.ChunkRetryTimes=Math.max(0,this.options.ChunkRetryTimes),this.options.ChunkSize=Math.max(1048576,this.options.ChunkSize),this.options.CopyChunkParallelLimit=Math.max(1,this.options.CopyChunkParallelLimit),this.options.CopyChunkSize=Math.max(1048576,this.options.CopyChunkSize),this.options.CopySliceSize=Math.max(0,this.options.CopySliceSize),this.options.MaxPartNumber=Math.max(1024,Math.min(1e4,this.options.MaxPartNumber)),this.options.Timeout=Math.max(0,this.options.Timeout),this.options.AppId&&console.warn('warning: AppId has been deprecated, Please put it at the end of parameter Bucket(E.g: "test-1250000000").'),this.options.SecretId&&this.options.SecretId.indexOf(" ")>-1&&(console.error("error: SecretId格式错误,请检查"),console.error("error: SecretId format is incorrect. Please check")),this.options.SecretKey&&this.options.SecretKey.indexOf(" ")>-1&&(console.error("error: SecretKey格式错误,请检查"),console.error("error: SecretKey format is incorrect. Please check")),r.isNode()&&(console.warn("warning: cos-js-sdk-v5 不支持 nodejs 环境使用,请改用 cos-nodejs-sdk-v5,参考文档: https://cloud.tencent.com/document/product/436/8629"),console.warn("warning: cos-js-sdk-v5 does not support nodejs environment. Please use cos-nodejs-sdk-v5 instead. See: https://cloud.tencent.com/document/product/436/8629")),i.init(this),o.init(this)};a.init(c,o),s.init(c,o),c.util={md5:r.md5,xml2json:r.xml2json,json2xml:r.json2xml},c.getAuthorization=r.getAuth,c.version=l.version,e.exports=c},"./src/event.js":
/*!**********************!*\
!***./src/event.js***!
\**********************/
/*! no static exports found */function(e,t){varn=function(e){vart={},n=function(e){return!t[e]&&(t[e]=[]),t[e]};e.on=function(e,t){"task-list-update"===e&&console.warn('warning: Event "'+e+'" has been deprecated. Please use "list-update" instead.'),n(e).push(t)},e.off=function(e,t){for(varr=n(e),i=r.length-1;i>=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(varr=n(e).map((function(e){returne})),i=0;i<r.length;i++)r[i](t)}},r=function(){n(this)};e.exports.init=n,e.exports.EventProxy=r},"./src/session.js":
/*!************************!*\
!***./src/session.js***!
\************************/
/*! no static exports found */function(e,t,n){varr,i,o=n(/*! ./util */"./src/util.js"),a="cos_sdk_upload_cache",s=2592e3,l=function(){try{vare=JSON.parse(localStorage.getItem(a))}catch(t){}e||(e=[]),r=e},u=function(){try{r.length?localStorage.setItem(a,JSON.stringify(r)):localStorage.removeItem(a)}catch(e){}},c=function(){if(!r){l.call(this);for(vare=!1,t=Math.round(Date.now()/1e3),n=r.length-1;n>=0;n--){vari=r[n][2];(!i||i+s<t)&&(r.splice(n,1),e=!0)}e&&u()}},d=function(){i||(i=setTimeout((function(){u(),i=null}),400))},p={using:{},setUsing:function(e){p.using[e]=!0},removeUsing:function(e){deletep.using[e]},getFileId:function(e,t,n,r){returne.name&&e.size&&e.lastModifiedDate&&t?o.md5([e.name,e.size,e.lastModifiedDate,t,n,r].join("::")):null},getCopyFileId:function(e,t,n,r,i){vara=t["content-length"],s=t.etag||"",l=t["last-modified"];returne&&n?o.md5([e,a,s,l,n,r,i].join("::")):null},getUploadIdList:function(e){if(!e)returnnull;c.call(this);for(vart=[],n=0;n<r.length;n++)r[n][0]===e&&t.push(r[n][1]);returnt.length?t:null},saveUploadId:function(e,t,n){if(c.call(this),e){for(vari=r.length-1;i>=0;i--){varo=r[i];o[0]===e&&o[1]===t&&r.splice(i,1)}r.unshift([e,t,Math.round(Date.now()/1e3)]),r.length>n&&r.splice(n),d()}},removeUploadId:function(e){c.call(this),deletep.using[e];for(vart=r.length-1;t>=0;t--)r[t][1]===e&&r.splice(t,1);d()}};e.exports=p},"./src/task.js":
/*!*********************!*\
!***./src/task.js***!
\*********************/
/*! no static exports found */function(e,t,n){varr=n(/*! ./session */"./src/session.js"),i=n(/*! ./util */"./src/util.js"),o={},a=function(e,t){o[t]=e[t],e[t]=function(e,n){e.SkipTask?o[t].call(this,e,n):this._addTask(t,e,n)}},s=function(e){vart=[],n={},a=0,s=0,l=function(e){vart={id:e.id,Bucket:e.Bucket,Region:e.Region,Key:e.Key,FilePath:e.FilePath,state:e.state,loaded:e.loaded,size:e.size,speed:e.speed,percent:e.percent,hashPercent:e.hashPercent,error:e.error};returne.FilePath&&(t.FilePath=e.FilePath),e._custom&&(t._custom=e._custom),t},u=function(){varn,r=function(){n=0,e.emit("task-list-update",{list:i.map(t,l)}),e.emit("list-update",{list:i.map(t,l)})};returnfunction(){n||(n=setTimeout(r))}}(),c=function(){if(!(t.length<=e.options.UploadQueueSize)){for(varr=0;r<s&&r<t.length&&t.length>e.options.UploadQueueSize;){vari="waiting"===t[r].state||"checking"===t[r].state||"uploading"===t[r].state;t[r]&&i?r++:(n[t[r].id]&&deleten[t[r].id],t.splice(r,1),s--)}u()}},d=functionn(){if(!(a>=e.options.FileParallelLimit)){while(t[s]&&"waiting"!==t[s].state)s++;if(!(s>=t.length)){varr=t[s];s++,a++,r.state="checking",r.params.onTaskStart&&r.params.onTaskStart(l(r)),!r.params.UploadData&&(r.params.UploadData={});vard=i.formatParams(r.api,r.params);o[r.api].call(e,d,(function(t,i){e._isRunningTask(r.id)&&("checking"!==r.state&&"uploading"!==r.state||(r.state=t?"error":"success",t&&(r.error=t),a--,u(),n(),r.callback&&r.callback(t,i),"success"===r.state&&(r.params&&(deleter.params.UploadData,deleter.params.Body,deleter.params),deleter.callback)),c())})),u(),setTimeout(n)}}},p=function(t,i){varo=n[t];if(o){vars=o&&"waiting"===o.state,l=o&&("checking"===o.state||"uploading"===o.state);if("canceled"===i&&"canceled"!==o.state||"paused"===i&&s||"paused"===i&&l){if("paused"===i&&o.params.Body&&"function"===typeofo.params.Body.pipe)returnvoidconsole.error("stream not support pause");o.state=i,e.emit("inner-kill-task",{TaskId:t,toState:i});try{varp=o&&o.params&&o.params.UploadData.UploadId}catch(h){}"canceled"===i&&p&&r.removeUsing(p),u(),l&&(a--,d()),"canceled"===i&&(o.params&&(deleteo.params.UploadData,deleteo.params.Body,deleteo.params),deleteo.callback)}c()}};e._addTasks=function(t){i.each(t,(function(t){e._addTask(t.api,t.params,t.callback,!0)})),u()};varh=!0;e._addTask=function(r,o,a,s){o=i.formatParams(r,o);varl=i.uuid();o.TaskId=l,o.onTaskReady&&o.onTaskReady(l),o.TaskReady&&(o.TaskReady(l),h&&console.warn('warning: Param "TaskReady" has been deprecated. Please use "onTaskReady" instead.'),h=!1);varp={params:o,callback:a,api:r,index:t.length,id:l,Bucket:o.Bucket,Region:o.Region,Key:o.Key,FilePath:o.FilePath||"",state:"waiting",loaded:0,size:0,speed:0,percent:0,hashPercent:0,error:null,_custom:o._custom},f=o.onHashProgress;o.onHashProgress=function(t){e._isRunningTask(p.id)&&(p.hashPercent=t.percent,f&&f(t),u())};varm=o.onProgress;returno.onProgress=function(t){e._isRunningTask(p.id)&&("checking"===p.state&&(p.state="uploading"),p.loaded=t.loaded,p.speed=t.speed,p.percent=t.percent,m&&m(t),u())},i.getFileSize(r,o,(function(e,r){if(e)returna(i.error(e));n[l]=p,t.push(p),p.size=r,!s&&u(),d(),c()})),l},e._isRunningTask=function(e){vart=n[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},e.getTaskList=function(){returni.map(t,l)},e.cancelTask=function(e){p(e,"canceled")},e.pauseTask=function(e){p(e,"paused")},e.restartTask=function(e){vart=n[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",u(),s=Math.min(s,t.index),d())},e.isUploadRunning=function(){returna||s<t.length}};e.exports.transferToTaskMethod=a,e.exports.init=s},"./src/tracker.js":
varr=n("10ab"),i=n("ba37"),o=n("1619");functiona(){try{vare=newUint8Array(1);returne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===e.foo()&&"function"===typeofe.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}functions(){returnu.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionl(e,t){if(s()<t)thrownewRangeError("Invalid typed array length");returnu.TYPED_ARRAY_SUPPORT?(e=newUint8Array(t),e.__proto__=u.prototype):(null===e&&(e=newu(t)),e.length=t),e}functionu(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(thisinstanceofu))returnnewu(e,t,n);if("number"===typeofe){if("string"===typeoft)thrownewError("If encoding is specified then the first argument must be a string");returnh(this,e)}returnc(this,e,t,n)}functionc(e,t,n,r){if("number"===typeoft)thrownewTypeError('"value" argument must not be a number');return"undefined"!==typeofArrayBuffer&&tinstanceofArrayBuffer?g(e,t,n,r):"string"===typeoft?f(e,t,n):v(e,t)}functiond(e){if("number"!==typeofe)thrownewTypeError('"size" argument must be a number');if(e<0)thrownewRangeError('"size" argument must not be negative')}functionp(e,t,n,r){returnd(t),t<=0?l(e,t):void0!==n?"string"===typeofr?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}functionh(e,t){if(d(t),e=l(e,t<0?0:0|b(t)),!u.TYPED_ARRAY_SUPPORT)for(varn=0;n<t;++n)e[n]=0;returne}functionf(e,t,n){if("string"===typeofn&&""!==n||(n="utf8"),!u.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varr=0|_(t,n);e=l(e,r);vari=e.write(t,n);returni!==r&&(e=e.slice(0,i)),e}functionm(e,t){varn=t.length<0?0:0|b(t.length);e=l(e,n);for(varr=0;r<n;r+=1)e[r]=255&t[r];returne}functiong(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))thrownewRangeError("'length' is out of bounds");returnt=void0===n&&void0===r?newUint8Array(t):void0===r?newUint8Array(t,n):newUint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}functionv(e,t){if(u.isBuffer(t)){varn=0|b(t.length);returne=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeofArrayBuffer&&t.bufferinstanceofArrayBuffer||"length"int)return"number"!==typeoft.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))returnm(e,t.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functionb(e){if(e>=s())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return0|e}functiony(e){return+e!=e&&(e=0),u.alloc(+e)}function_(e,t){if(u.isBuffer(e))returne.length;if("undefined"!==typeofArrayBuffer&&"function"===typeofArrayBuffer.isView&&(ArrayBuffer.isView(e)||einstanceofArrayBuffer))returne.byteLength;"string"!==typeofe&&(e=""+e);varn=e.length;if(0===n)return0;for(varr=!1;;)switch(t){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":casevoid0:returnQ(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnJ(e).length;default:if(r)returnQ(e).length;t=(""+t).toLowerCase(),r=!0}}functionE(e,t,n){varr=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":returnF(this,t,n);case"utf8":case"utf-8":returnI(this,t,n);case"ascii":returnP(this,t,n);case"latin1":case"binary":returnL(this,t,n);case"base64":returnN(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnB(this,t,n);default:if(r)thrownewTypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}functionS(e,t,n){varr=e[t];e[t]=e[n],e[n]=r}functionw(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeofn?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}elseif(n<0){if(!i)return-1;n=0}if("string"===typeoft&&(t=u.from(t,r)),u.isBuffer(t))retu
"use strict";varn=e("base64-js"),i=e("ieee754"),o=e("isarray");functiona(){try{vare=newUint8Array(1);returne.__proto__={__proto__:Uint8Array.prototype,foo:function(){return42}},42===e.foo()&&"function"===typeofe.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}functions(){returnu.TYPED_ARRAY_SUPPORT?2147483647:1073741823}functionl(e,t){if(s()<t)thrownewRangeError("Invalid typed array length");returnu.TYPED_ARRAY_SUPPORT?(e=newUint8Array(t),e.__proto__=u.prototype):(null===e&&(e=newu(t)),e.length=t),e}functionu(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(thisinstanceofu))returnnewu(e,t,n);if("number"===typeofe){if("string"===typeoft)thrownewError("If encoding is specified then the first argument must be a string");returnh(this,e)}returnc(this,e,t,n)}functionc(e,t,n,r){if("number"===typeoft)thrownewTypeError('"value" argument must not be a number');return"undefined"!==typeofArrayBuffer&&tinstanceofArrayBuffer?g(e,t,n,r):"string"===typeoft?f(e,t,n):v(e,t)}functiond(e){if("number"!==typeofe)thrownewTypeError('"size" argument must be a number');if(e<0)thrownewRangeError('"size" argument must not be negative')}functionp(e,t,n,r){returnd(t),t<=0?l(e,t):void0!==n?"string"===typeofr?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}functionh(e,t){if(d(t),e=l(e,t<0?0:0|b(t)),!u.TYPED_ARRAY_SUPPORT)for(varn=0;n<t;++n)e[n]=0;returne}functionf(e,t,n){if("string"===typeofn&&""!==n||(n="utf8"),!u.isEncoding(n))thrownewTypeError('"encoding" must be a valid string encoding');varr=0|_(t,n);e=l(e,r);vari=e.write(t,n);returni!==r&&(e=e.slice(0,i)),e}functionm(e,t){varn=t.length<0?0:0|b(t.length);e=l(e,n);for(varr=0;r<n;r+=1)e[r]=255&t[r];returne}functiong(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)thrownewRangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))thrownewRangeError("'length' is out of bounds");returnt=void0===n&&void0===r?newUint8Array(t):void0===r?newUint8Array(t,n):newUint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}functionv(e,t){if(u.isBuffer(t)){varn=0|b(t.length);returne=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeofArrayBuffer&&t.bufferinstanceofArrayBuffer||"length"int)return"number"!==typeoft.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))returnm(e,t.data)}thrownewTypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}functionb(e){if(e>=s())thrownewRangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return0|e}functiony(e){return+e!=e&&(e=0),u.alloc(+e)}function_(e,t){if(u.isBuffer(e))returne.length;if("undefined"!==typeofArrayBuffer&&"function"===typeofArrayBuffer.isView&&(ArrayBuffer.isView(e)||einstanceofArrayBuffer))returne.byteLength;"string"!==typeofe&&(e=""+e);varn=e.length;if(0===n)return0;for(varr=!1;;)switch(t){case"ascii":case"latin1":case"binary":returnn;case"utf8":case"utf-8":casevoid0:returnQ(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return2*n;case"hex":returnn>>>1;case"base64":returnJ(e).length;default:if(r)returnQ(e).length;t=(""+t).toLowerCase(),r=!0}}functionE(e,t,n){varr=!1;if((void0===t||t<0)&&(t=0),t>this.length)return"";if((void0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";e||(e="utf8");while(1)switch(e){case"hex":returnF(this,t,n);case"utf8":case"utf-8":returnI(this,t,n);case"ascii":returnP(this,t,n);case"latin1":case"binary":returnL(this,t,n);case"base64":returnN(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":returnB(this,t,n);default:if(r)thrownewTypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}functionS(e,t,n){varr=e[t];e[t]=e[n],e[n]=r}functionw(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeofn?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}elseif(n<0){if(!i)return-1;n=0}if("string"===typeoft&&(t=u.from(
/*!
*copy-to-index.js
*Copyright(c)2014dead_horse<dead_horse@qq.com>
*MITLicensed
*/
"use strict";varr=Array.prototype.slice;functioni(e,t){if(!(thisinstanceofi))returnnewi(e,t);this.src=e,this._withAccess=t}functiono(e,t){returnvoid0===e[t]&&void0===e.__lookupGetter__(t)&&void0===e.__lookupSetter__(t)}t.exports=i,i.prototype.withAccess=function(e){returnthis._withAccess=!1!==e,this},i.prototype.pick=function(e){returnArray.isArray(e)||(e=r.call(arguments)),e.length&&(this.keys=e),this},i.prototype.to=function(e){if(e=e||{},!this.src)returne;vart=this.keys||Object.keys(this.src);if(!this._withAccess){for(varn=0;n<t.length;n++)r=t[n],void0===e[r]&&(e[r]=this.src[r]);returne}for(n=0;n<t.length;n++){varr=t[n];if(o(e,r)){vari=this.src.__lookupGetter__(r),a=this.src.__lookupSetter__(r);i&&e.__defineGetter__(r,i),a&&e.__defineSetter__(r,a),i||a||(e[r]=this.src[r])}}returne},i.prototype.toCover=function(e){for(vart=this.keys||Object.keys(this.src),n=0;n<t.length;n++){varr=t[n];deletee[r];vari=this.src.__lookupGetter__(r),o=this.src.__lookupSetter__(r);i&&e.__defineGetter__(r,i),o&&e.__defineSetter__(r,o),i||o||(e[r]=this.src[r])}},i.prototype.override=i.prototype.toCover,i.prototype.and=function(e){vart={};returnthis.to(t),this.src=e,this.to(t),this.src=t,this}},{}],89:[function(e,t,n){t.exports=function(e){if("function"!=typeofe)throwTypeError(String(e)+" is not a function");returne}},{}],90:[function(e,t,n){varr=e("../internals/is-object");t.exports=function(e){if(!r(e)&&null!==e)throwTypeError("Can't set "+String(e)+" as a prototype");returne}},{"../internals/is-object":162}],91:[function(e,t,n){varr=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property"),a=r("unscopables"),s=Array.prototype;void0==s[a]&&o.f(s,a,{configurable:!0,value:i(null)}),t.exports=function(e){s[a][e]=!0}},{"../internals/object-create":177,"../internals/object-define-property":179,"../internals/well-known-symbol":237}],92:[function(e,t,n){"use strict";varr=e("../internals/string-multibyte").charAt;t.exports=function(e,t,n){returnt+(n?r(e,t).length:1)}},{"../internals/string-multibyte":213}],93:[function(e,t,n){t.exports=function(e,t,n){if(!(einstanceoft))throwTypeError("Incorrect "+(n?n+" ":"")+"invocation");returne}},{}],94:[function(e,t,n){varr=e("../internals/is-object");t.exports=function(e){if(!r(e))throwTypeError(String(e)+" is not an object");returne}},{"../internals/is-object":162}],95:[function(e,t,n){t.exports="undefined"!==typeofArrayBuffer&&"undefined"!==typeofDataView},{}],96:[function(e,t,n){"use strict";varr,i,o,a=e("../internals/array-buffer-native"),s=e("../internals/descriptors"),l=e("../internals/global"),u=e("../internals/is-object"),c=e("../internals/has"),d=e("../internals/classof"),p=e("../internals/create-non-enumerable-property"),h=e("../internals/redefine"),f=e("../internals/object-define-property").f,m=e("../internals/object-get-prototype-of"),g=e("../internals/object-set-prototype-of"),v=e("../internals/well-known-symbol"),b=e("../internals/uid"),y=l.Int8Array,_=y&&y.prototype,E=l.Uint8ClampedArray,S=E&&E.prototype,w=y&&m(y),x=_&&m(_),C=Object.prototype,T=C.isPrototypeOf,D=v("toStringTag"),A=b("TYPED_ARRAY_TAG"),O=b("TYPED_ARRAY_CONSTRUCTOR"),k=a&&!!g&&"Opera"!==d(l.opera),N=!1,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},M={BigInt64Array:8,BigUint64Array:8},R=function(e){if(!u(e))return!1;vart=d(e);return"DataView"===t||c(I,t)||c(M,t)},P=function(e){if(!u(e))return!1;vart=d(e);returnc(I,t)||c(M,t)},L=function(e){if(P(e))returne;throwTypeError("Target is not a typed array")},F=function(e){if(g&&!T.call(w,e))throwTypeError("Target is not a typed array constructor");returne},B=function(e,t,n){if(s){if(n)for(varrinI){vari=l[r];if(i&&c(i.prototype,e))try{deletei.prototype[e]}catch(o){}}x[e]&&!n||h(x,e,n?t:k&&_[e]||t)}},j=function(e,t,n){varr,i;if(s){if(g){if(n)for(rinI)if(i=l[r],i&&c(i,e))try{deletei[e]}catch(o){}if(w[e]&&!n)return;try{returnh(w,e,n?t:k&&w[e]||t)}catch(o){}}for(rinI)i=l[r],!i||i[e]&&!n||
/*!
*escape-html
*Copyright(c)2012-2013TJHolowaychuk
*Copyright(c)2015AndreasLubbe
*Copyright(c)2015Tiancheng"Timothy"Gu
*MITLicensed
*/
"use strict";varr=/["'&<>]/;functioni(e){vart,n=""+e,i=r.exec(n);if(!i)returnn;varo="",a=0,s=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case34:t=""";break;case38:t="&";break;case39:t="'";break;case60:t="<";break;case62:t=">";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=t}returns!==a?o+n.substring(s,a):o}t.exports=i},{}],301:[function(e,t,n){functionr(){this._events=this._events||{},this._maxListeners=this._maxListeners||void0}functioni(e){return"function"===typeofe}functiono(e){return"number"===typeofe}functiona(e){return"object"===typeofe&&null!==e}functions(e){returnvoid0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void0,r.prototype._maxListeners=void0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!o(e)||e<0||isNaN(e))throwTypeError("n must be a positive number");returnthis._maxListeners=e,this},r.prototype.emit=function(e){vart,n,r,o,l,u;if(this._events||(this._events={}),"error"===e&&(!this._events.error||a(this._events.error)&&!this._events.error.length)){if(t=arguments[1],tinstanceofError)throwt;varc=newError('Uncaught, unspecified "error" event. ('+t+")");throwc.context=t,c}if(n=this._events[e],s(n))return!1;if(i(n))switch(arguments.length){case1:n.call(this);break;case2:n.call(this,arguments[1]);break;case3:n.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),n.apply(this,o)}elseif(a(n))for(o=Array.prototype.slice.call(arguments,1),u=n.slice(),r=u.length,l=0;l<r;l++)u[l].apply(this,o);return!0},r.prototype.addListener=function(e,t){varn;if(!i(t))throwTypeError("listener must be a function");returnthis._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,i(t.listener)?t.listener:t),this._events[e]?a(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,a(this._events[e])&&!this._events[e].warned&&(n=s(this._maxListeners)?r.defaultMaxListeners:this._maxListeners,n&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"===typeofconsole.trace&&console.trace())),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){if(!i(t))throwTypeError("listener must be a function");varn=!1;functionr(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}returnr.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){varn,r,o,s;if(!i(t))throwTypeError("listener must be a function");if(!this._events||!this._events[e])returnthis;if(n=this._events[e],o=n.length,r=-1,n===t||i(n.listener)&&n.listener===t)deletethis._events[e],this._events.removeListener&&this.emit("removeListener",e,t);elseif(a(n)){for(s=o;s-->0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)returnthis;1===n.length?(n.length=0,deletethis._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}returnthis},r.prototype.removeAllListeners=function(e){vart,n;if(!this._events)returnthis;if(!this._events.removeListener)return0===arguments.length?this._events={}:this._events[e]&&deletethis._events[e],this;if(0===arguments.length){for(tinthis._events)"removeListener"!==t&&this.removeAllListeners(t);returnthis.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],i(n))this.removeListener(e,n);elseif(n)while(n.length)this.removeListener(e,n[n.length-1]);returndeletethis._events[e],this},r.prototype.listeners=function(e){vart;returnt=this._events&&this._events[e]?i(this._events[e])?[this._events[e]]:this._events[e].slice():[],t},r.prototype.listenerCount=function(e){if(this._events){vart=this._events[e];if(i(t))return1;if(t)returnt.length}return0},r.listenerCount=function(e,t){returne.listenerCount(t)}},{}],302:[function(e,t,n){varr=e("http"),i=t.exports;for(varoinr)r.hasOwnProperty(o)&&(i[o]=r[o]);i.request=function(e,t){return
/*!
*humanize-ms-index.js
*Copyright(c)2014dead_horse<dead_horse@qq.com>
*MITLicensed
*/
"use strict";varr=e("util"),i=e("ms");t.exports=function(e){if("number"===typeofe)returne;vart=i(e);if(void0===t){varn=newError(r.format("humanize-ms(%j) result undefined",e));console.warn(n.stack)}returnt}},{ms:319,util:352}],304:[function(e,t,n){
"use strict";t.exports=i;varr=Object.prototype.hasOwnProperty;functioni(e,t,n){if(!e)thrownewTypeError("argument dest is required");if(!t)thrownewTypeError("argument src is required");returnvoid0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach((function(i){if(n||!r.call(e,i)){varo=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,o)}})),e}},{}],316:[function(e,t,n){"use strict";functionr(){this._types=Object.create(null),this._extensions=Object.create(null);for(vare=0;e<arguments.length;e++)this.define(arguments[e]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}e("core-js/modules/es.array.map.js"),e("core-js/modules/es.regexp.exec.js"),e("core-js/modules/es.string.replace.js"),e("core-js/modules/es.regexp.constructor.js"),e("core-js/modules/es.regexp.to-string.js"),r.prototype.define=function(e,t){for(varnine){varr=e[n].map((function(e){returne.toLowerCase()}));n=n.toLowerCase();for(vari=0;i<r.length;i++){varo=r[i];if("*"!==o[0]){if(!t&&ointhis._types)thrownewError('Attempt to change mapping for "'+o+'" extension from "'+this._types[o]+'" to "'+n+'". Pass `force=true` to allow this, otherwise remove "'+o+'" from the list of extensions for "'+n+'".');this._types[o]=n}}if(t||!this._extensions[n]){vara=r[0];this._extensions[n]="*"!==a[0]?a:a.substr(1)}}},r.prototype.getType=function(e){e=String(e);vart=e.replace(/^.*[/\\]/,"").toLowerCase(),n=t.replace(/^.*\./,"").toLowerCase(),r=t.length<e.length,i=n.length<t.length-1;return(i||!r)&&this._types[n]||null},r.prototype.getExtension=function(e){returne=/^\s*([^;\s]*)/.test(e)&&RegExp.$1,e&&this._extensions[e.toLowerCase()]||null},t.exports=r},{"core-js/modules/es.array.map.js":249,"core-js/modules/es.regexp.constructor.js":260,"core-js/modules/es.regexp.exec.js":261,"core-js/modules/es.regexp.to-string.js":262,"core-js/modules/es.string.replace.js":266}],317:[function(e,t,n){"use strict";varr=e("./Mime");t.exports=newr(e("./types/standard"))},{"./Mime":316,"./types/standard":318}],318:[function(e,t,n){"use strict";t.exports={"application/andrew-inset":["ez"],"application/applixware":["aw"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cu-seeme":["cu"],"application/dash+xml":["mpd"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma","es"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["js","mjs"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mat
/*
object-assign
(c)SindreSorhus
@licenseMIT
*/
"use strict";varr=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;functiona(e){if(null===e||void0===e)thrownewTypeError("Object.assign cannot be called with null or undefined");returnObject(e)}functions(){try{if(!Object.assign)return!1;vare=newString("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(vart={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;varr=Object.getOwnPropertyNames(t).map((function(e){returnt[e]}));if("0123456789"!==r.join(""))return!1;vari={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(o){return!1}}t.exports=s()?Object.assign:function(e,t){for(varn,s,l=a(e),u=1;u<arguments.length;u++){for(varcinn=Object(arguments[u]),n)i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(vard=0;d<s.length;d++)o.call(n,s[d])&&(l[s[d]]=n[s[d]])}}returnl}},{}],321:[function(e,t,n){(function(e){(function(){functiont(e,t){for(varn=0,r=e.length-1;r>=0;r--){vari=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");returne}functionr(e){"string"!==typeofe&&(e+="");vart,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(n,r)}functioni(e,t){if(e.filter)returne.filter(t);for(varn=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);returnn}n.resolve=function(){for(varn="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){vara=o>=0?arguments[o]:e.cwd();if("string"!==typeofa)thrownewTypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,r="/"===a.charAt(0))}returnn=t(i(n.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+n||"."},n.normalize=function(e){varr=n.isAbsolute(e),a="/"===o(e,-1);returne=t(i(e.split("/"),(function(e){return!!e})),!r).join("/"),e||r||(e="."),e&&a&&(e+="/"),(r?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){vare=Array.prototype.slice.call(arguments,0);returnn.normalize(i(e,(function(e,t){if("string"!==typeofe)thrownewTypeError("Arguments to path.join must be strings");returne})).join("/"))},n.relative=function(e,t){functionr(e){for(vart=0;t<e.length;t++)if(""!==e[t])break;for(varn=e.length-1;n>=0;n--)if(""!==e[n])break;returnt>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(vari=r(e.split("/")),o=r(t.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}varu=[];for(l=s;l<i.length;l++)u.push("..");returnu=u.concat(o.slice(s)),u.join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){if("string"!==typeofe&&(e+=""),0===e.length)return".";for(vart=e.charCodeAt(0),n=47===t,r=-1,i=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),47===t){if(!i){r=o;break}}elsei=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},n.basename=function(e,t){varn=r(e);returnt&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){"string"!==typeofe&&(e+="");for(vart=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){vars=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);elseif(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};varo="b"==="ab".substr(-1)?function(e,t,n){returne.substr(t,n)}:function(e,t,n){returnt<0&&(t=e.length+t),e.substr(t,n)}}).call(this)}).call(this,e("_process"))},{_process:399}],322:[function(n,r,i){(function(t){(function(){(function(){"use strict";varn={function:!0,object:!0},o=n[typeofwindow]&&window||this,a=n[typeofi]&&i,s=n[typeofr]&&r&&!r.nodeType&&r,l=a&&s&&"object"==typeoft&&t;!l||l.global!==l&&l.window!==l&&l.self!==l||(o=l);varu=Math.pow(2,53)-1,c=/\bOpera/,d=Object.prototype,p=d.hasOwnProperty,h=d.toString;functionf(e){returne=String(e),e.charAt(0).toUpperCase()+e.slice(1)}functionm(e,t,n){varr={"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:"Server2003/XP64-bit