mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
276 lines
5.1 MiB
JavaScript
276 lines
5.1 MiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"0022":function(e,t){function n(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,r,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,r]}]}}e.exports=n},"00c0":function(e,t,n){"use strict";t.__esModule=!0,t.validateRangeInOneMonth=t.extractTimeFormat=t.extractDateFormat=t.nextYear=t.prevYear=t.nextMonth=t.prevMonth=t.changeYearMonthAndClampDate=t.timeWithinRange=t.limitTimeRange=t.clearMilliseconds=t.clearTime=t.modifyWithTimeString=t.modifyTime=t.modifyDate=t.range=t.getRangeMinutes=t.getMonthDays=t.getPrevMonthLastDays=t.getRangeHours=t.getWeekNumber=t.getStartDateOfMonth=t.nextDate=t.prevDate=t.getFirstDayOfMonth=t.getDayCountOfYear=t.getDayCountOfMonth=t.parseDate=t.formatDate=t.isDateObject=t.isDate=t.toDate=t.getI18nSettings=void 0;var r=n("78d7"),i=a(r),o=n("bab5");function a(e){return e&&e.__esModule?e:{default:e}}var s=["sun","mon","tue","wed","thu","fri","sat"],l=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],u=function(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n},c=t.getI18nSettings=function(){return{dayNamesShort:s.map((function(e){return(0,o.t)("el.datepicker.weeks."+e)})),dayNames:s.map((function(e){return(0,o.t)("el.datepicker.weeks."+e)})),monthNamesShort:l.map((function(e){return(0,o.t)("el.datepicker.months."+e)})),monthNames:l.map((function(e,t){return(0,o.t)("el.datepicker.month"+(t+1))})),amPm:["am","pm"]}},d=t.toDate=function(e){return p(e)?new Date(e):null},p=t.isDate=function(e){return null!==e&&void 0!==e&&(!isNaN(new Date(e).getTime())&&!Array.isArray(e))},h=(t.isDateObject=function(e){return e instanceof Date},t.formatDate=function(e,t){return e=d(e),e?i.default.format(e,t||"yyyy-MM-dd",c()):""},t.parseDate=function(e,t){return i.default.parse(e,t||"yyyy-MM-dd",c())}),f=t.getDayCountOfMonth=function(e,t){return isNaN(+t)?31:new Date(e,+t+1,0).getDate()},m=(t.getDayCountOfYear=function(e){var t=e%400===0||e%100!==0&&e%4===0;return t?366:365},t.getFirstDayOfMonth=function(e){var t=new Date(e.getTime());return t.setDate(1),t.getDay()},t.prevDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()-t)});t.nextDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t)},t.getStartDateOfMonth=function(e,t){var n=new Date(e,t,1),r=n.getDay();return m(n,0===r?7:r)},t.getWeekNumber=function(e){if(!p(e))return null;var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},t.getRangeHours=function(e){var t=[],n=[];if((e||[]).forEach((function(e){var t=e.map((function(e){return e.getHours()}));n=n.concat(u(t[0],t[1]))})),n.length)for(var r=0;r<24;r++)t[r]=-1===n.indexOf(r);else for(var i=0;i<24;i++)t[i]=!1;return t},t.getPrevMonthLastDays=function(e,t){if(t<=0)return[];var n=new Date(e.getTime());n.setDate(0);var r=n.getDate();return v(t).map((function(e,n){return r-(t-n-1)}))},t.getMonthDays=function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=t.getDate();return v(n).map((function(e,t){return t+1}))};function g(e,t,n,r){for(var i=t;i<n;i++)e[i]=r}t.getRangeMinutes=function(e,t){var n=new Array(60);return e.length>0?e.forEach((function(e){var r=e[0],i=e[1],o=r.getHours(),a=r.getMinutes(),s=i.getHours(),l=i.getMinutes();o===t&&s!==t?g(n,a,60,!0):o===t&&s===t?g(n,a,l+1,!0):o!==t&&s===t?g(n,0,l+1,!0):o<t&&s>t&&g(n,0,60,!0)})):g(n,0,60,!0)
|
|||
|
/**
|
|||
|
* @license
|
|||
|
* Lodash <https://lodash.com/>
|
|||
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|||
|
* Released under MIT license <https://lodash.com/license>
|
|||
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|||
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|||
|
*/(function(){var o,a="4.17.21",s=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",p=500,h="__lodash_placeholder__",f=1,m=2,g=4,v=1,b=2,y=1,_=2,E=4,S=8,w=16,x=32,C=64,D=128,T=256,A=512,k=30,O="...",N=800,I=16,M=1,R=2,P=3,L=1/0,F=9007199254740991,B=17976931348623157e292,j=NaN,U=4294967295,q=U-1,z=U>>>1,H=[["ary",D],["bind",y],["bindKey",_],["curry",S],["curryRight",w],["flip",A],["partial",x],["partialRight",C],["rearg",T]],$="[object Arguments]",G="[object Array]",V="[object AsyncFunction]",Y="[object Boolean]",W="[object Date]",K="[object DOMException]",Q="[object Error]",X="[object Function]",Z="[object GeneratorFunction]",J="[object Map]",ee="[object Number]",te="[object Null]",ne="[object Object]",re="[object Promise]",ie="[object Proxy]",oe="[object RegExp]",ae="[object Set]",se="[object String]",le="[object Symbol]",ue="[object Undefined]",ce="[object WeakMap]",de="[object WeakSet]",pe="[object ArrayBuffer]",he="[object DataView]",fe="[object Float32Array]",me="[object Float64Array]",ge="[object Int8Array]",ve="[object Int16Array]",be="[object Int32Array]",ye="[object Uint8Array]",_e="[object Uint8ClampedArray]",Ee="[object Uint16Array]",Se="[object Uint32Array]",we=/\b__p \+= '';/g,xe=/\b(__p \+=) '' \+/g,Ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,De=/&(?:amp|lt|gt|quot|#39);/g,Te=/[&<>"']/g,Ae=RegExp(De.source),ke=RegExp(Te.source),Oe=/<%-([\s\S]+?)%>/g,Ne=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,Me=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Re=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Le=/[\\^$.*+?()[\]{}|]/g,Fe=RegExp(Le.source),Be=/^\s+/,je=/\s/,Ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,qe=/\{\n\/\* \[wrapped with (.+)\] \*/,ze=/,? & /,He=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,$e=/[()=,{}\[\]\/\s]/,Ge=/\\(\\)?/g,Ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ye=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ke=/^0b[01]+$/i,Qe=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",rt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",at=rt+it+ot,st="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",ut="\\xac\\xb1\\xd7\\xf7",ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dt="\\u2000-\\u206f",pt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="A-Z\\xc0-\\xd6\\xd8-\\xde",ft="\\ufe0e\\ufe0f",mt=ut+ct+dt+pt,gt="['’]",vt="["+nt+"]",bt="["+mt+"]",yt="["+at+"]",_t="\\d+",Et="["+st+"]",St="["+lt+"]",wt="[^"+nt+mt+_t+st+lt+ht+"]",xt="\\ud83c[\\udffb-\\udfff]",Ct="(?:"+yt+"|"+xt+")",Dt="[^"+nt+"]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",kt="["+ht+"]",Ot="\\u200d",Nt="(?:"+St+"|"+wt+")",It="(?:"+kt+"|"+wt+")",Mt="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",Rt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Pt=Ct+"?",Lt="["+ft+"]?",Ft="(?:"+Ot+"(?:"+[Dt,Tt,At].join("|")+")"+Lt+Pt+")*",Bt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ut=Lt+Pt+Ft,qt="(?:"+[Et,Tt,At].join("|")+")"+Ut,zt="(?:"+[Dt+yt+"?",yt,Tt,At,vt].join("|")+")",Ht=RegExp(gt,"g"),$t=RegExp(yt,"g"),Gt=RegExp(xt+"(?="+xt+")|"+zt+Ut,"g"),Vt=RegExp([kt+"?"+St+"+"+Mt+"(?="+[bt,kt,"$"].join("|")+")",It+"+"+Rt+"(?="+[bt,kt+Nt,"$"].join("|")+")",kt+"?"+Nt+"+"+Mt,kt+"+"+Rt,jt,Bt,_t,qt].join("|"),"g"),Yt=RegExp("["+Ot+nt+at+ft+"]"),Wt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qt=-1,Xt={};Xt[fe]=Xt[me]=Xt[ge]=Xt[ve]=Xt[be]=Xt[
|
|||
|
/*!
|
|||
|
* vuex v3.6.2
|
|||
|
* (c) 2021 Evan You
|
|||
|
* @license MIT
|
|||
|
*/
|
|||
|
function r(e){var t=Number(e.version.split(".")[0]);if(t>=2)e.mixin({beforeCreate:r});else{var n=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[r].concat(e.init):r,n.call(this,e)}}function r(){var e=this.$options;e.store?this.$store="function"===typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}n.d(t,"b",(function(){return R})),n.d(t,"c",(function(){return M}));var i="undefined"!==typeof window?window:"undefined"!==typeof e?e:{},o=i.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(e){o&&(e._devtoolHook=o,o.emit("vuex:init",e),o.on("vuex:travel-to-state",(function(t){e.replaceState(t)})),e.subscribe((function(e,t){o.emit("vuex:mutation",e,t)}),{prepend:!0}),e.subscribeAction((function(e,t){o.emit("vuex:action",e,t)}),{prepend:!0}))}function s(e,t){return e.filter(t)[0]}function l(e,t){if(void 0===t&&(t=[]),null===e||"object"!==typeof e)return e;var n=s(t,(function(t){return t.original===e}));if(n)return n.copy;var r=Array.isArray(e)?[]:{};return t.push({original:e,copy:r}),Object.keys(e).forEach((function(n){r[n]=l(e[n],t)})),r}function u(e,t){Object.keys(e).forEach((function(n){return t(e[n],n)}))}function c(e){return null!==e&&"object"===typeof e}function d(e){return e&&"function"===typeof e.then}function p(e,t){return function(){return e(t)}}var h=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"===typeof n?n():n)||{}},f={namespaced:{configurable:!0}};f.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(e,t){this._children[e]=t},h.prototype.removeChild=function(e){delete this._children[e]},h.prototype.getChild=function(e){return this._children[e]},h.prototype.hasChild=function(e){return e in this._children},h.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},h.prototype.forEachChild=function(e){u(this._children,e)},h.prototype.forEachGetter=function(e){this._rawModule.getters&&u(this._rawModule.getters,e)},h.prototype.forEachAction=function(e){this._rawModule.actions&&u(this._rawModule.actions,e)},h.prototype.forEachMutation=function(e){this._rawModule.mutations&&u(this._rawModule.mutations,e)},Object.defineProperties(h.prototype,f);var m=function(e){this.register([],e,!1)};function g(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return void 0;g(e.concat(r),t.getChild(r),n.modules[r])}}m.prototype.get=function(e){return e.reduce((function(e,t){return e.getChild(t)}),this.root)},m.prototype.getNamespace=function(e){var t=this.root;return e.reduce((function(e,n){return t=t.getChild(n),e+(t.namespaced?n+"/":"")}),"")},m.prototype.update=function(e){g([],this.root,e)},m.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new h(t,n);if(0===e.length)this.root=i;else{var o=this.get(e.slice(0,-1));o.addChild(e[e.length-1],i)}t.modules&&u(t.modules,(function(t,i){r.register(e.concat(i),t,n)}))},m.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1],r=t.getChild(n);r&&r.runtime&&t.removeChild(n)},m.prototype.isRegistered=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];return!!t&&t.hasChild(n)};var v;var b=function(e){var t=this;void 0===e&&(e={}),!v&&"undefined"!==typeof window&&window.Vue&&I(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new v,this._makeLocalGettersCache=Object.create(null);var i=this,o=this,s=o.dispatch,l=o.commit;this.dispatch=function(e,t){return s.call(i,e,t)},this.commit=function(e,t,n){return l.call(i,e,t,n)},this.strict=r;var u=this._modules.root.state;w(this,u,[],this._modules.root),S(this,u
|
|||
|
/**
|
|||
|
* Returns an array of the selectors.
|
|||
|
*
|
|||
|
* @license Sizzle CSS Selector Engine - MIT
|
|||
|
* @param {String} selectorText from mensch
|
|||
|
* @api public
|
|||
|
*/
|
|||
|
t.extract=function(e){for(var t=0,n=[],r="",i=0,o=e.length;i<o;i++){var a=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))}return r.length&&n.push(r),n},t.parseCSS=function(e){for(var t=r.parse(e,{position:!0,comments:!0}),n="undefined"!=typeof t.stylesheet&&t.stylesheet.rules?t.stylesheet.rules:[],i=[],o=0,a=n.length;o<a;o++)if("rule"==n[o].type)for(var s=n[o],l=s.selectors,u=0,c=l.length;u<c;u++)i.push([l[u],s.declarations]);return i},t.getPreservedText=function(e,t,n){for(var i=r.parse(e,{position:!0,comments:!0}),o="undefined"!=typeof i.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;return 0!==a.length&&"\n"+a.join("\n")+"\n"},t.normalizeLineEndings=function(e){return e.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n")},t.matchesPseudo=function(e,t){return t.find((function(t){return e.indexOf(t)>-1}))},t.compareFunc=function(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++)if(e[r]!==t[r])return e[r]>t[r]?1:-1;return e.length-t.length},t.compare=function(e,n){return 1==t.compareFunc(e,n)?e:n},t.getDefaultOptions=function(e){var t=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);return t.webResources=t.webResources||{},t}},"4cd5":function(e,t,n){"use strict";var r=n("7061"),i=n("58c8");e.exports=function(e,t,n){var o=this||i;return r.forEach(n,(function(n){e=n.call(o,e,t)})),e}},"4d11":function(e,t){function n(e){const t=["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;var r=n("f176"),i=Object.create(n("8ce8"));function o(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(!r)return this.emit("error",new Error("write callback called multiple times"));n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(
|
|||
|
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|||
|
var r=n("eb72"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(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"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},6008:function(e,t,n){"use strict";var r=n("fbe2"),i=n("6399"),o=10,a=40,s=800;function l(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*o,i=n*o,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(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(){return r.firefox()?"DOMMouseScroll":i("wheel")?"wheel":"mousewheel"},e.exports=l},"60bc":function(e,t,n){var r=n("7992"),i=n("1eb8");e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},"60cf":function(e,t,n){e.exports=n("623a").PassThrough},"60f8":function(e,t){function n(e){const t={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";function r(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}function o(e,t,n){if(o.isBN(e))return e;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"))}var a;"object"===typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!==typeof window&&"undefined"!==typeof window.Buffer?window.Buffer:n(12).Buffer}catch(T){}function s(e,t){var n=e.charCodeAt(t);return n>=65&&n<=70?n-55:n>=97&&n<=102?n-87:n-48&15}function l(e,t,n){var r=s(e,n);return n-1>=t&&(r|=s(e,n-1)<<4),r}function u(e,t,n,r){for(var i=0,o=Math.min(e.length,n),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=r,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"===typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,n){if("number"===typeof e)return this._initNumber(e,t,n);if("object"===typeof e)return this._initArray(e,t,n);"hex"===t&&(t=16),r(t===(0|t)&&t>=2&&t<=36),e=e.toString().replace(/\s+/g,"");var i=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"===typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===n)for(i=e.lengt
|
|||
|
/**
|
|||
|
* Checks if an event is supported in the current execution environment.
|
|||
|
*
|
|||
|
* NOTE: This will not work correctly for non-generic events such as `change`,
|
|||
|
* `reset`, `load`, `error`, and `select`.
|
|||
|
*
|
|||
|
* Borrows from Modernizr.
|
|||
|
*
|
|||
|
* @param {string} eventNameSuffix Event name, e.g. "click".
|
|||
|
* @param {?boolean} capture Check if the capture phase is supported.
|
|||
|
* @return {boolean} True if the event is supported.
|
|||
|
* @internal
|
|||
|
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|||
|
*/
|
|||
|
function o(e,t){if(!i.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var a=document.createElement("div");a.setAttribute(n,"return;"),o="function"===typeof a[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){function n(e){const t=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},"65cc":function(e,t,n){"use strict";t.__esModule=!0;var r=n("da4b");function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=function(){function e(){i(this,e)}return e.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.prototype.beforeLeave=function(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"},e.prototype.leave=function(e){0!==e.scrollHeight&&((0,r
|
|||
|
/*!
|
|||
|
* mime-db
|
|||
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|||
|
* MIT Licensed
|
|||
|
*/
|
|||
|
e.exports=n("d7ce")},"7f1b":function(e,t,n){var r=n("8e48"),i=n("0ae6"),o=n("cce3"),a=n("d848"),s=n("8d24"),l=n("055b"),u=n("e500"),c=n("5f79").Buffer;function d(e,t){var n=e.modulus.byteLength(),r=l("sha1").update(c.alloc(0)).digest(),a=r.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),u=t.slice(a+1),d=o(s,i(u,a)),p=o(u,i(d,n-a-1));if(h(r,p.slice(0,a)))throw new Error("decryption error");var f=a;while(0===p[f])f++;if(1!==p[f++])throw new Error("decryption error");return p.slice(f)}function p(e,t,n){var r=t.slice(0,2),i=2,o=0;while(0!==t[i++])if(i>=t.length){o++;break}var a=t.slice(2,i-1);if(("0002"!==r.toString("hex")&&!n||"0001"!==r.toString("hex")&&n)&&o++,a.length<8&&o++,o)throw new Error("decryption error");return t.slice(i)}function h(e,t){e=c.from(e),t=c.from(t);var n=0,r=e.length;e.length!==t.length&&(n++,r=Math.min(e.length,t.length));var i=-1;while(++i<r)n+=e[i]^t[i];return n}e.exports=function(e,t,n){var i;i=e.padding?e.padding:n?1:4;var o,l=r(e),h=l.modulus.byteLength();if(t.length>h||new a(t).cmp(l.modulus)>=0)throw new Error("decryption error");o=n?u(new a(t),l):s(t,l);var f=c.alloc(h-o.length);if(o=c.concat([f,o],h),4===i)return d(l,o);if(1===i)return p(l,o,n);if(3===i)return o;throw new Error("unknown padding")}},"7f1d":function(e,t){function n(e){const t=e.regex,n={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","
|
|||
|
/**
|
|||
|
* @license
|
|||
|
* Lodash <https://lodash.com/>
|
|||
|
* Copyright JS Foundation and other contributors <https://js.foundation/>
|
|||
|
* Released under MIT license <https://lodash.com/license>
|
|||
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|||
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|||
|
*/(function(){var a,s="4.17.10",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",d="__lodash_hash_undefined__",p=500,h="__lodash_placeholder__",f=1,m=2,g=4,v=1,b=2,y=1,_=2,E=4,S=8,w=16,x=32,C=64,D=128,T=256,A=512,k=30,O="...",N=800,I=16,M=1,R=2,P=3,L=1/0,F=9007199254740991,B=17976931348623157e292,j=NaN,U=4294967295,q=U-1,z=U>>>1,H=[["ary",D],["bind",y],["bindKey",_],["curry",S],["curryRight",w],["flip",A],["partial",x],["partialRight",C],["rearg",T]],$="[object Arguments]",G="[object Array]",V="[object AsyncFunction]",Y="[object Boolean]",W="[object Date]",K="[object DOMException]",Q="[object Error]",X="[object Function]",Z="[object GeneratorFunction]",J="[object Map]",ee="[object Number]",te="[object Null]",ne="[object Object]",re="[object Promise]",ie="[object Proxy]",oe="[object RegExp]",ae="[object Set]",se="[object String]",le="[object Symbol]",ue="[object Undefined]",ce="[object WeakMap]",de="[object WeakSet]",pe="[object ArrayBuffer]",he="[object DataView]",fe="[object Float32Array]",me="[object Float64Array]",ge="[object Int8Array]",ve="[object Int16Array]",be="[object Int32Array]",ye="[object Uint8Array]",_e="[object Uint8ClampedArray]",Ee="[object Uint16Array]",Se="[object Uint32Array]",we=/\b__p \+= '';/g,xe=/\b(__p \+=) '' \+/g,Ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,De=/&(?:amp|lt|gt|quot|#39);/g,Te=/[&<>"']/g,Ae=RegExp(De.source),ke=RegExp(Te.source),Oe=/<%-([\s\S]+?)%>/g,Ne=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,Me=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Re=/^\w*$/,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Le=/[\\^$.*+?()[\]{}|]/g,Fe=RegExp(Le.source),Be=/^\s+|\s+$/g,je=/^\s+/,Ue=/\s+$/,qe=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,He=/,? & /,$e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ge=/\\(\\)?/g,Ve=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ye=/\w*$/,We=/^[-+]0x[0-9a-f]+$/i,Ke=/^0b[01]+$/i,Qe=/^\[object .+?Constructor\]$/,Xe=/^0o[0-7]+$/i,Ze=/^(?:0|[1-9]\d*)$/,Je=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,et=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,nt="\\ud800-\\udfff",rt="\\u0300-\\u036f",it="\\ufe20-\\ufe2f",ot="\\u20d0-\\u20ff",at=rt+it+ot,st="\\u2700-\\u27bf",lt="a-z\\xdf-\\xf6\\xf8-\\xff",ut="\\xac\\xb1\\xd7\\xf7",ct="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",dt="\\u2000-\\u206f",pt=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ht="A-Z\\xc0-\\xd6\\xd8-\\xde",ft="\\ufe0e\\ufe0f",mt=ut+ct+dt+pt,gt="['’]",vt="["+nt+"]",bt="["+mt+"]",yt="["+at+"]",_t="\\d+",Et="["+st+"]",St="["+lt+"]",wt="[^"+nt+mt+_t+st+lt+ht+"]",xt="\\ud83c[\\udffb-\\udfff]",Ct="(?:"+yt+"|"+xt+")",Dt="[^"+nt+"]",Tt="(?:\\ud83c[\\udde6-\\uddff]){2}",At="[\\ud800-\\udbff][\\udc00-\\udfff]",kt="["+ht+"]",Ot="\\u200d",Nt="(?:"+St+"|"+wt+")",It="(?:"+kt+"|"+wt+")",Mt="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",Rt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Pt=Ct+"?",Lt="["+ft+"]?",Ft="(?:"+Ot+"(?:"+[Dt,Tt,At].join("|")+")"+Lt+Pt+")*",Bt="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ut=Lt+Pt+Ft,qt="(?:"+[Et,Tt,At].join("|")+")"+Ut,zt="(?:"+[Dt+yt+"?",yt,Tt,At,vt].join("|")+")",Ht=RegExp(gt,"g"),$t=RegExp(yt,"g"),Gt=RegExp(xt+"(?="+xt+")|"+zt+Ut,"g"),Vt=RegExp([kt+"?"+St+"+"+Mt+"(?="+[bt,kt,"$"].join("|")+")",It+"+"+Rt+"(?="+[bt,kt+Nt,"$"].join("|")+")",kt+"?"+Nt+"+"+Mt,kt+"+"+Rt,jt,Bt,_t,qt].join("|"),"g"),Yt=RegExp("["+Ot+nt+at+ft+"]"),Wt=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Kt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Qt=-1,Xt={};Xt[fe]=Xt[me]=Xt[ge]=Xt[ve]=Xt[be]=Xt[ye]=Xt[_e]=Xt[Ee]=Xt[Se]=!0,Xt[$]=Xt[G]=Xt[pe]=Xt[Y]=Xt[he
|
|||
|
/** @preserve
|
|||
|
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|||
|
|
|||
|
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|||
|
|
|||
|
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|||
|
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|||
|
|
|||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
|
*/
|
|||
|
return function(t){var n=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(var n=0;n<16;n++){var r=t+n,i=e[r];e[r]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8)}var o,a,h,_,E,S,w,x,C,D,T,A=this._hash.words,k=d.words,O=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],D=E=A[4];for(n=0;n<80;n+=1)T=o+e[t+N[n]]|0,T+=n<16?f(a,h,_)+k[0]:n<32?m(a,h,_)+k[1]:n<48?g(a,h,_)+k[2]:n<64?v(a,h,_)+k[3]:b(a,h,_)+k[4],T|=0,T=y(T,M[n]),T=T+E|0,o=E,E=_,_=y(h,10),h=a,a=T,T=S+e[t+I[n]]|0,T+=n<16?b(w,x,C)+O[0]:n<32?v(w,x,C)+O[1]:n<48?g(w,x,C)+O[2]:n<64?m(w,x,C)+O[3]:f(w,x,C)+O[4],T|=0,T=y(T,R[n]),T=T+D|0,S=D,D=C,C=y(x,10),x=w,w=T;T=A[1]+h+C|0,A[1]=A[2]+_+D|0,A[2]=A[3]+E+S|0,A[3]=A[4]+o+w|0,A[4]=A[0]+a+x|0,A[0]=T},_doFinalize:function(){var e=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(var i=this._hash,o=i.words,a=0;a<5;a++){var s=o[a];o[a]=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8)}return i},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function f(e,t,n){return e^t^n}function m(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function v(e,t,n){return e&n|t&~n}function b(e,t,n){return e^(t|~n)}function y(e,t){return e<<t|e>>>32-t}n.RIPEMD160=o._createHelper(h),n.HmacRIPEMD160=o._createHmacHelper(h)}(Math),e.RIPEMD160}))},8647:function(e,t,n){"use strict";var r=n("60ff"),i=n("4e45"),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function l(e,t){this.eddsa=e,"object"!==typeof t&&(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.S instanceof r&&(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(){return this.eddsa.decodeInt(this.Sencoded())})),a(l,"R",(function(){return this.eddsa.decodePoint(this.Rencoded())})),a(l,"Rencoded",(function(){return this.eddsa.encodePoint(this.R())})),a(l,"Sencoded",(function(){return this.eddsa.encodeInt(this.S())})),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},"86b6":function(e){e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},"86fc":function(e,t,n){"use strict";var r;n.r(t),n.d(t,"SelectorType",(function(){return r})),n.d(t,"IgnoreCaseMode",(function(){return i})),n.d(t,"AttributeAction",(function(){return o})),n.d(t,"isTraversal",(function(){return c})),n.d(t,"parse",(function(){return g})),n.d(t,"stringify",(function(){return w})),function(e){e["Attribute"]="attribute",e["Pseudo"]="pseudo",e["PseudoElement"]="pseudo-element",e["Tag"]="tag",e["Universal"]="universal",e["Adjacent"]="adjacent",e["Child"]="child",e["Descendant"]="descendant",e["Parent"]="parent
|
|||
|
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */D=t.STATE,String.fromCodePoint||function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n,r,i=16384,o=[],a=-1,s=arguments.length;if(!s)return"";var l="";while(++a<s){var u=Number(arguments[a]);if(!isFinite(u)||u<0||u>1114111||t(u)!==u)throw RangeError("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)}return l};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(){var t,r,i=function(e,t){for(var n in t)o.call(t,n)&&(e[n]=t[n]);function r(){this.constructor=e}return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},o={}.hasOwnProperty;r=n("093d"),t=n("fe49"),e.exports=function(e){function n(e){n.__super__.constructor.call(this,e),this.type=t.Dummy}return i(n,e),n.prototype.clone=function(){return Object.create(this)},n.prototype.toString=function(e){return""},n}(r)}).call(this)},aa4b:function(e,t){function n(e){const t={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";var r=n("8bdb"),i=n("1099"),o=n("1fc1"),a=n("b2b1"),s=n("41c7"),l=n("af9e"),u=l((function(){return 4294967297!==[].push.call({length:4294967296},1)})),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}},d=u||!c();r({target:"Array",proto:!0,arity:1,forced:d},{push:function(e){var t=i(this),n=o(t),r=arguments.length;s(n+r);for(var l=0;l<r;l++)t[n]=arguments[l],n++;return a(t,n),n}})},aacc:function(e,t,n){var r=n("eb72"),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return i(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"===typeof e)throw new TypeError("Argument must not be a number");return i(e,t,n)},a.alloc=function(e,t,n){if("number"!==typeof e)throw new TypeError("Argument must be a number");var r=i(e);return void 0!==t?"string"===typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!==typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},aacf:function(e,t,n){e.exports=!n("cf22")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},ab3f:function(e,t,n){"use strict";var r=this&&this.
|
|||
|
/** @preserve
|
|||
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|||
|
* derived from CryptoJS.mode.CTR
|
|||
|
* Jan Hruby jhruby.web@gmail.com
|
|||
|
*/
|
|||
|
return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function n(e){if(255===(e>>24&255)){var t=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}else e+=1<<24;return e}function r(e){return 0===(e[0]=n(e[0]))&&(e[1]=n(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var n=this._cipher,i=n.blockSize,o=this._iv,a=this._counter;o&&(a=this._counter=o.slice(0),this._iv=void 0),r(a);var s=a.slice(0);n.encryptBlock(s,0);for(var l=0;l<i;l++)e[t+l]^=s[l]}});return t.Decryptor=i,t}(),e.mode.CTRGladman}))},b472:function(e,t){function n(e,t){const n={};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 u=1,c=!1,d=!1,p="";for(;t<e.length;t++)if("<"!==e[t]||d)if(">"===e[t]){if(d?"-"===e[t-1]&&"-"===e[t-2]&&(d=!1,u--):u--,0===u)break}else"["===e[t]?c=!0:p+=e[t];else{if(c&&o(e,t))t+=7,[entityName,val,t]=r(e,t+1),-1===val.indexOf("&")&&(n[entityName]={regx:RegExp(`&${entityName};`,"g"),val:val});else if(c&&a(e,t))t+=8;else if(c&&s(e,t))t+=8;else if(c&&l(e,t))t+=9;else{if(!i)throw new Error("Invalid DOCTYPE");d=!0}u++,p=""}if(0!==u)throw new Error("Unclosed DOCTYPE")}return{entities:n,i:t}}function r(e,t){let n="";for(;t<e.length&&"'"!==e[t]&&'"'!==e[t];t++)n+=e[t];if(n=n.trim(),-1!==n.indexOf(" "))throw new Error("External entites are not supported");const r=e[t++];let i="";for(;t<e.length&&e[t]!==r;t++)i+=e[t];return[n,i,t]}function i(e,t){return"!"===e[t+1]&&"-"===e[t+2]&&"-"===e[t+3]}function o(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 a(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 s(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]}e.exports=n},b481:function(e,t,n){"use strict";var r=n("7061"),i=n("24ff"),o=n("5e65"),a=n("0d47"),s=n("58c8");function l(e){var t=new o(e),n=i(o.prototype.request,t);return r.extend(n,o.prototype,t),r.extend(n,t),n.create=function(t){return l(a(e,t))},n}var u=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){return Promise.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=void 0;var r=n("a3e2");function i(e,t){return null!=e&&null!=t||"object"===typeof e&&!Array.isArray(e)?r.domEach(this,(function(n,i){r.isTag(n)&&o(n,e,t,i)})):a(this[0],e)}function o(e,t,n,r){if("string"===typeof t){var i=a(e),l="function"===typeof n?n.call(e,r,i[t]):n;""===l?delete i[t]:null!=l&&(i[t]=l),e.attribs.style=s(i)}else"object"===typeof t&&Object.keys(t).forEach((function(n,r){o(e,n,t[n],r)}))}function a(e,t){if(e&&r.isTag(e)){var n=l(e.attribs.style);if("string"===typeof t)return n[t];if(Array.isArray(t)){var i={};return t.forEach((function(e){null!=n[e]&&(i[e]=n[e])})),i}return n}}function s(e){return Object.keys(e).reduce((function(t,n){return t+(t?" ":"")+n+": "+e[n]+";"}),"")}function l(e){return e=(e||"").trim(),e?e.split(";").reduce((function(e,t){var n=t.indexOf(":");return n<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=void 0;var r=n("ccd4"),i=n("7d5c");function o(e){var t=d(f,e);return t?"feed"===t.name?a(t):s(t):null}function a(e){var t,n=e.children,r={type:"atom",items:(0,i.getElementsByTagName)("entry",n).map((function(e){var t,n=e.children,r={media:c(n)};h(r,"id","id",n),h(r,"title","title",n);var i=null===(t=d("link",n))||void 0===t?void 0:t.attribs.href;
|
|||
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|||
|
t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?p/l:p*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+h]=255&a,h+=f,a/=256,u-=8);e[n+h-f]|=128*m}},bab5:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var r=n("562d"),i=d(r),o=n("ff9b"),a=d(o),s=n("8b7a"),l=d(s),u=n("4af9"),c=d(u);function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,c.default)(a.default),h=i.default,f=!1,m=function(){var e=Object.getPrototypeOf(this||a.default).$t;if("function"===typeof e&&a.default.locale)return f||(f=!0,a.default.locale(a.default.config.lang,(0,l.default)(h,a.default.locale(a.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},g=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var r=e.split("."),i=h,o=0,a=r.length;o<a;o++){var s=r[o];if(n=i[s],o===a-1)return p(n,t);if(!n)return"";i=n}return""},v=t.use=function(e){h=e||h},b=t.i18n=function(e){m=e||m};t.default={use:v,t:g,i18n:b}},baca:function(e,t,n){"use strict";const r=n("2382"),{DOCUMENT_MODE:i}=n("27ad"),o={element:1,text:3,cdata:4,comment:8},a={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"};class s{constructor(e){for(const t of Object.keys(e))this[t]=e[t]}get firstChild(){const e=this.children;return e&&e[0]||null}get lastChild(){const e=this.children;return e&&e[e.length-1]||null}get nodeType(){return o[this.type]||o.element}}Object.keys(a).forEach(e=>{const t=a[e];Object.defineProperty(s.prototype,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}),t.createDocument=function(){return new s({type:"root",name:"root",parent:null,prev:null,next:null,children:[],"x-mode":i.NO_QUIRKS})},t.createDocumentFragment=function(){return new s({type:"root",name:"root",parent:null,prev:null,next:null,children:[]})},t.createElement=function(e,t,n){const r=Object.create(null),i=Object.create(null),o=Object.create(null);for(let a=0;a<n.length;a++){const e=n[a].name;r[e]=n[a].value,i[e]=n[a].namespace,o[e]=n[a].prefix}return new s({type:"script"===e||"style"===e?e:"tag",name:e,namespace:t,attribs:r,"x-attribsNamespace":i,"x-attribsPrefix":o,children:[],parent:null,prev:null,next:null})},t.createCommentNode=function(e){return new s({type:"comment",data:e,parent:null,prev:null,next:null})};const l=function(e){return new s({type:"text",data:e,parent:null,prev:null,next:null})},u=t.appendChild=function(e,t){const n=e.children[e.children.length-1];n&&(n.next=t,t.prev=n),e.children.push(t),t.parent=e},c=t.insertBefore=function(e,t,n){const r=e.children.indexOf(n),i=n.prev;i&&(i.next=t,t.prev=i),n.prev=t,t.next=n,e.children.splice(r,0,t),t.parent=e};t.setTemplateContent=function(e,t){u(e,t)},t.getTemplateContent=function(e){return e.children[0]},t.setDocumentType=function(e,t,n,i){const o=r.serializeContent(t,n,i);let a=null;for(let r=0;r<e.children.length;r++)if("directive"===e.children[r].type&&"!doctype"===e.children[r].name){a=e.children[r];break}a?(a.data=o,a["x-name"]=t,a["x-publicId"]=n,a["x-systemId"]=i):u(e,new s({type:"directive",name:"!doctype",data:o,"x-name":t,"x-publicId":n,"x-systemId":i}))},t.setDocumentMode=function(e,t){e["x-mode"]=t},t.getDocumentMode=function(e){return e["x-mode"]},t.detachNode=function(e){if(e.parent){const t=e.parent.children.indexOf(e),n=e.prev,r=e.next;e.prev=null,e.next=null,n&&(n.next=r),
|
|||
|
/*!******************!*\
|
|||
|
!*** ./index.js ***!
|
|||
|
\******************/
|
|||
|
/*! no static exports found */function(e,t,n){var r=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){var r,i,o=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js");!function(a,s){"object"==o(t)&&"undefined"!=typeof e?e.exports=s():(r=s,i="function"===typeof r?r.call(t,n,t,e):r,void 0===i||(e.exports=i))}(0,(function(){"use strict";var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)},t=function(){return t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},t.apply(this,arguments)};function n(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function r(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("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)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7: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])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var i="__BEACON_",o="__BEACON_deviceId",a="last_report_time",s="sending_event_ids",l="beacon_config",u="beacon_config_request_time",c=function(){function e(){var e=this;this.emit=function(t,n){if(e){var r,i=e.__EventsList[t];if(null==i?void 0:i.length){i=i.slice();for(var o=0;o<i.length;o++){r=i[o];try{var a=r.callback.apply(e,[n]);if(1===r.type&&e.remove(t,r.callback),!1===a)break}catch(e){throw e}}}return e}},this.__EventsList={}}return e.prototype.indexOf=function(e,t){for(var n=0;n<e.length;n++)if(e[n].callback===t)return n;return-1},e.prototype.on=function(e,t,n){if(void 0===n&&(n=0),this){var r=this.__EventsList[e];if(r||(r=this.__EventsList[e]=[]),-1===this.indexOf(r,t)){var i={name:e,type:n||0,callback:t};return r.push(i),this}return this}},e.prototype.one=function(e,t){this.on(e,t,1)},e.prototype.remove=function(e,t){if(this){var n=this.__EventsList[e];if(!n)return null;if(!t){try{delete this.__EventsList[e]}catch(e){}return null}if(n.length){var r=this.indexOf(n,t);n.splice(r,1)}return this}},e}();function d(e,t){for(var n={},r=0,i=Object.keys(e);r<i.length;r++){var o=i[r],a=e[o];if("string"==typeof a)n[p(o)]=p(a);else{if(t)throw new Error("value mast be string !!!!");n[p(String(o))]=p(String(a))}}return n}function p(e){if("string"!=typeof e)return e;try{return e.replace(new RegExp("\\|","g"),"%7C").replace(new RegExp("\\&","g"),"%26").replace(new RegExp("\\=","g"),"%3D").replace(new RegExp("\\+","g"),"%2B")}catch(e){return""}}function h(e){return String(e.A99)+String(e.A100)}var f=function(){},m=function(){function e(e){var n=this;this.lifeCycle=new c,this.uploadJobQueue=[],this.additionalParams={},this.delayTime=0,this._normalLogPipeline=function(e){if(!e||!e.reduce||!e.length)throw new TypeError("createPipeline 方法需要传入至少有一个 pipe 的数组");return 1===e.length?function(t,n){e[0](t,n||f)}:e.reduce((function(e,t){return function(n,r){return void 0===r&&(r=f),e(n,(function(e){return null==t?void 0:t(e,r)}))}}))}([function(e){n.send({url:n.strate
|
|||
|
/*!***********************!*\
|
|||
|
!*** ./lib/crypto.js ***!
|
|||
|
\***********************/
|
|||
|
/*! no static exports found */function(e,t,n){(function(e){var t=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),r=r||function(e,t){var n={},r=n.lib={},i=function(){},o=r.Base={extend:function(e){i.prototype=this;var t=new i;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)}},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){var t=this.words,n=e.words,r=this.sigBytes;if(e=e.sigBytes,this.clamp(),r%4)for(var i=0;i<e;i++)t[r+i>>>2]|=(n[i>>>2]>>>24-i%4*8&255)<<24-(r+i)%4*8;else if(65535<n.length)for(i=0;i<e;i+=4)t[r+i>>>2]=n[i>>>2];else t.push.apply(t,n);return this.sigBytes+=e,this},clamp:function(){var t=this.words,n=this.sigBytes;t[n>>>2]&=4294967295<<32-n%4*8,t.length=e.ceil(n/4)},clone:function(){var e=o.clone.call(this);return e.words=this.words.slice(0),e},random:function(t){for(var n=[],r=0;r<t;r+=4)n.push(4294967296*e.random()|0);return new a.init(n,t)}}),s=n.enc={},l=s.Hex={stringify:function(e){var t=e.words;e=e.sigBytes;for(var n=[],r=0;r<e;r++){var i=t[r>>>2]>>>24-r%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r+=2)n[r>>>3]|=parseInt(e.substr(r,2),16)<<24-r%8*4;return new a.init(n,t/2)}},u=s.Latin1={stringify:function(e){var t=e.words;e=e.sigBytes;for(var n=[],r=0;r<e;r++)n.push(String.fromCharCode(t[r>>>2]>>>24-r%4*8&255));return n.join("")},parse:function(e){for(var t=e.length,n=[],r=0;r<t;r++)n[r>>>2]|=(255&e.charCodeAt(r))<<24-r%4*8;return new a.init(n,t)}},c=s.Utf8={stringify:function(e){try{return decodeURIComponent(escape(u.stringify(e)))}catch(t){throw Error("Malformed UTF-8 data")}},parse:function(e){return u.parse(unescape(encodeURIComponent(e)))}},d=r.BufferedBlockAlgorithm=o.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=c.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var n=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(var l=0;l<t;l+=o)this._doProcessBlock(r,l);l=r.splice(0,t),n.sigBytes-=i}return new a.init(l,i)},clone:function(){var e=o.clone.call(this);return e._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){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,n){return new e.init(n).finalize(t)}},_createHmacHelper:function(e){return function(t,n){return new p.HMAC.init(e,n).finalize(t)}}});var p=n.algo={};return n}(Math);(function(){var e=r,t=e.lib,n=t.WordArray,i=t.Hasher,o=[];t=e.algo.SHA1=i.extend({_doReset:function(){this._hash=new n.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=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{var c=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(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[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){var r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i="a-zA-Z_À-ÖØ-öø-ÿͰ-ͽͿ--⁰-Ⰰ-、-豈-﷏ﷰ-<2D>",o="-.0-9·̀-ͯ‿⁀",a=new RegExp("^([^"+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){var t=[];if(e instanceof Object)for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t},u=function(e,t){var n=function(e,n,r,i,o){var s=void 0!==t.indent?t.indent:"\t",l=t.prettyPrint?"\n"+new Array(i).join(s):"";t.removeIllegalNameCharacters&&(e=e.replace(a,"_"));var u=[l,"<",e,r||""];return n&&n.length>0?(u.push(">"),u.push(n),o&&u.push(l),u.push("</"),u.push(e),u.push(">")):u.push("/>"),u.join("")};return function e(i,o,a){var s=r(i);switch((Array.isArray?Array.isArray(i):i instanceof Array)?s="array":i instanceof Date&&(s="date"),s){case"array":var u=[];return i.map((function(t){u.push(e(t,1,a+1))})),t.prettyPrint&&u.push("\n"),u.join("");case"date":return i.toJSON?i.toJSON():i+"";case"object":var c=[];for(var p in i)if(i.hasOwnProperty(p))if(i[p]instanceof Array)for(var h=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));else c.push(n(p,e(i[p],0,a+1),null,a+1));return t.prettyPrint&&c.length>0&&c.push("\n"),c.join("");case"function":return i();default:return t.escape?d(i):""+i}}(e,0,0)},c=function(e){var t=['<?xml version="1.0" encoding="UTF-8"'];return e&&t.push(' standalone="yes"'),t.push("?>"),t.join("")};function d(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"==typeof e)try{e=JSON.parse(e.toString())}catch(a){return!1}var n="",i="";t&&("object"==r(t)?(t.xmlHeader&&(n=c(!!t.xmlHeader.standalone)),"undefined"!=typeof t.docType&&(i="<!DOCTYPE "+t.docType+">")):n=c()),t=t||{};var o=[n,t.prettyPrint&&i?"\n":"",i,u(e,t)];return o.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";var ERROR="input is invalid type",WINDOW="object"===("undefined"===typeof window?"undefined":_typeof(window)),root=WINDOW?window:{};root.JS_MD5_NO_WINDOW&&(WINDOW=!1);var WEB_WORKER=!WINDOW&&"object"===("undefined"===typeof self?"undefined":_typeof(self)),NODE_JS=!root.JS_MD5_NO_NODE_JS&&"object"===("undefined"===typeof process?"undefined":_typeof(process))&&process.versions&&process.versions.node;NODE_JS?root=global:WEB_WORKER&&(root=self);var COMMON_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"!==typeof ArrayBuffer,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){var buffer=new ArrayBuffer(68);buffer8=new Uint8Array(buffer),blocks=new Uint32Array(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});var createOutputMethod=function(e){return function(t,n){return new Md5(!0).update(t,n)[e]()}},createMethod=function(){var e=createOutputMethod("hex");NODE_JS&&(e=nodeWrap(e)),e.getCtx=e.create=function(){return new Md5},e.update=function(t){return e.create().update(t)};for(var t=0;t<OUTPUT_TYPES.length;++t){var n=OUTPUT_TYPES[t];e[n]=createOutputMethod(n)}return e},nodeWrap=function nodeWrap(method){var crypto=eval("require('crypto')"),Buffer=eval("require('buffer').Buffer"),nodeMethod=function(e){if("string"===typeof e)return crypto.createHash("md5").update(e,"utf8").digest("hex");if(null===e||void 0===e)throw ERROR;return e.constructor===ArrayBuffer&&(e=new Uint8Array(e)),Array.isArray(e)||ArrayBuffer.isView(e)||e.constructor===Buffer?crypto.createHash("md5").update(new Buffer(e)).digest("hex"):method(e)};return nodeMethod};function Md5(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;else if(ARRAY_BUFFER){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}Md5.prototype.update=function(e,t){if(!this.finalized){var n,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);else for(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){var r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=function(e){switch(r(e)){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},o=function(e,t,n,o){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"===r(e)?Object.keys(e).map((function(r){var o=encodeURIComponent(i(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return o+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){var r={};return t.getAllResponseHeaders().trim().split("\n").forEach((function(e){if(e){var t=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){return t||"text"!==t?e.response:e.responseText},l=function(e,t){var n=(e.method||"GET").toUpperCase(),r=e.url;if(e.qs){var i=o(e.qs);i&&(r+=(-1===r.indexOf("?")?"?":"&")+i)}var l=new XMLHttpRequest;if(l.open(n,r,!0),l.responseType=e.dataType||"text",e.xhrFields)for(var u in e.xhrFields)l[u]=e.xhrFields[u];var c=e.headers;if(c)for(var d in c)c.hasOwnProperty(d)&&"content-length"!==d.toLowerCase()&&"user-agent"!==d.toLowerCase()&&"origin"!==d.toLowerCase()&&"host"!==d.toLowerCase()&&l.setRequestHeader(d,c[d]);return e.onProgress&&l.upload&&(l.upload.onprogress=e.onProgress),e.onDownloadProgress&&(l.onprogress=e.onDownloadProgress),e.timeout&&(l.timeout=e.timeout),l.ontimeout=function(e){var n=new Error("timeout");t(a(n,l))},l.onload=function(){t(a(null,l,s(l,e.dataType)))},l.onerror=function(n){var r=s(l,e.dataType);if(r)t(a(null,l,r));else{var i=l.statusText;i||0!==l.status||(i=new Error("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){var r=n(/*! @xmldom/xmldom */"./node_modules/@xmldom/xmldom/lib/index.js").DOMParser,i=function(){this.version="1.3.5";var e={mergeCDATA:!0,normalize:!0,stripElemPrefix:!0},t=new RegExp(/(?!xmlns)^.*:/);new RegExp(/^\s+|\s+$/g);return this.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){var n=this.stringToXML(e);return n.getElementsByTagName("parsererror").length?null:this.parseXML(n,t)}return null},this.parseXML=function(n,r){for(var o in r)e[o]=r[o];var a={},s=0,l="",u=n.childNodes.length;if(u)for(var c,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++));return Object.keys(a).length||(a=l||""),a},this.xmlToString=function(e){try{var t=e.xml?e.xml:(new XMLSerializer).serializeToString(e);return t}catch(n){return null}},this.stringToXML=function(e){try{var t=null;if(window.DOMParser){var n=new r;return t=n.parseFromString(e,"text/xml"),t}return t=new ActiveXObject("Microsoft.XMLDOM"),t.async=!1,t.loadXML(e),t}catch(i){return null}},this}.call({}),o=function(e){return i.parseString(e)};e.exports=o},"./node_modules/@babel/runtime/helpers/classCallCheck.js":
|
|||
|
/*!***************************************************************!*\
|
|||
|
!*** ./node_modules/@babel/runtime/helpers/classCallCheck.js ***!
|
|||
|
\***************************************************************/
|
|||
|
/*! no static exports found */function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("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":
|
|||
|
/*!************************************************************!*\
|
|||
|
!*** ./node_modules/@babel/runtime/helpers/createClass.js ***!
|
|||
|
\************************************************************/
|
|||
|
/*! no static exports found */function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function r(e,t,r){return t&&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":
|
|||
|
/*!*******************************************************!*\
|
|||
|
!*** ./node_modules/@babel/runtime/helpers/typeof.js ***!
|
|||
|
\*******************************************************/
|
|||
|
/*! no static exports found */function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},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":
|
|||
|
/*!********************************************************!*\
|
|||
|
!*** ./node_modules/@xmldom/xmldom/lib/conventions.js ***!
|
|||
|
\********************************************************/
|
|||
|
/*! no static exports found */function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=Object),t&&"function"===typeof t.freeze?t.freeze(e):e}function i(e,t){if(null===e||"object"!==typeof e)throw new TypeError("target is not an object");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var o=r({HTML:"text/html",isHTML:function(e){return e===o.HTML},XML_APPLICATION:"application/xml",XML_TEXT:"text/xml",XML_XHTML_APPLICATION:"application/xhtml+xml",XML_SVG_IMAGE:"image/svg+xml"}),a=r({HTML:"http://www.w3.org/1999/xhtml",isHTML:function(e){return e===a.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=i,t.freeze=r,t.MIME_TYPE=o,t.NAMESPACE=a},"./node_modules/@xmldom/xmldom/lib/dom-parser.js":
|
|||
|
/*!*******************************************************!*\
|
|||
|
!*** ./node_modules/@xmldom/xmldom/lib/dom-parser.js ***!
|
|||
|
\*******************************************************/
|
|||
|
/*! no static exports found */function(e,t,n){var r=n(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js"),i=n(/*! ./dom */"./node_modules/@xmldom/xmldom/lib/dom.js"),o=n(/*! ./entities */"./node_modules/@xmldom/xmldom/lib/entities.js"),a=n(/*! ./sax */"./node_modules/@xmldom/xmldom/lib/sax.js"),s=i.DOMImplementation,l=r.NAMESPACE,u=a.ParseError,c=a.XMLReader;function d(e){return e.replace(/\r[\n\u0085]/g,"\n").replace(/[\r\u0085\u2028]/g,"\n")}function p(e){this.options=e||{locator:{}}}function h(e,t,n){if(!e){if(t instanceof f)return t;e=t}var r={},i=e instanceof Function;function o(t){var o=e[t];!o&&i&&(o=2==e.length?function(n){e(t,n)}:e),r[t]=o&&function(e){o("[xmldom "+t+"]\t"+e+g(n))}||function(){}}return n=n||{},o("warning"),o("error"),o("fatalError"),r}function f(){this.cdata=!1}function m(e,t){t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber}function g(e){if(e)return"\n@"+(e.systemId||"")+"#[line:"+e.lineNumber+",col:"+e.columnNumber+"]"}function v(e,t,n){return"string"==typeof e?e.substr(t,n):e.length>=t+n||t?new java.lang.String(e,t,n)+"":e}function b(e,t){e.currentElement?e.currentElement.appendChild(t):e.doc.appendChild(t)}p.prototype.parseFromString=function(e,t){var n=this.options,r=new c,i=n.domBuilder||new f,a=n.errorHandler,s=n.locator,u=n.xmlns||{},p=/\/x?html?$/.test(t),m=p?o.HTML_ENTITIES:o.XML_ENTITIES;s&&i.setDocumentLocator(s),r.errorHandler=h(a,i,s),r.domBuilder=n.domBuilder||i,p&&(u[""]=l.HTML),u.xml=u.xml||l.XML;var g=n.normalizeLineEndings||d;return e&&"string"===typeof e?r.parse(g(e),u,m):r.errorHandler.error("invalid doc source"),i.doc},f.prototype={startDocument:function(){this.doc=(new s).createDocument(null,null,null),this.locator&&(this.doc.documentURI=this.locator.systemId)},startElement:function(e,t,n,r){var i=this.doc,o=i.createElementNS(e,n||t),a=r.length;b(this,o),this.currentElement=o,this.locator&&m(this.locator,o);for(var s=0;s<a;s++){e=r.getURI(s);var l=r.getValue(s),u=(n=r.getQName(s),i.createAttributeNS(e,n));this.locator&&m(r.getLocator(s),u),u.value=u.nodeValue=l,o.setAttributeNode(u)}},endElement:function(e,t,n){var r=this.currentElement;r.tagName;this.currentElement=r.parentNode},startPrefixMapping:function(e,t){},endPrefixMapping:function(e){},processingInstruction:function(e,t){var n=this.doc.createProcessingInstruction(e,t);this.locator&&m(this.locator,n),b(this,n)},ignorableWhitespace:function(e,t,n){},characters:function(e,t,n){if(e=v.apply(this,arguments),e){if(this.cdata)var r=this.doc.createCDATASection(e);else r=this.doc.createTextNode(e);this.currentElement?this.currentElement.appendChild(r):/^\s*$/.test(e)&&this.doc.appendChild(r),this.locator&&m(this.locator,r)}},skippedEntity:function(e){},endDocument:function(){this.doc.normalize()},setDocumentLocator:function(e){(this.locator=e)&&(e.lineNumber=0)},comment:function(e,t,n){e=v.apply(this,arguments);var r=this.doc.createComment(e);this.locator&&m(this.locator,r),b(this,r)},startCDATA:function(){this.cdata=!0},endCDATA:function(){this.cdata=!1},startDTD:function(e,t,n){var r=this.doc.implementation;if(r&&r.createDocumentType){var i=r.createDocumentType(e,t,n);this.locator&&m(this.locator,i),b(this,i),this.doc.doctype=i}},warning:function(e){console.warn("[xmldom warning]\t"+e,g(this.locator))},error:function(e){console.error("[xmldom error]\t"+e,g(this.locator))},fatalError:function(e){throw new u(e,this.locator)}},"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g,(function(e){f.prototype[e]=function(){return null}})),t.__DOMHandler=f,t.normalizeLineEndings=d,t.DOMParser=p},"./node_modules/@xmldom/xmldom/lib/dom.js":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/@xmldom/xmldom/lib/dom.js ***!
|
|||
|
\************************************************/
|
|||
|
/*! no static exports found */function(e,t,n){var r=n(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js"),i=r.NAMESPACE;function o(e){return""!==e}function a(e){return e?e.split(/[\t\n\f\r ]+/).filter(o):[]}function s(e,t){return e.hasOwnProperty(t)||(e[t]=!0),e}function l(e){if(!e)return[];var t=a(e);return Object.keys(t.reduce(s,{}))}function u(e){return function(t){return e&&-1!==e.indexOf(t)}}function c(e,t){for(var n in e)t[n]=e[n]}function d(e,t){var n=e.prototype;if(!(n instanceof t)){function r(){}r.prototype=t.prototype,r=new r,c(n,r),e.prototype=n=r}n.constructor!=e&&("function"!=typeof e&&console.error("unknown Class:"+e),n.constructor=e)}var p={},h=p.ELEMENT_NODE=1,f=p.ATTRIBUTE_NODE=2,m=p.TEXT_NODE=3,g=p.CDATA_SECTION_NODE=4,v=p.ENTITY_REFERENCE_NODE=5,b=p.ENTITY_NODE=6,y=p.PROCESSING_INSTRUCTION_NODE=7,_=p.COMMENT_NODE=8,E=p.DOCUMENT_NODE=9,S=p.DOCUMENT_TYPE_NODE=10,w=p.DOCUMENT_FRAGMENT_NODE=11,x=p.NOTATION_NODE=12,C={},D={},T=(C.INDEX_SIZE_ERR=(D[1]="Index size error",1),C.DOMSTRING_SIZE_ERR=(D[2]="DOMString size error",2),C.HIERARCHY_REQUEST_ERR=(D[3]="Hierarchy request error",3)),A=(C.WRONG_DOCUMENT_ERR=(D[4]="Wrong document",4),C.INVALID_CHARACTER_ERR=(D[5]="Invalid character",5),C.NO_DATA_ALLOWED_ERR=(D[6]="No data allowed",6),C.NO_MODIFICATION_ALLOWED_ERR=(D[7]="No modification allowed",7),C.NOT_FOUND_ERR=(D[8]="Not found",8)),k=(C.NOT_SUPPORTED_ERR=(D[9]="Not supported",9),C.INUSE_ATTRIBUTE_ERR=(D[10]="Attribute in use",10));C.INVALID_STATE_ERR=(D[11]="Invalid state",11),C.SYNTAX_ERR=(D[12]="Syntax error",12),C.INVALID_MODIFICATION_ERR=(D[13]="Invalid modification",13),C.NAMESPACE_ERR=(D[14]="Invalid namespace",14),C.INVALID_ACCESS_ERR=(D[15]="Invalid access",15);function O(e,t){if(t instanceof Error)var n=t;else n=this,Error.call(this,D[e]),this.message=D[e],Error.captureStackTrace&&Error.captureStackTrace(this,O);return n.code=e,t&&(this.message=this.message+": "+t),n}function N(){}function I(e,t){this._node=e,this._refresh=t,M(this)}function M(e){var t=e._node._inc||e._node.ownerDocument._inc;if(e._inc!=t){var n=e._refresh(e._node);fe(e,"length",n.length),c(n,e),e._inc=t}}function R(){}function P(e,t){var n=e.length;while(n--)if(e[n]===t)return n}function L(e,t,n,r){if(r?t[P(t,r)]=n:t[t.length++]=n,e){n.ownerElement=e;var i=e.ownerDocument;i&&(r&&$(i,e,r),H(i,e,n))}}function F(e,t,n){var r=P(t,n);if(!(r>=0))throw O(A,new Error(e.tagName+"@"+n));var i=t.length-1;while(r<i)t[r]=t[++r];if(t.length=i,e){var o=e.ownerDocument;o&&($(o,e,n),n.ownerElement=null)}}function B(){}function j(){}function U(e){return("<"==e?"<":">"==e&&">")||"&"==e&&"&"||'"'==e&&"""||"&#"+e.charCodeAt()+";"}function q(e,t){if(t(e))return!0;if(e=e.firstChild)do{if(q(e,t))return!0}while(e=e.nextSibling)}function z(){}function H(e,t,n){e&&e._inc++;var r=n.namespaceURI;r===i.XMLNS&&(t._nsMap[n.prefix?n.localName:""]=n.value)}function $(e,t,n,r){e&&e._inc++;var o=n.namespaceURI;o===i.XMLNS&&delete t._nsMap[n.prefix?n.localName:""]}function G(e,t,n){if(e&&e._inc){e._inc++;var r=t.childNodes;if(n)r[r.length++]=n;else{var i=t.firstChild,o=0;while(i)r[o++]=i,i=i.nextSibling;r.length=o,delete r[r.length]}}}function V(e,t){var n=t.previousSibling,r=t.nextSibling;return n?n.nextSibling=r:e.firstChild=r,r?r.previousSibling=n:e.lastChild=n,t.parentNode=null,t.previousSibling=null,t.nextSibling=null,G(e.ownerDocument,e),t}function Y(e,t,n){var r=t.parentNode;if(r&&r.removeChild(t),t.nodeType===w){var i=t.firstChild;if(null==i)return t;var o=t.lastChild}else i=o=t;var a=n?n.previousSibling:e.lastChild;i.previousSibling=a,o.nextSibling=n,a?a.nextSibling=i:e.firstChild=i,null==n?e.lastChild=o:n.previousSibling=o;do{i.parentNode=e}while(i!==o&&(i=i.nextSibling));return G(e.ownerDocument||e,e),t.nodeType==w&&(t.firstChild=t.lastChild=null),t}function W(e,t){return t.parentNode&&t.parentNode.removeChild(t),t.parentNode=e,t.previousSibling=e.lastChild,t.nextSibling=null,t.previousSibling?t.previousSibling.nextSibling=t:e.firstChild=t,e.lastChild=t,G(e.ownerDocument,e,t),t}function K(){this._nsMap={}}function Q(){
|
|||
|
/*!*****************************************************!*\
|
|||
|
!*** ./node_modules/@xmldom/xmldom/lib/entities.js ***!
|
|||
|
\*****************************************************/
|
|||
|
/*! no static exports found */function(e,t,n){var r=n(/*! ./conventions */"./node_modules/@xmldom/xmldom/lib/conventions.js").freeze;t.XML_ENTITIES=r({amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}),t.HTML_ENTITIES=r({lt:"<",gt:">",amp:"&",quot:'"',apos:"'",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",times:"×",divide:"÷",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",euro:"€",trade:"™",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}),t.entityMap=t.HTML_ENTITIES},"./node_modules/@xmldom/xmldom/lib/index.js":
|
|||
|
/*!**************************************************!*\
|
|||
|
!*** ./node_modules/@xmldom/xmldom/lib/index.js ***!
|
|||
|
\**************************************************/
|
|||
|
/*! no static exports found */function(e,t,n){var r=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":
|
|||
|
/*!************************************************!*\
|
|||
|
!*** ./node_modules/@xmldom/xmldom/lib/sax.js ***!
|
|||
|
\************************************************/
|
|||
|
/*! no static exports found */function(e,t,n){var r=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=new RegExp("[\\-\\.0-9"+i.source.slice(1,-1)+"\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),a=new RegExp("^"+i.source+o.source+"*(?::"+i.source+o.source+"*)?$"),s=0,l=1,u=2,c=3,d=4,p=5,h=6,f=7;function m(e,t){this.message=e,this.locator=t,Error.captureStackTrace&&Error.captureStackTrace(this,m)}function g(){}function v(e,t,n,i,o){function a(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function s(e){var t=e.slice(1,-1);return Object.hasOwnProperty.call(n,t)?n[t]:"#"===t.charAt(0)?a(parseInt(t.substr(1).replace("x","0x"))):(o.error("entity not found:"+e),e)}function l(t){if(t>v){var n=e.substring(v,t).replace(/&#?\w+;/g,s);h&&u(v),i.characters(n,0,t-v),v=t}}function u(t,n){while(t>=d&&(n=p.exec(e)))c=n.index,d=c+n[0].length,h.lineNumber++;h.columnNumber=t-c+1}var c=0,d=0,p=/.*(?:\r\n?|\n)|.*$/g,h=i.locator,f=[{currentNSMap:t}],g={},v=0;while(1){try{var w=e.indexOf("<",v);if(w<0){if(!e.substr(v).match(/^\s*$/)){var T=i.doc,A=T.createTextNode(e.substr(v));T.appendChild(A),i.currentElement=A}return}switch(w>v&&l(w),e.charAt(w+1)){case"/":var k=e.indexOf(">",w+3),O=e.substring(w+2,k).replace(/[ \t\n\r]+$/g,""),N=f.pop();k<0?(O=e.substring(w+2).replace(/[\s<].*/,""),o.error("end tag name: "+O+" is not complete:"+N.tagName),k=w+1+O.length):O.match(/\s</)&&(O=O.replace(/[\s<].*/,""),o.error("end tag name: "+O+" maybe not complete"),k=w+1+O.length);var I=N.localNSMap,M=N.tagName==O,R=M||N.tagName&&N.tagName.toLowerCase()==O.toLowerCase();if(R){if(i.endElement(N.uri,N.localName,O),I)for(var P in I)i.endPrefixMapping(P);M||o.fatalError("end tag name: "+O+" is not match the current start tagName:"+N.tagName)}else f.push(N);k++;break;case"?":h&&u(w),k=C(e,w,i);break;case"!":h&&u(w),k=x(e,w,i,o);break;default:h&&u(w);var L=new D,F=f[f.length-1].currentNSMap,B=(k=y(e,w,L,F,s,o),L.length);if(!L.closed&&S(e,k,L.tagName,g)&&(L.closed=!0,n.nbsp||o.warning("unclosed xml attribute")),h&&B){for(var j=b(h,{}),U=0;U<B;U++){var q=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?k=E(e,k,L.tagName,s,i):k++}}catch(z){if(z instanceof m)throw z;o.error("element parse error: "+z),k=-1}k>v?v=k:l(Math.max(w,v)+1)}}function b(e,t){return t.lineNumber=e.lineNumber,t.columnNumber=e.columnNumber,t}function y(e,t,n,i,o,a){function m(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)}var g,v=++t,b=s;while(1){var y=e.charAt(v);switch(y){case"=":if(b===l)g=e.slice(t,v),b=c;else{if(b!==u)throw new Error("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))throw new Error("attribute value no end '"+y+"' match");_=e.slice(t,v),m(g,_,t-1),b=p}else{if(b!=d)throw new Error('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){case s:n.setTagName(e.slice(t,v));case p:case h:case f:b=f,n.closed=!0;case d:case l:case u:break;default:throw new Error("attribute invalid close char('/')")}break;case"":return a.error("unexpected end of input"),b==s&&n.setTagName(e.slice(t,v)),v;case">":switch(b){case s:n.setTagName(e.slice(t,v));case p:case h:case f:break;case d:case l:_=e.slice(t,v),"/"===_.slice(-1)&&(n.closed=!0,_=_.slice(0,-1));case u: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;case c:throw new Error("attribute value missed!!")}return v;case"":y
|
|||
|
/*!*****************************************!*\
|
|||
|
!*** ./node_modules/process/browser.js ***!
|
|||
|
\*****************************************/
|
|||
|
/*! no static exports found */function(e,t){var n,r,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}function l(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{return r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(function(){try{n="function"===typeof setTimeout?setTimeout:o}catch(e){n=o}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}})();var u,c=[],d=!1,p=-1;function h(){d&&u&&(d=!1,u.length?c=u.concat(c):p=-1,c.length&&f())}function f(){if(!d){var e=s(h);d=!0;var t=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)}}function m(e,t){this.fun=e,this.array=t}function g(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new m(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){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},"./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){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(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){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},"./package.json":
|
|||
|
/*!**********************!*\
|
|||
|
!*** ./package.json ***!
|
|||
|
\**********************/
|
|||
|
/*! exports provided: name, version, description, main, types, scripts, repository, keywords, author, license, bugs, homepage, dependencies, devDependencies, default */function(e){e.exports=JSON.parse('{"name":"cos-js-sdk-v5","version":"1.4.17","description":"JavaScript SDK for [腾讯云对象存储](https://cloud.tencent.com/product/cos)","main":"dist/cos-js-sdk-v5.js","types":"index.d.ts","scripts":{"server":"node server/sts.js","dev":"cross-env NODE_ENV=development webpack -w --mode=development","build":"cross-env NODE_ENV=production webpack --mode=production","cos-auth.min.js":"uglifyjs ./demo/common/cos-auth.js -o ./demo/common/cos-auth.min.js -c -m","test":"jest --coverage"},"repository":{"type":"git","url":"git+https://github.com/tencentyun/cos-js-sdk-v5.git"},"keywords":[],"author":"carsonxu","license":"ISC","bugs":{"url":"https://github.com/tencentyun/cos-js-sdk-v5/issues"},"homepage":"https://github.com/tencentyun/cos-js-sdk-v5#readme","dependencies":{"@xmldom/xmldom":"^0.8.6"},"devDependencies":{"@babel/core":"7.17.9","@babel/plugin-transform-runtime":"7.18.10","@babel/preset-env":"7.16.11","babel-loader":"8.2.5","body-parser":"^1.18.3","cross-env":"^5.2.0","express":"^4.16.4","jest":"^29.3.1","jest-environment-jsdom":"^29.3.1","qcloud-cos-sts":"^3.0.2","request":"^2.87.0","terser-webpack-plugin":"4.2.3","uglifyjs":"^2.4.11","webpack":"4.46.0","webpack-cli":"4.10.0"}}')},"./src/advance.js":
|
|||
|
/*!************************!*\
|
|||
|
!*** ./src/advance.js ***!
|
|||
|
\************************/
|
|||
|
/*! no static exports found */function(e,t,n){var r=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");function u(e,t){var n,r,o=this,l=new a,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))return n.UploadId=e.UploadData.UploadId||"",t(n)})),l.on("upload_complete",(function(n){var r=s.extend({UploadId:e.UploadData.UploadId||""},n);t(null,r)})),l.on("upload_slice_complete",(function(t){var a={};s.each(e.Headers,(function(e,t){var n=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)return r(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){var a=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))return e?(r(null,!0),l.emit("error",e)):void l.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{var t=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)return l.emit("error",t);e.UploadData.UploadId=n.UploadId,e.UploadData.PartList=n.PartList,l.emit("get_upload_data_finish",e.UploadData)}}))}})),n=e.ContentLength,delete e.ContentLength,!e.Headers&&(e.Headers={}),s.each(e.Headers,(function(t,n){"content-length"===n.toLowerCase()&&delete e.Headers[n]})),function(){for(var t=[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")}function c(e,t){var n=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){var r=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)return n(s.error(e));var i='"'+r+'"';f[t]=i,1,b+=o,y({loaded:b,total:m}),n(null,{PartNumber:t,ETag:i,Size:o})}))}))},E=function(e,t){var n=e.length;if(0===n)return t(null,!0);if(n>v)return t(null,!1);if(n>1){var r=Math.max(e[0].Size,e[1].Size);if(r!==g)return t(null,!1)}var i=function r(i){if(i<n){var o=e[i];_(o.PartNumber,(function(e,n){n&&n.ETag===o.ETag&&n.Size===o.Size?r(i+1):t(null,!1)}))}else t(null,!0)};i(0)},S=new a;S.on("error",(function(e){if(h._isRunningTask(n))return t(e)})),S.on("upload_id_available",(function(e){var n={},r=[];s.each(e.PartList,(function(e){n[e.PartNumber]=e}));for(var i=1;i<=v;i++){var o=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)){var i=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);delete o["x-cos-mime-limit"],i.Headers=o,h.multipartInit(i,(function(e
|
|||
|
/*!**********************!*\
|
|||
|
!*** ./src/async.js ***!
|
|||
|
\**********************/
|
|||
|
/*! no static exports found */function(e,t){var n=function(e,t,n,r){if(r=r||function(){},!e.length||t<=0)return r();var i=0,o=0,a=0;(function s(){if(i>=e.length)return r();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){var r=function r(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){var r=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");function a(e,t){"function"===typeof e&&(t=e,e={});var n=this.options.Protocol||(o.isBrowser&&"object"===("undefined"===typeof location?"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";var l="",u=s?"cos."+s+".myqcloud.com":"service.cos.myqcloud.com",c=i.replace(/^https?:\/\/([^/]+)(\/.*)?$/,"$1");u===c&&(l=u),Ne.call(this,{Action:"name/cos:GetService",url:i,method:"GET",headers:e.Headers,SignHost:l},(function(e,n){if(e)return t(e);var r=n&&n.ListAllMyBucketsResult&&n.ListAllMyBucketsResult.Buckets&&n.ListAllMyBucketsResult.Buckets.Bucket||[];r=o.isArray(r)?r:[r];var i=n&&n.ListAllMyBucketsResult&&n.ListAllMyBucketsResult.Owner||{};t(null,{Buckets:r,Owner:i,statusCode:n.statusCode,headers:n.headers})}))}function s(e,t){var n=this,r="";if(e["BucketAZConfig"]){var i={BucketAZConfig:e.BucketAZConfig};r=o.json2xml({CreateBucketConfiguration:i})}Ne.call(this,{Action:"name/cos:PutBucket",method:"PUT",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,body:r},(function(r,i){if(r)return t(r);var o=Te({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})}))}function l(e,t){Ne.call(this,{Action:"name/cos:HeadBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"HEAD"},t)}function u(e,t){var n={};n["prefix"]=e["Prefix"]||"",n["delimiter"]=e["Delimiter"],n["marker"]=e["Marker"],n["max-keys"]=e["MaxKeys"],n["encoding-type"]=e["EncodingType"],Ne.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)return t(e);var r=n.ListBucketResult||{},i=r.Contents||[],a=r.CommonPrefixes||[];i=o.isArray(i)?i:[i],a=o.isArray(a)?a:[a];var s=o.clone(r);o.extend(s,{Contents:i,CommonPrefixes:a,statusCode:n.statusCode,headers:n.headers}),t(null,s)}))}function c(e,t){Ne.call(this,{Action:"name/cos:DeleteBucket",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,method:"DELETE"},(function(e,n){return e&&204===e.statusCode?t(null,{statusCode:e.statusCode}):e?t(e):void t(null,{statusCode:n.statusCode,headers:n.headers})}))}function d(e,t){var n=e.Headers,r="";if(e["AccessControlPolicy"]){var i=o.clone(e["AccessControlPolicy"]||{}),a=i.Grants||i.Grant;a=o.isArray(a)?a:[a],delete i.Grant,delete i.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]=De(n[t]))})),Ne.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)return t(e);t(null,{statusCode:n.statusCode,headers:n.headers})}))}function p(e,t){Ne.call(this,{Action:"name/cos:GetBucketACL",method:"GET",Bucket:e.Bucket,Region:e.Region,headers:e.Headers,action:"acl"},(function(e,n){if(e)return t(e);var r=n.AccessControlPolicy||{},i=r.Owner||{},a=r.AccessControlList.Grant||[];a=o.isArray(a)?a:[a];var s=Ce(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)}))}function h(e,t){var n=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){var n=t+"s",r=e[n]||e[t]||[];delete e[n],e[t]=o.isArray(r)?r:[r]}))}));var i={CORSRule:r};e.ResponseVary&&(i.ResponseVary=e.ResponseVary);var a=
|
|||
|
/*!********************!*\
|
|||
|
!*** ./src/cos.js ***!
|
|||
|
\********************/
|
|||
|
/*! no static exports found */function(e,t,n){"use strict";var r=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){var n=function(e){var t={},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(var r=n(e),i=r.length-1;i>=0;i--)t===r[i]&&r.splice(i,1)},e.emit=function(e,t){for(var r=n(e).map((function(e){return e})),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){var r,i,o=n(/*! ./util */"./src/util.js"),a="cos_sdk_upload_cache",s=2592e3,l=function(){try{var e=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(var e=!1,t=Math.round(Date.now()/1e3),n=r.length-1;n>=0;n--){var i=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){delete p.using[e]},getFileId:function(e,t,n,r){return e.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){var a=t["content-length"],s=t.etag||"",l=t["last-modified"];return e&&n?o.md5([e,a,s,l,n,r,i].join("::")):null},getUploadIdList:function(e){if(!e)return null;c.call(this);for(var t=[],n=0;n<r.length;n++)r[n][0]===e&&t.push(r[n][1]);return t.length?t:null},saveUploadId:function(e,t,n){if(c.call(this),e){for(var i=r.length-1;i>=0;i--){var o=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),delete p.using[e];for(var t=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){var r=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){var t=[],n={},a=0,s=0,l=function(e){var t={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};return e.FilePath&&(t.FilePath=e.FilePath),e._custom&&(t._custom=e._custom),t},u=function(){var n,r=function(){n=0,e.emit("task-list-update",{list:i.map(t,l)}),e.emit("list-update",{list:i.map(t,l)})};return function(){n||(n=setTimeout(r))}}(),c=function(){if(!(t.length<=e.options.UploadQueueSize)){for(var r=0;r<s&&r<t.length&&t.length>e.options.UploadQueueSize;){var i="waiting"===t[r].state||"checking"===t[r].state||"uploading"===t[r].state;t[r]&&i?r++:(n[t[r].id]&&delete n[t[r].id],t.splice(r,1),s--)}u()}},d=function n(){if(!(a>=e.options.FileParallelLimit)){while(t[s]&&"waiting"!==t[s].state)s++;if(!(s>=t.length)){var r=t[s];s++,a++,r.state="checking",r.params.onTaskStart&&r.params.onTaskStart(l(r)),!r.params.UploadData&&(r.params.UploadData={});var d=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&&(delete r.params.UploadData,delete r.params.Body,delete r.params),delete r.callback)),c())})),u(),setTimeout(n)}}},p=function(t,i){var o=n[t];if(o){var s=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"===typeof o.params.Body.pipe)return void console.error("stream not support pause");o.state=i,e.emit("inner-kill-task",{TaskId:t,toState:i});try{var p=o&&o.params&&o.params.UploadData.UploadId}catch(h){}"canceled"===i&&p&&r.removeUsing(p),u(),l&&(a--,d()),"canceled"===i&&(o.params&&(delete o.params.UploadData,delete o.params.Body,delete o.params),delete o.callback)}c()}};e._addTasks=function(t){i.each(t,(function(t){e._addTask(t.api,t.params,t.callback,!0)})),u()};var h=!0;e._addTask=function(r,o,a,s){o=i.formatParams(r,o);var l=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);var p={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())};var m=o.onProgress;return o.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)return a(i.error(e));n[l]=p,t.push(p),p.size=r,!s&&u(),d(),c()})),l},e._isRunningTask=function(e){var t=n[e];return!(!t||"checking"!==t.state&&"uploading"!==t.state)},e.getTaskList=function(){return i.map(t,l)},e.cancelTask=function(e){p(e,"canceled")},e.pauseTask=function(e){p(e,"paused")},e.restartTask=function(e){var t=n[e];!t||"paused"!==t.state&&"error"!==t.state||(t.state="waiting",u(),s=Math.min(s,t.index),d())},e.isUploadRunning=function(){return a||s<t.length}};e.exports.transferToTaskMethod=a,e.exports.init=s},"./src/tracker.js":
|
|||
|
/*!************************!*\
|
|||
|
!*** ./src/tracker.js ***!
|
|||
|
\************************/
|
|||
|
/*! no static exports found */function(e,t,n){var r=n(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),i=n(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),o=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),a=n(/*! ../package.json */"./package.json"),s=null,l=function(e){if(!s){var t=n(/*! ../lib/beacon.min */"./lib/beacon.min.js");s=new t({appkey:"0AND0VEVB24UBGDU",versionCode:a.version,channelID:"js_sdk",openid:"openid",unionid:"unid",strictMode:!1,delay:e,sessionDuration:6e4})}return s},u={getUid:function(){var e=function(){return(65536*(1+Math.random())|0).toString(16).substring(1)};return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()},getNetType:function(){if("object"===("undefined"===typeof navigator?"undefined":o(navigator))){var e=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return(null===e||void 0===e?void 0:e.type)||(null===e||void 0===e?void 0:e.effectiveType)||"unknown"}return"unknown"},getOsType:function(){if("object"!==("undefined"===typeof navigator?"undefined":o(navigator)))return"unknown os";var e=navigator.userAgent.toLowerCase(),t=/macintosh|mac os x/i.test(navigator.userAgent);return e.indexOf("win32")>=0||e.indexOf("wow32")>=0?"win32":e.indexOf("win64")>=0||e.indexOf("wow64")>=0?"win64":t?"mac":"unknown os"},isMobile:function(){var e=/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isAndroid:function(){var e=/(Android|Adr|Linux)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isIOS:function(){var e=/(iPhone|iPod|iPad|iOS)/i;return!("object"!==("undefined"===typeof navigator?"undefined":o(navigator))||!navigator.userAgent.match(e))},isOtherMobile:function(){return isMobile&&!isAndroid&&!isIOS},getDeviceName:function(){if("object"!==("undefined"===typeof navigator?"undefined":o(navigator)))return"unknown device";var e=navigator.userAgent.toLowerCase();if(e.includes("app/tencent_wemeet"))return"tencent_wemeet";if(e.indexOf("maxthon")>=0){var t=e.match(/maxthon\/([\d.]+)/),n=t&&t[1]||"";return"傲游浏览器 ".concat(n).trim()}if(e.indexOf("qqbrowser")>=0){var r=e.match(/qqbrowser\/([\d.]+)/),i=r&&r[1]||"";return"QQ浏览器 ".concat(i).trim()}if(e.indexOf("se 2.x")>=0)return"搜狗浏览器";if(e.indexOf("wxwork")>=0)return"微信内置浏览器";if(e.indexOf("msie")>=0){var a=e.match(/msie ([\d.]+)/),s=a&&a[1]||"";return"IE ".concat(s).trim()}if(e.indexOf("firefox")>=0){var l=e.match(/firefox\/([\d.]+)/),u=l&&l[1]||"";return"Firefox ".concat(u).trim()}if(e.indexOf("chrome")>=0){var c=e.match(/chrome\/([\d.]+)/),d=c&&c[1]||"";return"Chrome ".concat(d).trim()}if(e.indexOf("opera")>=0){var p=e.match(/opera.([\d.]+)/),h=p&&p[1]||"";return"Opera ".concat(h).trim()}if(e.indexOf("safari")>=0){var f=e.match(/version\/([\d.]+)/),m=f&&f[1]||"";return"Safari ".concat(m).trim()}if(e.indexOf("edge")>=0){var g=e.match(/edge\/([\d.]+)/),v=g&&g[1]||"";return"edge ".concat(v).trim()}return e.substr(0,200)}},c={isMobile:u.isMobile(),isBrowser:!u.isMobile(),mobileOsType:u.isAndroid()?"android":u.isIOS?"ios":"other_mobile",pcOsType:u.getOsType()},d={deviceType:c.isMobile?"mobile":c.isBrowser?"browser":"unknown",devicePlatform:c.isMobile?c.mobileOsType:c.pcOsType,deviceName:u.getDeviceName()},p=["multipartInit","multipartUpload","multipartComplete","multipartList","multipartListPart","multipartAbort"],h=["putObject","postObject","appendObject","sliceUploadFile","uploadFile","uploadFiles"].concat(p),f=["getObject"];function m(e){return h.includes(e)?"cos_upload":f.includes(e)?"cos_download":"base_service"}function g(e){return e.replace(/([A-Z])/g,"_$1").toLowerCase()}function v(e){var t={},n=["tracePlatform","cossdkVersion","region","networkType","host","accelerate","requestPath","size"
|
|||
|
/*!*********************!*\
|
|||
|
!*** ./src/util.js ***!
|
|||
|
\*********************/
|
|||
|
/*! no static exports found */function(e,t,n){"use strict";(function(t){var r=n(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),i=n(/*! ../lib/md5 */"./lib/md5.js"),o=n(/*! ../lib/crypto */"./lib/crypto.js"),a=n(/*! ../lib/xml2json */"./lib/xml2json.js"),s=n(/*! ../lib/json2xml */"./lib/json2xml.js"),l=n(/*! ./tracker */"./src/tracker.js");function u(e){return encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A")}function c(e,t){var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(t?u(r).toLowerCase():r);return n.sort((function(e,t){return e=e.toLowerCase(),t=t.toLowerCase(),e===t?0:e>t?1:-1}))}var d=function(e,t){var n,r,i,o=[],a=c(e);for(n=0;n<a.length;n++)r=a[n],i=void 0===e[r]||null===e[r]?"":""+e[r],r=t?u(r).toLowerCase():u(r),i=u(i)||"",o.push(r+"="+i);return o.join("&")},p=["cache-control","content-disposition","content-encoding","content-length","content-md5","expect","expires","host","if-match","if-modified-since","if-none-match","if-unmodified-since","origin","range","transfer-encoding"],h=function(e){var t={};for(var n in e){var r=n.toLowerCase();(r.indexOf("x-cos-")>-1||p.indexOf(r)>-1)&&(t[n]=e[n])}return t},f=function(e){e=e||{};var t,n=e.SecretId,r=e.SecretKey,i=e.KeyTime,a=(e.method||e.Method||"get").toLowerCase(),s=T(e.Query||e.params||{}),l=h(T(e.Headers||e.headers||{})),u=e.Key||"";e.UseRawKey?t=e.Pathname||e.pathname||"/"+u:(t=e.Pathname||e.pathname||u,0!==t.indexOf("/")&&(t="/"+t));var d=!1!==e.ForceSignHost;if(!l.Host&&!l.host&&e.Bucket&&e.Region&&d&&(l.Host=e.Bucket+".cos."+e.Region+".myqcloud.com"),!n)throw new Error("missing param SecretId");if(!r)throw new Error("missing param SecretKey");var p=Math.round(H(e.SystemClockOffset)/1e3)-1,f=p,m=e.Expires||e.expires;f+=void 0===m?900:1*m||0;var g="sha1",v=n,b=i||p+";"+f,y=i||p+";"+f,_=c(l,!0).join(";").toLowerCase(),E=c(s,!0).join(";").toLowerCase(),S=o.HmacSHA1(y,r).toString(),w=[a,t,Q.obj2str(s,!0),Q.obj2str(l,!0),""].join("\n"),x=["sha1",b,o.SHA1(w).toString(),""].join("\n"),C=o.HmacSHA1(x,S).toString(),D=["q-sign-algorithm="+g,"q-ak="+v,"q-sign-time="+b,"q-key-time="+y,"q-header-list="+_,"q-url-param-list="+E,"q-signature="+C].join("&");return D},m=function(e,t,n){var r=t/8,i=e.slice(n,n+r);return new Uint8Array(i).reverse(),new{8:Uint8Array,16:Uint16Array,32:Uint32Array}[t](i)[0]},g=function(e,t,n,r){var i=e.slice(t,n),o="";return new Uint8Array(i).forEach((function(e){o+=String.fromCharCode(e)})),r&&(o=decodeURIComponent(escape(o))),o},v=function(e){var t={},n=g(e),r={records:[]};while(e.byteLength){var i,o=m(e,32,0),a=m(e,32,4),s=o-a-16,l=0;e=e.slice(12);while(l<a){var u=m(e,8,l),c=g(e,l+1,l+1+u),d=m(e,16,l+u+2),p=g(e,l+u+4,l+u+4+d);t[c]=p,l+=u+4+d}if("Records"===t[":event-type"])i=g(e,l,l+s,!0),r.records.push(i);else if("Stats"===t[":event-type"])i=g(e,l,l+s,!0),r.stats=Q.xml2json(i).Stats;else if("error"===t[":event-type"]){var h=t[":error-code"],f=t[":error-message"],v=new Error(f);v.message=f,v.name=v.code=h,r.error=v}else["Progress","Continuation","End"].includes(t[":event-type"]);e=e.slice(l+s+4)}return{payload:r.records.join(""),body:n}},b=function(e){var t=this.options.CopySourceParser;if(t)return t(e);var n=e.match(/^([^.]+-\d+)\.cos(v6|-cdc|-cdz|-internal)?\.([^.]+)\.((myqcloud\.com)|(tencentcos\.cn))\/(.+)$/);return n?{Bucket:n[1],Region:n[3],Key:n[7]}:null},y=function(){},_=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&void 0!==e[n]&&null!==e[n]&&(t[n]=e[n]);return t},E=function(e,t){var n,r=new FileReader;FileReader.prototype.readAsBinaryString?(n=FileReader.prototype.readAsBinaryString,r.onload=function(){t(this.result)}):FileReader.prototype.readAsArrayBuffer?n=function(e){var n="",r=new FileReader;r.onload=function(e){for(var i=new Uint8Array(r.result),o=i.byteLength,a=0;a<o;a++)n+=String.fromCharCode(i[a]);t(n)},r.readAsArrayBuffer(e)}:console.error("FileReader not support readAsBinaryString"),n.call(r,e)},S=function(){var e=function(e,t){e=e.split("."),t=t.split(".");for(var n=0;n<t.length;n++)if(e[n]!==t[n
|
|||
|
/*!
|
|||
|
* mime-types
|
|||
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|||
|
* MIT Licensed
|
|||
|
*/var r=n("7f0a"),i=n("a3fc").extname,o=/^\s*([^;\s]*)(?:;|\s|$)/,a=/^text\//i;function s(e){if(!e||"string"!==typeof e)return!1;var t=o.exec(e),n=t&&r[t[1].toLowerCase()];return n&&n.charset?n.charset:!(!t||!a.test(t[1]))&&"UTF-8"}function l(e){if(!e||"string"!==typeof e)return!1;var n=-1===e.indexOf("/")?t.lookup(e):e;if(!n)return!1;if(-1===n.indexOf("charset")){var r=t.charset(n);r&&(n+="; charset="+r.toLowerCase())}return n}function u(e){if(!e||"string"!==typeof e)return!1;var n=o.exec(e),r=n&&t.extensions[n[1].toLowerCase()];return!(!r||!r.length)&&r[0]}function c(e){if(!e||"string"!==typeof e)return!1;var n=i("x."+e).toLowerCase().substr(1);return n&&t.types[n]||!1}function d(e,t){var n=["nginx","apache",void 0,"iana"];Object.keys(r).forEach((function(i){var o=r[i],a=o.extensions;if(a&&a.length){e[i]=a;for(var s=0;s<a.length;s++){var l=a[s];if(t[l]){var u=n.indexOf(r[t[l]].source),c=n.indexOf(o.source);if("application/octet-stream"!==t[l]&&(u>c||u===c&&"application/"===t[l].substr(0,12)))continue}t[l]=i}}}))}t.charset=s,t.charsets={lookup:s},t.contentType=l,t.extension=u,t.extensions=Object.create(null),t.lookup=c,t.types=Object.create(null),d(t.extensions,t.types)},ea9f:function(e,t){function n(e){const t=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],n=["matrix","float","color","point","normal","vector"],r=["while","for","if","do","return","else","break","extern","continue"],i={match:[/(surface|displacement|light|volume|imager)/,/\s+/,e.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:r,built_in:t,type:n},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},i,{beginKeywords:"illuminate illuminance gather",end:"\\("}]}}e.exports=n},eaa5:function(e,t,n){(function(t,r){e.exports=r(n("d361"))})(0,(function(e){return function(){if("function"==typeof ArrayBuffer){var t=e,n=t.lib,r=n.WordArray,i=r.init,o=r.init=function(e){if(e instanceof ArrayBuffer&&(e=new Uint8Array(e)),(e instanceof Int8Array||"undefined"!==typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)&&(e=new Uint8Array(e.buffer,e.byteOffset,e.byteLength)),e instanceof Uint8Array){for(var t=e.byteLength,n=[],r=0;r<t;r++)n[r>>>2]|=e[r]<<24-r%4*8;i.call(this,n,t)}else i.apply(this,arguments)};o.prototype=r}}(),e.lib.WordArray}))},eab4:function(e,t){function n(e){const t=e.regex,n={className:"params",begin:"\\(",end:"\\)"},r=/(_[a-z_\d]+)?/,i=/([de][+-]?\d+)?/,o={className:"number",variants:[{begin:t.concat(/\b\d+/,/\.(\d*)/,i,r)},{begin:t.concat(/\b\d+/,i,r)},{begin:t.concat(/\.\d+/,i,r)}],relevance:0},a={literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protec
|
|||
|
/*!
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/
|
|||
|
var r=n("10ab"),i=n("ba37"),o=n("1619");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,n,r):"string"===typeof t?f(e,t,n):v(e,t)}function d(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t,n,r){return d(t),t<=0?l(e,t):void 0!==n?"string"===typeof r?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}function h(e,t){if(d(t),e=l(e,t<0?0:0|b(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(t,n);e=l(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function m(e,t){var n=t.length<0?0:0|b(t.length);e=l(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function g(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}function v(e,t){if(u.isBuffer(t)){var n=0|b(t.length);return e=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function b(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(e).length;default:if(r)return Q(e).length;t=(""+t).toLowerCase(),r=!0}}function E(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===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":return F(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return N(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function S(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function w(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(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}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(t,r)),u.isBuffer(t))retu
|
|||
|
/*!
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/function i(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,o=Math.min(n,r);i<o;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0}function o(e){return t.Buffer&&"function"===typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=e("util/"),s=Object.prototype.hasOwnProperty,l=Array.prototype.slice,u=function(){return"foo"===function(){}.name}();function c(e){return Object.prototype.toString.call(e)}function d(e){return!o(e)&&("function"===typeof t.ArrayBuffer&&("function"===typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var p=n.exports=y,h=/\s*function\s+([^\(\s]*)\s*/;function f(e){if(a.isFunction(e)){if(u)return e.name;var t=e.toString(),n=t.match(h);return n&&n[1]}}function m(e,t){return"string"===typeof e?e.length<t?e:e.slice(0,t):e}function g(e){if(u||!a.isFunction(e))return a.inspect(e);var t=f(e),n=t?": "+t:"";return"[Function"+n+"]"}function v(e){return m(g(e.actual),128)+" "+e.operator+" "+m(g(e.expected),128)}function b(e,t,n,r,i){throw new p.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function y(e,t){e||b(e,!0,t,"==",p.ok)}function _(e,t,n,r){if(e===t)return!0;if(o(e)&&o(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"===typeof e||null!==t&&"object"===typeof t){if(d(e)&&d(t)&&c(e)===c(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(o(e)!==o(t))return!1;r=r||{actual:[],expected:[]};var s=r.actual.indexOf(e);return-1!==s&&s===r.expected.indexOf(t)||(r.actual.push(e),r.expected.push(t),S(e,t,n,r))}return n?e===t:e==t}function E(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function S(e,t,n,r){if(null===e||void 0===e||null===t||void 0===t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(n&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=E(e),o=E(t);if(i&&!o||!i&&o)return!1;if(i)return e=l.call(e),t=l.call(t),_(e,t,n);var s,u,c=A(e),d=A(t);if(c.length!==d.length)return!1;for(c.sort(),d.sort(),u=c.length-1;u>=0;u--)if(c[u]!==d[u])return!1;for(u=c.length-1;u>=0;u--)if(s=c[u],!_(e[s],t[s],n,r))return!1;return!0}function w(e,t,n){_(e,t,!0)&&b(e,t,n,"notDeepStrictEqual",w)}function x(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(n){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function C(e){var t;try{e()}catch(n){t=n}return t}function D(e,t,n,r){var i;if("function"!==typeof t)throw new TypeError('"block" argument must be a function');"string"===typeof n&&(r=n,n=null),i=C(t),r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&b(i,n,"Missing expected exception"+r);var o="string"===typeof r,s=!e&&a.isError(i),l=!e&&i&&!n;if((s&&o&&x(i,n)||l)&&b(i,n,"Got unwanted exception"+r),e&&i&&n&&!x(i,n)||!e&&i)throw i}function T(e,t){e||b(e,!0,t,"==",T)}p.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=v(this),this.generatedMessage=!0);var t=e.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var r=n.stack,i=f(t),o=r.indexOf("\n"+i);if(o>=0){var a=r.indexOf("\n",o+1);r=r.substring(a+1)}this.stack=r}}},a.inherits(p.AssertionError,Error),p.fail=b,p.ok=y,p.equal=function(e,t,n){e!=t&&b(e,t,n,"==",p.equal)},p.notEqual=function(e,t,n){e==t&&b(e,t,n,"!=",p.notEqual)},p.deepEqual=function(e,t,n){_(e,t,!1)||b(e,t,n,"deepEqual",p.deepEqual)},p.deepStrictEqual=function(e,t,n){_(e,t,!0)||b(e,t,n,"deepStrictEqual",p.deepStrictEqual)},p.notDeepEqual=function(e,t,n){_(e,t,!1)&&b(e,t,n,"notDeepEqual",p.notDeepEqual)},p.notDeepStrictEqual=w,p.st
|
|||
|
/*!
|
|||
|
* Bowser - a browser detector
|
|||
|
* https://github.com/ded/bowser
|
|||
|
* MIT License | (c) Dustin Diaz 2015
|
|||
|
*/
|
|||
|
!function(t,r,i){"undefined"!=typeof n&&n.exports?n.exports=i():"function"==typeof e&&e.amd?e(r,i):t[r]=i()}(this,"bowser",(function(){var e=!0;function t(t){function n(e){var n=t.match(e);return n&&n.length>1&&n[1]||""}function r(e){var n=t.match(e);return n&&n.length>1&&n[2]||""}var i,a=n(/(ipod|iphone|ipad)/i).toLowerCase(),s=/like android/i.test(t),l=!s&&/android/i.test(t),u=/nexus\s*[0-6]\s*/i.test(t),c=!u&&/nexus\s*[0-9]+/i.test(t),d=/CrOS/.test(t),p=/silk/i.test(t),h=/sailfish/i.test(t),f=/tizen/i.test(t),m=/(web|hpw)(o|0)s/i.test(t),g=/windows phone/i.test(t),v=(/SamsungBrowser/i.test(t),!g&&/windows/i.test(t)),b=!a&&!p&&/macintosh/i.test(t),y=!l&&!h&&!f&&!m&&/linux/i.test(t),_=r(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),E=n(/version\/(\d+(\.\d+)?)/i),S=/tablet/i.test(t)&&!/tablet pc/i.test(t),w=!S&&/[^-]mobi/i.test(t),x=/xbox/i.test(t);function C(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}}/opera/i.test(t)?i={name:"Opera",opera:e,version:E||n(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(t)?i={name:"Opera",opera:e,version:n(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||E}:/SamsungBrowser/i.test(t)?i={name:"Samsung Internet for Android",samsungBrowser:e,version:E||n(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(t)?i={name:"NAVER Whale browser",whale:e,version:n(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(t)?i={name:"MZ Browser",mzbrowser:e,version:n(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(t)?i={name:"Opera Coast",coast:e,version:E||n(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(t)?i={name:"Focus",focus:e,version:n(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(t)?i={name:"Yandex Browser",yandexbrowser:e,version:E||n(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(t)?i={name:"UC Browser",ucbrowser:e,version:n(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(t)?i={name:"Maxthon",maxthon:e,version:n(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(t)?i={name:"Epiphany",epiphany:e,version:n(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(t)?i={name:"Puffin",puffin:e,version:n(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(t)?i={name:"Sleipnir",sleipnir:e,version:n(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(t)?i={name:"K-Meleon",kMeleon:e,version:n(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:g?(i={name:"Windows Phone",osname:"Windows Phone",windowsphone:e},_?(i.msedge=e,i.version=_):(i.msie=e,i.version=n(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(t)?i={name:"Internet Explorer",msie:e,version:n(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:d?i={name:"Chrome",osname:"Chrome OS",chromeos:e,chromeBook:e,chrome:e,version:n(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(t)?i={name:"Microsoft Edge",msedge:e,version:_}:/vivaldi/i.test(t)?i={name:"Vivaldi",vivaldi:e,version:n(/vivaldi\/(\d+(\.\d+)?)/i)||E}:h?i={name:"Sailfish",osname:"Sailfish OS",sailfish:e,version:n(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(t)?i={name:"SeaMonkey",seamonkey:e,version:n(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(t)?(i={name:"Firefox",firefox:e,version:n(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(t)&&(i.firefoxos=e,i.osname="Firefox OS")):p?i={name:"Amazon Silk",silk:e,version:n(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(t)?i={name:"PhantomJS",phantom:e,version:n(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(t)?i={name:"SlimerJS",slimer:e,version:n(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(t)||/rim\stablet/i.test(t)?i={name:"BlackBerry",osname:"BlackBerry OS",blackberry:e,version:E||n(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:m?(i={name:"WebOS",osname:"WebOS",webos:e,version:E||n(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(t)&&(i.touchpad=e)):/bada/i.test(t)?i={name:"Bada",osname:"Bada",bada:e,version:n(/dolfin\/(\d+(\.\d+)
|
|||
|
/*!
|
|||
|
* The buffer module from node.js, for the browser.
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <http://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/
|
|||
|
"use strict";var n=e("base64-js"),i=e("ieee754"),o=e("isarray");function a(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"===typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(t){return!1}}function s(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(s()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=u.prototype):(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,n){if(!u.TYPED_ARRAY_SUPPORT&&!(this instanceof u))return new u(e,t,n);if("number"===typeof e){if("string"===typeof t)throw new Error("If encoding is specified then the first argument must be a string");return h(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"===typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!==typeof ArrayBuffer&&t instanceof ArrayBuffer?g(e,t,n,r):"string"===typeof t?f(e,t,n):v(e,t)}function d(e){if("number"!==typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function p(e,t,n,r){return d(t),t<=0?l(e,t):void 0!==n?"string"===typeof r?l(e,t).fill(n,r):l(e,t).fill(n):l(e,t)}function h(e,t){if(d(t),e=l(e,t<0?0:0|b(t)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t,n){if("string"===typeof n&&""!==n||(n="utf8"),!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|_(t,n);e=l(e,r);var i=e.write(t,n);return i!==r&&(e=e.slice(0,i)),e}function m(e,t){var n=t.length<0?0:0|b(t.length);e=l(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function g(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),u.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=u.prototype):e=m(e,t),e}function v(e,t){if(u.isBuffer(t)){var n=0|b(t.length);return e=l(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if("undefined"!==typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!==typeof t.length||te(t.length)?l(e,0):m(e,t);if("Buffer"===t.type&&o(t.data))return m(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function b(e){if(e>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function y(e){return+e!=e&&(e=0),u.alloc(+e)}function _(e,t){if(u.isBuffer(e))return e.length;if("undefined"!==typeof ArrayBuffer&&"function"===typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!==typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return Q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return J(e).length;default:if(r)return Q(e).length;t=(""+t).toLowerCase(),r=!0}}function E(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===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":return F(this,t,n);case"utf8":case"utf-8":return I(this,t,n);case"ascii":return P(this,t,n);case"latin1":case"binary":return L(this,t,n);case"base64":return N(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return B(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function S(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function w(e,t,n,r,i){if(0===e.length)return-1;if("string"===typeof n?(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}else if(n<0){if(!i)return-1;n=0}if("string"===typeof t&&(t=u.from(
|
|||
|
/*!
|
|||
|
* copy-to - index.js
|
|||
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|||
|
* MIT Licensed
|
|||
|
*/
|
|||
|
"use strict";var r=Array.prototype.slice;function i(e,t){if(!(this instanceof i))return new i(e,t);this.src=e,this._withAccess=t}function o(e,t){return void 0===e[t]&&void 0===e.__lookupGetter__(t)&&void 0===e.__lookupSetter__(t)}t.exports=i,i.prototype.withAccess=function(e){return this._withAccess=!1!==e,this},i.prototype.pick=function(e){return Array.isArray(e)||(e=r.call(arguments)),e.length&&(this.keys=e),this},i.prototype.to=function(e){if(e=e||{},!this.src)return e;var t=this.keys||Object.keys(this.src);if(!this._withAccess){for(var n=0;n<t.length;n++)r=t[n],void 0===e[r]&&(e[r]=this.src[r]);return e}for(n=0;n<t.length;n++){var r=t[n];if(o(e,r)){var i=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])}}return e},i.prototype.toCover=function(e){for(var t=this.keys||Object.keys(this.src),n=0;n<t.length;n++){var r=t[n];delete e[r];var i=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){var t={};return this.to(t),this.src=e,this.to(t),this.src=t,this}},{}],89:[function(e,t,n){t.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},{}],90:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},{"../internals/is-object":162}],91:[function(e,t,n){var r=e("../internals/well-known-symbol"),i=e("../internals/object-create"),o=e("../internals/object-define-property"),a=r("unscopables"),s=Array.prototype;void 0==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";var r=e("../internals/string-multibyte").charAt;t.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},{"../internals/string-multibyte":213}],93:[function(e,t,n){t.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},{}],94:[function(e,t,n){var r=e("../internals/is-object");t.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},{"../internals/is-object":162}],95:[function(e,t,n){t.exports="undefined"!==typeof ArrayBuffer&&"undefined"!==typeof DataView},{}],96:[function(e,t,n){"use strict";var r,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,D=C.isPrototypeOf,T=v("toStringTag"),A=b("TYPED_ARRAY_TAG"),k=b("TYPED_ARRAY_CONSTRUCTOR"),O=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;var t=d(e);return"DataView"===t||c(I,t)||c(M,t)},P=function(e){if(!u(e))return!1;var t=d(e);return c(I,t)||c(M,t)},L=function(e){if(P(e))return e;throw TypeError("Target is not a typed array")},F=function(e){if(g&&!D.call(w,e))throw TypeError("Target is not a typed array constructor");return e},B=function(e,t,n){if(s){if(n)for(var r in I){var i=l[r];if(i&&c(i.prototype,e))try{delete i.prototype[e]}catch(o){}}x[e]&&!n||h(x,e,n?t:O&&_[e]||t)}},j=function(e,t,n){var r,i;if(s){if(g){if(n)for(r in I)if(i=l[r],i&&c(i,e))try{delete i[e]}catch(o){}if(w[e]&&!n)return;try{return h(w,e,n?t:O&&w[e]||t)}catch(o){}}for(r in I)i=l[r],!i||i[e]&&!n||
|
|||
|
/*!
|
|||
|
* escape-html
|
|||
|
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|||
|
* Copyright(c) 2015 Andreas Lubbe
|
|||
|
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|||
|
* MIT Licensed
|
|||
|
*/
|
|||
|
"use strict";var r=/["'&<>]/;function i(e){var t,n=""+e,i=r.exec(n);if(!i)return n;var o="",a=0,s=0;for(a=i.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t=""";break;case 38:t="&";break;case 39:t="'";break;case 60:t="<";break;case 62:t=">";break;default:continue}s!==a&&(o+=n.substring(s,a)),s=a+1,o+=t}return s!==a?o+n.substring(s,a):o}t.exports=i},{}],301:[function(e,t,n){function r(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function i(e){return"function"===typeof e}function o(e){return"number"===typeof e}function a(e){return"object"===typeof e&&null!==e}function s(e){return void 0===e}t.exports=r,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._maxListeners=void 0,r.defaultMaxListeners=10,r.prototype.setMaxListeners=function(e){if(!o(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},r.prototype.emit=function(e){var t,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],t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}if(n=this._events[e],s(n))return!1;if(i(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:o=Array.prototype.slice.call(arguments,1),n.apply(this,o)}else if(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){var n;if(!i(t))throw TypeError("listener must be a function");return this._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"===typeof console.trace&&console.trace())),this},r.prototype.on=r.prototype.addListener,r.prototype.once=function(e,t){if(!i(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},r.prototype.removeListener=function(e,t){var n,r,o,s;if(!i(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(n=this._events[e],o=n.length,r=-1,n===t||i(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(a(n)){for(s=o;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){r=s;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},r.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],i(n))this.removeListener(e,n);else if(n)while(n.length)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},r.prototype.listeners=function(e){var t;return t=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){var t=this._events[e];if(i(t))return 1;if(t)return t.length}return 0},r.listenerCount=function(e,t){return e.listenerCount(t)}},{}],302:[function(e,t,n){var r=e("http"),i=t.exports;for(var o in r)r.hasOwnProperty(o)&&(i[o]=r[o]);i.request=function(e,t){return
|
|||
|
/*!
|
|||
|
* humanize-ms - index.js
|
|||
|
* Copyright(c) 2014 dead_horse <dead_horse@qq.com>
|
|||
|
* MIT Licensed
|
|||
|
*/
|
|||
|
"use strict";var r=e("util"),i=e("ms");t.exports=function(e){if("number"===typeof e)return e;var t=i(e);if(void 0===t){var n=new Error(r.format("humanize-ms(%j) result undefined",e));console.warn(n.stack)}return t}},{ms:319,util:352}],304:[function(e,t,n){
|
|||
|
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|||
|
n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,l=(1<<s)-1,u=l>>1,c=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=p,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+d],d+=p,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=u}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,p=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+d>=1?p/l:p*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[n+h]=255&a,h+=f,a/=256,u-=8);e[n+h-f]|=128*m}},{}],305:[function(e,t,n){"use strict";var r,i,o,a=[e("./nextTick"),e("./queueMicrotask"),e("./mutation.js"),e("./messageChannel"),e("./stateChange"),e("./timeout")],s=-1,l=[],u=!1;function c(){r&&i&&(r=!1,i.length?l=i.concat(l):s=-1,l.length&&d())}function d(){if(!r){u=!1,r=!0;var e=l.length,t=setTimeout(c);while(e){i=l,l=[];while(i&&++s<e)i[s].run();s=-1,e=l.length}i=null,s=-1,r=!1,clearTimeout(t)}}var p=-1,h=a.length;while(++p<h)if(a[p]&&a[p].test&&a[p].test()){o=a[p].install(d);break}function f(e,t){this.fun=e,this.array=t}function m(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),u||r||(u=!0,o())}f.prototype.run=function(){var e=this.fun,t=this.array;switch(t.length){case 0:return e();case 1:return e(t[0]);case 2:return e(t[0],t[1]);case 3:return e(t[0],t[1],t[2]);default:return e.apply(null,t)}},t.exports=m},{"./messageChannel":306,"./mutation.js":307,"./nextTick":84,"./queueMicrotask":308,"./stateChange":309,"./timeout":310}],306:[function(e,n,r){(function(e){(function(){"use strict";r.test=function(){return!e.setImmediate&&"undefined"!==typeof e.MessageChannel},r.install=function(t){var n=new e.MessageChannel;return n.port1.onmessage=t,function(){n.port2.postMessage(0)}}}).call(this)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],307:[function(e,n,r){(function(e){(function(){"use strict";var t=e.MutationObserver||e.WebKitMutationObserver;r.test=function(){return t},r.install=function(n){var r=0,i=new t(n),o=e.document.createTextNode("");return i.observe(o,{characterData:!0}),function(){o.data=r=++r%2}}}).call(this)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],308:[function(e,n,r){(function(e){(function(){"use strict";r.test=function(){return"function"===typeof e.queueMicrotask},r.install=function(t){return function(){e.queueMicrotask(t)}}}).call(this)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],309:[function(e,n,r){(function(e){(function(){"use strict";r.test=function(){return"document"in e&&"onreadystatechange"in e.document.createElement("script")},r.install=function(t){return function(){var n=e.document.createElement("script");return n.onreadystatechange=function(){t(),n.onreadystatechange=null,n.parentNode.removeChild(n),n=null},e.document.documentElement.appendChild(n),t}}}).call(this)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],310:[function(e,t,n){"use strict";n.test=function(){return!0},n.install=function(e){return function(){setTimeout(e,0)}}},{}],311:[function(e,t,n){"function"===typeof Object.create?t.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},{}],312:[function(e,t,n){function r(e){return!!e.constructor&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}fun
|
|||
|
/*!
|
|||
|
* Determine if an object is a Buffer
|
|||
|
*
|
|||
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|||
|
* @license MIT
|
|||
|
*/
|
|||
|
t.exports=function(e){return null!=e&&(r(e)||i(e)||!!e._isBuffer)}},{}],313:[function(e,t,n){var r={}.toString;t.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},{}],314:[function(n,r,i){(function(t){(function(){(function(t,n){"object"===typeof i&&"undefined"!==typeof r?r.exports=n(t):"function"===typeof e&&e.amd?e(n):n(t)})("undefined"!==typeof self?self:"undefined"!==typeof window?window:"undefined"!==typeof t?t:this,(function(t){"use strict";t=t||{};var n,i=t.Base64,o="2.6.4",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=function(e){for(var t={},n=0,r=e.length;n<r;n++)t[e.charAt(n)]=n;return t}(a),l=String.fromCharCode,u=function(e){if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?l(192|t>>>6)+l(128|63&t):l(224|t>>>12&15)+l(128|t>>>6&63)+l(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return l(240|t>>>18&7)+l(128|t>>>12&63)+l(128|t>>>6&63)+l(128|63&t)},c=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,d=function(e){return e.replace(c,u)},p=function(e){var t=[0,2,1][e.length%3],n=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),r=[a.charAt(n>>>18),a.charAt(n>>>12&63),t>=2?"=":a.charAt(n>>>6&63),t>=1?"=":a.charAt(63&n)];return r.join("")},h=t.btoa&&"function"==typeof t.btoa?function(e){return t.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,p)},f=function(e){return h(d(String(e)))},m=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},g=function(e,t){return t?m(f(e)):f(e)},v=function(e){return g(e,!0)};t.Uint8Array&&(n=function(e,t){for(var n="",r=0,i=e.length;r<i;r+=3){var o=e[r],s=e[r+1],l=e[r+2],u=o<<16|s<<8|l;n+=a.charAt(u>>>18)+a.charAt(u>>>12&63)+("undefined"!=typeof s?a.charAt(u>>>6&63):"=")+("undefined"!=typeof l?a.charAt(63&u):"=")}return t?m(n):n});var b,y=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,_=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),n=t-65536;return l(55296+(n>>>10))+l(56320+(1023&n));case 3:return l((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return l((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},E=function(e){return e.replace(y,_)},S=function(e){var t=e.length,n=t%4,r=(t>0?s[e.charAt(0)]<<18:0)|(t>1?s[e.charAt(1)]<<12:0)|(t>2?s[e.charAt(2)]<<6:0)|(t>3?s[e.charAt(3)]:0),i=[l(r>>>16),l(r>>>8&255),l(255&r)];return i.length-=[0,0,2,1][n],i.join("")},w=t.atob&&"function"==typeof t.atob?function(e){return t.atob(e)}:function(e){return e.replace(/\S{1,4}/g,S)},x=function(e){return w(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},C=function(e){return E(w(e))},D=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},T=function(e){return C(D(e))};t.Uint8Array&&(b=function(e){return Uint8Array.from(x(D(e)),(function(e){return e.charCodeAt(0)}))});var A=function(){var e=t.Base64;return t.Base64=i,e};if(t.Base64={VERSION:o,atob:x,btoa:h,fromBase64:T,toBase64:g,utob:d,encode:g,encodeURI:v,btou:E,decode:T,noConflict:A,fromUint8Array:n,toUint8Array:b},"function"===typeof Object.defineProperty){var k=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};t.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",k((function(){return T(this)}))),Object.defineProperty(String.prototype,"toBase64",k((function(e){return g(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",k((function(){return g(this,!0)})))}}return t["Meteor"]&&(Base64=t.Base64),"undefined"!==typeof r&&r.exports?r.exports.Base64=t.Base64:"function"===typeof e&&e.amd&&e([],(function(){return t.Base64})),{Base64:t.Base64}}))}).call(this)}).call(this,"undefined"!==typeof t?t:"undefined"!==typeof self?self:"undefined"!==typeof window?window:{})},{}],315:[function(e,t,n){
|
|||
|
/*!
|
|||
|
* merge-descriptors
|
|||
|
* Copyright(c) 2014 Jonathan Ong
|
|||
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|||
|
* MIT Licensed
|
|||
|
*/
|
|||
|
"use strict";t.exports=i;var r=Object.prototype.hasOwnProperty;function i(e,t,n){if(!e)throw new TypeError("argument dest is required");if(!t)throw new TypeError("argument src is required");return void 0===n&&(n=!0),Object.getOwnPropertyNames(t).forEach((function(i){if(n||!r.call(e,i)){var o=Object.getOwnPropertyDescriptor(t,i);Object.defineProperty(e,i,o)}})),e}},{}],316:[function(e,t,n){"use strict";function r(){this._types=Object.create(null),this._extensions=Object.create(null);for(var e=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(var n in e){var r=e[n].map((function(e){return e.toLowerCase()}));n=n.toLowerCase();for(var i=0;i<r.length;i++){var o=r[i];if("*"!==o[0]){if(!t&&o in this._types)throw new Error('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]){var a=r[0];this._extensions[n]="*"!==a[0]?a:a.substr(1)}}},r.prototype.getType=function(e){e=String(e);var t=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){return e=/^\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";var r=e("./Mime");t.exports=new r(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) Sindre Sorhus
|
|||
|
@license MIT
|
|||
|
*/
|
|||
|
"use strict";var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function s(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==r.join(""))return!1;var i={};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(var n,s,l=a(e),u=1;u<arguments.length;u++){for(var c in n=Object(arguments[u]),n)i.call(n,c)&&(l[c]=n[c]);if(r){s=r(n);for(var d=0;d<s.length;d++)o.call(n,s[d])&&(l[s[d]]=n[s[d]])}}return l}},{}],321:[function(e,t,n){(function(e){(function(){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var i=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("..");return e}function r(e){"string"!==typeof e&&(e+="");var t,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)}function i(e,t){if(e.filter)return e.filter(t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}n.resolve=function(){for(var n="",r=!1,o=arguments.length-1;o>=-1&&!r;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!==typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,r="/"===a.charAt(0))}return n=t(i(n.split("/"),(function(e){return!!e})),!r).join("/"),(r?"/":"")+n||"."},n.normalize=function(e){var r=n.isAbsolute(e),a="/"===o(e,-1);return e=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(){var e=Array.prototype.slice.call(arguments,0);return n.normalize(i(e,(function(e,t){if("string"!==typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length;t++)if(""!==e[t])break;for(var n=e.length-1;n>=0;n--)if(""!==e[n])break;return t>n?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var i=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}var u=[];for(l=s;l<i.length;l++)u.push("..");return u=u.concat(o.slice(s)),u.join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){if("string"!==typeof e&&(e+=""),0===e.length)return".";for(var t=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}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},n.basename=function(e,t){var n=r(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){"string"!==typeof e&&(e+="");for(var t=-1,n=0,r=-1,i=!0,o=0,a=e.length-1;a>=0;--a){var s=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);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<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";var n={function:!0,object:!0},o=n[typeof window]&&window||this,a=n[typeof i]&&i,s=n[typeof r]&&r&&!r.nodeType&&r,l=a&&s&&"object"==typeof t&&t;!l||l.global!==l&&l.window!==l&&l.self!==l||(o=l);var u=Math.pow(2,53)-1,c=/\bOpera/,d=Object.prototype,p=d.hasOwnProperty,h=d.toString;function f(e){return e=String(e),e.charAt(0).toUpperCase()+e.slice(1)}function m(e,t,n){var r={"10.0":"10",6.4:"10 Technical Preview",6.3:"8.1",6.2:"8",6.1:"Server 2008 R2 / 7","6.0":"Server 2008 / Vista",5.2:"Server 2003 / XP 64-bit
|
|||
|
/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */D=n.STATE,String.fromCodePoint||function(){var e=String.fromCharCode,t=Math.floor,n=function(){var n,r,i=16384,o=[],a=-1,s=arguments.length;if(!s)return"";var l="";while(++a<s){var u=Number(arguments[a]);if(!isFinite(u)||u<0||u>1114111||t(u)!==u)throw RangeError("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)}return l};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:n,configurable:!0,writable:!0}):String.fromCodePoint=n}()})("undefined"===typeof n?this.sax={}:n)}).call(this)}).call(this,e("buffer").Buffer)},{buffer:85,stream:345,string_decoder:86}],345:[function(e,t,n){t.exports=o;var r=e("events").EventEmitter,i=e("inherits");function o(){r.call(this)}i(o,r),o.Readable=e("readable-stream/readable.js"),o.Writable=e("readable-stream/writable.js"),o.Duplex=e("readable-stream/duplex.js"),o.Transform=e("readable-stream/transform.js"),o.PassThrough=e("readable-stream/passthrough.js"),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(n.on("end",s),n.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"===typeof e.destroy&&e.destroy())}function u(e){if(c(),0===r.listenerCount(this,"error"))throw e}function c(){n.removeListener("data",i),e.removeListener("drain",o),n.removeListener("end",s),n.removeListener("close",l),n.removeListener("error",u),e.removeListener("error",u),n.removeListener("end",c),n.removeListener("close",c),e.removeListener("close",c)}return n.on("error",u),e.on("error",u),n.on("end",c),n.on("close",c),e.on("close",c),e.emit("pipe",n),e}},{events:301,inherits:311,"readable-stream/duplex.js":329,"readable-stream/passthrough.js":338,"readable-stream/readable.js":339,"readable-stream/transform.js":340,"readable-stream/writable.js":341}],346:[function(e,t,n){"use strict";var r=e("safe-buffer").Buffer,i=r.isEncoding||function(e){switch(e=""+e,e&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){if(!e)return"utf8";var t;while(1)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}function a(e){var t=o(e);if("string"!==typeof t&&(r.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}function s(e){var t;switch(this.encoding=a(e),this.encoding){case"utf16le":this.text=f,this.end=m,t=4;break;case"utf8":this.fillLast=d,t=4;break;case"base64":this.text=g,this.end=v,t=3;break;default:return this.write=b,void(this.end=y)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function l(e){return e<=127?0:e>>5===6?2:e>>4===14?3:e>>3===30?4:e>>6===2?-1:-2}function u(e,t,n){var r=t.length-1;if(r<n)return 0;var i=l(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||-2===i?0:(i=l(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||-2===i?0:(i=l(t[r]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0))}function c(e,t,n){if(128!==(192&t[0]))return e.lastNeed=0,"<22>";if(e.lastNeed>1&&t.length>1){if(128!==(192&t[1]))return e.lastNeed=1,"<22>";if(e.lastNeed>2&&t.length>2&&128!==(192&t[2]))return e.lastNeed=2,"<22>"}}function d(e){var t=this.lastTotal-this.lastNeed,n=c(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function p(e,t){var n=u(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)}function h(e){var t=e&&e.length?this.writ
|
|||
|
/*!
|
|||
|
* Vue.js v2.7.14
|
|||
|
* (c) 2014-2022 Evan You
|
|||
|
* Released under the MIT License.
|
|||
|
*/
|
|||
|
var r=Object.freeze({}),i=Array.isArray;function o(e){return void 0===e||null===e}function a(e){return void 0!==e&&null!==e}function s(e){return!0===e}function l(e){return!1===e}function u(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function c(e){return"function"===typeof e}function d(e){return null!==e&&"object"===typeof e}var p=Object.prototype.toString;function h(e){return"[object Object]"===p.call(e)}function f(e){return"[object RegExp]"===p.call(e)}function m(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function g(e){return a(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||h(e)&&e.toString===p?JSON.stringify(e,null,2):String(e)}function b(e){var t=parseFloat(e);return isNaN(t)?e:t}function y(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}y("slot,component",!0);var _=y("key,ref,slot,slot-scope,is");function E(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var S=Object.prototype.hasOwnProperty;function w(e,t){return S.call(e,t)}function x(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}var C=/-(\w)/g,D=x((function(e){return e.replace(C,(function(e,t){return t?t.toUpperCase():""}))})),T=x((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),A=/\B([A-Z])/g,k=x((function(e){return e.replace(A,"-$1").toLowerCase()}));function O(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function N(e,t){return e.bind(t)}var I=Function.prototype.bind?N:O;function M(e,t){t=t||0;var n=e.length-t,r=new Array(n);while(n--)r[n]=e[n+t];return r}function R(e,t){for(var n in t)e[n]=t[n];return e}function P(e){for(var t={},n=0;n<e.length;n++)e[n]&&R(t,e[n]);return t}function L(e,t,n){}var F=function(e,t,n){return!1},B=function(e){return e};function j(e,t){if(e===t)return!0;var n=d(e),r=d(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),o=Array.isArray(t);if(i&&o)return e.length===t.length&&e.every((function(e,n){return j(e,t[n])}));if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||o)return!1;var a=Object.keys(e),s=Object.keys(t);return a.length===s.length&&a.every((function(n){return j(e[n],t[n])}))}catch(l){return!1}}function U(e,t){for(var n=0;n<e.length;n++)if(j(e[n],t))return n;return-1}function q(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function z(e,t){return e===t?0===e&&1/e!==1/t:e===e||t===t}var H="data-server-rendered",$=["component","directive","filter"],G=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],V={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:F,isReservedAttr:F,isUnknownElement:F,getTagNamespace:L,parsePlatformTagName:B,mustUseProp:F,async:!0,_lifecycleHooks:G},Y=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function W(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function K(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Q=new RegExp("[^".concat(Y.source,".$_\\d]"));function X(e){if(!Q.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}var Z="__proto__"in{},J="undefined"!==typeof window,ee=J&&window.navigator.userAgent.toLowerCase(),te=ee&&/msie|trident/.test(ee),ne=ee&&ee.indexOf("msie 9.0")>0,re=ee&&ee.indexOf("edge/")>0;ee&&ee.indexOf("android");var ie=ee&&/iphone|ipad|ipod|ios/.test(ee);ee&&/chrome\/\d+/.test
|