/** * [js-md5]{@link https://github.com/emn178/js-md5} * * @namespace md5 * @version 0.8.3 * @author Chen, Yi-Cyuan [emn178@gmail.com] * @copyright Chen, Yi-Cyuan 2014-2023 * @license MIT */ !function(){"use strict";var r,a="input is invalid type",t="object"==typeof window?window:{},e="undefined"!=typeof WorkerGlobalScope&&!!WorkerGlobalScope,i="object"==typeof process&&process.versions&&process.versions.node,e=(i?t=global:e&&(t=self),"object"==typeof module&&module.exports),s="function"==typeof define&&define.amd,u=ArrayBuffer,h="0123456789abcdef".split(""),n=[128,32768,8388608,-2147483648],o=["hex","array","digest","buffer","arrayBuffer","base64"],f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),y=Array.isArray,c=u.isView,p=[];function d(t){t?(p[0]=p[16]=p[1]=p[2]=p[3]=p[4]=p[5]=p[6]=p[7]=p[8]=p[9]=p[10]=p[11]=p[12]=p[13]=p[14]=p[15]=0,this.blocks=p,this.buffer8=r):(t=new u(68),this.buffer8=new Uint8Array(t),this.blocks=new Uint32Array(t)),this.h0=this.h1=this.h2=this.h3=this.start=this.bytes=this.hBytes=0,this.finalized=this.hashed=!1,this.first=!0}function l(r){return function(t){return new d(!0).update(t)[r]()}}A=new u(68),r=new Uint8Array(A),p=new Uint32Array(A),d.prototype.update=function(t){if(this.finalized)throw new Error("finalize already called");for(var r,e,i=function(t){var r=typeof t;if("string"==r)return[t,!0];if("object"==r&&null!==t){if(t.constructor===u)return[new Uint8Array(t),!1];if(y(t)||c(t))return[t,!1]}throw new Error(a)}(t),s=(t=i[0],i[1]),h=0,n=t.length,o=this.blocks,f=this.buffer8;h>>6:(r<55296||57344<=r?f[e++]=224|r>>>12:(r=65536+((1023&r)<<10|1023&t.charCodeAt(++h)),f[e++]=240|r>>>18,f[e++]=128|r>>>12&63),f[e++]=128|r>>>6&63),f[e++]=128|63&r);else for(e=this.start;h>>2]|=n[3&r],56<=r&&(this.hashed||this.hash(),t[0]=t[16],t[16]=t[1]=t[2]=t[3]=t[4]=t[5]=t[6]=t[7]=t[8]=t[9]=t[10]=t[11]=t[12]=t[13]=t[14]=t[15]=0),t[14]=this.bytes<<3,t[15]=this.hBytes<<3|this.bytes>>>29,this.hash())},d.prototype.hash=function(){var t,r,e,i,s,h=this.blocks,n=this.first?((n=((t=((t=h[0]-680876937)<<7|t>>>25)-271733879<<0)^(r=((r=(-271733879^(e=((e=(-1732584194^2004318071&t)+h[1]-117830708)<<12|e>>>20)+t<<0)&(-271733879^t))+h[2]-1126478375)<<17|r>>>15)+e<<0)&(e^t))+h[3]-1316259209)<<22|n>>>10)+r<<0:(t=this.h0,n=this.h1,r=this.h2,((n+=((t=((t+=((e=this.h3)^n&(r^e))+h[0]-680876936)<<7|t>>>25)+n<<0)^(r=((r+=(n^(e=((e+=(r^t&(n^r))+h[1]-389564586)<<12|e>>>20)+t<<0)&(t^n))+h[2]+606105819)<<17|r>>>15)+e<<0)&(e^t))+h[3]-1044525330)<<22|n>>>10)+r<<0),n=((n+=((t=((t+=(e^n&(r^e))+h[4]-176418897)<<7|t>>>25)+n<<0)^(r=((r+=(n^(e=((e+=(r^t&(n^r))+h[5]+1200080426)<<12|e>>>20)+t<<0)&(t^n))+h[6]-1473231341)<<17|r>>>15)+e<<0)&(e^t))+h[7]-45705983)<<22|n>>>10)+r<<0;n=((n+=((t=((t+=(e^n&(r^e))+h[8]+1770035416)<<7|t>>>25)+n<<0)^(r=((r+=(n^(e=((e+=(r^t&(n^r))+h[9]-1958414417)<<12|e>>>20)+t<<0)&(t^n))+h[10]-42063)<<17|r>>>15)+e<<0)&(e^t))+h[11]-1990404162)<<22|n>>>10)+r<<0,n=((n+=((t=((t+=(e^n&(r^e))+h[12]+1804603682)<<7|t>>>25)+n<<0)^(r=((r+=(n^(e=((e+=(r^t&(n^r))+h[13]-40341101)<<12|e>>>20)+t<<0)&(t^n))+h[14]-1502002290)<<17|r>>>15)+e<<0)&(e^t))+h[15]+1236535329)<<22|n>>>10)+r<<0,n=((n+=((e=((e+=(n^r&((t=((t+=(r^e&(n^r))+h[1]-165796510)<<5|t>>>27)+n<<0)^n))+h[6]-1069501632)<<9|e>>>23)+t<<0)^t&((r=((r+=(t^n&(e^t))+h[11]+643717713)<<14|r>>>18)+e<<0)^e))+h[0]-373897302)<<20|n>>>12)+r<<0,n=((n+=((e=((e+=(n^r&((t=((t+=(r^e&(n^r))+h[5]-701558691)<<5|t>>>27)+n<<0)^n))+h[10]+38016083)<<9|e>>>23)+t<<0)^t&((r=((r+=(t^n&(e^t))+h[15]-660478335)<<14|r>>>18)+e<<0)^e))+h[4]-405537848)<<20|n>>>12)+r<<0,n=((n+=((e=((e+=(n^r&((t=((t+=(r^e&(n^r))+h[9]+568446438)<<5|t>>>27)+n<<0)^n))+h[14]-1019803690)<<9|e>>>23)+t<<0)^t&((r=((r+=(t^n&(e^t))+h[3]-187363961)<<14|r>>>18)+e<<0)^e))+h[8]+1163531501)<<20|n>>>12)+r<<0,n=((n+=((e=((e+=(n^r&((t=((t+=(r^e&(n^r))+h[13]-1444681467)<<5|t>>>27)+n<<0)^n))+h[2]-51403784)<<9|e>>>23)+t<<0)^t&((r=((r+=(t^n&(e^t))+h[7]+1735328473)<<14|r>>>18)+e<<0)^e))+h[12]-1926607734)<<20|n>>>12)+r<<0,n=((n+=((s=(e=((e+=((i=n^r)^(t=((t+=(i^e)+h[5]-378558)<<4|t>>>28)+n<<0))+h[8]-2022574463)<<11|e>>>21)+t<<0)^t)^(r=((r+=(s^n)+h[11]+1839030562)<<16|r>>>16)+e<<0))+h[14]-35309556)<<23|n>>>9)+r<<0,n=((n+=((s=(e=((e+=((i=n^r)^(t=((t+=(i^e)+h[1]-1530992060)<<4|t>>>28)+n<<0))+h[4]+1272893353)<<11|e>>>21)+t<<0)^t)^(r=((r+=(s^n)+h[7]-155497632)<<16|r>>>16)+e<<0))+h[10]-1094730640)<<23|n>>>9)+r<<0,n=((n+=((s=(e=((e+=((i=n^r)^(t=((t+=(i^e)+h[13]+681279174)<<4|t>>>28)+n<<0))+h[0]-358537222)<<11|e>>>21)+t<<0)^t)^(r=((r+=(s^n)+h[3]-722521979)<<16|r>>>16)+e<<0))+h[6]+76029189)<<23|n>>>9)+r<<0,n=((n+=((s=(e=((e+=((i=n^r)^(t=((t+=(i^e)+h[9]-640364487)<<4|t>>>28)+n<<0))+h[12]-421815835)<<11|e>>>21)+t<<0)^t)^(r=((r+=(s^n)+h[15]+530742520)<<16|r>>>16)+e<<0))+h[2]-995338651)<<23|n>>>9)+r<<0,n=((n+=((e=((e+=(n^((t=((t+=(r^(n|~e))+h[0]-198630844)<<6|t>>>26)+n<<0)|~r))+h[7]+1126891415)<<10|e>>>22)+t<<0)^((r=((r+=(t^(e|~n))+h[14]-1416354905)<<15|r>>>17)+e<<0)|~t))+h[5]-57434055)<<21|n>>>11)+r<<0,n=((n+=((e=((e+=(n^((t=((t+=(r^(n|~e))+h[12]+1700485571)<<6|t>>>26)+n<<0)|~r))+h[3]-1894986606)<<10|e>>>22)+t<<0)^((r=((r+=(t^(e|~n))+h[10]-1051523)<<15|r>>>17)+e<<0)|~t))+h[1]-2054922799)<<21|n>>>11)+r<<0,n=((n+=((e=((e+=(n^((t=((t+=(r^(n|~e))+h[8]+1873313359)<<6|t>>>26)+n<<0)|~r))+h[15]-30611744)<<10|e>>>22)+t<<0)^((r=((r+=(t^(e|~n))+h[6]-1560198380)<<15|r>>>17)+e<<0)|~t))+h[13]+1309151649)<<21|n>>>11)+r<<0,n=((n+=((e=((e+=(n^((t=((t+=(r^(n|~e))+h[4]-145523070)<<6|t>>>26)+n<<0)|~r))+h[11]-1120210379)<<10|e>>>22)+t<<0)^((r=((r+=(t^(e|~n))+h[2]+718787259)<<15|r>>>17)+e<<0)|~t))+h[9]-343485551)<<21|n>>>11)+r<<0,this.first?(this.h0=t+1732584193<<0,this.h1=n-271733879<<0,this.h2=r-1732584194<<0,this.h3=e+271733878<<0,this.first=!1):(this.h0=this.h0+t<<0,this.h1=this.h1+n<<0,this.h2=this.h2+r<<0,this.h3=this.h3+e<<0)},d.prototype.toString=d.prototype.hex=function(){this.finalize();var t=this.h0,r=this.h1,e=this.h2,i=this.h3;return h[t>>>4&15]+h[15&t]+h[t>>>12&15]+h[t>>>8&15]+h[t>>>20&15]+h[t>>>16&15]+h[t>>>28&15]+h[t>>>24&15]+h[r>>>4&15]+h[15&r]+h[r>>>12&15]+h[r>>>8&15]+h[r>>>20&15]+h[r>>>16&15]+h[r>>>28&15]+h[r>>>24&15]+h[e>>>4&15]+h[15&e]+h[e>>>12&15]+h[e>>>8&15]+h[e>>>20&15]+h[e>>>16&15]+h[e>>>28&15]+h[e>>>24&15]+h[i>>>4&15]+h[15&i]+h[i>>>12&15]+h[i>>>8&15]+h[i>>>20&15]+h[i>>>16&15]+h[i>>>28&15]+h[i>>>24&15]},d.prototype.array=d.prototype.digest=function(){this.finalize();var t=this.h0,r=this.h1,e=this.h2,i=this.h3;return[255&t,t>>>8&255,t>>>16&255,t>>>24&255,255&r,r>>>8&255,r>>>16&255,r>>>24&255,255&e,e>>>8&255,e>>>16&255,e>>>24&255,255&i,i>>>8&255,i>>>16&255,i>>>24&255]},d.prototype.buffer=d.prototype.arrayBuffer=function(){this.finalize();var t=new ArrayBuffer(16),r=new Uint32Array(t);return r[0]=this.h0,r[1]=this.h1,r[2]=this.h2,r[3]=this.h3,t},d.prototype.base64=function(){for(var t,r,e,i="",s=this.array(),h=0;h<15;)t=s[h++],r=s[h++],e=s[h++],i+=f[t>>>2]+f[63&(t<<4|r>>>4)]+f[63&(r<<2|e>>>6)]+f[63&e];return t=s[h],i+(f[t>>>2]+f[t<<4&63]+"==")};var b,w,v,B,A=i?{crypto:require("crypto"),Buffer:require("buffer").Buffer,bufferFrom:Buffer.from||function(t){return new Buffer(t)}}:{},m=l("hex");i&&(b=m,{crypto:w,Buffer:v,bufferFrom:B}=A,m=function(t){if(null==t)throw new Error(a);return"string"==typeof t?w.createHash("md5").update(t,"utf8").digest("hex"):(t.constructor===u&&(t=new Uint8Array(t)),y(t)||c(t)||t.constructor===v?w.createHash("md5").update(B(t)).digest("hex"):b(t))}),m.create=function(){return new d},m.update=function(t){return m.create().update(t)};for(var g=0;g