vodpro-upload-js-sdk
Version:
Tencent Cloud VOD Pro Upload SDK
81 lines • 178 kB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).VodProUpload={})}(this,function(e){"use strict";function t(e,t,o,r){return new(o||(o=Promise))(function(n,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof o?t:new o(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})}function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}"function"==typeof SuppressedError&&SuppressedError;var r,n={exports:{}};var i,a=(r||(r=1,function(e){var t;t=function(){return function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/dist/",o(o.s="./index.js")}({"./index.js":
/*!******************!*\
!*** ./index.js ***!
\******************/
/*! no static exports found */function(e,t,o){var r=o(/*! ./src/cos */"./src/cos.js");e.exports=r},"./lib/base64.js":
/*!***********************!*\
!*** ./lib/base64.js ***!
\***********************/
/*! no static exports found */function(e,t){var o=function(e){var t=(e=e||{}).Base64,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=function(e){for(var t={},o=0,r=e.length;o<r;o++)t[e.charAt(o)]=o;return t}(o),n=String.fromCharCode,i=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?n(192|t>>>6)+n(128|63&t):n(224|t>>>12&15)+n(128|t>>>6&63)+n(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return n(240|t>>>18&7)+n(128|t>>>12&63)+n(128|t>>>6&63)+n(128|63&t)},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,s=function(e){return e.replace(a,i)},c=function(e){var t=[0,2,1][e.length%3],r=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[o.charAt(r>>>18),o.charAt(r>>>12&63),t>=2?"=":o.charAt(r>>>6&63),t>=1?"=":o.charAt(63&r)].join("")},l=e.btoa?function(t){return e.btoa(t)}:function(e){return e.replace(/[\s\S]{1,3}/g,c)},u=function(e){return l(s(e))},d=function(e,t){return t?u(String(e)).replace(/[+\/]/g,function(e){return"+"==e?"-":"_"}).replace(/=/g,""):u(String(e))},p=new RegExp(["[À-ß][-¿]","[à-ï][-¿]{2}","[ð-÷][-¿]{3}"].join("|"),"g"),f=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return n((t>>>10)+55296)+n(56320+(1023&t));case 3:return n((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return n((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},h=function(e){return e.replace(p,f)},g=function(e){var t=e.length,o=t%4,i=(t>0?r[e.charAt(0)]<<18:0)|(t>1?r[e.charAt(1)]<<12:0)|(t>2?r[e.charAt(2)]<<6:0)|(t>3?r[e.charAt(3)]:0),a=[n(i>>>16),n(i>>>8&255),n(255&i)];return a.length-=[0,0,2,1][o],a.join("")},m=e.atob?function(t){return e.atob(t)}:function(e){return e.replace(/[\s\S]{1,4}/g,g)},y=function(e){return function(e){return h(m(e))}(String(e).replace(/[-_]/g,function(e){return"-"==e?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))};return{VERSION:"2.1.9",atob:m,btoa:l,fromBase64:y,toBase64:d,utob:s,encode:d,encodeURI:function(e){return d(e,!0)},btou:h,decode:y,noConflict:function(){var o=e.Base64;return e.Base64=t,o}}}();e.exports=o},"./lib/crypto.js":
/*!***********************!*\
!*** ./lib/crypto.js ***!
\***********************/
/*! no static exports found */function(e,t,o){(function(e){var t,r,n,i,a,s,c,l=o(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),u=u||function(e){var t={},o=t.lib={},r=function(){},n=o.Base={extend:function(e){r.prototype=this;var t=new r;return e&&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(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},i=o.WordArray=n.extend({init:function(e,t){e=this.words=e||[],this.sigBytes=null!=t?t:4*e.length},toString:function(e){return(e||s).stringify(this)},concat:function(e){var t=this.words,o=e.words,r=this.sigBytes;if(e=e.sigBytes,this.clamp(),r%4)for(var n=0;n<e;n++)t[r+n>>>2]|=(o[n>>>2]>>>24-n%4*8&255)<<24-(r+n)%4*8;else if(65535<o.length)for(n=0;n<e;n+=4)t[r+n>>>2]=o[n>>>2];else t.push.apply(t,o);return this.sigBytes+=e,this},clamp:function(){var t=this.words,o=this.sigBytes;t[o>>>2]&=4294967295<<32-o%4*8,t.length=e.ceil(o/4)},clone:function(){var e=n.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var o=[],r=0;r<t;r+=4)o.push(4294967296*e.random()|0);return new i.init(o,t)}}),a=t.enc={},s=a.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var o=[],r=0;r<e;r++){var n=t[r>>>2]>>>24-r%4*8&255;o.push((n>>>4).toString(16)),o.push((15&n).toString(16))}return o.join("")},parse:function(e){for(var t=e.length,o=[],r=0;r<t;r+=2)o[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new i.init(o,t/2)}},c=a.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var o=[],r=0;r<e;r++)o.push(String.fromCharCode(t[r>>>2]>>>24-r%4*8&255));return o.join("")},parse:function(e){for(var t=e.length,o=[],r=0;r<t;r++)o[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new i.init(o,t)}},l=a.Utf8={stringify:function(e){try{return decodeURIComponent(escape(c.stringify(e)))}catch(e){throw Error("Malformed UTF-8 data")}},parse:function(e){return c.parse(unescape(encodeURIComponent(e)))}},u=o.BufferedBlockAlgorithm=n.extend({reset:function(){this._data=new i.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=l.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var o=this._data,r=o.words,n=o.sigBytes,a=this.blockSize,s=n/(4*a);if(t=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,n=e.min(4*t,n),t){for(var c=0;c<t;c+=a)this._doProcessBlock(r,c);c=r.splice(0,t),o.sigBytes-=n}return new i.init(c,n)},clone:function(){var e=n.clone.call(this);return e._data=this._data.clone(),e},_minBufferSize:0});o.Hasher=u.extend({cfg:n.extend(),init:function(e){this.cfg=this.cfg.extend(e),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(e){return this._append(e),this._process(),this},finalize:function(e){return e&&this._append(e),this._doFinalize()},blockSize:16,_createHelper:function(e){return function(t,o){return new e.init(o).finalize(t)}},_createHmacHelper:function(e){return function(t,o){return new d.HMAC.init(e,o).finalize(t)}}});var d=t.algo={};return t}(Math);r=(a=(t=u).lib).WordArray,n=a.Hasher,i=[],a=t.algo.SHA1=n.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var o=this._hash.words,r=o[0],n=o[1],a=o[2],s=o[3],c=o[4],l=0;80>l;l++){if(16>l)i[l]=0|e[t+l];else{var u=i[l-3]^i[l-8]^i[l-14]^i[l-16];i[l]=u<<1|u>>>31}u=(r<<5|r>>>27)+c+i[l],u=20>l?u+(1518500249+(n&a|~n&s)):40>l?u+(1859775393+(n^a^s)):60>l?u+((n&a|n&s|a&s)-1894007588):u+((n^a^s)-899497514),c=s,s=a,a=n<<30|n>>>2,n=r,r=u}o[0]=o[0]+r|0,o[1]=o[1]+n|0,o[2]=o[2]+a|0,o[3]=o[3]+s|0,o[4]=o[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,o=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(o/4294967296),t[15+(r+64>>>9<<4)]=o,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=n.clone.call(this);return e._hash=this._hash.clone(),e}}),t.SHA1=n._createHelper(a),t.HmacSHA1=n._createHmacHelper(a),function(){var e=u,t=e.enc.Utf8;e.algo.HMAC=e.lib.Base.extend({init:function(e,o){e=this._hasher=new e.init,"string"==typeof o&&(o=t.parse(o));var r=e.blockSize,n=4*r;o.sigBytes>n&&(o=e.finalize(o)),o.clamp();for(var i=this._oKey=o.clone(),a=this._iKey=o.clone(),s=i.words,c=a.words,l=0;l<r;l++)s[l]^=1549556828,c[l]^=909522486;i.sigBytes=a.sigBytes=n,this.reset()},reset:function(){var e=this._hasher;e.reset(),e.update(this._iKey)},update:function(e){return this._hasher.update(e),this},finalize:function(e){var t=this._hasher;return e=t.finalize(e),t.reset(),t.finalize(this._oKey.clone().concat(e))}})}(),c=(s=u).lib.WordArray,s.enc.Base64={stringify:function(e){var t=e.words,o=e.sigBytes,r=this._map;e.clamp();for(var n=[],i=0;i<o;i+=3)for(var a=(t[i>>>2]>>>24-i%4*8&255)<<16|(t[i+1>>>2]>>>24-(i+1)%4*8&255)<<8|t[i+2>>>2]>>>24-(i+2)%4*8&255,s=0;s<4&&i+.75*s<o;s++)n.push(r.charAt(a>>>6*(3-s)&63));var c=r.charAt(64);if(c)for(;n.length%4;)n.push(c);return n.join("")},parse:function(e){var t=e.length,o=this._map,r=o.charAt(64);if(r){var n=e.indexOf(r);-1!=n&&(t=n)}for(var i=[],a=0,s=0;s<t;s++)if(s%4){var l=o.indexOf(e.charAt(s-1))<<s%4*2,u=o.indexOf(e.charAt(s))>>>6-s%4*2;i[a>>>2]|=(l|u)<<24-a%4*8,a++}return c.create(i,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="},"object"===l(e)?e.exports=u:window.CryptoJS=u}).call(this,o(/*! ./../node_modules/webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./lib/md5.js":
/*!********************!*\
!*** ./lib/md5.js ***!
\********************/
/*! no static exports found */function(e,t,o){(function(e){var t,r=o(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");!function(){var n="object"===("undefined"==typeof window?"undefined":r(window)),i=n?window:{};i.JS_MD5_NO_WINDOW&&(n=!1),!n&&"object"===("undefined"==typeof self?"undefined":r(self))&&(i=self);var a,s=!i.JS_MD5_NO_COMMON_JS&&"object"===r(e)&&e.exports,c=o(/*! !webpack amd options */"./node_modules/webpack/buildin/amd-options.js"),l=!i.JS_MD5_NO_ARRAY_BUFFER&&"undefined"!=typeof ArrayBuffer,u="0123456789abcdef".split(""),d=[128,32768,8388608,-2147483648],p=[0,8,16,24],f=["hex","array","digest","buffer","arrayBuffer","base64"],h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),g=[];if(l){var m=new ArrayBuffer(68);a=new Uint8Array(m),g=new Uint32Array(m)}!i.JS_MD5_NO_NODE_JS&&Array.isArray||(Array.isArray=function(e){return"[object Array]"===Object.prototype.toString.call(e)}),!l||!i.JS_MD5_NO_ARRAY_BUFFER_IS_VIEW&&ArrayBuffer.isView||(ArrayBuffer.isView=function(e){return"object"===r(e)&&e.buffer&&e.buffer.constructor===ArrayBuffer});var y=function(e){return function(t,o){return new k(!0).update(t,o)[e]()}};function k(e){if(e)g[0]=g[16]=g[1]=g[2]=g[3]=g[4]=g[5]=g[6]=g[7]=g[8]=g[9]=g[10]=g[11]=g[12]=g[13]=g[14]=g[15]=0,this.blocks=g,this.buffer8=a;else if(l){var t=new ArrayBuffer(68);this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)}else this.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}k.prototype.update=function(e,t){if(!this.finalized){for(var o,r,n=0,i=e.length,a=this.blocks,s=this.buffer8;n<i;){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),l)for(r=this.start;n<i&&r<64;++n)o=e.charCodeAt(n),t||o<128?s[r++]=o:o<2048?(s[r++]=192|o>>6,s[r++]=128|63&o):o<55296||o>=57344?(s[r++]=224|o>>12,s[r++]=128|o>>6&63,s[r++]=128|63&o):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++n)),s[r++]=240|o>>18,s[r++]=128|o>>12&63,s[r++]=128|o>>6&63,s[r++]=128|63&o);else for(r=this.start;n<i&&r<64;++n)o=e.charCodeAt(n),t||o<128?a[r>>2]|=o<<p[3&r++]:o<2048?(a[r>>2]|=(192|o>>6)<<p[3&r++],a[r>>2]|=(128|63&o)<<p[3&r++]):o<55296||o>=57344?(a[r>>2]|=(224|o>>12)<<p[3&r++],a[r>>2]|=(128|o>>6&63)<<p[3&r++],a[r>>2]|=(128|63&o)<<p[3&r++]):(o=65536+((1023&o)<<10|1023&e.charCodeAt(++n)),a[r>>2]|=(240|o>>18)<<p[3&r++],a[r>>2]|=(128|o>>12&63)<<p[3&r++],a[r>>2]|=(128|o>>6&63)<<p[3&r++],a[r>>2]|=(128|63&o)<<p[3&r++]);this.lastByteIndex=r,this.bytes+=r-this.start,r>=64?(this.start=r-64,this.hash(),this.hashed=!0):this.start=r}return this.bytes>4294967295&&(this.hBytes+=this.bytes/4294967296|0,this.bytes=this.bytes%4294967296),this}},k.prototype.finalize=function(){if(!this.finalized){this.finalized=!0;var e=this.blocks,t=this.lastByteIndex;e[t>>2]|=d[3&t],t>=56&&(this.hashed||this.hash(),e[0]=e[16],e[16]=e[1]=e[2]=e[3]=e[4]=e[5]=e[6]=e[7]=e[8]=e[9]=e[10]=e[11]=e[12]=e[13]=e[14]=e[15]=0),e[14]=this.bytes<<3,e[15]=this.hBytes<<3|this.bytes>>>29,this.hash()}},k.prototype.hash=function(){var e,t,o,r,n,i,a=this.blocks;this.first?t=((t=((e=((e=a[0]-680876937)<<7|e>>>25)-271733879|0)^(o=((o=(-271733879^(r=((r=(-1732584194^2004318071&e)+a[1]-117830708)<<12|r>>>20)+e|0)&(-271733879^e))+a[2]-1126478375)<<17|o>>>15)+r|0)&(r^e))+a[3]-1316259209)<<22|t>>>10)+o|0:(e=this.h0,t=this.h1,o=this.h2,t=((t+=((e=((e+=((r=this.h3)^t&(o^r))+a[0]-680876936)<<7|e>>>25)+t|0)^(o=((o+=(t^(r=((r+=(o^e&(t^o))+a[1]-389564586)<<12|r>>>20)+e|0)&(e^t))+a[2]+606105819)<<17|o>>>15)+r|0)&(r^e))+a[3]-1044525330)<<22|t>>>10)+o|0),t=((t+=((e=((e+=(r^t&(o^r))+a[4]-176418897)<<7|e>>>25)+t|0)^(o=((o+=(t^(r=((r+=(o^e&(t^o))+a[5]+1200080426)<<12|r>>>20)+e|0)&(e^t))+a[6]-1473231341)<<17|o>>>15)+r|0)&(r^e))+a[7]-45705983)<<22|t>>>10)+o|0,t=((t+=((e=((e+=(r^t&(o^r))+a[8]+1770035416)<<7|e>>>25)+t|0)^(o=((o+=(t^(r=((r+=(o^e&(t^o))+a[9]-1958414417)<<12|r>>>20)+e|0)&(e^t))+a[10]-42063)<<17|o>>>15)+r|0)&(r^e))+a[11]-1990404162)<<22|t>>>10)+o|0,t=((t+=((e=((e+=(r^t&(o^r))+a[12]+1804603682)<<7|e>>>25)+t|0)^(o=((o+=(t^(r=((r+=(o^e&(t^o))+a[13]-40341101)<<12|r>>>20)+e|0)&(e^t))+a[14]-1502002290)<<17|o>>>15)+r|0)&(r^e))+a[15]+1236535329)<<22|t>>>10)+o|0,t=((t+=((r=((r+=(t^o&((e=((e+=(o^r&(t^o))+a[1]-165796510)<<5|e>>>27)+t|0)^t))+a[6]-1069501632)<<9|r>>>23)+e|0)^e&((o=((o+=(e^t&(r^e))+a[11]+643717713)<<14|o>>>18)+r|0)^r))+a[0]-373897302)<<20|t>>>12)+o|0,t=((t+=((r=((r+=(t^o&((e=((e+=(o^r&(t^o))+a[5]-701558691)<<5|e>>>27)+t|0)^t))+a[10]+38016083)<<9|r>>>23)+e|0)^e&((o=((o+=(e^t&(r^e))+a[15]-660478335)<<14|o>>>18)+r|0)^r))+a[4]-405537848)<<20|t>>>12)+o|0,t=((t+=((r=((r+=(t^o&((e=((e+=(o^r&(t^o))+a[9]+568446438)<<5|e>>>27)+t|0)^t))+a[14]-1019803690)<<9|r>>>23)+e|0)^e&((o=((o+=(e^t&(r^e))+a[3]-187363961)<<14|o>>>18)+r|0)^r))+a[8]+1163531501)<<20|t>>>12)+o|0,t=((t+=((r=((r+=(t^o&((e=((e+=(o^r&(t^o))+a[13]-1444681467)<<5|e>>>27)+t|0)^t))+a[2]-51403784)<<9|r>>>23)+e|0)^e&((o=((o+=(e^t&(r^e))+a[7]+1735328473)<<14|o>>>18)+r|0)^r))+a[12]-1926607734)<<20|t>>>12)+o|0,t=((t+=((i=(r=((r+=((n=t^o)^(e=((e+=(n^r)+a[5]-378558)<<4|e>>>28)+t|0))+a[8]-2022574463)<<11|r>>>21)+e|0)^e)^(o=((o+=(i^t)+a[11]+1839030562)<<16|o>>>16)+r|0))+a[14]-35309556)<<23|t>>>9)+o|0,t=((t+=((i=(r=((r+=((n=t^o)^(e=((e+=(n^r)+a[1]-1530992060)<<4|e>>>28)+t|0))+a[4]+1272893353)<<11|r>>>21)+e|0)^e)^(o=((o+=(i^t)+a[7]-155497632)<<16|o>>>16)+r|0))+a[10]-1094730640)<<23|t>>>9)+o|0,t=((t+=((i=(r=((r+=((n=t^o)^(e=((e+=(n^r)+a[13]+681279174)<<4|e>>>28)+t|0))+a[0]-358537222)<<11|r>>>21)+e|0)^e)^(o=((o+=(i^t)+a[3]-722521979)<<16|o>>>16)+r|0))+a[6]+76029189)<<23|t>>>9)+o|0,t=((t+=((i=(r=((r+=((n=t^o)^(e=((e+=(n^r)+a[9]-640364487)<<4|e>>>28)+t|0))+a[12]-421815835)<<11|r>>>21)+e|0)^e)^(o=((o+=(i^t)+a[15]+530742520)<<16|o>>>16)+r|0))+a[2]-995338651)<<23|t>>>9)+o|0,t=((t+=((r=((r+=(t^((e=((e+=(o^(t|~r))+a[0]-198630844)<<6|e>>>26)+t|0)|~o))+a[7]+1126891415)<<10|r>>>22)+e|0)^((o=((o+=(e^(r|~t))+a[14]-1416354905)<<15|o>>>17)+r|0)|~e))+a[5]-57434055)<<21|t>>>11)+o|0,t=((t+=((r=((r+=(t^((e=((e+=(o^(t|~r))+a[12]+1700485571)<<6|e>>>26)+t|0)|~o))+a[3]-1894986606)<<10|r>>>22)+e|0)^((o=((o+=(e^(r|~t))+a[10]-1051523)<<15|o>>>17)+r|0)|~e))+a[1]-2054922799)<<21|t>>>11)+o|0,t=((t+=((r=((r+=(t^((e=((e+=(o^(t|~r))+a[8]+1873313359)<<6|e>>>26)+t|0)|~o))+a[15]-30611744)<<10|r>>>22)+e|0)^((o=((o+=(e^(r|~t))+a[6]-1560198380)<<15|o>>>17)+r|0)|~e))+a[13]+1309151649)<<21|t>>>11)+o|0,t=((t+=((r=((r+=(t^((e=((e+=(o^(t|~r))+a[4]-145523070)<<6|e>>>26)+t|0)|~o))+a[11]-1120210379)<<10|r>>>22)+e|0)^((o=((o+=(e^(r|~t))+a[2]+718787259)<<15|o>>>17)+r|0)|~e))+a[9]-343485551)<<21|t>>>11)+o|0,this.first?(this.h0=e+1732584193|0,this.h1=t-271733879|0,this.h2=o-1732584194|0,this.h3=r+271733878|0,this.first=!1):(this.h0=this.h0+e|0,this.h1=this.h1+t|0,this.h2=this.h2+o|0,this.h3=this.h3+r|0)},k.prototype.hex=function(){this.finalize();var e=this.h0,t=this.h1,o=this.h2,r=this.h3;return u[e>>4&15]+u[15&e]+u[e>>12&15]+u[e>>8&15]+u[e>>20&15]+u[e>>16&15]+u[e>>28&15]+u[e>>24&15]+u[t>>4&15]+u[15&t]+u[t>>12&15]+u[t>>8&15]+u[t>>20&15]+u[t>>16&15]+u[t>>28&15]+u[t>>24&15]+u[o>>4&15]+u[15&o]+u[o>>12&15]+u[o>>8&15]+u[o>>20&15]+u[o>>16&15]+u[o>>28&15]+u[o>>24&15]+u[r>>4&15]+u[15&r]+u[r>>12&15]+u[r>>8&15]+u[r>>20&15]+u[r>>16&15]+u[r>>28&15]+u[r>>24&15]},k.prototype.toString=k.prototype.hex,k.prototype.digest=function(e){if("hex"===e)return this.hex();this.finalize();var t=this.h0,o=this.h1,r=this.h2,n=this.h3;return[255&t,t>>8&255,t>>16&255,t>>24&255,255&o,o>>8&255,o>>16&255,o>>24&255,255&r,r>>8&255,r>>16&255,r>>24&255,255&n,n>>8&255,n>>16&255,n>>24&255]},k.prototype.array=k.prototype.digest,k.prototype.arrayBuffer=function(){this.finalize();var e=new ArrayBuffer(16),t=new Uint32Array(e);return t[0]=this.h0,t[1]=this.h1,t[2]=this.h2,t[3]=this.h3,e},k.prototype.buffer=k.prototype.arrayBuffer,k.prototype.base64=function(){for(var e,t,o,r="",n=this.array(),i=0;i<15;)e=n[i++],t=n[i++],o=n[i++],r+=h[e>>>2]+h[63&(e<<4|t>>>4)]+h[63&(t<<2|o>>>6)]+h[63&o];return e=n[i],r+=h[e>>>2]+h[e<<4&63]+"=="};var v=function(){var e=y("hex");e.getCtx=e.create=function(){return new k},e.update=function(t){return e.create().update(t)};for(var t=0;t<f.length;++t){var o=f[t];e[o]=y(o)}return e}();s?e.exports=v:(i.md5=v,c&&(void 0===(t=function(){return v}.call(v,o,v,e))||(e.exports=t)))}()}).call(this,o(/*! ./../node_modules/webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./lib/request.js":
/*!************************!*\
!*** ./lib/request.js ***!
\************************/
/*! no static exports found */function(e,t,o){var r=o(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),n=function(e){switch(r(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},i=function(e,t,o){var r={},n=t.getAllResponseHeaders();return n&&n.length>0&&n.trim().split("\n").forEach(function(e){if(e){var t=e.indexOf(":"),o=e.substr(0,t).trim().toLowerCase(),n=e.substr(t+1).trim();r[o]=n}}),{error:e,statusCode:t.status,statusMessage:t.statusText,headers:r,body:o}},a=function(e,t){return t||"text"!==t?e.response:e.responseText};e.exports=function(e,t){var o,s,c,l,u=(e.method||"GET").toUpperCase(),d=e.url;if(e.qs){var p=(o=e.qs,s=s||"&",c=c||"=",null===o&&(o=void 0),"object"===r(o)?Object.keys(o).map(function(e){var t=encodeURIComponent(n(e))+c;return Array.isArray(o[e])?o[e].map(function(e){return t+encodeURIComponent(n(e))}).join(s):t+encodeURIComponent(n(o[e]))}).filter(Boolean).join(s):l?encodeURIComponent(n(l))+c+encodeURIComponent(n(o)):"");p&&(d+=(-1===d.indexOf("?")?"?":"&")+p)}var f=new XMLHttpRequest;if(f.open(u,d,!0),f.responseType=e.dataType||"text",e.xhrFields)for(var h in e.xhrFields)f[h]=e.xhrFields[h];var g=e.headers;if(g)for(var m in g)g.hasOwnProperty(m)&&"content-length"!==m.toLowerCase()&&"user-agent"!==m.toLowerCase()&&"origin"!==m.toLowerCase()&&"host"!==m.toLowerCase()&&f.setRequestHeader(m,g[m]);return e.onProgress&&f.upload&&(f.upload.onprogress=e.onProgress),e.onDownloadProgress&&(f.onprogress=e.onDownloadProgress),e.timeout&&(f.timeout=e.timeout),f.ontimeout=function(e){var o=new Error("timeout");t(i(o,f))},f.onload=function(){t(i(null,f,a(f,e.dataType)))},f.onerror=function(o){var r=a(f,e.dataType);if(r)t(i(null,f,r));else{var n=f.statusText;n||0!==f.status||(n=new Error("CORS blocked or network error")),t(i(n,f,r))}},f.send(e.body||""),f}},"./node_modules/@babel/runtime/helpers/classCallCheck.js":
/*!***************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
\***************************************************************/
/*! no static exports found */function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/createClass.js":
/*!************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
\************************************************************/
/*! no static exports found */function(e,t,o){var r=o(/*! ./toPropertyKey.js */"./node_modules/@babel/runtime/helpers/toPropertyKey.js");function n(e,t){for(var o=0;o<t.length;o++){var n=t[o];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,r(n.key),n)}}e.exports=function(e,t,o){return t&&n(e.prototype,t),o&&n(e,o),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/defineProperty.js":
/*!***************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/defineProperty.js ***!
\***************************************************************/
/*! no static exports found */function(e,t,o){var r=o(/*! ./toPropertyKey.js */"./node_modules/@babel/runtime/helpers/toPropertyKey.js");e.exports=function(e,t,o){return(t=r(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/toPrimitive.js":
/*!************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/toPrimitive.js ***!
\************************************************************/
/*! no static exports found */function(e,t,o){var r=o(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js").default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var n=o.call(e,t||"default");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/toPropertyKey.js":
/*!**************************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/toPropertyKey.js ***!
\**************************************************************/
/*! no static exports found */function(e,t,o){var r=o(/*! ./typeof.js */"./node_modules/@babel/runtime/helpers/typeof.js").default,n=o(/*! ./toPrimitive.js */"./node_modules/@babel/runtime/helpers/toPrimitive.js");e.exports=function(e){var t=n(e,"string");return"symbol"==r(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/@babel/runtime/helpers/typeof.js":
/*!*******************************************************!*\
!*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
\*******************************************************/
/*! no static exports found */function(e,t){function o(t){return e.exports=o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},"./node_modules/fast-xml-parser/src/fxp.js":
/*!*************************************************!*\
!*** ./node_modules/fast-xml-parser/src/fxp.js ***!
\*************************************************/
/*! no static exports found */function(e,t,o){const r=o(/*! ./validator */"./node_modules/fast-xml-parser/src/validator.js"),n=o(/*! ./xmlparser/XMLParser */"./node_modules/fast-xml-parser/src/xmlparser/XMLParser.js"),i=o(/*! ./xmlbuilder/json2xml */"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js");e.exports={XMLParser:n,XMLValidator:r,XMLBuilder:i}},"./node_modules/fast-xml-parser/src/ignoreAttributes.js":
/*!**************************************************************!*\
!*** ./node_modules/fast-xml-parser/src/ignoreAttributes.js ***!
\**************************************************************/
/*! no static exports found */function(e,t){e.exports=function(e){return"function"==typeof e?e:Array.isArray(e)?t=>{for(const o of e){if("string"==typeof o&&t===o)return!0;if(o instanceof RegExp&&o.test(t))return!0}}:()=>!1}},"./node_modules/fast-xml-parser/src/util.js":
/*!**************************************************!*\
!*** ./node_modules/fast-xml-parser/src/util.js ***!
\**************************************************/
/*! no static exports found */function(e,t,o){const r=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",n="["+r+"]["+r+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*",i=new RegExp("^"+n+"$");t.isExist=function(e){return void 0!==e},t.isEmptyObject=function(e){return 0===Object.keys(e).length},t.merge=function(e,t,o){if(t){const r=Object.keys(t),n=r.length;for(let i=0;i<n;i++)e[r[i]]="strict"===o?[t[r[i]]]:t[r[i]]}},t.getValue=function(e){return t.isExist(e)?e:""},t.isName=function(e){const t=i.exec(e);return!(null==t)},t.getAllMatches=function(e,t){const o=[];let r=t.exec(e);for(;r;){const n=[];n.startIndex=t.lastIndex-r[0].length;const i=r.length;for(let e=0;e<i;e++)n.push(r[e]);o.push(n),r=t.exec(e)}return o},t.nameRegexp=n},"./node_modules/fast-xml-parser/src/validator.js":
/*!*******************************************************!*\
!*** ./node_modules/fast-xml-parser/src/validator.js ***!
\*******************************************************/
/*! no static exports found */function(e,t,o){const r=o(/*! ./util */"./node_modules/fast-xml-parser/src/util.js"),n={allowBooleanAttributes:!1,unpairedTags:[]};function i(e){return" "===e||"\t"===e||"\n"===e||"\r"===e}function a(e,t){const o=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){const r=e.substr(o,t-o);if(t>5&&"xml"===r)return h("InvalidXml","XML declaration allowed only at the start of the document.",y(e,t));if("?"==e[t]&&">"==e[t+1]){t++;break}continue}return t}function s(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let o=1;for(t+=8;t<e.length;t++)if("<"===e[t])o++;else if(">"===e[t]&&(o--,0===o))break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7])for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}return t}t.validate=function(e,t){t=Object.assign({},n,t);const o=[];let r=!1,c=!1;"\ufeff"===e[0]&&(e=e.substr(1));for(let n=0;n<e.length;n++)if("<"===e[n]&&"?"===e[n+1]){if(n+=2,n=a(e,n),n.err)return n}else{if("<"!==e[n]){if(i(e[n]))continue;return h("InvalidChar","char '"+e[n]+"' is not expected.",y(e,n))}{let l=n;if(n++,"!"===e[n]){n=s(e,n);continue}{let d=!1;"/"===e[n]&&(d=!0,n++);let g="";for(;n<e.length&&">"!==e[n]&&" "!==e[n]&&"\t"!==e[n]&&"\n"!==e[n]&&"\r"!==e[n];n++)g+=e[n];if(g=g.trim(),"/"===g[g.length-1]&&(g=g.substring(0,g.length-1),n--),!m(g)){let t;return t=0===g.trim().length?"Invalid space after '<'.":"Tag '"+g+"' is an invalid name.",h("InvalidTag",t,y(e,n))}const k=u(e,n);if(!1===k)return h("InvalidAttr","Attributes for '"+g+"' have open quote.",y(e,n));let v=k.value;if(n=k.index,"/"===v[v.length-1]){const o=n-v.length;v=v.substring(0,v.length-1);const i=p(v,t);if(!0!==i)return h(i.err.code,i.err.msg,y(e,o+i.err.line));r=!0}else if(d){if(!k.tagClosed)return h("InvalidTag","Closing tag '"+g+"' doesn't have proper closing.",y(e,n));if(v.trim().length>0)return h("InvalidTag","Closing tag '"+g+"' can't have attributes or invalid starting.",y(e,l));if(0===o.length)return h("InvalidTag","Closing tag '"+g+"' has not been opened.",y(e,l));{const t=o.pop();if(g!==t.tagName){let o=y(e,t.tagStartPos);return h("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+o.line+", col "+o.col+") instead of closing tag '"+g+"'.",y(e,l))}0==o.length&&(c=!0)}}else{const i=p(v,t);if(!0!==i)return h(i.err.code,i.err.msg,y(e,n-v.length+i.err.line));if(!0===c)return h("InvalidXml","Multiple possible root nodes found.",y(e,n));-1!==t.unpairedTags.indexOf(g)||o.push({tagName:g,tagStartPos:l}),r=!0}for(n++;n<e.length;n++)if("<"===e[n]){if("!"===e[n+1]){n++,n=s(e,n);continue}if("?"!==e[n+1])break;if(n=a(e,++n),n.err)return n}else if("&"===e[n]){const t=f(e,n);if(-1==t)return h("InvalidChar","char '&' is not expected.",y(e,n));n=t}else if(!0===c&&!i(e[n]))return h("InvalidXml","Extra text at the end",y(e,n));"<"===e[n]&&n--}}}return r?1==o.length?h("InvalidTag","Unclosed tag '"+o[0].tagName+"'.",y(e,o[0].tagStartPos)):!(o.length>0)||h("InvalidXml","Invalid '"+JSON.stringify(o.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):h("InvalidXml","Start tag expected.",1)};const c='"',l="'";function u(e,t){let o="",r="",n=!1;for(;t<e.length;t++){if(e[t]===c||e[t]===l)""===r?r=e[t]:r!==e[t]||(r="");else if(">"===e[t]&&""===r){n=!0;break}o+=e[t]}return""===r&&{value:o,index:t,tagClosed:n}}const d=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function p(e,t){const o=r.getAllMatches(e,d),n={};for(let e=0;e<o.length;e++){if(0===o[e][1].length)return h("InvalidAttr","Attribute '"+o[e][2]+"' has no space in starting.",k(o[e]));if(void 0!==o[e][3]&&void 0===o[e][4])return h("InvalidAttr","Attribute '"+o[e][2]+"' is without value.",k(o[e]));if(void 0===o[e][3]&&!t.allowBooleanAttributes)return h("InvalidAttr","boolean attribute '"+o[e][2]+"' is not allowed.",k(o[e]));const r=o[e][2];if(!g(r))return h("InvalidAttr","Attribute '"+r+"' is an invalid name.",k(o[e]));if(n.hasOwnProperty(r))return h("InvalidAttr","Attribute '"+r+"' is repeated.",k(o[e]));n[r]=1}return!0}function f(e,t){if(";"===e[++t])return-1;if("#"===e[t])return function(e,t){let o=/\d/;for("x"===e[t]&&(t++,o=/[\da-fA-F]/);t<e.length;t++){if(";"===e[t])return t;if(!e[t].match(o))break}return-1}(e,++t);let o=0;for(;t<e.length;t++,o++)if(!(e[t].match(/\w/)&&o<20)){if(";"===e[t])break;return-1}return t}function h(e,t,o){return{err:{code:e,msg:t,line:o.line||o,col:o.col}}}function g(e){return r.isName(e)}function m(e){return r.isName(e)}function y(e,t){const o=e.substring(0,t).split(/\r?\n/);return{line:o.length,col:o[o.length-1].length+1}}function k(e){return e.startIndex+e[1].length}},"./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js":
/*!*****************************************************************!*\
!*** ./node_modules/fast-xml-parser/src/xmlbuilder/json2xml.js ***!
\*****************************************************************/
/*! no static exports found */function(e,t,o){const r=o(/*! ./orderedJs2Xml */"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js"),n=o(/*! ../ignoreAttributes */"./node_modules/fast-xml-parser/src/ignoreAttributes.js"),i={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&"},{regex:new RegExp(">","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function a(e){this.options=Object.assign({},i,e),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=n(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=s,this.options.format?(this.indentate=c,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function s(e,t,o,r){const n=this.j2x(e,o+1,r.concat(t));return void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,n.attrStr,o):this.buildObjectNode(n.val,t,n.attrStr,o)}function c(e){return this.options.indentBy.repeat(e)}function l(e){return!(!e.startsWith(this.options.attributeNamePrefix)||e===this.options.textNodeName)&&e.substr(this.attrPrefixLen)}a.prototype.build=function(e){return this.options.preserveOrder?r(e,this.options):(Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e}),this.j2x(e,0,[]).val)},a.prototype.j2x=function(e,t,o){let r="",n="";const i=o.join(".");for(let a in e)if(Object.prototype.hasOwnProperty.call(e,a))if(void 0===e[a])this.isAttribute(a)&&(n+="");else if(null===e[a])this.isAttribute(a)?n+="":"?"===a[0]?n+=this.indentate(t)+"<"+a+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+a+"/"+this.tagEndChar;else if(e[a]instanceof Date)n+=this.buildTextValNode(e[a],a,"",t);else if("object"!=typeof e[a]){const o=this.isAttribute(a);if(o&&!this.ignoreAttributesFn(o,i))r+=this.buildAttrPairStr(o,""+e[a]);else if(!o)if(a===this.options.textNodeName){let t=this.options.tagValueProcessor(a,""+e[a]);n+=this.replaceEntitiesValue(t)}else n+=this.buildTextValNode(e[a],a,"",t)}else if(Array.isArray(e[a])){const r=e[a].length;let i="",s="";for(let c=0;c<r;c++){const r=e[a][c];if(void 0===r);else if(null===r)"?"===a[0]?n+=this.indentate(t)+"<"+a+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+a+"/"+this.tagEndChar;else if("object"==typeof r)if(this.options.oneListGroup){const e=this.j2x(r,t+1,o.concat(a));i+=e.val,this.options.attributesGroupName&&r.hasOwnProperty(this.options.attributesGroupName)&&(s+=e.attrStr)}else i+=this.processTextOrObjNode(r,a,t,o);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(a,r);e=this.replaceEntitiesValue(e),i+=e}else i+=this.buildTextValNode(r,a,"",t)}this.options.oneListGroup&&(i=this.buildObjectNode(i,a,s,t)),n+=i}else if(this.options.attributesGroupName&&a===this.options.attributesGroupName){const t=Object.keys(e[a]),o=t.length;for(let n=0;n<o;n++)r+=this.buildAttrPairStr(t[n],""+e[a][t[n]])}else n+=this.processTextOrObjNode(e[a],a,t,o);return{attrStr:r,val:n}},a.prototype.buildAttrPairStr=function(e,t){return t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t),this.options.suppressBooleanAttributes&&"true"===t?" "+e:" "+e+'="'+t+'"'},a.prototype.buildObjectNode=function(e,t,o,r){if(""===e)return"?"===t[0]?this.indentate(r)+"<"+t+o+"?"+this.tagEndChar:this.indentate(r)+"<"+t+o+this.closeTag(t)+this.tagEndChar;{let n="</"+t+this.tagEndChar,i="";return"?"===t[0]&&(i="?",n=""),!o&&""!==o||-1!==e.indexOf("<")?!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===i.length?this.indentate(r)+`\x3c!--${e}--\x3e`+this.newLine:this.indentate(r)+"<"+t+o+i+this.tagEndChar+e+this.indentate(r)+n:this.indentate(r)+"<"+t+o+i+">"+e+n}},a.prototype.closeTag=function(e){let t="";return-1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},a.prototype.buildTextValNode=function(e,t,o,r){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName)return this.indentate(r)+`<![CDATA[${e}]]>`+this.newLine;if(!1!==this.options.commentPropName&&t===this.options.commentPropName)return this.indentate(r)+`\x3c!--${e}--\x3e`+this.newLine;if("?"===t[0])return this.indentate(r)+"<"+t+o+"?"+this.tagEndChar;{let n=this.options.tagValueProcessor(t,e);return n=this.replaceEntitiesValue(n),""===n?this.indentate(r)+"<"+t+o+this.closeTag(t)+this.tagEndChar:this.indentate(r)+"<"+t+o+">"+n+"</"+t+this.tagEndChar}},a.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){const o=this.options.entities[t];e=e.replace(o.regex,o.val)}return e},e.exports=a},"./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js":
/*!**********************************************************************!*\
!*** ./node_modules/fast-xml-parser/src/xmlbuilder/orderedJs2Xml.js ***!
\**********************************************************************/
/*! no static exports found */function(e,t){function o(e,t,s,c){let l="",u=!1;for(let d=0;d<e.length;d++){const p=e[d],f=r(p);if(void 0===f)continue;let h="";if(h=0===s.length?f:`${s}.${f}`,f===t.textNodeName){let e=p[f];i(h,t)||(e=t.tagValueProcessor(f,e),e=a(e,t)),u&&(l+=c),l+=e,u=!1;continue}if(f===t.cdataPropName){u&&(l+=c),l+=`<![CDATA[${p[f][0][t.textNodeName]}]]>`,u=!1;continue}if(f===t.commentPropName){l+=c+`\x3c!--${p[f][0][t.textNodeName]}--\x3e`,u=!0;continue}if("?"===f[0]){const e=n(p[":@"],t),o="?xml"===f?"":c;let r=p[f][0][t.textNodeName];r=0!==r.length?" "+r:"",l+=o+`<${f}${r}${e}?>`,u=!0;continue}let g=c;""!==g&&(g+=t.indentBy);const m=c+`<${f}${n(p[":@"],t)}`,y=o(p[f],t,h,g);-1!==t.unpairedTags.indexOf(f)?t.suppressUnpairedNode?l+=m+">":l+=m+"/>":y&&0!==y.length||!t.suppressEmptyNode?y&&y.endsWith(">")?l+=m+`>${y}${c}</${f}>`:(l+=m+">",y&&""!==c&&(y.includes("/>")||y.includes("</"))?l+=c+t.indentBy+y+c:l+=y,l+=`</${f}>`):l+=m+"/>",u=!0}return l}function r(e){const t=Object.keys(e);for(let o=0;o<t.length;o++){const r=t[o];if(e.hasOwnProperty(r)&&":@"!==r)return r}}function n(e,t){let o="";if(e&&!t.ignoreAttributes)for(let r in e){if(!e.hasOwnProperty(r))continue;let n=t.attributeValueProcessor(r,e[r]);n=a(n,t),!0===n&&t.suppressBooleanAttributes?o+=` ${r.substr(t.attributeNamePrefix.length)}`:o+=` ${r.substr(t.attributeNamePrefix.length)}="${n}"`}return o}function i(e,t){let o=(e=e.substr(0,e.length-t.textNodeName.length-1)).substr(e.lastIndexOf(".")+1);for(let r in t.stopNodes)if(t.stopNodes[r]===e||t.stopNodes[r]==="*."+o)return!0;return!1}function a(e,t){if(e&&e.length>0&&t.processEntities)for(let o=0;o<t.entities.length;o++){const r=t.entities[o];e=e.replace(r.regex,r.val)}return e}e.exports=function(e,t){let r="";return t.format&&t.indentBy.length>0&&(r="\n"),o(e,t,"",r)}},"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js":
/*!*********************************************************************!*\
!*** ./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js ***!
\*********************************************************************/
/*! no static exports found */function(e,t,o){const r=o(/*! ../util */"./node_modules/fast-xml-parser/src/util.js");function n(e,t){let o="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)o+=e[t];if(o=o.trim(),-1!==o.indexOf(" "))throw new Error("External entites are not supported");const r=e[t++];let n="";for(;t<e.length&&e[t]!==r;t++)n+=e[t];return[o,n,t]}function i(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function a(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]}function s(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]}function c(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]}function l(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]}function u(e){if(r.isName(e))return e;throw new Error(`Invalid entity name ${e}`)}e.exports=function(e,t){const o={};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])throw new Error("Invalid Tag instead of DOCTYPE");{t+=9;let r=1,d=!1,p=!1,f="";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]?d=!0:f+=e[t];else{if(d&&a(e,t))t+=7,[entityName,val,t]=n(e,t+1),-1===val.indexOf("&")&&(o[u(entityName)]={regx:RegExp(`&${entityName};`,"g"),val:val});else if(d&&s(e,t))t+=8;else if(d&&c(e,t))t+=8;else if(d&&l(e,t))t+=9;else{if(!i)throw new Error("Invalid DOCTYPE");p=!0}r++,f=""}if(0!==r)throw new Error("Unclosed DOCTYPE")}return{entities:o,i:t}}},"./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js":
/*!**********************************************************************!*\
!*** ./node_modules/fast-xml-parser/src/xmlparser/OptionsBuilder.js ***!
\**********************************************************************/
/*! no static exports found */function(e,t){const o={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,o){return e}};t.buildOptions=function(e){return Object.assign({},o,e)},t.defaultOptions=o},"./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js":
/*!************************************************************************!*\
!*** ./node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js ***!
\************************************************************************/
/*! no static exports found */function(e,t,o){const r=o(/*! ../util */"./node_modules/fast-xml-parser/src/util.js"),n=o(/*! ./xmlNode */"./node_modules/fast-xml-parser/src/xmlparser/xmlNode.js"),i=o(/*! ./DocTypeReader */"./node_modules/fast-xml-parser/src/xmlparser/DocTypeReader.js"),a=o(/*! strnum */"./node_modules/strnum/strnum.js"),s=o(/*! ../ignoreAttributes */"./node_modules/fast-xml-parser/src/ignoreAttributes.js");function c(e){const t=Object.keys(e);for(let o=0;o<t.length;o++){const r=t[o];this.lastEntities[r]={regex:new RegExp("&"+r+";","g"),val:e[r]}}}function l(e,t,o,r,n,i,a){if(void 0!==e&&(this.options.trimValues&&!r&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e));const r=this.options.tagValueProcessor(t,e,o,n,i);return null==r?e:typeof r!=typeof e||r!==e?r:this.options.trimValues||e.trim()===e?b(e,this.options.parseTagValue,this.options.numberParseOptions):e}}function u(e){if(this.options.removeNSPrefix){const t=e.split(":"),o="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=o+t[1])}return e}const d=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function p(e,t,o){if(!0!==this.options.ignoreAttributes&&"string"==typeof e){const o=r.getAllMatches(e,d),n=o.length,i={};for(let e=0;e<n;e++){const r=this.resolveNameSpace(o[e][1]);if(this.ignoreAttributesFn(r,t))continue;let n=o[e][4],a=this.options.attributeNamePrefix+r;if(r.length)if(this.options.transformAttributeName&&(a=this.options.transformAttributeName(a)),"__proto__"===a&&(a="#__proto__"),void 0!==n){this.options.trimValues&&(n=n.trim()),n=this.replaceEntitiesValue(n);const e=this.options.attributeValueProcessor(r,n,t);i[a]=null==e?n:typeof e!=typeof n||e!==n?e:b(n,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(i[a]=!0)}if(!Object.keys(i).length)return;if(this.options.attributesGroupName){const e={};return e[this.options.attributesGroupName]=i,e}return i}}const f=function(e){const t=new n("!xml");let o=t,r="",a="";for(let s=0;s<e.length;s++)if("<"===e[s])if("/"===e[s+1]){const t=k(e,">",s,"Closing Tag is not closed.");let n=e.substring(s+2,t).trim();if(this.options.removeNSPrefix){const e=n.indexOf(":");-1!==e&&(n=n.substr(e+1))}this.options.transformTagName&&(n=this.options.transformTagName(n)),o&&(r=this.saveTextToParentTag(r,o,a));const i=a.substring(a.lastIndexOf(".")+1);if(n&&-1!==this.options.unpairedTags.indexOf(n))throw new Error(`Unpaired tag can not be used as closing tag: </${n}>`);let c=0;i&&-1!==this.options.unpairedTags.indexOf(i)?(c=a.lastIndexOf(".",a.lastIndexOf(".")-1),this.tagsNodeStack.pop()):c=a.lastIndexOf("."),a=a.substring(0,c),o=this.tagsNodeStack.pop(),r="",s=t}else if("?"===e[s+1]){let t=v(e,s,!1,"?>");if(!t)throw new Error("Pi Tag is not closed.");if(r=this.saveTextToParentTag(r,o,a),this.options.ignoreDeclaration&&"?xml"===t.tagName||this.options.ignorePiTags);else{const e=new n(t.tagName);e.add(this.options.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&(e[":@"]=this.buildAttributesMap(t.tagExp,a,t.tagName)),this.addChild(o,e,a)}s=t.closeIndex+1}else if("!--"===e.substr(s+1,3)){const t=k(e,"--\x3e",s+4,"Comment is not closed.");if(this.options.commentPropName){const n=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,o,a),o.add(this.options.commentPropName,[{[this.options.textNodeName]:n}])}s=t}else if("!D"===e.substr(s+1,2)){const t=i(e,s);this.docTypeEntities=t.entities,s=t.i}else if("!["===e.substr(s+1,2)){const t=k(e,"]]>",s,"CDATA is not closed.")-2,n=e.substring(s+9,t);r=this.saveTextToParentTag(r,o,a);let i=this.parseTextData(n,o.tagname,a,!0,!1,!0,!0);null==i&&(i=""),this.options.cdataPropName?o.add(this.options.cdataPropName,[{[this.options.textNodeName]:n}]):o.add(this.options.textNodeName,i),s=t+2}else{let i=v(e,s,this.options.removeNSPrefix),c=i.tagName;const l=i.rawTagName;let u=i.tagExp,d=i.attrExpPresent,p=i.closeIndex;this.options.transformTagName&&(c=this.options.transformTagName(c)),o&&r&&"!xml"!==o.tagname&&(r=this.saveTextToParentTag(r,o,a,!1));const f=o;if(f&&-1!==this.options.unpairedTags.indexOf(f.tagname)&&(o=this.tagsNodeStack.pop(),a=a.substring(0,a.lastIndexOf("."))),c!==t.tagname&&(a+=a?"."+c:c),this.isItStopNode(this.options.stopNodes,a,c)){let t="";if(u.length>0&&u.lastIndexOf("/")===u.length-1)"/"===c[c.length-1]?(c=c.substr(0,c.length-1),a=a.substr(0,a.length-1),u=c):u=u.substr(0,u.length-1),s=i.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(c))s=i.closeIndex;else{const o=this.readStopNodeData(e,l,p+1);if(!o)throw new Error(`Unexpected end of ${l}`);s=o.i,t=o.tagContent}const r=new n(c);c!==u&&d&&(r[":@"]=this.buildAttributesMap(u,a,c)),t&&(t=this.parseTextData(t,c,a,!0,d,!0,!0)),a=a.substr(0,a.lastIndexOf(".")),r.add(this.options.textNodeName,t),this.addChild(o,r,a)}else{if(u.length>0&&u.lastIndexOf("/")===u.length-1){"/"===c[c.length-1]?(c=c.substr(0,c.length-1),a=a.substr(0,a.length-1),u=c):u=u.substr(0,u.length-1),this.options.transformTagName&&(c=this.options.transformTagName(c));const e=new n(c);c!==u&&d&&(e[":@"]=this.buildAttributesMap(u,a,c)),this.addChild(o,e,a),a=a.substr(0,a.lastIndexOf("."))}else{const e=new n(c);this.tagsNodeStack.push(o),c!==u&&d&&(e[":@"]=this.buildAttributesMap(u,a,c)),this.addChild(o,e,a),o=e}r="",s=p}}else r+=e[s];return t.child};function h(e,t,o){const r=this.options.updateTag(t.tagname,o,t[":@"]);!1===r||("string"==typeof r?(t.tagname=r,e.addChild(t)):e.addChild(t))}const g=function(e){if(this.options.processEntities){for(let t in this.docTypeEntities){const o=this.docTypeEntities[t];e=e.replace(o.regx,o.val)}for(let t in this.lastEntities){const o=this.lastEntities[t];e=e.replace(o.regex,o.val)}if(this.options.htmlEntities)for(let t in this.htmlEntities){const o=this.htmlEntities[t];e=e.replace(o.regex,o.val)}e=e.replace(this.ampEntity.regex,this.ampEntity.val)}return e};function m(e,t,o,r){return e&&(void 0===r&&(r=0===Object.keys(t.child).length),void 0!==(e=this.parseTextData(e,t.tagname,o,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,r))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function y(e,t,o){const r="*."+o;for(const o in e){const n=e[o];if(r===n||t===n)return!0}return!1}function k(e,t,o,r){const n=e.indexOf(t,o);if(-1===n)throw new Error(r);return n+t.length-1}function v(e,t,o,r=">"){const n=function(e,t,o=">"){let r,n="";for(let i=t;i<e.length;i++){let t=e[i];if(r)t===r&&(r="");else if('"'===t||"'"===t)r=t;else if(t===o[0]){if(!o[1])return{data:n,index:i};if(e[i+1]===o[1])return{data:n,index:i}}else"\t"===t&&(t=" ");n+=t}}(e,t+1,r);if(!n)return;let i=n.data;const a=n.index,s=i.search(/\s/);let c=i,l=!0;-1!==s&&(c=i.substring(0,s),i=i.substring(s+1).trimStart());const u=c;if(o){const e=c.indexOf(":");-1!==e&&(c=c.substr(e+1),l=c!==n.data.substr(e+1))}return{tagName:c,tagExp:i,closeIndex:a,attrExpPresent:l,rawTagName:u}}function C(e,t,o){const r=o;let n=1;for(;o<e.length;o++)if("<"===e[o])if("/"===e[o+1]){const i=k(e,">",o,`${t} is not closed`);if(e.substring(o+2,i).trim()===t&&(n--,0===n))return{tagContent:e.substring(r,o),i:i};o=i}else if("?"===e[o+1])o=k(e,"?>",o+1,"StopNode is not closed.");else if("!--"===e.substr(o