ccommand 1.0.50 → 1.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +16 -57
- package/dist/index.js +16 -57
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1,63 +1,22 @@
|
|
|
1
|
-
"use strict";var Bs=Object.create;var Fr=Object.defineProperty;var Os=Object.getOwnPropertyDescriptor;var Rs=Object.getOwnPropertyNames;var qs=Object.getPrototypeOf,Ps=Object.prototype.hasOwnProperty;var T=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Fs=(e,t,u,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rs(t))!Ps.call(e,n)&&n!==u&&Fr(e,n,{get:()=>t[n],enumerable:!(r=Os(t,n))||r.enumerable});return e};var N=(e,t,u)=>(u=e!=null?Bs(qs(e)):{},Fs(t||!e||!e.__esModule?Fr(u,"default",{value:e,enumerable:!0}):u,e));var on=T((sn,an)=>{"use strict";(function(e){if(typeof sn=="object")an.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t;try{t=window}catch{t=self}t.SparkMD5=e()}})(function(e){"use strict";var t=function(m,x){return m+x&4294967295},u=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function r(m,x,p,f,h,d){return x=t(t(x,m),t(f,d)),t(x<<h|x>>>32-h,p)}function n(m,x){var p=m[0],f=m[1],h=m[2],d=m[3];p+=(f&h|~f&d)+x[0]-680876936|0,p=(p<<7|p>>>25)+f|0,d+=(p&f|~p&h)+x[1]-389564586|0,d=(d<<12|d>>>20)+p|0,h+=(d&p|~d&f)+x[2]+606105819|0,h=(h<<17|h>>>15)+d|0,f+=(h&d|~h&p)+x[3]-1044525330|0,f=(f<<22|f>>>10)+h|0,p+=(f&h|~f&d)+x[4]-176418897|0,p=(p<<7|p>>>25)+f|0,d+=(p&f|~p&h)+x[5]+1200080426|0,d=(d<<12|d>>>20)+p|0,h+=(d&p|~d&f)+x[6]-1473231341|0,h=(h<<17|h>>>15)+d|0,f+=(h&d|~h&p)+x[7]-45705983|0,f=(f<<22|f>>>10)+h|0,p+=(f&h|~f&d)+x[8]+1770035416|0,p=(p<<7|p>>>25)+f|0,d+=(p&f|~p&h)+x[9]-1958414417|0,d=(d<<12|d>>>20)+p|0,h+=(d&p|~d&f)+x[10]-42063|0,h=(h<<17|h>>>15)+d|0,f+=(h&d|~h&p)+x[11]-1990404162|0,f=(f<<22|f>>>10)+h|0,p+=(f&h|~f&d)+x[12]+1804603682|0,p=(p<<7|p>>>25)+f|0,d+=(p&f|~p&h)+x[13]-40341101|0,d=(d<<12|d>>>20)+p|0,h+=(d&p|~d&f)+x[14]-1502002290|0,h=(h<<17|h>>>15)+d|0,f+=(h&d|~h&p)+x[15]+1236535329|0,f=(f<<22|f>>>10)+h|0,p+=(f&d|h&~d)+x[1]-165796510|0,p=(p<<5|p>>>27)+f|0,d+=(p&h|f&~h)+x[6]-1069501632|0,d=(d<<9|d>>>23)+p|0,h+=(d&f|p&~f)+x[11]+643717713|0,h=(h<<14|h>>>18)+d|0,f+=(h&p|d&~p)+x[0]-373897302|0,f=(f<<20|f>>>12)+h|0,p+=(f&d|h&~d)+x[5]-701558691|0,p=(p<<5|p>>>27)+f|0,d+=(p&h|f&~h)+x[10]+38016083|0,d=(d<<9|d>>>23)+p|0,h+=(d&f|p&~f)+x[15]-660478335|0,h=(h<<14|h>>>18)+d|0,f+=(h&p|d&~p)+x[4]-405537848|0,f=(f<<20|f>>>12)+h|0,p+=(f&d|h&~d)+x[9]+568446438|0,p=(p<<5|p>>>27)+f|0,d+=(p&h|f&~h)+x[14]-1019803690|0,d=(d<<9|d>>>23)+p|0,h+=(d&f|p&~f)+x[3]-187363961|0,h=(h<<14|h>>>18)+d|0,f+=(h&p|d&~p)+x[8]+1163531501|0,f=(f<<20|f>>>12)+h|0,p+=(f&d|h&~d)+x[13]-1444681467|0,p=(p<<5|p>>>27)+f|0,d+=(p&h|f&~h)+x[2]-51403784|0,d=(d<<9|d>>>23)+p|0,h+=(d&f|p&~f)+x[7]+1735328473|0,h=(h<<14|h>>>18)+d|0,f+=(h&p|d&~p)+x[12]-1926607734|0,f=(f<<20|f>>>12)+h|0,p+=(f^h^d)+x[5]-378558|0,p=(p<<4|p>>>28)+f|0,d+=(p^f^h)+x[8]-2022574463|0,d=(d<<11|d>>>21)+p|0,h+=(d^p^f)+x[11]+1839030562|0,h=(h<<16|h>>>16)+d|0,f+=(h^d^p)+x[14]-35309556|0,f=(f<<23|f>>>9)+h|0,p+=(f^h^d)+x[1]-1530992060|0,p=(p<<4|p>>>28)+f|0,d+=(p^f^h)+x[4]+1272893353|0,d=(d<<11|d>>>21)+p|0,h+=(d^p^f)+x[7]-155497632|0,h=(h<<16|h>>>16)+d|0,f+=(h^d^p)+x[10]-1094730640|0,f=(f<<23|f>>>9)+h|0,p+=(f^h^d)+x[13]+681279174|0,p=(p<<4|p>>>28)+f|0,d+=(p^f^h)+x[0]-358537222|0,d=(d<<11|d>>>21)+p|0,h+=(d^p^f)+x[3]-722521979|0,h=(h<<16|h>>>16)+d|0,f+=(h^d^p)+x[6]+76029189|0,f=(f<<23|f>>>9)+h|0,p+=(f^h^d)+x[9]-640364487|0,p=(p<<4|p>>>28)+f|0,d+=(p^f^h)+x[12]-421815835|0,d=(d<<11|d>>>21)+p|0,h+=(d^p^f)+x[15]+530742520|0,h=(h<<16|h>>>16)+d|0,f+=(h^d^p)+x[2]-995338651|0,f=(f<<23|f>>>9)+h|0,p+=(h^(f|~d))+x[0]-198630844|0,p=(p<<6|p>>>26)+f|0,d+=(f^(p|~h))+x[7]+1126891415|0,d=(d<<10|d>>>22)+p|0,h+=(p^(d|~f))+x[14]-1416354905|0,h=(h<<15|h>>>17)+d|0,f+=(d^(h|~p))+x[5]-57434055|0,f=(f<<21|f>>>11)+h|0,p+=(h^(f|~d))+x[12]+1700485571|0,p=(p<<6|p>>>26)+f|0,d+=(f^(p|~h))+x[3]-1894986606|0,d=(d<<10|d>>>22)+p|0,h+=(p^(d|~f))+x[10]-1051523|0,h=(h<<15|h>>>17)+d|0,f+=(d^(h|~p))+x[1]-2054922799|0,f=(f<<21|f>>>11)+h|0,p+=(h^(f|~d))+x[8]+1873313359|0,p=(p<<6|p>>>26)+f|0,d+=(f^(p|~h))+x[15]-30611744|0,d=(d<<10|d>>>22)+p|0,h+=(p^(d|~f))+x[6]-1560198380|0,h=(h<<15|h>>>17)+d|0,f+=(d^(h|~p))+x[13]+1309151649|0,f=(f<<21|f>>>11)+h|0,p+=(h^(f|~d))+x[4]-145523070|0,p=(p<<6|p>>>26)+f|0,d+=(f^(p|~h))+x[11]-1120210379|0,d=(d<<10|d>>>22)+p|0,h+=(p^(d|~f))+x[2]+718787259|0,h=(h<<15|h>>>17)+d|0,f+=(d^(h|~p))+x[9]-343485551|0,f=(f<<21|f>>>11)+h|0,m[0]=p+m[0]|0,m[1]=f+m[1]|0,m[2]=h+m[2]|0,m[3]=d+m[3]|0}function i(m){var x=[],p;for(p=0;p<64;p+=4)x[p>>2]=m.charCodeAt(p)+(m.charCodeAt(p+1)<<8)+(m.charCodeAt(p+2)<<16)+(m.charCodeAt(p+3)<<24);return x}function s(m){var x=[],p;for(p=0;p<64;p+=4)x[p>>2]=m[p]+(m[p+1]<<8)+(m[p+2]<<16)+(m[p+3]<<24);return x}function a(m){var x=m.length,p=[1732584193,-271733879,-1732584194,271733878],f,h,d,C,B,Y;for(f=64;f<=x;f+=64)n(p,i(m.substring(f-64,f)));for(m=m.substring(f-64),h=m.length,d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=0;f<h;f+=1)d[f>>2]|=m.charCodeAt(f)<<(f%4<<3);if(d[f>>2]|=128<<(f%4<<3),f>55)for(n(p,d),f=0;f<16;f+=1)d[f]=0;return C=x*8,C=C.toString(16).match(/(.*?)(.{0,8})$/),B=parseInt(C[2],16),Y=parseInt(C[1],16)||0,d[14]=B,d[15]=Y,n(p,d),p}function o(m){var x=m.length,p=[1732584193,-271733879,-1732584194,271733878],f,h,d,C,B,Y;for(f=64;f<=x;f+=64)n(p,s(m.subarray(f-64,f)));for(m=f-64<x?m.subarray(f-64):new Uint8Array(0),h=m.length,d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],f=0;f<h;f+=1)d[f>>2]|=m[f]<<(f%4<<3);if(d[f>>2]|=128<<(f%4<<3),f>55)for(n(p,d),f=0;f<16;f+=1)d[f]=0;return C=x*8,C=C.toString(16).match(/(.*?)(.{0,8})$/),B=parseInt(C[2],16),Y=parseInt(C[1],16)||0,d[14]=B,d[15]=Y,n(p,d),p}function c(m){var x="",p;for(p=0;p<4;p+=1)x+=u[m>>p*8+4&15]+u[m>>p*8&15];return x}function l(m){var x;for(x=0;x<m.length;x+=1)m[x]=c(m[x]);return m.join("")}l(a("hello"))!=="5d41402abc4b2a76b9719d911017c592"&&(t=function(m,x){var p=(m&65535)+(x&65535),f=(m>>16)+(x>>16)+(p>>16);return f<<16|p&65535}),typeof ArrayBuffer<"u"&&!ArrayBuffer.prototype.slice&&function(){function m(x,p){return x=x|0||0,x<0?Math.max(x+p,0):Math.min(x,p)}ArrayBuffer.prototype.slice=function(x,p){var f=this.byteLength,h=m(x,f),d=f,C,B,Y,Oe;return p!==e&&(d=m(p,f)),h>d?new ArrayBuffer(0):(C=d-h,B=new ArrayBuffer(C),Y=new Uint8Array(B),Oe=new Uint8Array(this,h,C),Y.set(Oe),B)}}();function g(m){return/[\u0080-\uFFFF]/.test(m)&&(m=unescape(encodeURIComponent(m))),m}function b(m,x){var p=m.length,f=new ArrayBuffer(p),h=new Uint8Array(f),d;for(d=0;d<p;d+=1)h[d]=m.charCodeAt(d);return x?h:f}function y(m){return String.fromCharCode.apply(null,new Uint8Array(m))}function I(m,x,p){var f=new Uint8Array(m.byteLength+x.byteLength);return f.set(new Uint8Array(m)),f.set(new Uint8Array(x),m.byteLength),p?f:f.buffer}function v(m){var x=[],p=m.length,f;for(f=0;f<p-1;f+=2)x.push(parseInt(m.substr(f,2),16));return String.fromCharCode.apply(String,x)}function E(){this.reset()}return E.prototype.append=function(m){return this.appendBinary(g(m)),this},E.prototype.appendBinary=function(m){this._buff+=m,this._length+=m.length;var x=this._buff.length,p;for(p=64;p<=x;p+=64)n(this._hash,i(this._buff.substring(p-64,p)));return this._buff=this._buff.substring(p-64),this},E.prototype.end=function(m){var x=this._buff,p=x.length,f,h=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d;for(f=0;f<p;f+=1)h[f>>2]|=x.charCodeAt(f)<<(f%4<<3);return this._finish(h,p),d=l(this._hash),m&&(d=v(d)),this.reset(),d},E.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},E.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},E.prototype.setState=function(m){return this._buff=m.buff,this._length=m.length,this._hash=m.hash,this},E.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},E.prototype._finish=function(m,x){var p=x,f,h,d;if(m[p>>2]|=128<<(p%4<<3),p>55)for(n(this._hash,m),p=0;p<16;p+=1)m[p]=0;f=this._length*8,f=f.toString(16).match(/(.*?)(.{0,8})$/),h=parseInt(f[2],16),d=parseInt(f[1],16)||0,m[14]=h,m[15]=d,n(this._hash,m)},E.hash=function(m,x){return E.hashBinary(g(m),x)},E.hashBinary=function(m,x){var p=a(m),f=l(p);return x?v(f):f},E.ArrayBuffer=function(){this.reset()},E.ArrayBuffer.prototype.append=function(m){var x=I(this._buff.buffer,m,!0),p=x.length,f;for(this._length+=m.byteLength,f=64;f<=p;f+=64)n(this._hash,s(x.subarray(f-64,f)));return this._buff=f-64<p?new Uint8Array(x.buffer.slice(f-64)):new Uint8Array(0),this},E.ArrayBuffer.prototype.end=function(m){var x=this._buff,p=x.length,f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],h,d;for(h=0;h<p;h+=1)f[h>>2]|=x[h]<<(h%4<<3);return this._finish(f,p),d=l(this._hash),m&&(d=v(d)),this.reset(),d},E.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},E.ArrayBuffer.prototype.getState=function(){var m=E.prototype.getState.call(this);return m.buff=y(m.buff),m},E.ArrayBuffer.prototype.setState=function(m){return m.buff=b(m.buff,!0),E.prototype.setState.call(this,m)},E.ArrayBuffer.prototype.destroy=E.prototype.destroy,E.ArrayBuffer.prototype._finish=E.prototype._finish,E.ArrayBuffer.hash=function(m,x){var p=o(new Uint8Array(m)),f=l(p);return x?v(f):f},E})});var vu=T((Dd,cn)=>{"use strict";cn.exports=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}});var ge=T(Te=>{"use strict";var Au,ca=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Te.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Te.getSymbolTotalCodewords=function(t){return ca[t]};Te.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Te.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Au=t};Te.isKanjiModeEnabled=function(){return typeof Au<"u"};Te.toSJIS=function(t){return Au(t)}});var jt=T(ue=>{"use strict";ue.L={bit:1};ue.M={bit:0};ue.Q={bit:3};ue.H={bit:2};function la(e){if(typeof e!="string")throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return ue.L;case"m":case"medium":return ue.M;case"q":case"quartile":return ue.Q;case"h":case"high":return ue.H;default:throw new Error("Unknown EC Level: "+e)}}ue.isValid=function(t){return t&&typeof t.bit<"u"&&t.bit>=0&&t.bit<4};ue.from=function(t,u){if(ue.isValid(t))return t;try{return la(t)}catch{return u}}});var dn=T((Od,fn)=>{"use strict";function ln(){this.buffer=[],this.length=0}ln.prototype={get:function(e){let t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let u=0;u<t;u++)this.putBit((e>>>t-u-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){let t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};fn.exports=ln});var pn=T((Rd,hn)=>{"use strict";function ot(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}ot.prototype.set=function(e,t,u,r){let n=e*this.size+t;this.data[n]=u,r&&(this.reservedBit[n]=!0)};ot.prototype.get=function(e,t){return this.data[e*this.size+t]};ot.prototype.xor=function(e,t,u){this.data[e*this.size+t]^=u};ot.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};hn.exports=ot});var gn=T($t=>{"use strict";var fa=ge().getSymbolSize;$t.getRowColCoords=function(t){if(t===1)return[];let u=Math.floor(t/7)+2,r=fa(t),n=r===145?26:Math.ceil((r-13)/(2*u-2))*2,i=[r-7];for(let s=1;s<u-1;s++)i[s]=i[s-1]-n;return i.push(6),i.reverse()};$t.getPositions=function(t){let u=[],r=$t.getRowColCoords(t),n=r.length;for(let i=0;i<n;i++)for(let s=0;s<n;s++)i===0&&s===0||i===0&&s===n-1||i===n-1&&s===0||u.push([r[i],r[s]]);return u}});var xn=T(mn=>{"use strict";var da=ge().getSymbolSize,bn=7;mn.getPositions=function(t){let u=da(t);return[[0,0],[u-bn,0],[0,u-bn]]}});var yn=T(R=>{"use strict";R.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var Ce={N1:3,N2:3,N3:40,N4:10};R.isValid=function(t){return t!=null&&t!==""&&!isNaN(t)&&t>=0&&t<=7};R.from=function(t){return R.isValid(t)?parseInt(t,10):void 0};R.getPenaltyN1=function(t){let u=t.size,r=0,n=0,i=0,s=null,a=null;for(let o=0;o<u;o++){n=i=0,s=a=null;for(let c=0;c<u;c++){let l=t.get(o,c);l===s?n++:(n>=5&&(r+=Ce.N1+(n-5)),s=l,n=1),l=t.get(c,o),l===a?i++:(i>=5&&(r+=Ce.N1+(i-5)),a=l,i=1)}n>=5&&(r+=Ce.N1+(n-5)),i>=5&&(r+=Ce.N1+(i-5))}return r};R.getPenaltyN2=function(t){let u=t.size,r=0;for(let n=0;n<u-1;n++)for(let i=0;i<u-1;i++){let s=t.get(n,i)+t.get(n,i+1)+t.get(n+1,i)+t.get(n+1,i+1);(s===4||s===0)&&r++}return r*Ce.N2};R.getPenaltyN3=function(t){let u=t.size,r=0,n=0,i=0;for(let s=0;s<u;s++){n=i=0;for(let a=0;a<u;a++)n=n<<1&2047|t.get(s,a),a>=10&&(n===1488||n===93)&&r++,i=i<<1&2047|t.get(a,s),a>=10&&(i===1488||i===93)&&r++}return r*Ce.N3};R.getPenaltyN4=function(t){let u=0,r=t.data.length;for(let i=0;i<r;i++)u+=t.data[i];return Math.abs(Math.ceil(u*100/r/5)-10)*Ce.N4};function ha(e,t,u){switch(e){case R.Patterns.PATTERN000:return(t+u)%2===0;case R.Patterns.PATTERN001:return t%2===0;case R.Patterns.PATTERN010:return u%3===0;case R.Patterns.PATTERN011:return(t+u)%3===0;case R.Patterns.PATTERN100:return(Math.floor(t/2)+Math.floor(u/3))%2===0;case R.Patterns.PATTERN101:return t*u%2+t*u%3===0;case R.Patterns.PATTERN110:return(t*u%2+t*u%3)%2===0;case R.Patterns.PATTERN111:return(t*u%3+(t+u)%2)%2===0;default:throw new Error("bad maskPattern:"+e)}}R.applyMask=function(t,u){let r=u.size;for(let n=0;n<r;n++)for(let i=0;i<r;i++)u.isReserved(i,n)||u.xor(i,n,ha(t,i,n))};R.getBestMask=function(t,u){let r=Object.keys(R.Patterns).length,n=0,i=1/0;for(let s=0;s<r;s++){u(s),R.applyMask(s,t);let a=R.getPenaltyN1(t)+R.getPenaltyN2(t)+R.getPenaltyN3(t)+R.getPenaltyN4(t);R.applyMask(s,t),a<i&&(i=a,n=s)}return n}});var Cu=T(Tu=>{"use strict";var be=jt(),Ut=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],zt=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];Tu.getBlocksCount=function(t,u){switch(u){case be.L:return Ut[(t-1)*4+0];case be.M:return Ut[(t-1)*4+1];case be.Q:return Ut[(t-1)*4+2];case be.H:return Ut[(t-1)*4+3];default:return}};Tu.getTotalCodewordsCount=function(t,u){switch(u){case be.L:return zt[(t-1)*4+0];case be.M:return zt[(t-1)*4+1];case be.Q:return zt[(t-1)*4+2];case be.H:return zt[(t-1)*4+3];default:return}}});var wn=T(Vt=>{"use strict";var ct=new Uint8Array(512),Ht=new Uint8Array(256);(function(){let t=1;for(let u=0;u<255;u++)ct[u]=t,Ht[t]=u,t<<=1,t&256&&(t^=285);for(let u=255;u<512;u++)ct[u]=ct[u-255]})();Vt.log=function(t){if(t<1)throw new Error("log("+t+")");return Ht[t]};Vt.exp=function(t){return ct[t]};Vt.mul=function(t,u){return t===0||u===0?0:ct[Ht[t]+Ht[u]]}});var En=T(lt=>{"use strict";var Su=wn();lt.mul=function(t,u){let r=new Uint8Array(t.length+u.length-1);for(let n=0;n<t.length;n++)for(let i=0;i<u.length;i++)r[n+i]^=Su.mul(t[n],u[i]);return r};lt.mod=function(t,u){let r=new Uint8Array(t);for(;r.length-u.length>=0;){let n=r[0];for(let s=0;s<u.length;s++)r[s]^=Su.mul(u[s],n);let i=0;for(;i<r.length&&r[i]===0;)i++;r=r.slice(i)}return r};lt.generateECPolynomial=function(t){let u=new Uint8Array([1]);for(let r=0;r<t;r++)u=lt.mul(u,new Uint8Array([1,Su.exp(r)]));return u}});var An=T((zd,vn)=>{"use strict";var In=En();function Mu(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Mu.prototype.initialize=function(t){this.degree=t,this.genPoly=In.generateECPolynomial(this.degree)};Mu.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");let u=new Uint8Array(t.length+this.degree);u.set(t);let r=In.mod(u,this.genPoly),n=this.degree-r.length;if(n>0){let i=new Uint8Array(this.degree);return i.set(r,n),i}return r};vn.exports=Mu});var _u=T(Tn=>{"use strict";Tn.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}});var Lu=T(he=>{"use strict";var Cn="[0-9]+",pa="[A-Z $%*+\\-./:]+",ft="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";ft=ft.replace(/u/g,"\\u");var ga="(?:(?![A-Z0-9 $%*+\\-./:]|"+ft+`)(?:.|[\r
|
|
2
|
-
]))+`;he.KANJI=new RegExp(ft,"g");he.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");he.BYTE=new RegExp(ga,"g");he.NUMERIC=new RegExp(Cn,"g");he.ALPHANUMERIC=new RegExp(pa,"g");var ba=new RegExp("^"+ft+"$"),ma=new RegExp("^"+Cn+"$"),xa=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");he.testKanji=function(t){return ba.test(t)};he.testNumeric=function(t){return ma.test(t)};he.testAlphanumeric=function(t){return xa.test(t)}});var me=T(j=>{"use strict";var ya=_u(),Nu=Lu();j.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]};j.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]};j.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]};j.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]};j.MIXED={bit:-1};j.getCharCountIndicator=function(t,u){if(!t.ccBits)throw new Error("Invalid mode: "+t);if(!ya.isValid(u))throw new Error("Invalid version: "+u);return u>=1&&u<10?t.ccBits[0]:u<27?t.ccBits[1]:t.ccBits[2]};j.getBestModeForData=function(t){return Nu.testNumeric(t)?j.NUMERIC:Nu.testAlphanumeric(t)?j.ALPHANUMERIC:Nu.testKanji(t)?j.KANJI:j.BYTE};j.toString=function(t){if(t&&t.id)return t.id;throw new Error("Invalid mode")};j.isValid=function(t){return t&&t.bit&&t.ccBits};function wa(e){if(typeof e!="string")throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return j.NUMERIC;case"alphanumeric":return j.ALPHANUMERIC;case"kanji":return j.KANJI;case"byte":return j.BYTE;default:throw new Error("Unknown mode: "+e)}}j.from=function(t,u){if(j.isValid(t))return t;try{return wa(t)}catch{return u}}});var Nn=T(Se=>{"use strict";var Gt=ge(),Ea=Cu(),Sn=jt(),xe=me(),Du=_u(),_n=7973,Mn=Gt.getBCHDigit(_n);function Ia(e,t,u){for(let r=1;r<=40;r++)if(t<=Se.getCapacity(r,u,e))return r}function Ln(e,t){return xe.getCharCountIndicator(e,t)+4}function va(e,t){let u=0;return e.forEach(function(r){let n=Ln(r.mode,t);u+=n+r.getBitsLength()}),u}function Aa(e,t){for(let u=1;u<=40;u++)if(va(e,u)<=Se.getCapacity(u,t,xe.MIXED))return u}Se.from=function(t,u){return Du.isValid(t)?parseInt(t,10):u};Se.getCapacity=function(t,u,r){if(!Du.isValid(t))throw new Error("Invalid QR Code version");typeof r>"u"&&(r=xe.BYTE);let n=Gt.getSymbolTotalCodewords(t),i=Ea.getTotalCodewordsCount(t,u),s=(n-i)*8;if(r===xe.MIXED)return s;let a=s-Ln(r,t);switch(r){case xe.NUMERIC:return Math.floor(a/10*3);case xe.ALPHANUMERIC:return Math.floor(a/11*2);case xe.KANJI:return Math.floor(a/13);case xe.BYTE:default:return Math.floor(a/8)}};Se.getBestVersionForData=function(t,u){let r,n=Sn.from(u,Sn.M);if(Array.isArray(t)){if(t.length>1)return Aa(t,n);if(t.length===0)return 1;r=t[0]}else r=t;return Ia(r.mode,r.getLength(),n)};Se.getEncodedBits=function(t){if(!Du.isValid(t)||t<7)throw new Error("Invalid QR Code version");let u=t<<12;for(;Gt.getBCHDigit(u)-Mn>=0;)u^=_n<<Gt.getBCHDigit(u)-Mn;return t<<12|u}});var On=T(Bn=>{"use strict";var ku=ge(),kn=1335,Ta=21522,Dn=ku.getBCHDigit(kn);Bn.getEncodedBits=function(t,u){let r=t.bit<<3|u,n=r<<10;for(;ku.getBCHDigit(n)-Dn>=0;)n^=kn<<ku.getBCHDigit(n)-Dn;return(r<<10|n)^Ta}});var qn=T((Qd,Rn)=>{"use strict";var Ca=me();function $e(e){this.mode=Ca.NUMERIC,this.data=e.toString()}$e.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};$e.prototype.getLength=function(){return this.data.length};$e.prototype.getBitsLength=function(){return $e.getBitsLength(this.data.length)};$e.prototype.write=function(t){let u,r,n;for(u=0;u+3<=this.data.length;u+=3)r=this.data.substr(u,3),n=parseInt(r,10),t.put(n,10);let i=this.data.length-u;i>0&&(r=this.data.substr(u),n=parseInt(r,10),t.put(n,i*3+1))};Rn.exports=$e});var Fn=T((Zd,Pn)=>{"use strict";var Sa=me(),Bu=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Ue(e){this.mode=Sa.ALPHANUMERIC,this.data=e}Ue.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};Ue.prototype.getLength=function(){return this.data.length};Ue.prototype.getBitsLength=function(){return Ue.getBitsLength(this.data.length)};Ue.prototype.write=function(t){let u;for(u=0;u+2<=this.data.length;u+=2){let r=Bu.indexOf(this.data[u])*45;r+=Bu.indexOf(this.data[u+1]),t.put(r,11)}this.data.length%2&&t.put(Bu.indexOf(this.data[u]),6)};Pn.exports=Ue});var $n=T((Jd,jn)=>{"use strict";jn.exports=function(t){for(var u=[],r=t.length,n=0;n<r;n++){var i=t.charCodeAt(n);if(i>=55296&&i<=56319&&r>n+1){var s=t.charCodeAt(n+1);s>=56320&&s<=57343&&(i=(i-55296)*1024+s-56320+65536,n+=1)}if(i<128){u.push(i);continue}if(i<2048){u.push(i>>6|192),u.push(i&63|128);continue}if(i<55296||i>=57344&&i<65536){u.push(i>>12|224),u.push(i>>6&63|128),u.push(i&63|128);continue}if(i>=65536&&i<=1114111){u.push(i>>18|240),u.push(i>>12&63|128),u.push(i>>6&63|128),u.push(i&63|128);continue}u.push(239,191,189)}return new Uint8Array(u).buffer}});var zn=T((Kd,Un)=>{"use strict";var Ma=$n(),_a=me();function ze(e){this.mode=_a.BYTE,typeof e=="string"&&(e=Ma(e)),this.data=new Uint8Array(e)}ze.getBitsLength=function(t){return t*8};ze.prototype.getLength=function(){return this.data.length};ze.prototype.getBitsLength=function(){return ze.getBitsLength(this.data.length)};ze.prototype.write=function(e){for(let t=0,u=this.data.length;t<u;t++)e.put(this.data[t],8)};Un.exports=ze});var Vn=T((Xd,Hn)=>{"use strict";var La=me(),Na=ge();function He(e){this.mode=La.KANJI,this.data=e}He.getBitsLength=function(t){return t*13};He.prototype.getLength=function(){return this.data.length};He.prototype.getBitsLength=function(){return He.getBitsLength(this.data.length)};He.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let u=Na.toSJIS(this.data[t]);if(u>=33088&&u<=40956)u-=33088;else if(u>=57408&&u<=60351)u-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
|
|
3
|
-
Make sure your charset is UTF-8`);u=(u>>>8&255)*192+(u&255),e.put(u,13)}};Hn.exports=He});var Gn=T((e1,Ou)=>{"use strict";var dt={single_source_shortest_paths:function(e,t,u){var r={},n={};n[t]=0;var i=dt.PriorityQueue.make();i.push(t,0);for(var s,a,o,c,l,g,b,y,I;!i.empty();){s=i.pop(),a=s.value,c=s.cost,l=e[a]||{};for(o in l)l.hasOwnProperty(o)&&(g=l[o],b=c+g,y=n[o],I=typeof n[o]>"u",(I||y>b)&&(n[o]=b,i.push(o,b),r[o]=a))}if(typeof u<"u"&&typeof n[u]>"u"){var v=["Could not find a path from ",t," to ",u,"."].join("");throw new Error(v)}return r},extract_shortest_path_from_predecessor_list:function(e,t){for(var u=[],r=t,n;r;)u.push(r),n=e[r],r=e[r];return u.reverse(),u},find_path:function(e,t,u){var r=dt.single_source_shortest_paths(e,t,u);return dt.extract_shortest_path_from_predecessor_list(r,u)},PriorityQueue:{make:function(e){var t=dt.PriorityQueue,u={},r;e=e||{};for(r in t)t.hasOwnProperty(r)&&(u[r]=t[r]);return u.queue=[],u.sorter=e.sorter||t.default_sorter,u},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var u={value:e,cost:t};this.queue.push(u),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};typeof Ou<"u"&&(Ou.exports=dt)});var ei=T(Ve=>{"use strict";var D=me(),Qn=qn(),Zn=Fn(),Jn=zn(),Kn=Vn(),ht=Lu(),Yt=ge(),Da=Gn();function Yn(e){return unescape(encodeURIComponent(e)).length}function pt(e,t,u){let r=[],n;for(;(n=e.exec(u))!==null;)r.push({data:n[0],index:n.index,mode:t,length:n[0].length});return r}function Xn(e){let t=pt(ht.NUMERIC,D.NUMERIC,e),u=pt(ht.ALPHANUMERIC,D.ALPHANUMERIC,e),r,n;return Yt.isKanjiModeEnabled()?(r=pt(ht.BYTE,D.BYTE,e),n=pt(ht.KANJI,D.KANJI,e)):(r=pt(ht.BYTE_KANJI,D.BYTE,e),n=[]),t.concat(u,r,n).sort(function(s,a){return s.index-a.index}).map(function(s){return{data:s.data,mode:s.mode,length:s.length}})}function Ru(e,t){switch(t){case D.NUMERIC:return Qn.getBitsLength(e);case D.ALPHANUMERIC:return Zn.getBitsLength(e);case D.KANJI:return Kn.getBitsLength(e);case D.BYTE:return Jn.getBitsLength(e)}}function ka(e){return e.reduce(function(t,u){let r=t.length-1>=0?t[t.length-1]:null;return r&&r.mode===u.mode?(t[t.length-1].data+=u.data,t):(t.push(u),t)},[])}function Ba(e){let t=[];for(let u=0;u<e.length;u++){let r=e[u];switch(r.mode){case D.NUMERIC:t.push([r,{data:r.data,mode:D.ALPHANUMERIC,length:r.length},{data:r.data,mode:D.BYTE,length:r.length}]);break;case D.ALPHANUMERIC:t.push([r,{data:r.data,mode:D.BYTE,length:r.length}]);break;case D.KANJI:t.push([r,{data:r.data,mode:D.BYTE,length:Yn(r.data)}]);break;case D.BYTE:t.push([{data:r.data,mode:D.BYTE,length:Yn(r.data)}])}}return t}function Oa(e,t){let u={},r={start:{}},n=["start"];for(let i=0;i<e.length;i++){let s=e[i],a=[];for(let o=0;o<s.length;o++){let c=s[o],l=""+i+o;a.push(l),u[l]={node:c,lastCount:0},r[l]={};for(let g=0;g<n.length;g++){let b=n[g];u[b]&&u[b].node.mode===c.mode?(r[b][l]=Ru(u[b].lastCount+c.length,c.mode)-Ru(u[b].lastCount,c.mode),u[b].lastCount+=c.length):(u[b]&&(u[b].lastCount=c.length),r[b][l]=Ru(c.length,c.mode)+4+D.getCharCountIndicator(c.mode,t))}}n=a}for(let i=0;i<n.length;i++)r[n[i]].end=0;return{map:r,table:u}}function Wn(e,t){let u,r=D.getBestModeForData(e);if(u=D.from(t,r),u!==D.BYTE&&u.bit<r.bit)throw new Error('"'+e+'" cannot be encoded with mode '+D.toString(u)+`.
|
|
4
|
-
Suggested mode is: `+D.toString(r));switch(u===D.KANJI&&!Yt.isKanjiModeEnabled()&&(u=D.BYTE),u){case D.NUMERIC:return new Qn(e);case D.ALPHANUMERIC:return new Zn(e);case D.KANJI:return new Kn(e);case D.BYTE:return new Jn(e)}}Ve.fromArray=function(t){return t.reduce(function(u,r){return typeof r=="string"?u.push(Wn(r,null)):r.data&&u.push(Wn(r.data,r.mode)),u},[])};Ve.fromString=function(t,u){let r=Xn(t,Yt.isKanjiModeEnabled()),n=Ba(r),i=Oa(n,u),s=Da.find_path(i.map,"start","end"),a=[];for(let o=1;o<s.length-1;o++)a.push(i.table[s[o]].node);return Ve.fromArray(ka(a))};Ve.rawSplit=function(t){return Ve.fromArray(Xn(t,Yt.isKanjiModeEnabled()))}});var Uu=T(ti=>{"use strict";var Qt=ge(),qu=jt(),Ra=dn(),qa=pn(),Pa=gn(),Fa=xn(),ju=yn(),$u=Cu(),ja=An(),Wt=Nn(),$a=On(),Ua=me(),Pu=ei();function za(e,t){let u=e.size,r=Fa.getPositions(t);for(let n=0;n<r.length;n++){let i=r[n][0],s=r[n][1];for(let a=-1;a<=7;a++)if(!(i+a<=-1||u<=i+a))for(let o=-1;o<=7;o++)s+o<=-1||u<=s+o||(a>=0&&a<=6&&(o===0||o===6)||o>=0&&o<=6&&(a===0||a===6)||a>=2&&a<=4&&o>=2&&o<=4?e.set(i+a,s+o,!0,!0):e.set(i+a,s+o,!1,!0))}}function Ha(e){let t=e.size;for(let u=8;u<t-8;u++){let r=u%2===0;e.set(u,6,r,!0),e.set(6,u,r,!0)}}function Va(e,t){let u=Pa.getPositions(t);for(let r=0;r<u.length;r++){let n=u[r][0],i=u[r][1];for(let s=-2;s<=2;s++)for(let a=-2;a<=2;a++)s===-2||s===2||a===-2||a===2||s===0&&a===0?e.set(n+s,i+a,!0,!0):e.set(n+s,i+a,!1,!0)}}function Ga(e,t){let u=e.size,r=Wt.getEncodedBits(t),n,i,s;for(let a=0;a<18;a++)n=Math.floor(a/3),i=a%3+u-8-3,s=(r>>a&1)===1,e.set(n,i,s,!0),e.set(i,n,s,!0)}function Fu(e,t,u){let r=e.size,n=$a.getEncodedBits(t,u),i,s;for(i=0;i<15;i++)s=(n>>i&1)===1,i<6?e.set(i,8,s,!0):i<8?e.set(i+1,8,s,!0):e.set(r-15+i,8,s,!0),i<8?e.set(8,r-i-1,s,!0):i<9?e.set(8,15-i-1+1,s,!0):e.set(8,15-i-1,s,!0);e.set(r-8,8,1,!0)}function Ya(e,t){let u=e.size,r=-1,n=u-1,i=7,s=0;for(let a=u-1;a>0;a-=2)for(a===6&&a--;;){for(let o=0;o<2;o++)if(!e.isReserved(n,a-o)){let c=!1;s<t.length&&(c=(t[s]>>>i&1)===1),e.set(n,a-o,c),i--,i===-1&&(s++,i=7)}if(n+=r,n<0||u<=n){n-=r,r=-r;break}}}function Wa(e,t,u){let r=new Ra;u.forEach(function(o){r.put(o.mode.bit,4),r.put(o.getLength(),Ua.getCharCountIndicator(o.mode,e)),o.write(r)});let n=Qt.getSymbolTotalCodewords(e),i=$u.getTotalCodewordsCount(e,t),s=(n-i)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);let a=(s-r.getLengthInBits())/8;for(let o=0;o<a;o++)r.put(o%2?17:236,8);return Qa(r,e,t)}function Qa(e,t,u){let r=Qt.getSymbolTotalCodewords(t),n=$u.getTotalCodewordsCount(t,u),i=r-n,s=$u.getBlocksCount(t,u),a=r%s,o=s-a,c=Math.floor(r/s),l=Math.floor(i/s),g=l+1,b=c-l,y=new ja(b),I=0,v=new Array(s),E=new Array(s),m=0,x=new Uint8Array(e.buffer);for(let C=0;C<s;C++){let B=C<o?l:g;v[C]=x.slice(I,I+B),E[C]=y.encode(v[C]),I+=B,m=Math.max(m,B)}let p=new Uint8Array(r),f=0,h,d;for(h=0;h<m;h++)for(d=0;d<s;d++)h<v[d].length&&(p[f++]=v[d][h]);for(h=0;h<b;h++)for(d=0;d<s;d++)p[f++]=E[d][h];return p}function Za(e,t,u,r){let n;if(Array.isArray(e))n=Pu.fromArray(e);else if(typeof e=="string"){let c=t;if(!c){let l=Pu.rawSplit(e);c=Wt.getBestVersionForData(l,u)}n=Pu.fromString(e,c||40)}else throw new Error("Invalid data");let i=Wt.getBestVersionForData(n,u);if(!i)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=i;else if(t<i)throw new Error(`
|
|
5
|
-
The chosen QR Code version cannot contain this amount of data.
|
|
6
|
-
Minimum version required to store current data is: `+i+`.
|
|
7
|
-
`);let s=Wa(t,u,n),a=Qt.getSymbolSize(t),o=new qa(a);return za(o,t),Ha(o),Va(o,t),Fu(o,u,0),t>=7&&Ga(o,t),Ya(o,s),isNaN(r)&&(r=ju.getBestMask(o,Fu.bind(null,o,u))),ju.applyMask(r,o),Fu(o,u,r),{modules:o,version:t,errorCorrectionLevel:u,maskPattern:r,segments:n}}ti.create=function(t,u){if(typeof t>"u"||t==="")throw new Error("No input text");let r=qu.M,n,i;return typeof u<"u"&&(r=qu.from(u.errorCorrectionLevel,qu.M),n=Wt.from(u.version),i=ju.from(u.maskPattern),u.toSJISFunc&&Qt.setToSJISFunction(u.toSJISFunc)),Za(t,n,r,i)}});var zu=T((r1,ri)=>{"use strict";var Ja=require("util"),ui=require("stream"),oe=ri.exports=function(){ui.call(this),this._buffers=[],this._buffered=0,this._reads=[],this._paused=!1,this._encoding="utf8",this.writable=!0};Ja.inherits(oe,ui);oe.prototype.read=function(e,t){this._reads.push({length:Math.abs(e),allowLess:e<0,func:t}),process.nextTick(function(){this._process(),this._paused&&this._reads&&this._reads.length>0&&(this._paused=!1,this.emit("drain"))}.bind(this))};oe.prototype.write=function(e,t){if(!this.writable)return this.emit("error",new Error("Stream not writable")),!1;let u;return Buffer.isBuffer(e)?u=e:u=Buffer.from(e,t||this._encoding),this._buffers.push(u),this._buffered+=u.length,this._process(),this._reads&&this._reads.length===0&&(this._paused=!0),this.writable&&!this._paused};oe.prototype.end=function(e,t){e&&this.write(e,t),this.writable=!1,this._buffers&&(this._buffers.length===0?this._end():(this._buffers.push(null),this._process()))};oe.prototype.destroySoon=oe.prototype.end;oe.prototype._end=function(){this._reads.length>0&&this.emit("error",new Error("Unexpected end of input")),this.destroy()};oe.prototype.destroy=function(){this._buffers&&(this.writable=!1,this._reads=null,this._buffers=null,this.emit("close"))};oe.prototype._processReadAllowingLess=function(e){this._reads.shift();let t=this._buffers[0];t.length>e.length?(this._buffered-=e.length,this._buffers[0]=t.slice(e.length),e.func.call(this,t.slice(0,e.length))):(this._buffered-=t.length,this._buffers.shift(),e.func.call(this,t))};oe.prototype._processRead=function(e){this._reads.shift();let t=0,u=0,r=Buffer.alloc(e.length);for(;t<e.length;){let n=this._buffers[u++],i=Math.min(n.length,e.length-t);n.copy(r,t,0,i),t+=i,i!==n.length&&(this._buffers[--u]=n.slice(i))}u>0&&this._buffers.splice(0,u),this._buffered-=e.length,e.func.call(this,r)};oe.prototype._process=function(){try{for(;this._buffered>0&&this._reads&&this._reads.length>0;){let e=this._reads[0];if(e.allowLess)this._processReadAllowingLess(e);else if(this._buffered>=e.length)this._processRead(e);else break}this._buffers&&!this.writable&&this._end()}catch(e){this.emit("error",e)}}});var Vu=T(Hu=>{"use strict";var ye=[{x:[0],y:[0]},{x:[4],y:[0]},{x:[0,4],y:[4]},{x:[2,6],y:[0,4]},{x:[0,2,4,6],y:[2,6]},{x:[1,3,5,7],y:[0,2,4,6]},{x:[0,1,2,3,4,5,6,7],y:[1,3,5,7]}];Hu.getImagePasses=function(e,t){let u=[],r=e%8,n=t%8,i=(e-r)/8,s=(t-n)/8;for(let a=0;a<ye.length;a++){let o=ye[a],c=i*o.x.length,l=s*o.y.length;for(let g=0;g<o.x.length&&o.x[g]<r;g++)c++;for(let g=0;g<o.y.length&&o.y[g]<n;g++)l++;c>0&&l>0&&u.push({width:c,height:l,index:a})}return u};Hu.getInterlaceIterator=function(e){return function(t,u,r){let n=t%ye[r].x.length,i=(t-n)/ye[r].x.length*8+ye[r].x[n],s=u%ye[r].y.length,a=(u-s)/ye[r].y.length*8+ye[r].y[s];return i*4+a*e*4}}});var Gu=T((i1,ni)=>{"use strict";ni.exports=function(t,u,r){let n=t+u-r,i=Math.abs(n-t),s=Math.abs(n-u),a=Math.abs(n-r);return i<=s&&i<=a?t:s<=a?u:r}});var Yu=T((s1,si)=>{"use strict";var Ka=Vu(),Xa=Gu();function ii(e,t,u){let r=e*t;return u!==8&&(r=Math.ceil(r/(8/u))),r}var Ge=si.exports=function(e,t){let u=e.width,r=e.height,n=e.interlace,i=e.bpp,s=e.depth;if(this.read=t.read,this.write=t.write,this.complete=t.complete,this._imageIndex=0,this._images=[],n){let a=Ka.getImagePasses(u,r);for(let o=0;o<a.length;o++)this._images.push({byteWidth:ii(a[o].width,i,s),height:a[o].height,lineIndex:0})}else this._images.push({byteWidth:ii(u,i,s),height:r,lineIndex:0});s===8?this._xComparison=i:s===16?this._xComparison=i*2:this._xComparison=1};Ge.prototype.start=function(){this.read(this._images[this._imageIndex].byteWidth+1,this._reverseFilterLine.bind(this))};Ge.prototype._unFilterType1=function(e,t,u){let r=this._xComparison,n=r-1;for(let i=0;i<u;i++){let s=e[1+i],a=i>n?t[i-r]:0;t[i]=s+a}};Ge.prototype._unFilterType2=function(e,t,u){let r=this._lastLine;for(let n=0;n<u;n++){let i=e[1+n],s=r?r[n]:0;t[n]=i+s}};Ge.prototype._unFilterType3=function(e,t,u){let r=this._xComparison,n=r-1,i=this._lastLine;for(let s=0;s<u;s++){let a=e[1+s],o=i?i[s]:0,c=s>n?t[s-r]:0,l=Math.floor((c+o)/2);t[s]=a+l}};Ge.prototype._unFilterType4=function(e,t,u){let r=this._xComparison,n=r-1,i=this._lastLine;for(let s=0;s<u;s++){let a=e[1+s],o=i?i[s]:0,c=s>n?t[s-r]:0,l=s>n&&i?i[s-r]:0,g=Xa(c,o,l);t[s]=a+g}};Ge.prototype._reverseFilterLine=function(e){let t=e[0],u,r=this._images[this._imageIndex],n=r.byteWidth;if(t===0)u=e.slice(1,n+1);else switch(u=Buffer.alloc(n),t){case 1:this._unFilterType1(e,u,n);break;case 2:this._unFilterType2(e,u,n);break;case 3:this._unFilterType3(e,u,n);break;case 4:this._unFilterType4(e,u,n);break;default:throw new Error("Unrecognised filter type - "+t)}this.write(u),r.lineIndex++,r.lineIndex>=r.height?(this._lastLine=null,this._imageIndex++,r=this._images[this._imageIndex]):this._lastLine=u,r?this.read(r.byteWidth+1,this._reverseFilterLine.bind(this)):(this._lastLine=null,this.complete())}});var ci=T((a1,oi)=>{"use strict";var eo=require("util"),ai=zu(),to=Yu(),uo=oi.exports=function(e){ai.call(this);let t=[],u=this;this._filter=new to(e,{read:this.read.bind(this),write:function(r){t.push(r)},complete:function(){u.emit("complete",Buffer.concat(t))}}),this._filter.start()};eo.inherits(uo,ai)});var Ye=T((o1,li)=>{"use strict";li.exports={PNG_SIGNATURE:[137,80,78,71,13,10,26,10],TYPE_IHDR:1229472850,TYPE_IEND:1229278788,TYPE_IDAT:1229209940,TYPE_PLTE:1347179589,TYPE_tRNS:1951551059,TYPE_gAMA:1732332865,COLORTYPE_GRAYSCALE:0,COLORTYPE_PALETTE:1,COLORTYPE_COLOR:2,COLORTYPE_ALPHA:4,COLORTYPE_PALETTE_COLOR:3,COLORTYPE_COLOR_ALPHA:6,COLORTYPE_TO_BPP_MAP:{0:1,2:3,3:1,4:2,6:4},GAMMA_DIVISION:1e5}});var Zu=T((c1,fi)=>{"use strict";var Wu=[];(function(){for(let e=0;e<256;e++){let t=e;for(let u=0;u<8;u++)t&1?t=3988292384^t>>>1:t=t>>>1;Wu[e]=t}})();var Qu=fi.exports=function(){this._crc=-1};Qu.prototype.write=function(e){for(let t=0;t<e.length;t++)this._crc=Wu[(this._crc^e[t])&255]^this._crc>>>8;return!0};Qu.prototype.crc32=function(){return this._crc^-1};Qu.crc32=function(e){let t=-1;for(let u=0;u<e.length;u++)t=Wu[(t^e[u])&255]^t>>>8;return t^-1}});var Ju=T((l1,di)=>{"use strict";var U=Ye(),ro=Zu(),z=di.exports=function(e,t){this._options=e,e.checkCRC=e.checkCRC!==!1,this._hasIHDR=!1,this._hasIEND=!1,this._emittedHeadersFinished=!1,this._palette=[],this._colorType=0,this._chunks={},this._chunks[U.TYPE_IHDR]=this._handleIHDR.bind(this),this._chunks[U.TYPE_IEND]=this._handleIEND.bind(this),this._chunks[U.TYPE_IDAT]=this._handleIDAT.bind(this),this._chunks[U.TYPE_PLTE]=this._handlePLTE.bind(this),this._chunks[U.TYPE_tRNS]=this._handleTRNS.bind(this),this._chunks[U.TYPE_gAMA]=this._handleGAMA.bind(this),this.read=t.read,this.error=t.error,this.metadata=t.metadata,this.gamma=t.gamma,this.transColor=t.transColor,this.palette=t.palette,this.parsed=t.parsed,this.inflateData=t.inflateData,this.finished=t.finished,this.simpleTransparency=t.simpleTransparency,this.headersFinished=t.headersFinished||function(){}};z.prototype.start=function(){this.read(U.PNG_SIGNATURE.length,this._parseSignature.bind(this))};z.prototype._parseSignature=function(e){let t=U.PNG_SIGNATURE;for(let u=0;u<t.length;u++)if(e[u]!==t[u]){this.error(new Error("Invalid file signature"));return}this.read(8,this._parseChunkBegin.bind(this))};z.prototype._parseChunkBegin=function(e){let t=e.readUInt32BE(0),u=e.readUInt32BE(4),r="";for(let i=4;i<8;i++)r+=String.fromCharCode(e[i]);let n=!!(e[4]&32);if(!this._hasIHDR&&u!==U.TYPE_IHDR){this.error(new Error("Expected IHDR on beggining"));return}if(this._crc=new ro,this._crc.write(Buffer.from(r)),this._chunks[u])return this._chunks[u](t);if(!n){this.error(new Error("Unsupported critical chunk type "+r));return}this.read(t+4,this._skipChunk.bind(this))};z.prototype._skipChunk=function(){this.read(8,this._parseChunkBegin.bind(this))};z.prototype._handleChunkEnd=function(){this.read(4,this._parseChunkEnd.bind(this))};z.prototype._parseChunkEnd=function(e){let t=e.readInt32BE(0),u=this._crc.crc32();if(this._options.checkCRC&&u!==t){this.error(new Error("Crc error - "+t+" - "+u));return}this._hasIEND||this.read(8,this._parseChunkBegin.bind(this))};z.prototype._handleIHDR=function(e){this.read(e,this._parseIHDR.bind(this))};z.prototype._parseIHDR=function(e){this._crc.write(e);let t=e.readUInt32BE(0),u=e.readUInt32BE(4),r=e[8],n=e[9],i=e[10],s=e[11],a=e[12];if(r!==8&&r!==4&&r!==2&&r!==1&&r!==16){this.error(new Error("Unsupported bit depth "+r));return}if(!(n in U.COLORTYPE_TO_BPP_MAP)){this.error(new Error("Unsupported color type"));return}if(i!==0){this.error(new Error("Unsupported compression method"));return}if(s!==0){this.error(new Error("Unsupported filter method"));return}if(a!==0&&a!==1){this.error(new Error("Unsupported interlace method"));return}this._colorType=n;let o=U.COLORTYPE_TO_BPP_MAP[this._colorType];this._hasIHDR=!0,this.metadata({width:t,height:u,depth:r,interlace:!!a,palette:!!(n&U.COLORTYPE_PALETTE),color:!!(n&U.COLORTYPE_COLOR),alpha:!!(n&U.COLORTYPE_ALPHA),bpp:o,colorType:n}),this._handleChunkEnd()};z.prototype._handlePLTE=function(e){this.read(e,this._parsePLTE.bind(this))};z.prototype._parsePLTE=function(e){this._crc.write(e);let t=Math.floor(e.length/3);for(let u=0;u<t;u++)this._palette.push([e[u*3],e[u*3+1],e[u*3+2],255]);this.palette(this._palette),this._handleChunkEnd()};z.prototype._handleTRNS=function(e){this.simpleTransparency(),this.read(e,this._parseTRNS.bind(this))};z.prototype._parseTRNS=function(e){if(this._crc.write(e),this._colorType===U.COLORTYPE_PALETTE_COLOR){if(this._palette.length===0){this.error(new Error("Transparency chunk must be after palette"));return}if(e.length>this._palette.length){this.error(new Error("More transparent colors than palette size"));return}for(let t=0;t<e.length;t++)this._palette[t][3]=e[t];this.palette(this._palette)}this._colorType===U.COLORTYPE_GRAYSCALE&&this.transColor([e.readUInt16BE(0)]),this._colorType===U.COLORTYPE_COLOR&&this.transColor([e.readUInt16BE(0),e.readUInt16BE(2),e.readUInt16BE(4)]),this._handleChunkEnd()};z.prototype._handleGAMA=function(e){this.read(e,this._parseGAMA.bind(this))};z.prototype._parseGAMA=function(e){this._crc.write(e),this.gamma(e.readUInt32BE(0)/U.GAMMA_DIVISION),this._handleChunkEnd()};z.prototype._handleIDAT=function(e){this._emittedHeadersFinished||(this._emittedHeadersFinished=!0,this.headersFinished()),this.read(-e,this._parseIDAT.bind(this,e))};z.prototype._parseIDAT=function(e,t){if(this._crc.write(t),this._colorType===U.COLORTYPE_PALETTE_COLOR&&this._palette.length===0)throw new Error("Expected palette not found");this.inflateData(t);let u=e-t.length;u>0?this._handleIDAT(u):this._handleChunkEnd()};z.prototype._handleIEND=function(e){this.read(e,this._parseIEND.bind(this))};z.prototype._parseIEND=function(e){this._crc.write(e),this._hasIEND=!0,this._handleChunkEnd(),this.finished&&this.finished()}});var Ku=T(pi=>{"use strict";var hi=Vu(),no=[function(){},function(e,t,u,r){if(r===t.length)throw new Error("Ran out of data");let n=t[r];e[u]=n,e[u+1]=n,e[u+2]=n,e[u+3]=255},function(e,t,u,r){if(r+1>=t.length)throw new Error("Ran out of data");let n=t[r];e[u]=n,e[u+1]=n,e[u+2]=n,e[u+3]=t[r+1]},function(e,t,u,r){if(r+2>=t.length)throw new Error("Ran out of data");e[u]=t[r],e[u+1]=t[r+1],e[u+2]=t[r+2],e[u+3]=255},function(e,t,u,r){if(r+3>=t.length)throw new Error("Ran out of data");e[u]=t[r],e[u+1]=t[r+1],e[u+2]=t[r+2],e[u+3]=t[r+3]}],io=[function(){},function(e,t,u,r){let n=t[0];e[u]=n,e[u+1]=n,e[u+2]=n,e[u+3]=r},function(e,t,u){let r=t[0];e[u]=r,e[u+1]=r,e[u+2]=r,e[u+3]=t[1]},function(e,t,u,r){e[u]=t[0],e[u+1]=t[1],e[u+2]=t[2],e[u+3]=r},function(e,t,u){e[u]=t[0],e[u+1]=t[1],e[u+2]=t[2],e[u+3]=t[3]}];function so(e,t){let u=[],r=0;function n(){if(r===e.length)throw new Error("Ran out of data");let i=e[r];r++;let s,a,o,c,l,g,b,y;switch(t){default:throw new Error("unrecognised depth");case 16:b=e[r],r++,u.push((i<<8)+b);break;case 4:b=i&15,y=i>>4,u.push(y,b);break;case 2:l=i&3,g=i>>2&3,b=i>>4&3,y=i>>6&3,u.push(y,b,g,l);break;case 1:s=i&1,a=i>>1&1,o=i>>2&1,c=i>>3&1,l=i>>4&1,g=i>>5&1,b=i>>6&1,y=i>>7&1,u.push(y,b,g,l,c,o,a,s);break}}return{get:function(i){for(;u.length<i;)n();let s=u.slice(0,i);return u=u.slice(i),s},resetAfterLine:function(){u.length=0},end:function(){if(r!==e.length)throw new Error("extra data found")}}}function ao(e,t,u,r,n,i){let s=e.width,a=e.height,o=e.index;for(let c=0;c<a;c++)for(let l=0;l<s;l++){let g=u(l,c,o);no[r](t,n,g,i),i+=r}return i}function oo(e,t,u,r,n,i){let s=e.width,a=e.height,o=e.index;for(let c=0;c<a;c++){for(let l=0;l<s;l++){let g=n.get(r),b=u(l,c,o);io[r](t,g,b,i)}n.resetAfterLine()}}pi.dataToBitMap=function(e,t){let u=t.width,r=t.height,n=t.depth,i=t.bpp,s=t.interlace,a;n!==8&&(a=so(e,n));let o;n<=8?o=Buffer.alloc(u*r*4):o=new Uint16Array(u*r*4);let c=Math.pow(2,n)-1,l=0,g,b;if(s)g=hi.getImagePasses(u,r),b=hi.getInterlaceIterator(u,r);else{let y=0;b=function(){let I=y;return y+=4,I},g=[{width:u,height:r}]}for(let y=0;y<g.length;y++)n===8?l=ao(g[y],o,b,i,e,l):oo(g[y],o,b,i,a,c);if(n===8){if(l!==e.length)throw new Error("extra data found")}else a.end();return o}});var Xu=T((d1,gi)=>{"use strict";function co(e,t,u,r,n){let i=0;for(let s=0;s<r;s++)for(let a=0;a<u;a++){let o=n[e[i]];if(!o)throw new Error("index "+e[i]+" not in palette");for(let c=0;c<4;c++)t[i+c]=o[c];i+=4}}function lo(e,t,u,r,n){let i=0;for(let s=0;s<r;s++)for(let a=0;a<u;a++){let o=!1;if(n.length===1?n[0]===e[i]&&(o=!0):n[0]===e[i]&&n[1]===e[i+1]&&n[2]===e[i+2]&&(o=!0),o)for(let c=0;c<4;c++)t[i+c]=0;i+=4}}function fo(e,t,u,r,n){let i=255,s=Math.pow(2,n)-1,a=0;for(let o=0;o<r;o++)for(let c=0;c<u;c++){for(let l=0;l<4;l++)t[a+l]=Math.floor(e[a+l]*i/s+.5);a+=4}}gi.exports=function(e,t){let u=t.depth,r=t.width,n=t.height,i=t.colorType,s=t.transColor,a=t.palette,o=e;return i===3?co(e,o,r,n,a):(s&&lo(e,o,r,n,s),u!==8&&(u===16&&(o=Buffer.alloc(r*n*4)),fo(e,o,r,n,u))),o}});var xi=T((h1,mi)=>{"use strict";var ho=require("util"),er=require("zlib"),bi=zu(),po=ci(),go=Ju(),bo=Ku(),mo=Xu(),ce=mi.exports=function(e){bi.call(this),this._parser=new go(e,{read:this.read.bind(this),error:this._handleError.bind(this),metadata:this._handleMetaData.bind(this),gamma:this.emit.bind(this,"gamma"),palette:this._handlePalette.bind(this),transColor:this._handleTransColor.bind(this),finished:this._finished.bind(this),inflateData:this._inflateData.bind(this),simpleTransparency:this._simpleTransparency.bind(this),headersFinished:this._headersFinished.bind(this)}),this._options=e,this.writable=!0,this._parser.start()};ho.inherits(ce,bi);ce.prototype._handleError=function(e){this.emit("error",e),this.writable=!1,this.destroy(),this._inflate&&this._inflate.destroy&&this._inflate.destroy(),this._filter&&(this._filter.destroy(),this._filter.on("error",function(){})),this.errord=!0};ce.prototype._inflateData=function(e){if(!this._inflate)if(this._bitmapInfo.interlace)this._inflate=er.createInflate(),this._inflate.on("error",this.emit.bind(this,"error")),this._filter.on("complete",this._complete.bind(this)),this._inflate.pipe(this._filter);else{let u=((this._bitmapInfo.width*this._bitmapInfo.bpp*this._bitmapInfo.depth+7>>3)+1)*this._bitmapInfo.height,r=Math.max(u,er.Z_MIN_CHUNK);this._inflate=er.createInflate({chunkSize:r});let n=u,i=this.emit.bind(this,"error");this._inflate.on("error",function(a){n&&i(a)}),this._filter.on("complete",this._complete.bind(this));let s=this._filter.write.bind(this._filter);this._inflate.on("data",function(a){n&&(a.length>n&&(a=a.slice(0,n)),n-=a.length,s(a))}),this._inflate.on("end",this._filter.end.bind(this._filter))}this._inflate.write(e)};ce.prototype._handleMetaData=function(e){this._metaData=e,this._bitmapInfo=Object.create(e),this._filter=new po(this._bitmapInfo)};ce.prototype._handleTransColor=function(e){this._bitmapInfo.transColor=e};ce.prototype._handlePalette=function(e){this._bitmapInfo.palette=e};ce.prototype._simpleTransparency=function(){this._metaData.alpha=!0};ce.prototype._headersFinished=function(){this.emit("metadata",this._metaData)};ce.prototype._finished=function(){this.errord||(this._inflate?this._inflate.end():this.emit("error","No Inflate block"))};ce.prototype._complete=function(e){if(this.errord)return;let t;try{let u=bo.dataToBitMap(e,this._bitmapInfo);t=mo(u,this._bitmapInfo),u=null}catch(u){this._handleError(u);return}this.emit("parsed",t)}});var wi=T((p1,yi)=>{"use strict";var re=Ye();yi.exports=function(e,t,u,r){let n=[re.COLORTYPE_COLOR_ALPHA,re.COLORTYPE_ALPHA].indexOf(r.colorType)!==-1;if(r.colorType===r.inputColorType){let I=function(){let v=new ArrayBuffer(2);return new DataView(v).setInt16(0,256,!0),new Int16Array(v)[0]!==256}();if(r.bitDepth===8||r.bitDepth===16&&I)return e}let i=r.bitDepth!==16?e:new Uint16Array(e.buffer),s=255,a=re.COLORTYPE_TO_BPP_MAP[r.inputColorType];a===4&&!r.inputHasAlpha&&(a=3);let o=re.COLORTYPE_TO_BPP_MAP[r.colorType];r.bitDepth===16&&(s=65535,o*=2);let c=Buffer.alloc(t*u*o),l=0,g=0,b=r.bgColor||{};b.red===void 0&&(b.red=s),b.green===void 0&&(b.green=s),b.blue===void 0&&(b.blue=s);function y(){let I,v,E,m=s;switch(r.inputColorType){case re.COLORTYPE_COLOR_ALPHA:m=i[l+3],I=i[l],v=i[l+1],E=i[l+2];break;case re.COLORTYPE_COLOR:I=i[l],v=i[l+1],E=i[l+2];break;case re.COLORTYPE_ALPHA:m=i[l+1],I=i[l],v=I,E=I;break;case re.COLORTYPE_GRAYSCALE:I=i[l],v=I,E=I;break;default:throw new Error("input color type:"+r.inputColorType+" is not supported at present")}return r.inputHasAlpha&&(n||(m/=s,I=Math.min(Math.max(Math.round((1-m)*b.red+m*I),0),s),v=Math.min(Math.max(Math.round((1-m)*b.green+m*v),0),s),E=Math.min(Math.max(Math.round((1-m)*b.blue+m*E),0),s))),{red:I,green:v,blue:E,alpha:m}}for(let I=0;I<u;I++)for(let v=0;v<t;v++){let E=y(i,l);switch(r.colorType){case re.COLORTYPE_COLOR_ALPHA:case re.COLORTYPE_COLOR:r.bitDepth===8?(c[g]=E.red,c[g+1]=E.green,c[g+2]=E.blue,n&&(c[g+3]=E.alpha)):(c.writeUInt16BE(E.red,g),c.writeUInt16BE(E.green,g+2),c.writeUInt16BE(E.blue,g+4),n&&c.writeUInt16BE(E.alpha,g+6));break;case re.COLORTYPE_ALPHA:case re.COLORTYPE_GRAYSCALE:{let m=(E.red+E.green+E.blue)/3;r.bitDepth===8?(c[g]=m,n&&(c[g+1]=E.alpha)):(c.writeUInt16BE(m,g),n&&c.writeUInt16BE(E.alpha,g+2));break}default:throw new Error("unrecognised color Type "+r.colorType)}l+=a,g+=o}return c}});var vi=T((g1,Ii)=>{"use strict";var Ei=Gu();function xo(e,t,u,r,n){for(let i=0;i<u;i++)r[n+i]=e[t+i]}function yo(e,t,u){let r=0,n=t+u;for(let i=t;i<n;i++)r+=Math.abs(e[i]);return r}function wo(e,t,u,r,n,i){for(let s=0;s<u;s++){let a=s>=i?e[t+s-i]:0,o=e[t+s]-a;r[n+s]=o}}function Eo(e,t,u,r){let n=0;for(let i=0;i<u;i++){let s=i>=r?e[t+i-r]:0,a=e[t+i]-s;n+=Math.abs(a)}return n}function Io(e,t,u,r,n){for(let i=0;i<u;i++){let s=t>0?e[t+i-u]:0,a=e[t+i]-s;r[n+i]=a}}function vo(e,t,u){let r=0,n=t+u;for(let i=t;i<n;i++){let s=t>0?e[i-u]:0,a=e[i]-s;r+=Math.abs(a)}return r}function Ao(e,t,u,r,n,i){for(let s=0;s<u;s++){let a=s>=i?e[t+s-i]:0,o=t>0?e[t+s-u]:0,c=e[t+s]-(a+o>>1);r[n+s]=c}}function To(e,t,u,r){let n=0;for(let i=0;i<u;i++){let s=i>=r?e[t+i-r]:0,a=t>0?e[t+i-u]:0,o=e[t+i]-(s+a>>1);n+=Math.abs(o)}return n}function Co(e,t,u,r,n,i){for(let s=0;s<u;s++){let a=s>=i?e[t+s-i]:0,o=t>0?e[t+s-u]:0,c=t>0&&s>=i?e[t+s-(u+i)]:0,l=e[t+s]-Ei(a,o,c);r[n+s]=l}}function So(e,t,u,r){let n=0;for(let i=0;i<u;i++){let s=i>=r?e[t+i-r]:0,a=t>0?e[t+i-u]:0,o=t>0&&i>=r?e[t+i-(u+r)]:0,c=e[t+i]-Ei(s,a,o);n+=Math.abs(c)}return n}var Mo={0:xo,1:wo,2:Io,3:Ao,4:Co},_o={0:yo,1:Eo,2:vo,3:To,4:So};Ii.exports=function(e,t,u,r,n){let i;if(!("filterType"in r)||r.filterType===-1)i=[0,1,2,3,4];else if(typeof r.filterType=="number")i=[r.filterType];else throw new Error("unrecognised filter types");r.bitDepth===16&&(n*=2);let s=t*n,a=0,o=0,c=Buffer.alloc((s+1)*u),l=i[0];for(let g=0;g<u;g++){if(i.length>1){let b=1/0;for(let y=0;y<i.length;y++){let I=_o[i[y]](e,o,s,n);I<b&&(l=i[y],b=I)}}c[a]=l,a++,Mo[l](e,o,s,c,a,n),a+=s,o+=s}return c}});var tr=T((b1,Ai)=>{"use strict";var Z=Ye(),Lo=Zu(),No=wi(),Do=vi(),ko=require("zlib"),we=Ai.exports=function(e){if(this._options=e,e.deflateChunkSize=e.deflateChunkSize||32*1024,e.deflateLevel=e.deflateLevel!=null?e.deflateLevel:9,e.deflateStrategy=e.deflateStrategy!=null?e.deflateStrategy:3,e.inputHasAlpha=e.inputHasAlpha!=null?e.inputHasAlpha:!0,e.deflateFactory=e.deflateFactory||ko.createDeflate,e.bitDepth=e.bitDepth||8,e.colorType=typeof e.colorType=="number"?e.colorType:Z.COLORTYPE_COLOR_ALPHA,e.inputColorType=typeof e.inputColorType=="number"?e.inputColorType:Z.COLORTYPE_COLOR_ALPHA,[Z.COLORTYPE_GRAYSCALE,Z.COLORTYPE_COLOR,Z.COLORTYPE_COLOR_ALPHA,Z.COLORTYPE_ALPHA].indexOf(e.colorType)===-1)throw new Error("option color type:"+e.colorType+" is not supported at present");if([Z.COLORTYPE_GRAYSCALE,Z.COLORTYPE_COLOR,Z.COLORTYPE_COLOR_ALPHA,Z.COLORTYPE_ALPHA].indexOf(e.inputColorType)===-1)throw new Error("option input color type:"+e.inputColorType+" is not supported at present");if(e.bitDepth!==8&&e.bitDepth!==16)throw new Error("option bit depth:"+e.bitDepth+" is not supported at present")};we.prototype.getDeflateOptions=function(){return{chunkSize:this._options.deflateChunkSize,level:this._options.deflateLevel,strategy:this._options.deflateStrategy}};we.prototype.createDeflate=function(){return this._options.deflateFactory(this.getDeflateOptions())};we.prototype.filterData=function(e,t,u){let r=No(e,t,u,this._options),n=Z.COLORTYPE_TO_BPP_MAP[this._options.colorType];return Do(r,t,u,this._options,n)};we.prototype._packChunk=function(e,t){let u=t?t.length:0,r=Buffer.alloc(u+12);return r.writeUInt32BE(u,0),r.writeUInt32BE(e,4),t&&t.copy(r,8),r.writeInt32BE(Lo.crc32(r.slice(4,r.length-4)),r.length-4),r};we.prototype.packGAMA=function(e){let t=Buffer.alloc(4);return t.writeUInt32BE(Math.floor(e*Z.GAMMA_DIVISION),0),this._packChunk(Z.TYPE_gAMA,t)};we.prototype.packIHDR=function(e,t){let u=Buffer.alloc(13);return u.writeUInt32BE(e,0),u.writeUInt32BE(t,4),u[8]=this._options.bitDepth,u[9]=this._options.colorType,u[10]=0,u[11]=0,u[12]=0,this._packChunk(Z.TYPE_IHDR,u)};we.prototype.packIDAT=function(e){return this._packChunk(Z.TYPE_IDAT,e)};we.prototype.packIEND=function(){return this._packChunk(Z.TYPE_IEND,null)}});var Mi=T((m1,Si)=>{"use strict";var Bo=require("util"),Ti=require("stream"),Oo=Ye(),Ro=tr(),Ci=Si.exports=function(e){Ti.call(this);let t=e||{};this._packer=new Ro(t),this._deflate=this._packer.createDeflate(),this.readable=!0};Bo.inherits(Ci,Ti);Ci.prototype.pack=function(e,t,u,r){this.emit("data",Buffer.from(Oo.PNG_SIGNATURE)),this.emit("data",this._packer.packIHDR(t,u)),r&&this.emit("data",this._packer.packGAMA(r));let n=this._packer.filterData(e,t,u);this._deflate.on("error",this.emit.bind(this,"error")),this._deflate.on("data",function(i){this.emit("data",this._packer.packIDAT(i))}.bind(this)),this._deflate.on("end",function(){this.emit("data",this._packer.packIEND()),this.emit("end")}.bind(this)),this._deflate.end(n)}});var Bi=T((gt,ki)=>{"use strict";var _i=require("assert").ok,We=require("zlib"),qo=require("util"),Li=require("buffer").kMaxLength;function Me(e){if(!(this instanceof Me))return new Me(e);e&&e.chunkSize<We.Z_MIN_CHUNK&&(e.chunkSize=We.Z_MIN_CHUNK),We.Inflate.call(this,e),this._offset=this._offset===void 0?this._outOffset:this._offset,this._buffer=this._buffer||this._outBuffer,e&&e.maxLength!=null&&(this._maxLength=e.maxLength)}function Po(e){return new Me(e)}function Ni(e,t){t&&process.nextTick(t),e._handle&&(e._handle.close(),e._handle=null)}Me.prototype._processChunk=function(e,t,u){if(typeof u=="function")return We.Inflate._processChunk.call(this,e,t,u);let r=this,n=e&&e.length,i=this._chunkSize-this._offset,s=this._maxLength,a=0,o=[],c=0,l;this.on("error",function(I){l=I});function g(I,v){if(r._hadError)return;let E=i-v;if(_i(E>=0,"have should not go down"),E>0){let m=r._buffer.slice(r._offset,r._offset+E);if(r._offset+=E,m.length>s&&(m=m.slice(0,s)),o.push(m),c+=m.length,s-=m.length,s===0)return!1}return(v===0||r._offset>=r._chunkSize)&&(i=r._chunkSize,r._offset=0,r._buffer=Buffer.allocUnsafe(r._chunkSize)),v===0?(a+=n-I,n=I,!0):!1}_i(this._handle,"zlib binding closed");let b;do b=this._handle.writeSync(t,e,a,n,this._buffer,this._offset,i),b=b||this._writeState;while(!this._hadError&&g(b[0],b[1]));if(this._hadError)throw l;if(c>=Li)throw Ni(this),new RangeError("Cannot create final Buffer. It would be larger than 0x"+Li.toString(16)+" bytes");let y=Buffer.concat(o,c);return Ni(this),y};qo.inherits(Me,We.Inflate);function Fo(e,t){if(typeof t=="string"&&(t=Buffer.from(t)),!(t instanceof Buffer))throw new TypeError("Not a string or buffer");let u=e._finishFlushFlag;return u==null&&(u=We.Z_FINISH),e._processChunk(t,u)}function Di(e,t){return Fo(new Me(t),e)}ki.exports=gt=Di;gt.Inflate=Me;gt.createInflate=Po;gt.inflateSync=Di});var ur=T((x1,Ri)=>{"use strict";var Oi=Ri.exports=function(e){this._buffer=e,this._reads=[]};Oi.prototype.read=function(e,t){this._reads.push({length:Math.abs(e),allowLess:e<0,func:t})};Oi.prototype.process=function(){for(;this._reads.length>0&&this._buffer.length;){let e=this._reads[0];if(this._buffer.length&&(this._buffer.length>=e.length||e.allowLess)){this._reads.shift();let t=this._buffer;this._buffer=t.slice(e.length),e.func.call(this,t.slice(0,e.length))}else break}if(this._reads.length>0)return new Error("There are some read requests waitng on finished stream");if(this._buffer.length>0)return new Error("unrecognised content at end of stream")}});var Pi=T(qi=>{"use strict";var jo=ur(),$o=Yu();qi.process=function(e,t){let u=[],r=new jo(e);return new $o(t,{read:r.read.bind(r),write:function(i){u.push(i)},complete:function(){}}).start(),r.process(),Buffer.concat(u)}});var Ui=T((w1,$i)=>{"use strict";var Fi=!0,ji=require("zlib"),Uo=Bi();ji.deflateSync||(Fi=!1);var zo=ur(),Ho=Pi(),Vo=Ju(),Go=Ku(),Yo=Xu();$i.exports=function(e,t){if(!Fi)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let u;function r(f){u=f}let n;function i(f){n=f}function s(f){n.transColor=f}function a(f){n.palette=f}function o(){n.alpha=!0}let c;function l(f){c=f}let g=[];function b(f){g.push(f)}let y=new zo(e);if(new Vo(t,{read:y.read.bind(y),error:r,metadata:i,gamma:l,palette:a,transColor:s,inflateData:b,simpleTransparency:o}).start(),y.process(),u)throw u;let v=Buffer.concat(g);g.length=0;let E;if(n.interlace)E=ji.inflateSync(v);else{let h=((n.width*n.bpp*n.depth+7>>3)+1)*n.height;E=Uo(v,{chunkSize:h,maxLength:h})}if(v=null,!E||!E.length)throw new Error("bad png - invalid inflate data response");let m=Ho.process(E,n);v=null;let x=Go.dataToBitMap(m,n);m=null;let p=Yo(x,n);return n.data=p,n.gamma=c||0,n}});var Gi=T((E1,Vi)=>{"use strict";var zi=!0,Hi=require("zlib");Hi.deflateSync||(zi=!1);var Wo=Ye(),Qo=tr();Vi.exports=function(e,t){if(!zi)throw new Error("To use the sync capability of this library in old node versions, please pin pngjs to v2.3.0");let u=t||{},r=new Qo(u),n=[];n.push(Buffer.from(Wo.PNG_SIGNATURE)),n.push(r.packIHDR(e.width,e.height)),e.gamma&&n.push(r.packGAMA(e.gamma));let i=r.filterData(e.data,e.width,e.height),s=Hi.deflateSync(i,r.getDeflateOptions());if(i=null,!s||!s.length)throw new Error("bad png - invalid compressed data response");return n.push(r.packIDAT(s)),n.push(r.packIEND()),Buffer.concat(n)}});var Yi=T(rr=>{"use strict";var Zo=Ui(),Jo=Gi();rr.read=function(e,t){return Zo(e,t||{})};rr.write=function(e,t){return Jo(e,t)}});var Zi=T(Qi=>{"use strict";var Ko=require("util"),Wi=require("stream"),Xo=xi(),ec=Mi(),tc=Yi(),J=Qi.PNG=function(e){Wi.call(this),e=e||{},this.width=e.width|0,this.height=e.height|0,this.data=this.width>0&&this.height>0?Buffer.alloc(4*this.width*this.height):null,e.fill&&this.data&&this.data.fill(0),this.gamma=0,this.readable=this.writable=!0,this._parser=new Xo(e),this._parser.on("error",this.emit.bind(this,"error")),this._parser.on("close",this._handleClose.bind(this)),this._parser.on("metadata",this._metadata.bind(this)),this._parser.on("gamma",this._gamma.bind(this)),this._parser.on("parsed",function(t){this.data=t,this.emit("parsed",t)}.bind(this)),this._packer=new ec(e),this._packer.on("data",this.emit.bind(this,"data")),this._packer.on("end",this.emit.bind(this,"end")),this._parser.on("close",this._handleClose.bind(this)),this._packer.on("error",this.emit.bind(this,"error"))};Ko.inherits(J,Wi);J.sync=tc;J.prototype.pack=function(){return!this.data||!this.data.length?(this.emit("error","No data provided"),this):(process.nextTick(function(){this._packer.pack(this.data,this.width,this.height,this.gamma)}.bind(this)),this)};J.prototype.parse=function(e,t){if(t){let u,r;u=function(n){this.removeListener("error",r),this.data=n,t(null,this)}.bind(this),r=function(n){this.removeListener("parsed",u),t(n,null)}.bind(this),this.once("parsed",u),this.once("error",r)}return this.end(e),this};J.prototype.write=function(e){return this._parser.write(e),!0};J.prototype.end=function(e){this._parser.end(e)};J.prototype._metadata=function(e){this.width=e.width,this.height=e.height,this.emit("metadata",e)};J.prototype._gamma=function(e){this.gamma=e};J.prototype._handleClose=function(){!this._parser.writable&&!this._packer.readable&&this.emit("close")};J.bitblt=function(e,t,u,r,n,i,s,a){if(u|=0,r|=0,n|=0,i|=0,s|=0,a|=0,u>e.width||r>e.height||u+n>e.width||r+i>e.height)throw new Error("bitblt reading outside image");if(s>t.width||a>t.height||s+n>t.width||a+i>t.height)throw new Error("bitblt writing outside image");for(let o=0;o<i;o++)e.data.copy(t.data,(a+o)*t.width+s<<2,(r+o)*e.width+u<<2,(r+o)*e.width+u+n<<2)};J.prototype.bitblt=function(e,t,u,r,n,i,s){return J.bitblt(this,e,t,u,r,n,i,s),this};J.adjustGamma=function(e){if(e.gamma){for(let t=0;t<e.height;t++)for(let u=0;u<e.width;u++){let r=e.width*t+u<<2;for(let n=0;n<3;n++){let i=e.data[r+n]/255;i=Math.pow(i,1/2.2/e.gamma),e.data[r+n]=Math.round(i*255)}}e.gamma=0}};J.prototype.adjustGamma=function(){J.adjustGamma(this)}});var bt=T(_e=>{"use strict";function Ji(e){if(typeof e=="number"&&(e=e.toString()),typeof e!="string")throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||t.length===5||t.length>8)throw new Error("Invalid hex color: "+e);(t.length===3||t.length===4)&&(t=Array.prototype.concat.apply([],t.map(function(r){return[r,r]}))),t.length===6&&t.push("F","F");let u=parseInt(t.join(""),16);return{r:u>>24&255,g:u>>16&255,b:u>>8&255,a:u&255,hex:"#"+t.slice(0,6).join("")}}_e.getOptions=function(t){t||(t={}),t.color||(t.color={});let u=typeof t.margin>"u"||t.margin===null||t.margin<0?4:t.margin,r=t.width&&t.width>=21?t.width:void 0,n=t.scale||4;return{width:r,scale:r?4:n,margin:u,color:{dark:Ji(t.color.dark||"#000000ff"),light:Ji(t.color.light||"#ffffffff")},type:t.type,rendererOpts:t.rendererOpts||{}}};_e.getScale=function(t,u){return u.width&&u.width>=t+u.margin*2?u.width/(t+u.margin*2):u.scale};_e.getImageWidth=function(t,u){let r=_e.getScale(t,u);return Math.floor((t+u.margin*2)*r)};_e.qrToImageData=function(t,u,r){let n=u.modules.size,i=u.modules.data,s=_e.getScale(n,r),a=Math.floor((n+r.margin*2)*s),o=r.margin*s,c=[r.color.light,r.color.dark];for(let l=0;l<a;l++)for(let g=0;g<a;g++){let b=(l*a+g)*4,y=r.color.light;if(l>=o&&g>=o&&l<a-o&&g<a-o){let I=Math.floor((l-o)/s),v=Math.floor((g-o)/s);y=c[i[I*n+v]?1:0]}t[b++]=y.r,t[b++]=y.g,t[b++]=y.b,t[b]=y.a}}});var Ki=T(le=>{"use strict";var uc=require("fs"),rc=Zi().PNG,nr=bt();le.render=function(t,u){let r=nr.getOptions(u),n=r.rendererOpts,i=nr.getImageWidth(t.modules.size,r);n.width=i,n.height=i;let s=new rc(n);return nr.qrToImageData(s.data,t,r),s};le.renderToDataURL=function(t,u,r){typeof r>"u"&&(r=u,u=void 0),le.renderToBuffer(t,u,function(n,i){n&&r(n);let s="data:image/png;base64,";s+=i.toString("base64"),r(null,s)})};le.renderToBuffer=function(t,u,r){typeof r>"u"&&(r=u,u=void 0);let n=le.render(t,u),i=[];n.on("error",r),n.on("data",function(s){i.push(s)}),n.on("end",function(){r(null,Buffer.concat(i))}),n.pack()};le.renderToFile=function(t,u,r,n){typeof n>"u"&&(n=r,r=void 0);let i=!1,s=(...o)=>{i||(i=!0,n.apply(null,o))},a=uc.createWriteStream(t);a.on("error",s),a.on("close",s),le.renderToFileStream(a,u,r)};le.renderToFileStream=function(t,u,r){le.render(u,r).pack().pipe(t)}});var Xi=T(Zt=>{"use strict";var nc=bt(),ic={WW:" ",WB:"\u2584",BB:"\u2588",BW:"\u2580"},sc={BB:" ",BW:"\u2584",WW:"\u2588",WB:"\u2580"};function ac(e,t,u){return e&&t?u.BB:e&&!t?u.BW:!e&&t?u.WB:u.WW}Zt.render=function(e,t,u){let r=nc.getOptions(t),n=ic;(r.color.dark.hex==="#ffffff"||r.color.light.hex==="#000000")&&(n=sc);let i=e.modules.size,s=e.modules.data,a="",o=Array(i+r.margin*2+1).join(n.WW);o=Array(r.margin/2+1).join(o+`
|
|
8
|
-
`);let c=Array(r.margin+1).join(n.WW);a+=o;for(let l=0;l<i;l+=2){a+=c;for(let g=0;g<i;g++){let b=s[l*i+g],y=s[(l+1)*i+g];a+=ac(b,y,n)}a+=c+`
|
|
9
|
-
`}return a+=o.slice(0,-1),typeof u=="function"&&u(null,a),a};Zt.renderToFile=function(t,u,r,n){typeof n>"u"&&(n=r,r=void 0);let i=require("fs"),s=Zt.render(u,r);i.writeFile(t,s,n)}});var t0=T(e0=>{"use strict";e0.render=function(e,t,u){let r=e.modules.size,n=e.modules.data,i="\x1B[40m \x1B[0m",s="\x1B[47m \x1B[0m",a="",o=Array(r+3).join(s),c=Array(2).join(s);a+=o+`
|
|
10
|
-
`;for(let l=0;l<r;++l){a+=s;for(let g=0;g<r;g++)a+=n[l*r+g]?i:s;a+=c+`
|
|
11
|
-
`}return a+=o+`
|
|
12
|
-
`,typeof u=="function"&&u(null,a),a}});var i0=T(n0=>{"use strict";var oc="\x1B[47m",cc="\x1B[40m",ir="\x1B[37m",sr="\x1B[30m",Le="\x1B[0m",lc=oc+sr,fc=cc+ir,dc=function(e,t,u){return{"00":Le+" "+e,"01":Le+t+"\u2584"+e,"02":Le+u+"\u2584"+e,10:Le+t+"\u2580"+e,11:" ",12:"\u2584",20:Le+u+"\u2580"+e,21:"\u2580",22:"\u2588"}},u0=function(e,t,u,r){let n=t+1;if(u>=n||r>=n||r<-1||u<-1)return"0";if(u>=t||r>=t||r<0||u<0)return"1";let i=r*t+u;return e[i]?"2":"1"},r0=function(e,t,u,r){return u0(e,t,u,r)+u0(e,t,u,r+1)};n0.render=function(e,t,u){let r=e.modules.size,n=e.modules.data,i=!!(t&&t.inverse),s=t&&t.inverse?fc:lc,c=dc(s,i?sr:ir,i?ir:sr),l=Le+`
|
|
13
|
-
`+s,g=s;for(let b=-1;b<r+1;b+=2){for(let y=-1;y<r;y++)g+=c[r0(n,r,y,b)];g+=c[r0(n,r,r,b)]+l}return g+=Le,typeof u=="function"&&u(null,g),g}});var a0=T(s0=>{"use strict";var hc=t0(),pc=i0();s0.render=function(e,t,u){return t&&t.small?pc.render(e,t,u):hc.render(e,t,u)}});var or=T(c0=>{"use strict";var gc=bt();function o0(e,t){let u=e.a/255,r=t+'="'+e.hex+'"';return u<1?r+" "+t+'-opacity="'+u.toFixed(2).slice(1)+'"':r}function ar(e,t,u){let r=e+t;return typeof u<"u"&&(r+=" "+u),r}function bc(e,t,u){let r="",n=0,i=!1,s=0;for(let a=0;a<e.length;a++){let o=Math.floor(a%t),c=Math.floor(a/t);!o&&!i&&(i=!0),e[a]?(s++,a>0&&o>0&&e[a-1]||(r+=i?ar("M",o+u,.5+c+u):ar("m",n,0),n=0,i=!1),o+1<t&&e[a+1]||(r+=ar("h",s),s=0)):n++}return r}c0.render=function(t,u,r){let n=gc.getOptions(u),i=t.modules.size,s=t.modules.data,a=i+n.margin*2,o=n.color.light.a?"<path "+o0(n.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",c="<path "+o0(n.color.dark,"stroke")+' d="'+bc(s,i,n.margin)+'"/>',l='viewBox="0 0 '+a+" "+a+'"',b='<svg xmlns="http://www.w3.org/2000/svg" '+(n.width?'width="'+n.width+'" height="'+n.width+'" ':"")+l+' shape-rendering="crispEdges">'+o+c+`</svg>
|
|
14
|
-
`;return typeof r=="function"&&r(null,b),b}});var l0=T(Jt=>{"use strict";var mc=or();Jt.render=mc.render;Jt.renderToFile=function(t,u,r,n){typeof n>"u"&&(n=r,r=void 0);let i=require("fs"),a='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">'+Jt.render(u,r);i.writeFile(t,a,n)}});var f0=T(Kt=>{"use strict";var cr=bt();function xc(e,t,u){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=u,t.width=u,t.style.height=u+"px",t.style.width=u+"px"}function yc(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}Kt.render=function(t,u,r){let n=r,i=u;typeof n>"u"&&(!u||!u.getContext)&&(n=u,u=void 0),u||(i=yc()),n=cr.getOptions(n);let s=cr.getImageWidth(t.modules.size,n),a=i.getContext("2d"),o=a.createImageData(s,s);return cr.qrToImageData(o.data,t,n),xc(a,i,s),a.putImageData(o,0,0),i};Kt.renderToDataURL=function(t,u,r){let n=r;typeof n>"u"&&(!u||!u.getContext)&&(n=u,u=void 0),n||(n={});let i=Kt.render(t,u,n),s=n.type||"image/png",a=n.rendererOpts||{};return i.toDataURL(s,a.quality)}});var h0=T(mt=>{"use strict";var wc=vu(),lr=Uu(),d0=f0(),Ec=or();function fr(e,t,u,r,n){let i=[].slice.call(arguments,1),s=i.length,a=typeof i[s-1]=="function";if(!a&&!wc())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(n=u,u=t,t=r=void 0):s===3&&(t.getContext&&typeof n>"u"?(n=r,r=void 0):(n=r,r=u,u=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(u=t,t=r=void 0):s===2&&!t.getContext&&(r=u,u=t,t=void 0),new Promise(function(o,c){try{let l=lr.create(u,r);o(e(l,t,r))}catch(l){c(l)}})}try{let o=lr.create(u,r);n(null,e(o,t,r))}catch(o){n(o)}}mt.create=lr.create;mt.toCanvas=fr.bind(null,d0.render);mt.toDataURL=fr.bind(null,d0.renderToDataURL);mt.toString=fr.bind(null,function(e,t,u){return Ec.render(e,u)})});var m0=T(Ee=>{"use strict";var p0=vu(),dr=Uu(),Ic=Ki(),g0=Xi(),vc=a0(),b0=l0();function xt(e,t,u){if(typeof e>"u")throw new Error("String required as first argument");if(typeof u>"u"&&(u=t,t={}),typeof u!="function")if(p0())t=u||{},u=null;else throw new Error("Callback required as last argument");return{opts:t,cb:u}}function Ac(e){return e.slice((e.lastIndexOf(".")-1>>>0)+2).toLowerCase()}function Xt(e){switch(e){case"svg":return b0;case"txt":case"utf8":return g0;case"png":case"image/png":default:return Ic}}function Tc(e){switch(e){case"svg":return b0;case"terminal":return vc;case"utf8":default:return g0}}function yt(e,t,u){if(!u.cb)return new Promise(function(r,n){try{let i=dr.create(t,u.opts);return e(i,u.opts,function(s,a){return s?n(s):r(a)})}catch(i){n(i)}});try{let r=dr.create(t,u.opts);return e(r,u.opts,u.cb)}catch(r){u.cb(r)}}Ee.create=dr.create;Ee.toCanvas=h0().toCanvas;Ee.toString=function(t,u,r){let n=xt(t,u,r),i=n.opts?n.opts.type:void 0,s=Tc(i);return yt(s.render,t,n)};Ee.toDataURL=function(t,u,r){let n=xt(t,u,r),i=Xt(n.opts.type);return yt(i.renderToDataURL,t,n)};Ee.toBuffer=function(t,u,r){let n=xt(t,u,r),i=Xt(n.opts.type);return yt(i.renderToBuffer,t,n)};Ee.toFile=function(t,u,r,n){if(typeof t!="string"||!(typeof u=="string"||typeof u=="object"))throw new Error("Invalid argument");if(arguments.length<3&&!p0())throw new Error("Too few arguments provided");let i=xt(u,r,n),s=i.opts.type||Ac(t),o=Xt(s).renderToFile.bind(null,t);return yt(o,u,i)};Ee.toFileStream=function(t,u,r){if(arguments.length<2)throw new Error("Too few arguments provided");let n=xt(u,r,t.emit.bind(t,"error")),s=Xt("png").renderToFileStream.bind(null,t);yt(s,u,n)}});var y0=T((O1,x0)=>{"use strict";x0.exports=m0()});var Lr=T((gb,ys)=>{"use strict";ys.exports=(e,t=process.argv)=>{let u=e.startsWith("-")?"":e.length===1?"-":"--",r=t.indexOf(u+e),n=t.indexOf("--");return r!==-1&&(n===-1||r<n)}});var Is=T((bb,Es)=>{"use strict";var Xl=require("os"),ws=require("tty"),ne=Lr(),{env:V}=process,Ae;ne("no-color")||ne("no-colors")||ne("color=false")||ne("color=never")?Ae=0:(ne("color")||ne("colors")||ne("color=true")||ne("color=always"))&&(Ae=1);"FORCE_COLOR"in V&&(V.FORCE_COLOR==="true"?Ae=1:V.FORCE_COLOR==="false"?Ae=0:Ae=V.FORCE_COLOR.length===0?1:Math.min(parseInt(V.FORCE_COLOR,10),3));function Nr(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function Dr(e,t){if(Ae===0)return 0;if(ne("color=16m")||ne("color=full")||ne("color=truecolor"))return 3;if(ne("color=256"))return 2;if(e&&!t&&Ae===void 0)return 0;let u=Ae||0;if(V.TERM==="dumb")return u;if(process.platform==="win32"){let r=Xl.release().split(".");return Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in V)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(r=>r in V)||V.CI_NAME==="codeship"?1:u;if("TEAMCITY_VERSION"in V)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(V.TEAMCITY_VERSION)?1:0;if(V.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in V){let r=parseInt((V.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(V.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(V.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(V.TERM)||"COLORTERM"in V?1:u}function ef(e){let t=Dr(e,e&&e.isTTY);return Nr(t)}Es.exports={supportsColor:ef,stdout:Nr(Dr(!0,ws.isatty(1))),stderr:Nr(Dr(!0,ws.isatty(2)))}});var Ts=T((mb,As)=>{"use strict";var tf=Is(),Je=Lr();function vs(e){if(/^\d{3,4}$/.test(e)){let u=/(\d{1,2})(\d{2})/.exec(e);return{major:0,minor:parseInt(u[1],10),patch:parseInt(u[2],10)}}let t=(e||"").split(".").map(u=>parseInt(u,10));return{major:t[0],minor:t[1],patch:t[2]}}function kr(e){let{env:t}=process;if("FORCE_HYPERLINK"in t)return!(t.FORCE_HYPERLINK.length>0&&parseInt(t.FORCE_HYPERLINK,10)===0);if(Je("no-hyperlink")||Je("no-hyperlinks")||Je("hyperlink=false")||Je("hyperlink=never"))return!1;if(Je("hyperlink=true")||Je("hyperlink=always")||"NETLIFY"in t)return!0;if(!tf.supportsColor(e)||e&&!e.isTTY||process.platform==="win32"||"CI"in t||"TEAMCITY_VERSION"in t)return!1;if("TERM_PROGRAM"in t){let u=vs(t.TERM_PROGRAM_VERSION);switch(t.TERM_PROGRAM){case"iTerm.app":return u.major===3?u.minor>=1:u.major>3;case"WezTerm":return u.major>=20200620;case"vscode":return u.major>1||u.major===1&&u.minor>=72}}if("VTE_VERSION"in t){if(t.VTE_VERSION==="0.50.0")return!1;let u=vs(t.VTE_VERSION);return u.major>0||u.minor>=50}return!1}As.exports={supportsHyperlink:kr,stdout:kr(process.stdout),stderr:kr(process.stderr)}});var Lt=N(require("fs/promises")),_s=require("fs"),qr=N(require("path"));var H0=N(require("fs"),1);var Dt=new Uint16Array('\u1D41<\xD5\u0131\u028A\u049D\u057B\u05D0\u0675\u06DE\u07A2\u07D6\u080F\u0A4A\u0A91\u0DA1\u0E6D\u0F09\u0F26\u10CA\u1228\u12E1\u1415\u149D\u14C3\u14DF\u1525\0\0\0\0\0\0\u156B\u16CD\u198D\u1C12\u1DDD\u1F7E\u2060\u21B0\u228D\u23C0\u23FB\u2442\u2824\u2912\u2D08\u2E48\u2FCE\u3016\u32BA\u3639\u37AC\u38FE\u3A28\u3A71\u3AE0\u3B2E\u0800EMabcfglmnoprstu\\bfms\x7F\x84\x8B\x90\x95\x98\xA6\xB3\xB9\xC8\xCFlig\u803B\xC6\u40C6P\u803B&\u4026cute\u803B\xC1\u40C1reve;\u4102\u0100iyx}rc\u803B\xC2\u40C2;\u4410r;\uC000\u{1D504}rave\u803B\xC0\u40C0pha;\u4391acr;\u4100d;\u6A53\u0100gp\x9D\xA1on;\u4104f;\uC000\u{1D538}plyFunction;\u6061ing\u803B\xC5\u40C5\u0100cs\xBE\xC3r;\uC000\u{1D49C}ign;\u6254ilde\u803B\xC3\u40C3ml\u803B\xC4\u40C4\u0400aceforsu\xE5\xFB\xFE\u0117\u011C\u0122\u0127\u012A\u0100cr\xEA\xF2kslash;\u6216\u0176\xF6\xF8;\u6AE7ed;\u6306y;\u4411\u0180crt\u0105\u010B\u0114ause;\u6235noullis;\u612Ca;\u4392r;\uC000\u{1D505}pf;\uC000\u{1D539}eve;\u42D8c\xF2\u0113mpeq;\u624E\u0700HOacdefhilorsu\u014D\u0151\u0156\u0180\u019E\u01A2\u01B5\u01B7\u01BA\u01DC\u0215\u0273\u0278\u027Ecy;\u4427PY\u803B\xA9\u40A9\u0180cpy\u015D\u0162\u017Aute;\u4106\u0100;i\u0167\u0168\u62D2talDifferentialD;\u6145leys;\u612D\u0200aeio\u0189\u018E\u0194\u0198ron;\u410Cdil\u803B\xC7\u40C7rc;\u4108nint;\u6230ot;\u410A\u0100dn\u01A7\u01ADilla;\u40B8terDot;\u40B7\xF2\u017Fi;\u43A7rcle\u0200DMPT\u01C7\u01CB\u01D1\u01D6ot;\u6299inus;\u6296lus;\u6295imes;\u6297o\u0100cs\u01E2\u01F8kwiseContourIntegral;\u6232eCurly\u0100DQ\u0203\u020FoubleQuote;\u601Duote;\u6019\u0200lnpu\u021E\u0228\u0247\u0255on\u0100;e\u0225\u0226\u6237;\u6A74\u0180git\u022F\u0236\u023Aruent;\u6261nt;\u622FourIntegral;\u622E\u0100fr\u024C\u024E;\u6102oduct;\u6210nterClockwiseContourIntegral;\u6233oss;\u6A2Fcr;\uC000\u{1D49E}p\u0100;C\u0284\u0285\u62D3ap;\u624D\u0580DJSZacefios\u02A0\u02AC\u02B0\u02B4\u02B8\u02CB\u02D7\u02E1\u02E6\u0333\u048D\u0100;o\u0179\u02A5trahd;\u6911cy;\u4402cy;\u4405cy;\u440F\u0180grs\u02BF\u02C4\u02C7ger;\u6021r;\u61A1hv;\u6AE4\u0100ay\u02D0\u02D5ron;\u410E;\u4414l\u0100;t\u02DD\u02DE\u6207a;\u4394r;\uC000\u{1D507}\u0100af\u02EB\u0327\u0100cm\u02F0\u0322ritical\u0200ADGT\u0300\u0306\u0316\u031Ccute;\u40B4o\u0174\u030B\u030D;\u42D9bleAcute;\u42DDrave;\u4060ilde;\u42DCond;\u62C4ferentialD;\u6146\u0470\u033D\0\0\0\u0342\u0354\0\u0405f;\uC000\u{1D53B}\u0180;DE\u0348\u0349\u034D\u40A8ot;\u60DCqual;\u6250ble\u0300CDLRUV\u0363\u0372\u0382\u03CF\u03E2\u03F8ontourIntegra\xEC\u0239o\u0274\u0379\0\0\u037B\xBB\u0349nArrow;\u61D3\u0100eo\u0387\u03A4ft\u0180ART\u0390\u0396\u03A1rrow;\u61D0ightArrow;\u61D4e\xE5\u02CAng\u0100LR\u03AB\u03C4eft\u0100AR\u03B3\u03B9rrow;\u67F8ightArrow;\u67FAightArrow;\u67F9ight\u0100AT\u03D8\u03DErrow;\u61D2ee;\u62A8p\u0241\u03E9\0\0\u03EFrrow;\u61D1ownArrow;\u61D5erticalBar;\u6225n\u0300ABLRTa\u0412\u042A\u0430\u045E\u047F\u037Crrow\u0180;BU\u041D\u041E\u0422\u6193ar;\u6913pArrow;\u61F5reve;\u4311eft\u02D2\u043A\0\u0446\0\u0450ightVector;\u6950eeVector;\u695Eector\u0100;B\u0459\u045A\u61BDar;\u6956ight\u01D4\u0467\0\u0471eeVector;\u695Fector\u0100;B\u047A\u047B\u61C1ar;\u6957ee\u0100;A\u0486\u0487\u62A4rrow;\u61A7\u0100ct\u0492\u0497r;\uC000\u{1D49F}rok;\u4110\u0800NTacdfglmopqstux\u04BD\u04C0\u04C4\u04CB\u04DE\u04E2\u04E7\u04EE\u04F5\u0521\u052F\u0536\u0552\u055D\u0560\u0565G;\u414AH\u803B\xD0\u40D0cute\u803B\xC9\u40C9\u0180aiy\u04D2\u04D7\u04DCron;\u411Arc\u803B\xCA\u40CA;\u442Dot;\u4116r;\uC000\u{1D508}rave\u803B\xC8\u40C8ement;\u6208\u0100ap\u04FA\u04FEcr;\u4112ty\u0253\u0506\0\0\u0512mallSquare;\u65FBerySmallSquare;\u65AB\u0100gp\u0526\u052Aon;\u4118f;\uC000\u{1D53C}silon;\u4395u\u0100ai\u053C\u0549l\u0100;T\u0542\u0543\u6A75ilde;\u6242librium;\u61CC\u0100ci\u0557\u055Ar;\u6130m;\u6A73a;\u4397ml\u803B\xCB\u40CB\u0100ip\u056A\u056Fsts;\u6203onentialE;\u6147\u0280cfios\u0585\u0588\u058D\u05B2\u05CCy;\u4424r;\uC000\u{1D509}lled\u0253\u0597\0\0\u05A3mallSquare;\u65FCerySmallSquare;\u65AA\u0370\u05BA\0\u05BF\0\0\u05C4f;\uC000\u{1D53D}All;\u6200riertrf;\u6131c\xF2\u05CB\u0600JTabcdfgorst\u05E8\u05EC\u05EF\u05FA\u0600\u0612\u0616\u061B\u061D\u0623\u066C\u0672cy;\u4403\u803B>\u403Emma\u0100;d\u05F7\u05F8\u4393;\u43DCreve;\u411E\u0180eiy\u0607\u060C\u0610dil;\u4122rc;\u411C;\u4413ot;\u4120r;\uC000\u{1D50A};\u62D9pf;\uC000\u{1D53E}eater\u0300EFGLST\u0635\u0644\u064E\u0656\u065B\u0666qual\u0100;L\u063E\u063F\u6265ess;\u62DBullEqual;\u6267reater;\u6AA2ess;\u6277lantEqual;\u6A7Eilde;\u6273cr;\uC000\u{1D4A2};\u626B\u0400Aacfiosu\u0685\u068B\u0696\u069B\u069E\u06AA\u06BE\u06CARDcy;\u442A\u0100ct\u0690\u0694ek;\u42C7;\u405Eirc;\u4124r;\u610ClbertSpace;\u610B\u01F0\u06AF\0\u06B2f;\u610DizontalLine;\u6500\u0100ct\u06C3\u06C5\xF2\u06A9rok;\u4126mp\u0144\u06D0\u06D8ownHum\xF0\u012Fqual;\u624F\u0700EJOacdfgmnostu\u06FA\u06FE\u0703\u0707\u070E\u071A\u071E\u0721\u0728\u0744\u0778\u078B\u078F\u0795cy;\u4415lig;\u4132cy;\u4401cute\u803B\xCD\u40CD\u0100iy\u0713\u0718rc\u803B\xCE\u40CE;\u4418ot;\u4130r;\u6111rave\u803B\xCC\u40CC\u0180;ap\u0720\u072F\u073F\u0100cg\u0734\u0737r;\u412AinaryI;\u6148lie\xF3\u03DD\u01F4\u0749\0\u0762\u0100;e\u074D\u074E\u622C\u0100gr\u0753\u0758ral;\u622Bsection;\u62C2isible\u0100CT\u076C\u0772omma;\u6063imes;\u6062\u0180gpt\u077F\u0783\u0788on;\u412Ef;\uC000\u{1D540}a;\u4399cr;\u6110ilde;\u4128\u01EB\u079A\0\u079Ecy;\u4406l\u803B\xCF\u40CF\u0280cfosu\u07AC\u07B7\u07BC\u07C2\u07D0\u0100iy\u07B1\u07B5rc;\u4134;\u4419r;\uC000\u{1D50D}pf;\uC000\u{1D541}\u01E3\u07C7\0\u07CCr;\uC000\u{1D4A5}rcy;\u4408kcy;\u4404\u0380HJacfos\u07E4\u07E8\u07EC\u07F1\u07FD\u0802\u0808cy;\u4425cy;\u440Cppa;\u439A\u0100ey\u07F6\u07FBdil;\u4136;\u441Ar;\uC000\u{1D50E}pf;\uC000\u{1D542}cr;\uC000\u{1D4A6}\u0580JTaceflmost\u0825\u0829\u082C\u0850\u0863\u09B3\u09B8\u09C7\u09CD\u0A37\u0A47cy;\u4409\u803B<\u403C\u0280cmnpr\u0837\u083C\u0841\u0844\u084Dute;\u4139bda;\u439Bg;\u67EAlacetrf;\u6112r;\u619E\u0180aey\u0857\u085C\u0861ron;\u413Ddil;\u413B;\u441B\u0100fs\u0868\u0970t\u0500ACDFRTUVar\u087E\u08A9\u08B1\u08E0\u08E6\u08FC\u092F\u095B\u0390\u096A\u0100nr\u0883\u088FgleBracket;\u67E8row\u0180;BR\u0899\u089A\u089E\u6190ar;\u61E4ightArrow;\u61C6eiling;\u6308o\u01F5\u08B7\0\u08C3bleBracket;\u67E6n\u01D4\u08C8\0\u08D2eeVector;\u6961ector\u0100;B\u08DB\u08DC\u61C3ar;\u6959loor;\u630Aight\u0100AV\u08EF\u08F5rrow;\u6194ector;\u694E\u0100er\u0901\u0917e\u0180;AV\u0909\u090A\u0910\u62A3rrow;\u61A4ector;\u695Aiangle\u0180;BE\u0924\u0925\u0929\u62B2ar;\u69CFqual;\u62B4p\u0180DTV\u0937\u0942\u094CownVector;\u6951eeVector;\u6960ector\u0100;B\u0956\u0957\u61BFar;\u6958ector\u0100;B\u0965\u0966\u61BCar;\u6952ight\xE1\u039Cs\u0300EFGLST\u097E\u098B\u0995\u099D\u09A2\u09ADqualGreater;\u62DAullEqual;\u6266reater;\u6276ess;\u6AA1lantEqual;\u6A7Dilde;\u6272r;\uC000\u{1D50F}\u0100;e\u09BD\u09BE\u62D8ftarrow;\u61DAidot;\u413F\u0180npw\u09D4\u0A16\u0A1Bg\u0200LRlr\u09DE\u09F7\u0A02\u0A10eft\u0100AR\u09E6\u09ECrrow;\u67F5ightArrow;\u67F7ightArrow;\u67F6eft\u0100ar\u03B3\u0A0Aight\xE1\u03BFight\xE1\u03CAf;\uC000\u{1D543}er\u0100LR\u0A22\u0A2CeftArrow;\u6199ightArrow;\u6198\u0180cht\u0A3E\u0A40\u0A42\xF2\u084C;\u61B0rok;\u4141;\u626A\u0400acefiosu\u0A5A\u0A5D\u0A60\u0A77\u0A7C\u0A85\u0A8B\u0A8Ep;\u6905y;\u441C\u0100dl\u0A65\u0A6FiumSpace;\u605Flintrf;\u6133r;\uC000\u{1D510}nusPlus;\u6213pf;\uC000\u{1D544}c\xF2\u0A76;\u439C\u0480Jacefostu\u0AA3\u0AA7\u0AAD\u0AC0\u0B14\u0B19\u0D91\u0D97\u0D9Ecy;\u440Acute;\u4143\u0180aey\u0AB4\u0AB9\u0ABEron;\u4147dil;\u4145;\u441D\u0180gsw\u0AC7\u0AF0\u0B0Eative\u0180MTV\u0AD3\u0ADF\u0AE8ediumSpace;\u600Bhi\u0100cn\u0AE6\u0AD8\xEB\u0AD9eryThi\xEE\u0AD9ted\u0100GL\u0AF8\u0B06reaterGreate\xF2\u0673essLes\xF3\u0A48Line;\u400Ar;\uC000\u{1D511}\u0200Bnpt\u0B22\u0B28\u0B37\u0B3Areak;\u6060BreakingSpace;\u40A0f;\u6115\u0680;CDEGHLNPRSTV\u0B55\u0B56\u0B6A\u0B7C\u0BA1\u0BEB\u0C04\u0C5E\u0C84\u0CA6\u0CD8\u0D61\u0D85\u6AEC\u0100ou\u0B5B\u0B64ngruent;\u6262pCap;\u626DoubleVerticalBar;\u6226\u0180lqx\u0B83\u0B8A\u0B9Bement;\u6209ual\u0100;T\u0B92\u0B93\u6260ilde;\uC000\u2242\u0338ists;\u6204reater\u0380;EFGLST\u0BB6\u0BB7\u0BBD\u0BC9\u0BD3\u0BD8\u0BE5\u626Fqual;\u6271ullEqual;\uC000\u2267\u0338reater;\uC000\u226B\u0338ess;\u6279lantEqual;\uC000\u2A7E\u0338ilde;\u6275ump\u0144\u0BF2\u0BFDownHump;\uC000\u224E\u0338qual;\uC000\u224F\u0338e\u0100fs\u0C0A\u0C27tTriangle\u0180;BE\u0C1A\u0C1B\u0C21\u62EAar;\uC000\u29CF\u0338qual;\u62ECs\u0300;EGLST\u0C35\u0C36\u0C3C\u0C44\u0C4B\u0C58\u626Equal;\u6270reater;\u6278ess;\uC000\u226A\u0338lantEqual;\uC000\u2A7D\u0338ilde;\u6274ested\u0100GL\u0C68\u0C79reaterGreater;\uC000\u2AA2\u0338essLess;\uC000\u2AA1\u0338recedes\u0180;ES\u0C92\u0C93\u0C9B\u6280qual;\uC000\u2AAF\u0338lantEqual;\u62E0\u0100ei\u0CAB\u0CB9verseElement;\u620CghtTriangle\u0180;BE\u0CCB\u0CCC\u0CD2\u62EBar;\uC000\u29D0\u0338qual;\u62ED\u0100qu\u0CDD\u0D0CuareSu\u0100bp\u0CE8\u0CF9set\u0100;E\u0CF0\u0CF3\uC000\u228F\u0338qual;\u62E2erset\u0100;E\u0D03\u0D06\uC000\u2290\u0338qual;\u62E3\u0180bcp\u0D13\u0D24\u0D4Eset\u0100;E\u0D1B\u0D1E\uC000\u2282\u20D2qual;\u6288ceeds\u0200;EST\u0D32\u0D33\u0D3B\u0D46\u6281qual;\uC000\u2AB0\u0338lantEqual;\u62E1ilde;\uC000\u227F\u0338erset\u0100;E\u0D58\u0D5B\uC000\u2283\u20D2qual;\u6289ilde\u0200;EFT\u0D6E\u0D6F\u0D75\u0D7F\u6241qual;\u6244ullEqual;\u6247ilde;\u6249erticalBar;\u6224cr;\uC000\u{1D4A9}ilde\u803B\xD1\u40D1;\u439D\u0700Eacdfgmoprstuv\u0DBD\u0DC2\u0DC9\u0DD5\u0DDB\u0DE0\u0DE7\u0DFC\u0E02\u0E20\u0E22\u0E32\u0E3F\u0E44lig;\u4152cute\u803B\xD3\u40D3\u0100iy\u0DCE\u0DD3rc\u803B\xD4\u40D4;\u441Eblac;\u4150r;\uC000\u{1D512}rave\u803B\xD2\u40D2\u0180aei\u0DEE\u0DF2\u0DF6cr;\u414Cga;\u43A9cron;\u439Fpf;\uC000\u{1D546}enCurly\u0100DQ\u0E0E\u0E1AoubleQuote;\u601Cuote;\u6018;\u6A54\u0100cl\u0E27\u0E2Cr;\uC000\u{1D4AA}ash\u803B\xD8\u40D8i\u016C\u0E37\u0E3Cde\u803B\xD5\u40D5es;\u6A37ml\u803B\xD6\u40D6er\u0100BP\u0E4B\u0E60\u0100ar\u0E50\u0E53r;\u603Eac\u0100ek\u0E5A\u0E5C;\u63DEet;\u63B4arenthesis;\u63DC\u0480acfhilors\u0E7F\u0E87\u0E8A\u0E8F\u0E92\u0E94\u0E9D\u0EB0\u0EFCrtialD;\u6202y;\u441Fr;\uC000\u{1D513}i;\u43A6;\u43A0usMinus;\u40B1\u0100ip\u0EA2\u0EADncareplan\xE5\u069Df;\u6119\u0200;eio\u0EB9\u0EBA\u0EE0\u0EE4\u6ABBcedes\u0200;EST\u0EC8\u0EC9\u0ECF\u0EDA\u627Aqual;\u6AAFlantEqual;\u627Cilde;\u627Eme;\u6033\u0100dp\u0EE9\u0EEEuct;\u620Fortion\u0100;a\u0225\u0EF9l;\u621D\u0100ci\u0F01\u0F06r;\uC000\u{1D4AB};\u43A8\u0200Ufos\u0F11\u0F16\u0F1B\u0F1FOT\u803B"\u4022r;\uC000\u{1D514}pf;\u611Acr;\uC000\u{1D4AC}\u0600BEacefhiorsu\u0F3E\u0F43\u0F47\u0F60\u0F73\u0FA7\u0FAA\u0FAD\u1096\u10A9\u10B4\u10BEarr;\u6910G\u803B\xAE\u40AE\u0180cnr\u0F4E\u0F53\u0F56ute;\u4154g;\u67EBr\u0100;t\u0F5C\u0F5D\u61A0l;\u6916\u0180aey\u0F67\u0F6C\u0F71ron;\u4158dil;\u4156;\u4420\u0100;v\u0F78\u0F79\u611Cerse\u0100EU\u0F82\u0F99\u0100lq\u0F87\u0F8Eement;\u620Builibrium;\u61CBpEquilibrium;\u696Fr\xBB\u0F79o;\u43A1ght\u0400ACDFTUVa\u0FC1\u0FEB\u0FF3\u1022\u1028\u105B\u1087\u03D8\u0100nr\u0FC6\u0FD2gleBracket;\u67E9row\u0180;BL\u0FDC\u0FDD\u0FE1\u6192ar;\u61E5eftArrow;\u61C4eiling;\u6309o\u01F5\u0FF9\0\u1005bleBracket;\u67E7n\u01D4\u100A\0\u1014eeVector;\u695Dector\u0100;B\u101D\u101E\u61C2ar;\u6955loor;\u630B\u0100er\u102D\u1043e\u0180;AV\u1035\u1036\u103C\u62A2rrow;\u61A6ector;\u695Biangle\u0180;BE\u1050\u1051\u1055\u62B3ar;\u69D0qual;\u62B5p\u0180DTV\u1063\u106E\u1078ownVector;\u694FeeVector;\u695Cector\u0100;B\u1082\u1083\u61BEar;\u6954ector\u0100;B\u1091\u1092\u61C0ar;\u6953\u0100pu\u109B\u109Ef;\u611DndImplies;\u6970ightarrow;\u61DB\u0100ch\u10B9\u10BCr;\u611B;\u61B1leDelayed;\u69F4\u0680HOacfhimoqstu\u10E4\u10F1\u10F7\u10FD\u1119\u111E\u1151\u1156\u1161\u1167\u11B5\u11BB\u11BF\u0100Cc\u10E9\u10EEHcy;\u4429y;\u4428FTcy;\u442Ccute;\u415A\u0280;aeiy\u1108\u1109\u110E\u1113\u1117\u6ABCron;\u4160dil;\u415Erc;\u415C;\u4421r;\uC000\u{1D516}ort\u0200DLRU\u112A\u1134\u113E\u1149ownArrow\xBB\u041EeftArrow\xBB\u089AightArrow\xBB\u0FDDpArrow;\u6191gma;\u43A3allCircle;\u6218pf;\uC000\u{1D54A}\u0272\u116D\0\0\u1170t;\u621Aare\u0200;ISU\u117B\u117C\u1189\u11AF\u65A1ntersection;\u6293u\u0100bp\u118F\u119Eset\u0100;E\u1197\u1198\u628Fqual;\u6291erset\u0100;E\u11A8\u11A9\u6290qual;\u6292nion;\u6294cr;\uC000\u{1D4AE}ar;\u62C6\u0200bcmp\u11C8\u11DB\u1209\u120B\u0100;s\u11CD\u11CE\u62D0et\u0100;E\u11CD\u11D5qual;\u6286\u0100ch\u11E0\u1205eeds\u0200;EST\u11ED\u11EE\u11F4\u11FF\u627Bqual;\u6AB0lantEqual;\u627Dilde;\u627FTh\xE1\u0F8C;\u6211\u0180;es\u1212\u1213\u1223\u62D1rset\u0100;E\u121C\u121D\u6283qual;\u6287et\xBB\u1213\u0580HRSacfhiors\u123E\u1244\u1249\u1255\u125E\u1271\u1276\u129F\u12C2\u12C8\u12D1ORN\u803B\xDE\u40DEADE;\u6122\u0100Hc\u124E\u1252cy;\u440By;\u4426\u0100bu\u125A\u125C;\u4009;\u43A4\u0180aey\u1265\u126A\u126Fron;\u4164dil;\u4162;\u4422r;\uC000\u{1D517}\u0100ei\u127B\u1289\u01F2\u1280\0\u1287efore;\u6234a;\u4398\u0100cn\u128E\u1298kSpace;\uC000\u205F\u200ASpace;\u6009lde\u0200;EFT\u12AB\u12AC\u12B2\u12BC\u623Cqual;\u6243ullEqual;\u6245ilde;\u6248pf;\uC000\u{1D54B}ipleDot;\u60DB\u0100ct\u12D6\u12DBr;\uC000\u{1D4AF}rok;\u4166\u0AE1\u12F7\u130E\u131A\u1326\0\u132C\u1331\0\0\0\0\0\u1338\u133D\u1377\u1385\0\u13FF\u1404\u140A\u1410\u0100cr\u12FB\u1301ute\u803B\xDA\u40DAr\u0100;o\u1307\u1308\u619Fcir;\u6949r\u01E3\u1313\0\u1316y;\u440Eve;\u416C\u0100iy\u131E\u1323rc\u803B\xDB\u40DB;\u4423blac;\u4170r;\uC000\u{1D518}rave\u803B\xD9\u40D9acr;\u416A\u0100di\u1341\u1369er\u0100BP\u1348\u135D\u0100ar\u134D\u1350r;\u405Fac\u0100ek\u1357\u1359;\u63DFet;\u63B5arenthesis;\u63DDon\u0100;P\u1370\u1371\u62C3lus;\u628E\u0100gp\u137B\u137Fon;\u4172f;\uC000\u{1D54C}\u0400ADETadps\u1395\u13AE\u13B8\u13C4\u03E8\u13D2\u13D7\u13F3rrow\u0180;BD\u1150\u13A0\u13A4ar;\u6912ownArrow;\u61C5ownArrow;\u6195quilibrium;\u696Eee\u0100;A\u13CB\u13CC\u62A5rrow;\u61A5own\xE1\u03F3er\u0100LR\u13DE\u13E8eftArrow;\u6196ightArrow;\u6197i\u0100;l\u13F9\u13FA\u43D2on;\u43A5ing;\u416Ecr;\uC000\u{1D4B0}ilde;\u4168ml\u803B\xDC\u40DC\u0480Dbcdefosv\u1427\u142C\u1430\u1433\u143E\u1485\u148A\u1490\u1496ash;\u62ABar;\u6AEBy;\u4412ash\u0100;l\u143B\u143C\u62A9;\u6AE6\u0100er\u1443\u1445;\u62C1\u0180bty\u144C\u1450\u147Aar;\u6016\u0100;i\u144F\u1455cal\u0200BLST\u1461\u1465\u146A\u1474ar;\u6223ine;\u407Ceparator;\u6758ilde;\u6240ThinSpace;\u600Ar;\uC000\u{1D519}pf;\uC000\u{1D54D}cr;\uC000\u{1D4B1}dash;\u62AA\u0280cefos\u14A7\u14AC\u14B1\u14B6\u14BCirc;\u4174dge;\u62C0r;\uC000\u{1D51A}pf;\uC000\u{1D54E}cr;\uC000\u{1D4B2}\u0200fios\u14CB\u14D0\u14D2\u14D8r;\uC000\u{1D51B};\u439Epf;\uC000\u{1D54F}cr;\uC000\u{1D4B3}\u0480AIUacfosu\u14F1\u14F5\u14F9\u14FD\u1504\u150F\u1514\u151A\u1520cy;\u442Fcy;\u4407cy;\u442Ecute\u803B\xDD\u40DD\u0100iy\u1509\u150Drc;\u4176;\u442Br;\uC000\u{1D51C}pf;\uC000\u{1D550}cr;\uC000\u{1D4B4}ml;\u4178\u0400Hacdefos\u1535\u1539\u153F\u154B\u154F\u155D\u1560\u1564cy;\u4416cute;\u4179\u0100ay\u1544\u1549ron;\u417D;\u4417ot;\u417B\u01F2\u1554\0\u155BoWidt\xE8\u0AD9a;\u4396r;\u6128pf;\u6124cr;\uC000\u{1D4B5}\u0BE1\u1583\u158A\u1590\0\u15B0\u15B6\u15BF\0\0\0\0\u15C6\u15DB\u15EB\u165F\u166D\0\u1695\u169B\u16B2\u16B9\0\u16BEcute\u803B\xE1\u40E1reve;\u4103\u0300;Ediuy\u159C\u159D\u15A1\u15A3\u15A8\u15AD\u623E;\uC000\u223E\u0333;\u623Frc\u803B\xE2\u40E2te\u80BB\xB4\u0306;\u4430lig\u803B\xE6\u40E6\u0100;r\xB2\u15BA;\uC000\u{1D51E}rave\u803B\xE0\u40E0\u0100ep\u15CA\u15D6\u0100fp\u15CF\u15D4sym;\u6135\xE8\u15D3ha;\u43B1\u0100ap\u15DFc\u0100cl\u15E4\u15E7r;\u4101g;\u6A3F\u0264\u15F0\0\0\u160A\u0280;adsv\u15FA\u15FB\u15FF\u1601\u1607\u6227nd;\u6A55;\u6A5Clope;\u6A58;\u6A5A\u0380;elmrsz\u1618\u1619\u161B\u161E\u163F\u164F\u1659\u6220;\u69A4e\xBB\u1619sd\u0100;a\u1625\u1626\u6221\u0461\u1630\u1632\u1634\u1636\u1638\u163A\u163C\u163E;\u69A8;\u69A9;\u69AA;\u69AB;\u69AC;\u69AD;\u69AE;\u69AFt\u0100;v\u1645\u1646\u621Fb\u0100;d\u164C\u164D\u62BE;\u699D\u0100pt\u1654\u1657h;\u6222\xBB\xB9arr;\u637C\u0100gp\u1663\u1667on;\u4105f;\uC000\u{1D552}\u0380;Eaeiop\u12C1\u167B\u167D\u1682\u1684\u1687\u168A;\u6A70cir;\u6A6F;\u624Ad;\u624Bs;\u4027rox\u0100;e\u12C1\u1692\xF1\u1683ing\u803B\xE5\u40E5\u0180cty\u16A1\u16A6\u16A8r;\uC000\u{1D4B6};\u402Amp\u0100;e\u12C1\u16AF\xF1\u0288ilde\u803B\xE3\u40E3ml\u803B\xE4\u40E4\u0100ci\u16C2\u16C8onin\xF4\u0272nt;\u6A11\u0800Nabcdefiklnoprsu\u16ED\u16F1\u1730\u173C\u1743\u1748\u1778\u177D\u17E0\u17E6\u1839\u1850\u170D\u193D\u1948\u1970ot;\u6AED\u0100cr\u16F6\u171Ek\u0200ceps\u1700\u1705\u170D\u1713ong;\u624Cpsilon;\u43F6rime;\u6035im\u0100;e\u171A\u171B\u623Dq;\u62CD\u0176\u1722\u1726ee;\u62BDed\u0100;g\u172C\u172D\u6305e\xBB\u172Drk\u0100;t\u135C\u1737brk;\u63B6\u0100oy\u1701\u1741;\u4431quo;\u601E\u0280cmprt\u1753\u175B\u1761\u1764\u1768aus\u0100;e\u010A\u0109ptyv;\u69B0s\xE9\u170Cno\xF5\u0113\u0180ahw\u176F\u1771\u1773;\u43B2;\u6136een;\u626Cr;\uC000\u{1D51F}g\u0380costuvw\u178D\u179D\u17B3\u17C1\u17D5\u17DB\u17DE\u0180aiu\u1794\u1796\u179A\xF0\u0760rc;\u65EFp\xBB\u1371\u0180dpt\u17A4\u17A8\u17ADot;\u6A00lus;\u6A01imes;\u6A02\u0271\u17B9\0\0\u17BEcup;\u6A06ar;\u6605riangle\u0100du\u17CD\u17D2own;\u65BDp;\u65B3plus;\u6A04e\xE5\u1444\xE5\u14ADarow;\u690D\u0180ako\u17ED\u1826\u1835\u0100cn\u17F2\u1823k\u0180lst\u17FA\u05AB\u1802ozenge;\u69EBriangle\u0200;dlr\u1812\u1813\u1818\u181D\u65B4own;\u65BEeft;\u65C2ight;\u65B8k;\u6423\u01B1\u182B\0\u1833\u01B2\u182F\0\u1831;\u6592;\u65914;\u6593ck;\u6588\u0100eo\u183E\u184D\u0100;q\u1843\u1846\uC000=\u20E5uiv;\uC000\u2261\u20E5t;\u6310\u0200ptwx\u1859\u185E\u1867\u186Cf;\uC000\u{1D553}\u0100;t\u13CB\u1863om\xBB\u13CCtie;\u62C8\u0600DHUVbdhmptuv\u1885\u1896\u18AA\u18BB\u18D7\u18DB\u18EC\u18FF\u1905\u190A\u1910\u1921\u0200LRlr\u188E\u1890\u1892\u1894;\u6557;\u6554;\u6556;\u6553\u0280;DUdu\u18A1\u18A2\u18A4\u18A6\u18A8\u6550;\u6566;\u6569;\u6564;\u6567\u0200LRlr\u18B3\u18B5\u18B7\u18B9;\u655D;\u655A;\u655C;\u6559\u0380;HLRhlr\u18CA\u18CB\u18CD\u18CF\u18D1\u18D3\u18D5\u6551;\u656C;\u6563;\u6560;\u656B;\u6562;\u655Fox;\u69C9\u0200LRlr\u18E4\u18E6\u18E8\u18EA;\u6555;\u6552;\u6510;\u650C\u0280;DUdu\u06BD\u18F7\u18F9\u18FB\u18FD;\u6565;\u6568;\u652C;\u6534inus;\u629Flus;\u629Eimes;\u62A0\u0200LRlr\u1919\u191B\u191D\u191F;\u655B;\u6558;\u6518;\u6514\u0380;HLRhlr\u1930\u1931\u1933\u1935\u1937\u1939\u193B\u6502;\u656A;\u6561;\u655E;\u653C;\u6524;\u651C\u0100ev\u0123\u1942bar\u803B\xA6\u40A6\u0200ceio\u1951\u1956\u195A\u1960r;\uC000\u{1D4B7}mi;\u604Fm\u0100;e\u171A\u171Cl\u0180;bh\u1968\u1969\u196B\u405C;\u69C5sub;\u67C8\u016C\u1974\u197El\u0100;e\u1979\u197A\u6022t\xBB\u197Ap\u0180;Ee\u012F\u1985\u1987;\u6AAE\u0100;q\u06DC\u06DB\u0CE1\u19A7\0\u19E8\u1A11\u1A15\u1A32\0\u1A37\u1A50\0\0\u1AB4\0\0\u1AC1\0\0\u1B21\u1B2E\u1B4D\u1B52\0\u1BFD\0\u1C0C\u0180cpr\u19AD\u19B2\u19DDute;\u4107\u0300;abcds\u19BF\u19C0\u19C4\u19CA\u19D5\u19D9\u6229nd;\u6A44rcup;\u6A49\u0100au\u19CF\u19D2p;\u6A4Bp;\u6A47ot;\u6A40;\uC000\u2229\uFE00\u0100eo\u19E2\u19E5t;\u6041\xEE\u0693\u0200aeiu\u19F0\u19FB\u1A01\u1A05\u01F0\u19F5\0\u19F8s;\u6A4Don;\u410Ddil\u803B\xE7\u40E7rc;\u4109ps\u0100;s\u1A0C\u1A0D\u6A4Cm;\u6A50ot;\u410B\u0180dmn\u1A1B\u1A20\u1A26il\u80BB\xB8\u01ADptyv;\u69B2t\u8100\xA2;e\u1A2D\u1A2E\u40A2r\xE4\u01B2r;\uC000\u{1D520}\u0180cei\u1A3D\u1A40\u1A4Dy;\u4447ck\u0100;m\u1A47\u1A48\u6713ark\xBB\u1A48;\u43C7r\u0380;Ecefms\u1A5F\u1A60\u1A62\u1A6B\u1AA4\u1AAA\u1AAE\u65CB;\u69C3\u0180;el\u1A69\u1A6A\u1A6D\u42C6q;\u6257e\u0261\u1A74\0\0\u1A88rrow\u0100lr\u1A7C\u1A81eft;\u61BAight;\u61BB\u0280RSacd\u1A92\u1A94\u1A96\u1A9A\u1A9F\xBB\u0F47;\u64C8st;\u629Birc;\u629Aash;\u629Dnint;\u6A10id;\u6AEFcir;\u69C2ubs\u0100;u\u1ABB\u1ABC\u6663it\xBB\u1ABC\u02EC\u1AC7\u1AD4\u1AFA\0\u1B0Aon\u0100;e\u1ACD\u1ACE\u403A\u0100;q\xC7\xC6\u026D\u1AD9\0\0\u1AE2a\u0100;t\u1ADE\u1ADF\u402C;\u4040\u0180;fl\u1AE8\u1AE9\u1AEB\u6201\xEE\u1160e\u0100mx\u1AF1\u1AF6ent\xBB\u1AE9e\xF3\u024D\u01E7\u1AFE\0\u1B07\u0100;d\u12BB\u1B02ot;\u6A6Dn\xF4\u0246\u0180fry\u1B10\u1B14\u1B17;\uC000\u{1D554}o\xE4\u0254\u8100\xA9;s\u0155\u1B1Dr;\u6117\u0100ao\u1B25\u1B29rr;\u61B5ss;\u6717\u0100cu\u1B32\u1B37r;\uC000\u{1D4B8}\u0100bp\u1B3C\u1B44\u0100;e\u1B41\u1B42\u6ACF;\u6AD1\u0100;e\u1B49\u1B4A\u6AD0;\u6AD2dot;\u62EF\u0380delprvw\u1B60\u1B6C\u1B77\u1B82\u1BAC\u1BD4\u1BF9arr\u0100lr\u1B68\u1B6A;\u6938;\u6935\u0270\u1B72\0\0\u1B75r;\u62DEc;\u62DFarr\u0100;p\u1B7F\u1B80\u61B6;\u693D\u0300;bcdos\u1B8F\u1B90\u1B96\u1BA1\u1BA5\u1BA8\u622Arcap;\u6A48\u0100au\u1B9B\u1B9Ep;\u6A46p;\u6A4Aot;\u628Dr;\u6A45;\uC000\u222A\uFE00\u0200alrv\u1BB5\u1BBF\u1BDE\u1BE3rr\u0100;m\u1BBC\u1BBD\u61B7;\u693Cy\u0180evw\u1BC7\u1BD4\u1BD8q\u0270\u1BCE\0\0\u1BD2re\xE3\u1B73u\xE3\u1B75ee;\u62CEedge;\u62CFen\u803B\xA4\u40A4earrow\u0100lr\u1BEE\u1BF3eft\xBB\u1B80ight\xBB\u1BBDe\xE4\u1BDD\u0100ci\u1C01\u1C07onin\xF4\u01F7nt;\u6231lcty;\u632D\u0980AHabcdefhijlorstuwz\u1C38\u1C3B\u1C3F\u1C5D\u1C69\u1C75\u1C8A\u1C9E\u1CAC\u1CB7\u1CFB\u1CFF\u1D0D\u1D7B\u1D91\u1DAB\u1DBB\u1DC6\u1DCDr\xF2\u0381ar;\u6965\u0200glrs\u1C48\u1C4D\u1C52\u1C54ger;\u6020eth;\u6138\xF2\u1133h\u0100;v\u1C5A\u1C5B\u6010\xBB\u090A\u016B\u1C61\u1C67arow;\u690Fa\xE3\u0315\u0100ay\u1C6E\u1C73ron;\u410F;\u4434\u0180;ao\u0332\u1C7C\u1C84\u0100gr\u02BF\u1C81r;\u61CAtseq;\u6A77\u0180glm\u1C91\u1C94\u1C98\u803B\xB0\u40B0ta;\u43B4ptyv;\u69B1\u0100ir\u1CA3\u1CA8sht;\u697F;\uC000\u{1D521}ar\u0100lr\u1CB3\u1CB5\xBB\u08DC\xBB\u101E\u0280aegsv\u1CC2\u0378\u1CD6\u1CDC\u1CE0m\u0180;os\u0326\u1CCA\u1CD4nd\u0100;s\u0326\u1CD1uit;\u6666amma;\u43DDin;\u62F2\u0180;io\u1CE7\u1CE8\u1CF8\u40F7de\u8100\xF7;o\u1CE7\u1CF0ntimes;\u62C7n\xF8\u1CF7cy;\u4452c\u026F\u1D06\0\0\u1D0Arn;\u631Eop;\u630D\u0280lptuw\u1D18\u1D1D\u1D22\u1D49\u1D55lar;\u4024f;\uC000\u{1D555}\u0280;emps\u030B\u1D2D\u1D37\u1D3D\u1D42q\u0100;d\u0352\u1D33ot;\u6251inus;\u6238lus;\u6214quare;\u62A1blebarwedg\xE5\xFAn\u0180adh\u112E\u1D5D\u1D67ownarrow\xF3\u1C83arpoon\u0100lr\u1D72\u1D76ef\xF4\u1CB4igh\xF4\u1CB6\u0162\u1D7F\u1D85karo\xF7\u0F42\u026F\u1D8A\0\0\u1D8Ern;\u631Fop;\u630C\u0180cot\u1D98\u1DA3\u1DA6\u0100ry\u1D9D\u1DA1;\uC000\u{1D4B9};\u4455l;\u69F6rok;\u4111\u0100dr\u1DB0\u1DB4ot;\u62F1i\u0100;f\u1DBA\u1816\u65BF\u0100ah\u1DC0\u1DC3r\xF2\u0429a\xF2\u0FA6angle;\u69A6\u0100ci\u1DD2\u1DD5y;\u445Fgrarr;\u67FF\u0900Dacdefglmnopqrstux\u1E01\u1E09\u1E19\u1E38\u0578\u1E3C\u1E49\u1E61\u1E7E\u1EA5\u1EAF\u1EBD\u1EE1\u1F2A\u1F37\u1F44\u1F4E\u1F5A\u0100Do\u1E06\u1D34o\xF4\u1C89\u0100cs\u1E0E\u1E14ute\u803B\xE9\u40E9ter;\u6A6E\u0200aioy\u1E22\u1E27\u1E31\u1E36ron;\u411Br\u0100;c\u1E2D\u1E2E\u6256\u803B\xEA\u40EAlon;\u6255;\u444Dot;\u4117\u0100Dr\u1E41\u1E45ot;\u6252;\uC000\u{1D522}\u0180;rs\u1E50\u1E51\u1E57\u6A9Aave\u803B\xE8\u40E8\u0100;d\u1E5C\u1E5D\u6A96ot;\u6A98\u0200;ils\u1E6A\u1E6B\u1E72\u1E74\u6A99nters;\u63E7;\u6113\u0100;d\u1E79\u1E7A\u6A95ot;\u6A97\u0180aps\u1E85\u1E89\u1E97cr;\u4113ty\u0180;sv\u1E92\u1E93\u1E95\u6205et\xBB\u1E93p\u01001;\u1E9D\u1EA4\u0133\u1EA1\u1EA3;\u6004;\u6005\u6003\u0100gs\u1EAA\u1EAC;\u414Bp;\u6002\u0100gp\u1EB4\u1EB8on;\u4119f;\uC000\u{1D556}\u0180als\u1EC4\u1ECE\u1ED2r\u0100;s\u1ECA\u1ECB\u62D5l;\u69E3us;\u6A71i\u0180;lv\u1EDA\u1EDB\u1EDF\u43B5on\xBB\u1EDB;\u43F5\u0200csuv\u1EEA\u1EF3\u1F0B\u1F23\u0100io\u1EEF\u1E31rc\xBB\u1E2E\u0269\u1EF9\0\0\u1EFB\xED\u0548ant\u0100gl\u1F02\u1F06tr\xBB\u1E5Dess\xBB\u1E7A\u0180aei\u1F12\u1F16\u1F1Als;\u403Dst;\u625Fv\u0100;D\u0235\u1F20D;\u6A78parsl;\u69E5\u0100Da\u1F2F\u1F33ot;\u6253rr;\u6971\u0180cdi\u1F3E\u1F41\u1EF8r;\u612Fo\xF4\u0352\u0100ah\u1F49\u1F4B;\u43B7\u803B\xF0\u40F0\u0100mr\u1F53\u1F57l\u803B\xEB\u40EBo;\u60AC\u0180cip\u1F61\u1F64\u1F67l;\u4021s\xF4\u056E\u0100eo\u1F6C\u1F74ctatio\xEE\u0559nential\xE5\u0579\u09E1\u1F92\0\u1F9E\0\u1FA1\u1FA7\0\0\u1FC6\u1FCC\0\u1FD3\0\u1FE6\u1FEA\u2000\0\u2008\u205Allingdotse\xF1\u1E44y;\u4444male;\u6640\u0180ilr\u1FAD\u1FB3\u1FC1lig;\u8000\uFB03\u0269\u1FB9\0\0\u1FBDg;\u8000\uFB00ig;\u8000\uFB04;\uC000\u{1D523}lig;\u8000\uFB01lig;\uC000fj\u0180alt\u1FD9\u1FDC\u1FE1t;\u666Dig;\u8000\uFB02ns;\u65B1of;\u4192\u01F0\u1FEE\0\u1FF3f;\uC000\u{1D557}\u0100ak\u05BF\u1FF7\u0100;v\u1FFC\u1FFD\u62D4;\u6AD9artint;\u6A0D\u0100ao\u200C\u2055\u0100cs\u2011\u2052\u03B1\u201A\u2030\u2038\u2045\u2048\0\u2050\u03B2\u2022\u2025\u2027\u202A\u202C\0\u202E\u803B\xBD\u40BD;\u6153\u803B\xBC\u40BC;\u6155;\u6159;\u615B\u01B3\u2034\0\u2036;\u6154;\u6156\u02B4\u203E\u2041\0\0\u2043\u803B\xBE\u40BE;\u6157;\u615C5;\u6158\u01B6\u204C\0\u204E;\u615A;\u615D8;\u615El;\u6044wn;\u6322cr;\uC000\u{1D4BB}\u0880Eabcdefgijlnorstv\u2082\u2089\u209F\u20A5\u20B0\u20B4\u20F0\u20F5\u20FA\u20FF\u2103\u2112\u2138\u0317\u213E\u2152\u219E\u0100;l\u064D\u2087;\u6A8C\u0180cmp\u2090\u2095\u209Dute;\u41F5ma\u0100;d\u209C\u1CDA\u43B3;\u6A86reve;\u411F\u0100iy\u20AA\u20AErc;\u411D;\u4433ot;\u4121\u0200;lqs\u063E\u0642\u20BD\u20C9\u0180;qs\u063E\u064C\u20C4lan\xF4\u0665\u0200;cdl\u0665\u20D2\u20D5\u20E5c;\u6AA9ot\u0100;o\u20DC\u20DD\u6A80\u0100;l\u20E2\u20E3\u6A82;\u6A84\u0100;e\u20EA\u20ED\uC000\u22DB\uFE00s;\u6A94r;\uC000\u{1D524}\u0100;g\u0673\u061Bmel;\u6137cy;\u4453\u0200;Eaj\u065A\u210C\u210E\u2110;\u6A92;\u6AA5;\u6AA4\u0200Eaes\u211B\u211D\u2129\u2134;\u6269p\u0100;p\u2123\u2124\u6A8Arox\xBB\u2124\u0100;q\u212E\u212F\u6A88\u0100;q\u212E\u211Bim;\u62E7pf;\uC000\u{1D558}\u0100ci\u2143\u2146r;\u610Am\u0180;el\u066B\u214E\u2150;\u6A8E;\u6A90\u8300>;cdlqr\u05EE\u2160\u216A\u216E\u2173\u2179\u0100ci\u2165\u2167;\u6AA7r;\u6A7Aot;\u62D7Par;\u6995uest;\u6A7C\u0280adels\u2184\u216A\u2190\u0656\u219B\u01F0\u2189\0\u218Epro\xF8\u209Er;\u6978q\u0100lq\u063F\u2196les\xF3\u2088i\xED\u066B\u0100en\u21A3\u21ADrtneqq;\uC000\u2269\uFE00\xC5\u21AA\u0500Aabcefkosy\u21C4\u21C7\u21F1\u21F5\u21FA\u2218\u221D\u222F\u2268\u227Dr\xF2\u03A0\u0200ilmr\u21D0\u21D4\u21D7\u21DBrs\xF0\u1484f\xBB\u2024il\xF4\u06A9\u0100dr\u21E0\u21E4cy;\u444A\u0180;cw\u08F4\u21EB\u21EFir;\u6948;\u61ADar;\u610Firc;\u4125\u0180alr\u2201\u220E\u2213rts\u0100;u\u2209\u220A\u6665it\xBB\u220Alip;\u6026con;\u62B9r;\uC000\u{1D525}s\u0100ew\u2223\u2229arow;\u6925arow;\u6926\u0280amopr\u223A\u223E\u2243\u225E\u2263rr;\u61FFtht;\u623Bk\u0100lr\u2249\u2253eftarrow;\u61A9ightarrow;\u61AAf;\uC000\u{1D559}bar;\u6015\u0180clt\u226F\u2274\u2278r;\uC000\u{1D4BD}as\xE8\u21F4rok;\u4127\u0100bp\u2282\u2287ull;\u6043hen\xBB\u1C5B\u0AE1\u22A3\0\u22AA\0\u22B8\u22C5\u22CE\0\u22D5\u22F3\0\0\u22F8\u2322\u2367\u2362\u237F\0\u2386\u23AA\u23B4cute\u803B\xED\u40ED\u0180;iy\u0771\u22B0\u22B5rc\u803B\xEE\u40EE;\u4438\u0100cx\u22BC\u22BFy;\u4435cl\u803B\xA1\u40A1\u0100fr\u039F\u22C9;\uC000\u{1D526}rave\u803B\xEC\u40EC\u0200;ino\u073E\u22DD\u22E9\u22EE\u0100in\u22E2\u22E6nt;\u6A0Ct;\u622Dfin;\u69DCta;\u6129lig;\u4133\u0180aop\u22FE\u231A\u231D\u0180cgt\u2305\u2308\u2317r;\u412B\u0180elp\u071F\u230F\u2313in\xE5\u078Ear\xF4\u0720h;\u4131f;\u62B7ed;\u41B5\u0280;cfot\u04F4\u232C\u2331\u233D\u2341are;\u6105in\u0100;t\u2338\u2339\u621Eie;\u69DDdo\xF4\u2319\u0280;celp\u0757\u234C\u2350\u235B\u2361al;\u62BA\u0100gr\u2355\u2359er\xF3\u1563\xE3\u234Darhk;\u6A17rod;\u6A3C\u0200cgpt\u236F\u2372\u2376\u237By;\u4451on;\u412Ff;\uC000\u{1D55A}a;\u43B9uest\u803B\xBF\u40BF\u0100ci\u238A\u238Fr;\uC000\u{1D4BE}n\u0280;Edsv\u04F4\u239B\u239D\u23A1\u04F3;\u62F9ot;\u62F5\u0100;v\u23A6\u23A7\u62F4;\u62F3\u0100;i\u0777\u23AElde;\u4129\u01EB\u23B8\0\u23BCcy;\u4456l\u803B\xEF\u40EF\u0300cfmosu\u23CC\u23D7\u23DC\u23E1\u23E7\u23F5\u0100iy\u23D1\u23D5rc;\u4135;\u4439r;\uC000\u{1D527}ath;\u4237pf;\uC000\u{1D55B}\u01E3\u23EC\0\u23F1r;\uC000\u{1D4BF}rcy;\u4458kcy;\u4454\u0400acfghjos\u240B\u2416\u2422\u2427\u242D\u2431\u2435\u243Bppa\u0100;v\u2413\u2414\u43BA;\u43F0\u0100ey\u241B\u2420dil;\u4137;\u443Ar;\uC000\u{1D528}reen;\u4138cy;\u4445cy;\u445Cpf;\uC000\u{1D55C}cr;\uC000\u{1D4C0}\u0B80ABEHabcdefghjlmnoprstuv\u2470\u2481\u2486\u248D\u2491\u250E\u253D\u255A\u2580\u264E\u265E\u2665\u2679\u267D\u269A\u26B2\u26D8\u275D\u2768\u278B\u27C0\u2801\u2812\u0180art\u2477\u247A\u247Cr\xF2\u09C6\xF2\u0395ail;\u691Barr;\u690E\u0100;g\u0994\u248B;\u6A8Bar;\u6962\u0963\u24A5\0\u24AA\0\u24B1\0\0\0\0\0\u24B5\u24BA\0\u24C6\u24C8\u24CD\0\u24F9ute;\u413Amptyv;\u69B4ra\xEE\u084Cbda;\u43BBg\u0180;dl\u088E\u24C1\u24C3;\u6991\xE5\u088E;\u6A85uo\u803B\xAB\u40ABr\u0400;bfhlpst\u0899\u24DE\u24E6\u24E9\u24EB\u24EE\u24F1\u24F5\u0100;f\u089D\u24E3s;\u691Fs;\u691D\xEB\u2252p;\u61ABl;\u6939im;\u6973l;\u61A2\u0180;ae\u24FF\u2500\u2504\u6AABil;\u6919\u0100;s\u2509\u250A\u6AAD;\uC000\u2AAD\uFE00\u0180abr\u2515\u2519\u251Drr;\u690Crk;\u6772\u0100ak\u2522\u252Cc\u0100ek\u2528\u252A;\u407B;\u405B\u0100es\u2531\u2533;\u698Bl\u0100du\u2539\u253B;\u698F;\u698D\u0200aeuy\u2546\u254B\u2556\u2558ron;\u413E\u0100di\u2550\u2554il;\u413C\xEC\u08B0\xE2\u2529;\u443B\u0200cqrs\u2563\u2566\u256D\u257Da;\u6936uo\u0100;r\u0E19\u1746\u0100du\u2572\u2577har;\u6967shar;\u694Bh;\u61B2\u0280;fgqs\u258B\u258C\u0989\u25F3\u25FF\u6264t\u0280ahlrt\u2598\u25A4\u25B7\u25C2\u25E8rrow\u0100;t\u0899\u25A1a\xE9\u24F6arpoon\u0100du\u25AF\u25B4own\xBB\u045Ap\xBB\u0966eftarrows;\u61C7ight\u0180ahs\u25CD\u25D6\u25DErrow\u0100;s\u08F4\u08A7arpoon\xF3\u0F98quigarro\xF7\u21F0hreetimes;\u62CB\u0180;qs\u258B\u0993\u25FAlan\xF4\u09AC\u0280;cdgs\u09AC\u260A\u260D\u261D\u2628c;\u6AA8ot\u0100;o\u2614\u2615\u6A7F\u0100;r\u261A\u261B\u6A81;\u6A83\u0100;e\u2622\u2625\uC000\u22DA\uFE00s;\u6A93\u0280adegs\u2633\u2639\u263D\u2649\u264Bppro\xF8\u24C6ot;\u62D6q\u0100gq\u2643\u2645\xF4\u0989gt\xF2\u248C\xF4\u099Bi\xED\u09B2\u0180ilr\u2655\u08E1\u265Asht;\u697C;\uC000\u{1D529}\u0100;E\u099C\u2663;\u6A91\u0161\u2669\u2676r\u0100du\u25B2\u266E\u0100;l\u0965\u2673;\u696Alk;\u6584cy;\u4459\u0280;acht\u0A48\u2688\u268B\u2691\u2696r\xF2\u25C1orne\xF2\u1D08ard;\u696Bri;\u65FA\u0100io\u269F\u26A4dot;\u4140ust\u0100;a\u26AC\u26AD\u63B0che\xBB\u26AD\u0200Eaes\u26BB\u26BD\u26C9\u26D4;\u6268p\u0100;p\u26C3\u26C4\u6A89rox\xBB\u26C4\u0100;q\u26CE\u26CF\u6A87\u0100;q\u26CE\u26BBim;\u62E6\u0400abnoptwz\u26E9\u26F4\u26F7\u271A\u272F\u2741\u2747\u2750\u0100nr\u26EE\u26F1g;\u67ECr;\u61FDr\xEB\u08C1g\u0180lmr\u26FF\u270D\u2714eft\u0100ar\u09E6\u2707ight\xE1\u09F2apsto;\u67FCight\xE1\u09FDparrow\u0100lr\u2725\u2729ef\xF4\u24EDight;\u61AC\u0180afl\u2736\u2739\u273Dr;\u6985;\uC000\u{1D55D}us;\u6A2Dimes;\u6A34\u0161\u274B\u274Fst;\u6217\xE1\u134E\u0180;ef\u2757\u2758\u1800\u65CAnge\xBB\u2758ar\u0100;l\u2764\u2765\u4028t;\u6993\u0280achmt\u2773\u2776\u277C\u2785\u2787r\xF2\u08A8orne\xF2\u1D8Car\u0100;d\u0F98\u2783;\u696D;\u600Eri;\u62BF\u0300achiqt\u2798\u279D\u0A40\u27A2\u27AE\u27BBquo;\u6039r;\uC000\u{1D4C1}m\u0180;eg\u09B2\u27AA\u27AC;\u6A8D;\u6A8F\u0100bu\u252A\u27B3o\u0100;r\u0E1F\u27B9;\u601Arok;\u4142\u8400<;cdhilqr\u082B\u27D2\u2639\u27DC\u27E0\u27E5\u27EA\u27F0\u0100ci\u27D7\u27D9;\u6AA6r;\u6A79re\xE5\u25F2mes;\u62C9arr;\u6976uest;\u6A7B\u0100Pi\u27F5\u27F9ar;\u6996\u0180;ef\u2800\u092D\u181B\u65C3r\u0100du\u2807\u280Dshar;\u694Ahar;\u6966\u0100en\u2817\u2821rtneqq;\uC000\u2268\uFE00\xC5\u281E\u0700Dacdefhilnopsu\u2840\u2845\u2882\u288E\u2893\u28A0\u28A5\u28A8\u28DA\u28E2\u28E4\u0A83\u28F3\u2902Dot;\u623A\u0200clpr\u284E\u2852\u2863\u287Dr\u803B\xAF\u40AF\u0100et\u2857\u2859;\u6642\u0100;e\u285E\u285F\u6720se\xBB\u285F\u0100;s\u103B\u2868to\u0200;dlu\u103B\u2873\u2877\u287Bow\xEE\u048Cef\xF4\u090F\xF0\u13D1ker;\u65AE\u0100oy\u2887\u288Cmma;\u6A29;\u443Cash;\u6014asuredangle\xBB\u1626r;\uC000\u{1D52A}o;\u6127\u0180cdn\u28AF\u28B4\u28C9ro\u803B\xB5\u40B5\u0200;acd\u1464\u28BD\u28C0\u28C4s\xF4\u16A7ir;\u6AF0ot\u80BB\xB7\u01B5us\u0180;bd\u28D2\u1903\u28D3\u6212\u0100;u\u1D3C\u28D8;\u6A2A\u0163\u28DE\u28E1p;\u6ADB\xF2\u2212\xF0\u0A81\u0100dp\u28E9\u28EEels;\u62A7f;\uC000\u{1D55E}\u0100ct\u28F8\u28FDr;\uC000\u{1D4C2}pos\xBB\u159D\u0180;lm\u2909\u290A\u290D\u43BCtimap;\u62B8\u0C00GLRVabcdefghijlmoprstuvw\u2942\u2953\u297E\u2989\u2998\u29DA\u29E9\u2A15\u2A1A\u2A58\u2A5D\u2A83\u2A95\u2AA4\u2AA8\u2B04\u2B07\u2B44\u2B7F\u2BAE\u2C34\u2C67\u2C7C\u2CE9\u0100gt\u2947\u294B;\uC000\u22D9\u0338\u0100;v\u2950\u0BCF\uC000\u226B\u20D2\u0180elt\u295A\u2972\u2976ft\u0100ar\u2961\u2967rrow;\u61CDightarrow;\u61CE;\uC000\u22D8\u0338\u0100;v\u297B\u0C47\uC000\u226A\u20D2ightarrow;\u61CF\u0100Dd\u298E\u2993ash;\u62AFash;\u62AE\u0280bcnpt\u29A3\u29A7\u29AC\u29B1\u29CCla\xBB\u02DEute;\u4144g;\uC000\u2220\u20D2\u0280;Eiop\u0D84\u29BC\u29C0\u29C5\u29C8;\uC000\u2A70\u0338d;\uC000\u224B\u0338s;\u4149ro\xF8\u0D84ur\u0100;a\u29D3\u29D4\u666El\u0100;s\u29D3\u0B38\u01F3\u29DF\0\u29E3p\u80BB\xA0\u0B37mp\u0100;e\u0BF9\u0C00\u0280aeouy\u29F4\u29FE\u2A03\u2A10\u2A13\u01F0\u29F9\0\u29FB;\u6A43on;\u4148dil;\u4146ng\u0100;d\u0D7E\u2A0Aot;\uC000\u2A6D\u0338p;\u6A42;\u443Dash;\u6013\u0380;Aadqsx\u0B92\u2A29\u2A2D\u2A3B\u2A41\u2A45\u2A50rr;\u61D7r\u0100hr\u2A33\u2A36k;\u6924\u0100;o\u13F2\u13F0ot;\uC000\u2250\u0338ui\xF6\u0B63\u0100ei\u2A4A\u2A4Ear;\u6928\xED\u0B98ist\u0100;s\u0BA0\u0B9Fr;\uC000\u{1D52B}\u0200Eest\u0BC5\u2A66\u2A79\u2A7C\u0180;qs\u0BBC\u2A6D\u0BE1\u0180;qs\u0BBC\u0BC5\u2A74lan\xF4\u0BE2i\xED\u0BEA\u0100;r\u0BB6\u2A81\xBB\u0BB7\u0180Aap\u2A8A\u2A8D\u2A91r\xF2\u2971rr;\u61AEar;\u6AF2\u0180;sv\u0F8D\u2A9C\u0F8C\u0100;d\u2AA1\u2AA2\u62FC;\u62FAcy;\u445A\u0380AEadest\u2AB7\u2ABA\u2ABE\u2AC2\u2AC5\u2AF6\u2AF9r\xF2\u2966;\uC000\u2266\u0338rr;\u619Ar;\u6025\u0200;fqs\u0C3B\u2ACE\u2AE3\u2AEFt\u0100ar\u2AD4\u2AD9rro\xF7\u2AC1ightarro\xF7\u2A90\u0180;qs\u0C3B\u2ABA\u2AEAlan\xF4\u0C55\u0100;s\u0C55\u2AF4\xBB\u0C36i\xED\u0C5D\u0100;r\u0C35\u2AFEi\u0100;e\u0C1A\u0C25i\xE4\u0D90\u0100pt\u2B0C\u2B11f;\uC000\u{1D55F}\u8180\xAC;in\u2B19\u2B1A\u2B36\u40ACn\u0200;Edv\u0B89\u2B24\u2B28\u2B2E;\uC000\u22F9\u0338ot;\uC000\u22F5\u0338\u01E1\u0B89\u2B33\u2B35;\u62F7;\u62F6i\u0100;v\u0CB8\u2B3C\u01E1\u0CB8\u2B41\u2B43;\u62FE;\u62FD\u0180aor\u2B4B\u2B63\u2B69r\u0200;ast\u0B7B\u2B55\u2B5A\u2B5Flle\xEC\u0B7Bl;\uC000\u2AFD\u20E5;\uC000\u2202\u0338lint;\u6A14\u0180;ce\u0C92\u2B70\u2B73u\xE5\u0CA5\u0100;c\u0C98\u2B78\u0100;e\u0C92\u2B7D\xF1\u0C98\u0200Aait\u2B88\u2B8B\u2B9D\u2BA7r\xF2\u2988rr\u0180;cw\u2B94\u2B95\u2B99\u619B;\uC000\u2933\u0338;\uC000\u219D\u0338ghtarrow\xBB\u2B95ri\u0100;e\u0CCB\u0CD6\u0380chimpqu\u2BBD\u2BCD\u2BD9\u2B04\u0B78\u2BE4\u2BEF\u0200;cer\u0D32\u2BC6\u0D37\u2BC9u\xE5\u0D45;\uC000\u{1D4C3}ort\u026D\u2B05\0\0\u2BD6ar\xE1\u2B56m\u0100;e\u0D6E\u2BDF\u0100;q\u0D74\u0D73su\u0100bp\u2BEB\u2BED\xE5\u0CF8\xE5\u0D0B\u0180bcp\u2BF6\u2C11\u2C19\u0200;Ees\u2BFF\u2C00\u0D22\u2C04\u6284;\uC000\u2AC5\u0338et\u0100;e\u0D1B\u2C0Bq\u0100;q\u0D23\u2C00c\u0100;e\u0D32\u2C17\xF1\u0D38\u0200;Ees\u2C22\u2C23\u0D5F\u2C27\u6285;\uC000\u2AC6\u0338et\u0100;e\u0D58\u2C2Eq\u0100;q\u0D60\u2C23\u0200gilr\u2C3D\u2C3F\u2C45\u2C47\xEC\u0BD7lde\u803B\xF1\u40F1\xE7\u0C43iangle\u0100lr\u2C52\u2C5Ceft\u0100;e\u0C1A\u2C5A\xF1\u0C26ight\u0100;e\u0CCB\u2C65\xF1\u0CD7\u0100;m\u2C6C\u2C6D\u43BD\u0180;es\u2C74\u2C75\u2C79\u4023ro;\u6116p;\u6007\u0480DHadgilrs\u2C8F\u2C94\u2C99\u2C9E\u2CA3\u2CB0\u2CB6\u2CD3\u2CE3ash;\u62ADarr;\u6904p;\uC000\u224D\u20D2ash;\u62AC\u0100et\u2CA8\u2CAC;\uC000\u2265\u20D2;\uC000>\u20D2nfin;\u69DE\u0180Aet\u2CBD\u2CC1\u2CC5rr;\u6902;\uC000\u2264\u20D2\u0100;r\u2CCA\u2CCD\uC000<\u20D2ie;\uC000\u22B4\u20D2\u0100At\u2CD8\u2CDCrr;\u6903rie;\uC000\u22B5\u20D2im;\uC000\u223C\u20D2\u0180Aan\u2CF0\u2CF4\u2D02rr;\u61D6r\u0100hr\u2CFA\u2CFDk;\u6923\u0100;o\u13E7\u13E5ear;\u6927\u1253\u1A95\0\0\0\0\0\0\0\0\0\0\0\0\0\u2D2D\0\u2D38\u2D48\u2D60\u2D65\u2D72\u2D84\u1B07\0\0\u2D8D\u2DAB\0\u2DC8\u2DCE\0\u2DDC\u2E19\u2E2B\u2E3E\u2E43\u0100cs\u2D31\u1A97ute\u803B\xF3\u40F3\u0100iy\u2D3C\u2D45r\u0100;c\u1A9E\u2D42\u803B\xF4\u40F4;\u443E\u0280abios\u1AA0\u2D52\u2D57\u01C8\u2D5Alac;\u4151v;\u6A38old;\u69BClig;\u4153\u0100cr\u2D69\u2D6Dir;\u69BF;\uC000\u{1D52C}\u036F\u2D79\0\0\u2D7C\0\u2D82n;\u42DBave\u803B\xF2\u40F2;\u69C1\u0100bm\u2D88\u0DF4ar;\u69B5\u0200acit\u2D95\u2D98\u2DA5\u2DA8r\xF2\u1A80\u0100ir\u2D9D\u2DA0r;\u69BEoss;\u69BBn\xE5\u0E52;\u69C0\u0180aei\u2DB1\u2DB5\u2DB9cr;\u414Dga;\u43C9\u0180cdn\u2DC0\u2DC5\u01CDron;\u43BF;\u69B6pf;\uC000\u{1D560}\u0180ael\u2DD4\u2DD7\u01D2r;\u69B7rp;\u69B9\u0380;adiosv\u2DEA\u2DEB\u2DEE\u2E08\u2E0D\u2E10\u2E16\u6228r\xF2\u1A86\u0200;efm\u2DF7\u2DF8\u2E02\u2E05\u6A5Dr\u0100;o\u2DFE\u2DFF\u6134f\xBB\u2DFF\u803B\xAA\u40AA\u803B\xBA\u40BAgof;\u62B6r;\u6A56lope;\u6A57;\u6A5B\u0180clo\u2E1F\u2E21\u2E27\xF2\u2E01ash\u803B\xF8\u40F8l;\u6298i\u016C\u2E2F\u2E34de\u803B\xF5\u40F5es\u0100;a\u01DB\u2E3As;\u6A36ml\u803B\xF6\u40F6bar;\u633D\u0AE1\u2E5E\0\u2E7D\0\u2E80\u2E9D\0\u2EA2\u2EB9\0\0\u2ECB\u0E9C\0\u2F13\0\0\u2F2B\u2FBC\0\u2FC8r\u0200;ast\u0403\u2E67\u2E72\u0E85\u8100\xB6;l\u2E6D\u2E6E\u40B6le\xEC\u0403\u0269\u2E78\0\0\u2E7Bm;\u6AF3;\u6AFDy;\u443Fr\u0280cimpt\u2E8B\u2E8F\u2E93\u1865\u2E97nt;\u4025od;\u402Eil;\u6030enk;\u6031r;\uC000\u{1D52D}\u0180imo\u2EA8\u2EB0\u2EB4\u0100;v\u2EAD\u2EAE\u43C6;\u43D5ma\xF4\u0A76ne;\u660E\u0180;tv\u2EBF\u2EC0\u2EC8\u43C0chfork\xBB\u1FFD;\u43D6\u0100au\u2ECF\u2EDFn\u0100ck\u2ED5\u2EDDk\u0100;h\u21F4\u2EDB;\u610E\xF6\u21F4s\u0480;abcdemst\u2EF3\u2EF4\u1908\u2EF9\u2EFD\u2F04\u2F06\u2F0A\u2F0E\u402Bcir;\u6A23ir;\u6A22\u0100ou\u1D40\u2F02;\u6A25;\u6A72n\u80BB\xB1\u0E9Dim;\u6A26wo;\u6A27\u0180ipu\u2F19\u2F20\u2F25ntint;\u6A15f;\uC000\u{1D561}nd\u803B\xA3\u40A3\u0500;Eaceinosu\u0EC8\u2F3F\u2F41\u2F44\u2F47\u2F81\u2F89\u2F92\u2F7E\u2FB6;\u6AB3p;\u6AB7u\xE5\u0ED9\u0100;c\u0ECE\u2F4C\u0300;acens\u0EC8\u2F59\u2F5F\u2F66\u2F68\u2F7Eppro\xF8\u2F43urlye\xF1\u0ED9\xF1\u0ECE\u0180aes\u2F6F\u2F76\u2F7Approx;\u6AB9qq;\u6AB5im;\u62E8i\xED\u0EDFme\u0100;s\u2F88\u0EAE\u6032\u0180Eas\u2F78\u2F90\u2F7A\xF0\u2F75\u0180dfp\u0EEC\u2F99\u2FAF\u0180als\u2FA0\u2FA5\u2FAAlar;\u632Eine;\u6312urf;\u6313\u0100;t\u0EFB\u2FB4\xEF\u0EFBrel;\u62B0\u0100ci\u2FC0\u2FC5r;\uC000\u{1D4C5};\u43C8ncsp;\u6008\u0300fiopsu\u2FDA\u22E2\u2FDF\u2FE5\u2FEB\u2FF1r;\uC000\u{1D52E}pf;\uC000\u{1D562}rime;\u6057cr;\uC000\u{1D4C6}\u0180aeo\u2FF8\u3009\u3013t\u0100ei\u2FFE\u3005rnion\xF3\u06B0nt;\u6A16st\u0100;e\u3010\u3011\u403F\xF1\u1F19\xF4\u0F14\u0A80ABHabcdefhilmnoprstux\u3040\u3051\u3055\u3059\u30E0\u310E\u312B\u3147\u3162\u3172\u318E\u3206\u3215\u3224\u3229\u3258\u326E\u3272\u3290\u32B0\u32B7\u0180art\u3047\u304A\u304Cr\xF2\u10B3\xF2\u03DDail;\u691Car\xF2\u1C65ar;\u6964\u0380cdenqrt\u3068\u3075\u3078\u307F\u308F\u3094\u30CC\u0100eu\u306D\u3071;\uC000\u223D\u0331te;\u4155i\xE3\u116Emptyv;\u69B3g\u0200;del\u0FD1\u3089\u308B\u308D;\u6992;\u69A5\xE5\u0FD1uo\u803B\xBB\u40BBr\u0580;abcfhlpstw\u0FDC\u30AC\u30AF\u30B7\u30B9\u30BC\u30BE\u30C0\u30C3\u30C7\u30CAp;\u6975\u0100;f\u0FE0\u30B4s;\u6920;\u6933s;\u691E\xEB\u225D\xF0\u272El;\u6945im;\u6974l;\u61A3;\u619D\u0100ai\u30D1\u30D5il;\u691Ao\u0100;n\u30DB\u30DC\u6236al\xF3\u0F1E\u0180abr\u30E7\u30EA\u30EEr\xF2\u17E5rk;\u6773\u0100ak\u30F3\u30FDc\u0100ek\u30F9\u30FB;\u407D;\u405D\u0100es\u3102\u3104;\u698Cl\u0100du\u310A\u310C;\u698E;\u6990\u0200aeuy\u3117\u311C\u3127\u3129ron;\u4159\u0100di\u3121\u3125il;\u4157\xEC\u0FF2\xE2\u30FA;\u4440\u0200clqs\u3134\u3137\u313D\u3144a;\u6937dhar;\u6969uo\u0100;r\u020E\u020Dh;\u61B3\u0180acg\u314E\u315F\u0F44l\u0200;ips\u0F78\u3158\u315B\u109Cn\xE5\u10BBar\xF4\u0FA9t;\u65AD\u0180ilr\u3169\u1023\u316Esht;\u697D;\uC000\u{1D52F}\u0100ao\u3177\u3186r\u0100du\u317D\u317F\xBB\u047B\u0100;l\u1091\u3184;\u696C\u0100;v\u318B\u318C\u43C1;\u43F1\u0180gns\u3195\u31F9\u31FCht\u0300ahlrst\u31A4\u31B0\u31C2\u31D8\u31E4\u31EErrow\u0100;t\u0FDC\u31ADa\xE9\u30C8arpoon\u0100du\u31BB\u31BFow\xEE\u317Ep\xBB\u1092eft\u0100ah\u31CA\u31D0rrow\xF3\u0FEAarpoon\xF3\u0551ightarrows;\u61C9quigarro\xF7\u30CBhreetimes;\u62CCg;\u42DAingdotse\xF1\u1F32\u0180ahm\u320D\u3210\u3213r\xF2\u0FEAa\xF2\u0551;\u600Foust\u0100;a\u321E\u321F\u63B1che\xBB\u321Fmid;\u6AEE\u0200abpt\u3232\u323D\u3240\u3252\u0100nr\u3237\u323Ag;\u67EDr;\u61FEr\xEB\u1003\u0180afl\u3247\u324A\u324Er;\u6986;\uC000\u{1D563}us;\u6A2Eimes;\u6A35\u0100ap\u325D\u3267r\u0100;g\u3263\u3264\u4029t;\u6994olint;\u6A12ar\xF2\u31E3\u0200achq\u327B\u3280\u10BC\u3285quo;\u603Ar;\uC000\u{1D4C7}\u0100bu\u30FB\u328Ao\u0100;r\u0214\u0213\u0180hir\u3297\u329B\u32A0re\xE5\u31F8mes;\u62CAi\u0200;efl\u32AA\u1059\u1821\u32AB\u65B9tri;\u69CEluhar;\u6968;\u611E\u0D61\u32D5\u32DB\u32DF\u332C\u3338\u3371\0\u337A\u33A4\0\0\u33EC\u33F0\0\u3428\u3448\u345A\u34AD\u34B1\u34CA\u34F1\0\u3616\0\0\u3633cute;\u415Bqu\xEF\u27BA\u0500;Eaceinpsy\u11ED\u32F3\u32F5\u32FF\u3302\u330B\u330F\u331F\u3326\u3329;\u6AB4\u01F0\u32FA\0\u32FC;\u6AB8on;\u4161u\xE5\u11FE\u0100;d\u11F3\u3307il;\u415Frc;\u415D\u0180Eas\u3316\u3318\u331B;\u6AB6p;\u6ABAim;\u62E9olint;\u6A13i\xED\u1204;\u4441ot\u0180;be\u3334\u1D47\u3335\u62C5;\u6A66\u0380Aacmstx\u3346\u334A\u3357\u335B\u335E\u3363\u336Drr;\u61D8r\u0100hr\u3350\u3352\xEB\u2228\u0100;o\u0A36\u0A34t\u803B\xA7\u40A7i;\u403Bwar;\u6929m\u0100in\u3369\xF0nu\xF3\xF1t;\u6736r\u0100;o\u3376\u2055\uC000\u{1D530}\u0200acoy\u3382\u3386\u3391\u33A0rp;\u666F\u0100hy\u338B\u338Fcy;\u4449;\u4448rt\u026D\u3399\0\0\u339Ci\xE4\u1464ara\xEC\u2E6F\u803B\xAD\u40AD\u0100gm\u33A8\u33B4ma\u0180;fv\u33B1\u33B2\u33B2\u43C3;\u43C2\u0400;deglnpr\u12AB\u33C5\u33C9\u33CE\u33D6\u33DE\u33E1\u33E6ot;\u6A6A\u0100;q\u12B1\u12B0\u0100;E\u33D3\u33D4\u6A9E;\u6AA0\u0100;E\u33DB\u33DC\u6A9D;\u6A9Fe;\u6246lus;\u6A24arr;\u6972ar\xF2\u113D\u0200aeit\u33F8\u3408\u340F\u3417\u0100ls\u33FD\u3404lsetm\xE9\u336Ahp;\u6A33parsl;\u69E4\u0100dl\u1463\u3414e;\u6323\u0100;e\u341C\u341D\u6AAA\u0100;s\u3422\u3423\u6AAC;\uC000\u2AAC\uFE00\u0180flp\u342E\u3433\u3442tcy;\u444C\u0100;b\u3438\u3439\u402F\u0100;a\u343E\u343F\u69C4r;\u633Ff;\uC000\u{1D564}a\u0100dr\u344D\u0402es\u0100;u\u3454\u3455\u6660it\xBB\u3455\u0180csu\u3460\u3479\u349F\u0100au\u3465\u346Fp\u0100;s\u1188\u346B;\uC000\u2293\uFE00p\u0100;s\u11B4\u3475;\uC000\u2294\uFE00u\u0100bp\u347F\u348F\u0180;es\u1197\u119C\u3486et\u0100;e\u1197\u348D\xF1\u119D\u0180;es\u11A8\u11AD\u3496et\u0100;e\u11A8\u349D\xF1\u11AE\u0180;af\u117B\u34A6\u05B0r\u0165\u34AB\u05B1\xBB\u117Car\xF2\u1148\u0200cemt\u34B9\u34BE\u34C2\u34C5r;\uC000\u{1D4C8}tm\xEE\xF1i\xEC\u3415ar\xE6\u11BE\u0100ar\u34CE\u34D5r\u0100;f\u34D4\u17BF\u6606\u0100an\u34DA\u34EDight\u0100ep\u34E3\u34EApsilo\xEE\u1EE0h\xE9\u2EAFs\xBB\u2852\u0280bcmnp\u34FB\u355E\u1209\u358B\u358E\u0480;Edemnprs\u350E\u350F\u3511\u3515\u351E\u3523\u352C\u3531\u3536\u6282;\u6AC5ot;\u6ABD\u0100;d\u11DA\u351Aot;\u6AC3ult;\u6AC1\u0100Ee\u3528\u352A;\u6ACB;\u628Alus;\u6ABFarr;\u6979\u0180eiu\u353D\u3552\u3555t\u0180;en\u350E\u3545\u354Bq\u0100;q\u11DA\u350Feq\u0100;q\u352B\u3528m;\u6AC7\u0100bp\u355A\u355C;\u6AD5;\u6AD3c\u0300;acens\u11ED\u356C\u3572\u3579\u357B\u3326ppro\xF8\u32FAurlye\xF1\u11FE\xF1\u11F3\u0180aes\u3582\u3588\u331Bppro\xF8\u331Aq\xF1\u3317g;\u666A\u0680123;Edehlmnps\u35A9\u35AC\u35AF\u121C\u35B2\u35B4\u35C0\u35C9\u35D5\u35DA\u35DF\u35E8\u35ED\u803B\xB9\u40B9\u803B\xB2\u40B2\u803B\xB3\u40B3;\u6AC6\u0100os\u35B9\u35BCt;\u6ABEub;\u6AD8\u0100;d\u1222\u35C5ot;\u6AC4s\u0100ou\u35CF\u35D2l;\u67C9b;\u6AD7arr;\u697Bult;\u6AC2\u0100Ee\u35E4\u35E6;\u6ACC;\u628Blus;\u6AC0\u0180eiu\u35F4\u3609\u360Ct\u0180;en\u121C\u35FC\u3602q\u0100;q\u1222\u35B2eq\u0100;q\u35E7\u35E4m;\u6AC8\u0100bp\u3611\u3613;\u6AD4;\u6AD6\u0180Aan\u361C\u3620\u362Drr;\u61D9r\u0100hr\u3626\u3628\xEB\u222E\u0100;o\u0A2B\u0A29war;\u692Alig\u803B\xDF\u40DF\u0BE1\u3651\u365D\u3660\u12CE\u3673\u3679\0\u367E\u36C2\0\0\0\0\0\u36DB\u3703\0\u3709\u376C\0\0\0\u3787\u0272\u3656\0\0\u365Bget;\u6316;\u43C4r\xEB\u0E5F\u0180aey\u3666\u366B\u3670ron;\u4165dil;\u4163;\u4442lrec;\u6315r;\uC000\u{1D531}\u0200eiko\u3686\u369D\u36B5\u36BC\u01F2\u368B\0\u3691e\u01004f\u1284\u1281a\u0180;sv\u3698\u3699\u369B\u43B8ym;\u43D1\u0100cn\u36A2\u36B2k\u0100as\u36A8\u36AEppro\xF8\u12C1im\xBB\u12ACs\xF0\u129E\u0100as\u36BA\u36AE\xF0\u12C1rn\u803B\xFE\u40FE\u01EC\u031F\u36C6\u22E7es\u8180\xD7;bd\u36CF\u36D0\u36D8\u40D7\u0100;a\u190F\u36D5r;\u6A31;\u6A30\u0180eps\u36E1\u36E3\u3700\xE1\u2A4D\u0200;bcf\u0486\u36EC\u36F0\u36F4ot;\u6336ir;\u6AF1\u0100;o\u36F9\u36FC\uC000\u{1D565}rk;\u6ADA\xE1\u3362rime;\u6034\u0180aip\u370F\u3712\u3764d\xE5\u1248\u0380adempst\u3721\u374D\u3740\u3751\u3757\u375C\u375Fngle\u0280;dlqr\u3730\u3731\u3736\u3740\u3742\u65B5own\xBB\u1DBBeft\u0100;e\u2800\u373E\xF1\u092E;\u625Cight\u0100;e\u32AA\u374B\xF1\u105Aot;\u65ECinus;\u6A3Alus;\u6A39b;\u69CDime;\u6A3Bezium;\u63E2\u0180cht\u3772\u377D\u3781\u0100ry\u3777\u377B;\uC000\u{1D4C9};\u4446cy;\u445Brok;\u4167\u0100io\u378B\u378Ex\xF4\u1777head\u0100lr\u3797\u37A0eftarro\xF7\u084Fightarrow\xBB\u0F5D\u0900AHabcdfghlmoprstuw\u37D0\u37D3\u37D7\u37E4\u37F0\u37FC\u380E\u381C\u3823\u3834\u3851\u385D\u386B\u38A9\u38CC\u38D2\u38EA\u38F6r\xF2\u03EDar;\u6963\u0100cr\u37DC\u37E2ute\u803B\xFA\u40FA\xF2\u1150r\u01E3\u37EA\0\u37EDy;\u445Eve;\u416D\u0100iy\u37F5\u37FArc\u803B\xFB\u40FB;\u4443\u0180abh\u3803\u3806\u380Br\xF2\u13ADlac;\u4171a\xF2\u13C3\u0100ir\u3813\u3818sht;\u697E;\uC000\u{1D532}rave\u803B\xF9\u40F9\u0161\u3827\u3831r\u0100lr\u382C\u382E\xBB\u0957\xBB\u1083lk;\u6580\u0100ct\u3839\u384D\u026F\u383F\0\0\u384Arn\u0100;e\u3845\u3846\u631Cr\xBB\u3846op;\u630Fri;\u65F8\u0100al\u3856\u385Acr;\u416B\u80BB\xA8\u0349\u0100gp\u3862\u3866on;\u4173f;\uC000\u{1D566}\u0300adhlsu\u114B\u3878\u387D\u1372\u3891\u38A0own\xE1\u13B3arpoon\u0100lr\u3888\u388Cef\xF4\u382Digh\xF4\u382Fi\u0180;hl\u3899\u389A\u389C\u43C5\xBB\u13FAon\xBB\u389Aparrows;\u61C8\u0180cit\u38B0\u38C4\u38C8\u026F\u38B6\0\0\u38C1rn\u0100;e\u38BC\u38BD\u631Dr\xBB\u38BDop;\u630Eng;\u416Fri;\u65F9cr;\uC000\u{1D4CA}\u0180dir\u38D9\u38DD\u38E2ot;\u62F0lde;\u4169i\u0100;f\u3730\u38E8\xBB\u1813\u0100am\u38EF\u38F2r\xF2\u38A8l\u803B\xFC\u40FCangle;\u69A7\u0780ABDacdeflnoprsz\u391C\u391F\u3929\u392D\u39B5\u39B8\u39BD\u39DF\u39E4\u39E8\u39F3\u39F9\u39FD\u3A01\u3A20r\xF2\u03F7ar\u0100;v\u3926\u3927\u6AE8;\u6AE9as\xE8\u03E1\u0100nr\u3932\u3937grt;\u699C\u0380eknprst\u34E3\u3946\u394B\u3952\u395D\u3964\u3996app\xE1\u2415othin\xE7\u1E96\u0180hir\u34EB\u2EC8\u3959op\xF4\u2FB5\u0100;h\u13B7\u3962\xEF\u318D\u0100iu\u3969\u396Dgm\xE1\u33B3\u0100bp\u3972\u3984setneq\u0100;q\u397D\u3980\uC000\u228A\uFE00;\uC000\u2ACB\uFE00setneq\u0100;q\u398F\u3992\uC000\u228B\uFE00;\uC000\u2ACC\uFE00\u0100hr\u399B\u399Fet\xE1\u369Ciangle\u0100lr\u39AA\u39AFeft\xBB\u0925ight\xBB\u1051y;\u4432ash\xBB\u1036\u0180elr\u39C4\u39D2\u39D7\u0180;be\u2DEA\u39CB\u39CFar;\u62BBq;\u625Alip;\u62EE\u0100bt\u39DC\u1468a\xF2\u1469r;\uC000\u{1D533}tr\xE9\u39AEsu\u0100bp\u39EF\u39F1\xBB\u0D1C\xBB\u0D59pf;\uC000\u{1D567}ro\xF0\u0EFBtr\xE9\u39B4\u0100cu\u3A06\u3A0Br;\uC000\u{1D4CB}\u0100bp\u3A10\u3A18n\u0100Ee\u3980\u3A16\xBB\u397En\u0100Ee\u3992\u3A1E\xBB\u3990igzag;\u699A\u0380cefoprs\u3A36\u3A3B\u3A56\u3A5B\u3A54\u3A61\u3A6Airc;\u4175\u0100di\u3A40\u3A51\u0100bg\u3A45\u3A49ar;\u6A5Fe\u0100;q\u15FA\u3A4F;\u6259erp;\u6118r;\uC000\u{1D534}pf;\uC000\u{1D568}\u0100;e\u1479\u3A66at\xE8\u1479cr;\uC000\u{1D4CC}\u0AE3\u178E\u3A87\0\u3A8B\0\u3A90\u3A9B\0\0\u3A9D\u3AA8\u3AAB\u3AAF\0\0\u3AC3\u3ACE\0\u3AD8\u17DC\u17DFtr\xE9\u17D1r;\uC000\u{1D535}\u0100Aa\u3A94\u3A97r\xF2\u03C3r\xF2\u09F6;\u43BE\u0100Aa\u3AA1\u3AA4r\xF2\u03B8r\xF2\u09EBa\xF0\u2713is;\u62FB\u0180dpt\u17A4\u3AB5\u3ABE\u0100fl\u3ABA\u17A9;\uC000\u{1D569}im\xE5\u17B2\u0100Aa\u3AC7\u3ACAr\xF2\u03CEr\xF2\u0A01\u0100cq\u3AD2\u17B8r;\uC000\u{1D4CD}\u0100pt\u17D6\u3ADCr\xE9\u17D4\u0400acefiosu\u3AF0\u3AFD\u3B08\u3B0C\u3B11\u3B15\u3B1B\u3B21c\u0100uy\u3AF6\u3AFBte\u803B\xFD\u40FD;\u444F\u0100iy\u3B02\u3B06rc;\u4177;\u444Bn\u803B\xA5\u40A5r;\uC000\u{1D536}cy;\u4457pf;\uC000\u{1D56A}cr;\uC000\u{1D4CE}\u0100cm\u3B26\u3B29y;\u444El\u803B\xFF\u40FF\u0500acdefhiosw\u3B42\u3B48\u3B54\u3B58\u3B64\u3B69\u3B6D\u3B74\u3B7A\u3B80cute;\u417A\u0100ay\u3B4D\u3B52ron;\u417E;\u4437ot;\u417C\u0100et\u3B5D\u3B61tr\xE6\u155Fa;\u43B6r;\uC000\u{1D537}cy;\u4436grarr;\u61DDpf;\uC000\u{1D56B}cr;\uC000\u{1D4CF}\u0100jn\u3B85\u3B87;\u600Dj;\u600C'.split("").map(e=>e.charCodeAt(0)));var kt=new Uint16Array("\u0200aglq \x1B\u026D\0\0p;\u4026os;\u4027t;\u403Et;\u403Cuot;\u4022".split("").map(e=>e.charCodeAt(0)));var fu,js=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Xe=(fu=String.fromCodePoint)!==null&&fu!==void 0?fu:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function Bt(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=js.get(e))!==null&&t!==void 0?t:e}function du(e){return Xe(Bt(e))}var ee;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.To_LOWER_BIT=32]="To_LOWER_BIT"})(ee||(ee={}));var se;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(se||(se={}));function jr(e){return function(u,r){let n="",i=0,s=0;for(;(s=u.indexOf("&",s))>=0;){if(n+=u.slice(i,s),i=s,s+=1,u.charCodeAt(s)===ee.NUM){let g=s+1,b=10,y=u.charCodeAt(g);(y|ee.To_LOWER_BIT)===ee.LOWER_X&&(b=16,s+=1,g+=1);do y=u.charCodeAt(++s);while(y>=ee.ZERO&&y<=ee.NINE||b===16&&(y|ee.To_LOWER_BIT)>=ee.LOWER_A&&(y|ee.To_LOWER_BIT)<=ee.LOWER_F);if(g!==s){let I=u.substring(g,s),v=parseInt(I,b);if(u.charCodeAt(s)===ee.SEMI)s+=1;else if(r)continue;n+=du(v),i=s}continue}let a=0,o=1,c=0,l=e[c];for(;s<u.length&&(c=hu(e,l,c+1,u.charCodeAt(s)),!(c<0));s++,o++){l=e[c];let g=l&se.VALUE_LENGTH;if(g){(!r||u.charCodeAt(s)===ee.SEMI)&&(a=c,o=0);let b=(g>>14)-1;if(b===0)break;c+=b}}if(a!==0){let g=(e[a]&se.VALUE_LENGTH)>>14;n+=g===1?String.fromCharCode(e[a]&~se.VALUE_LENGTH):g===2?String.fromCharCode(e[a+1]):String.fromCharCode(e[a+1],e[a+2]),i=s-o+1}}return n+u.slice(i)}}function hu(e,t,u,r){let n=(t&se.BRANCH_LENGTH)>>7,i=t&se.JUMP_TABLE;if(n===0)return i!==0&&r===i?u:-1;if(i){let o=r-i;return o<0||o>=n?-1:e[u+o]-1}let s=u,a=s+n-1;for(;s<=a;){let o=s+a>>>1,c=e[o];if(c<r)s=o+1;else if(c>r)a=o-1;else return e[o+n]}return-1}var mf=jr(Dt),xf=jr(kt);var A;(function(e){e[e.Tab=9]="Tab",e[e.NewLine=10]="NewLine",e[e.FormFeed=12]="FormFeed",e[e.CarriageReturn=13]="CarriageReturn",e[e.Space=32]="Space",e[e.ExclamationMark=33]="ExclamationMark",e[e.Num=35]="Num",e[e.Amp=38]="Amp",e[e.SingleQuote=39]="SingleQuote",e[e.DoubleQuote=34]="DoubleQuote",e[e.Dash=45]="Dash",e[e.Slash=47]="Slash",e[e.Zero=48]="Zero",e[e.Nine=57]="Nine",e[e.Semi=59]="Semi",e[e.Lt=60]="Lt",e[e.Eq=61]="Eq",e[e.Gt=62]="Gt",e[e.Questionmark=63]="Questionmark",e[e.UpperA=65]="UpperA",e[e.LowerA=97]="LowerA",e[e.UpperF=70]="UpperF",e[e.LowerF=102]="LowerF",e[e.UpperZ=90]="UpperZ",e[e.LowerZ=122]="LowerZ",e[e.LowerX=120]="LowerX",e[e.OpeningSquareBracket=91]="OpeningSquareBracket"})(A||(A={}));var w;(function(e){e[e.Text=1]="Text",e[e.BeforeTagName=2]="BeforeTagName",e[e.InTagName=3]="InTagName",e[e.InSelfClosingTag=4]="InSelfClosingTag",e[e.BeforeClosingTagName=5]="BeforeClosingTagName",e[e.InClosingTagName=6]="InClosingTagName",e[e.AfterClosingTagName=7]="AfterClosingTagName",e[e.BeforeAttributeName=8]="BeforeAttributeName",e[e.InAttributeName=9]="InAttributeName",e[e.AfterAttributeName=10]="AfterAttributeName",e[e.BeforeAttributeValue=11]="BeforeAttributeValue",e[e.InAttributeValueDq=12]="InAttributeValueDq",e[e.InAttributeValueSq=13]="InAttributeValueSq",e[e.InAttributeValueNq=14]="InAttributeValueNq",e[e.BeforeDeclaration=15]="BeforeDeclaration",e[e.InDeclaration=16]="InDeclaration",e[e.InProcessingInstruction=17]="InProcessingInstruction",e[e.BeforeComment=18]="BeforeComment",e[e.CDATASequence=19]="CDATASequence",e[e.InSpecialComment=20]="InSpecialComment",e[e.InCommentLike=21]="InCommentLike",e[e.BeforeSpecialS=22]="BeforeSpecialS",e[e.SpecialStartSequence=23]="SpecialStartSequence",e[e.InSpecialTag=24]="InSpecialTag",e[e.BeforeEntity=25]="BeforeEntity",e[e.BeforeNumericEntity=26]="BeforeNumericEntity",e[e.InNamedEntity=27]="InNamedEntity",e[e.InNumericEntity=28]="InNumericEntity",e[e.InHexEntity=29]="InHexEntity"})(w||(w={}));function de(e){return e===A.Space||e===A.NewLine||e===A.Tab||e===A.FormFeed||e===A.CarriageReturn}function Ot(e){return e===A.Slash||e===A.Gt||de(e)}function $r(e){return e>=A.Zero&&e<=A.Nine}function $s(e){return e>=A.LowerA&&e<=A.LowerZ||e>=A.UpperA&&e<=A.UpperZ}function Us(e){return e>=A.UpperA&&e<=A.UpperF||e>=A.LowerA&&e<=A.LowerF}var ae;(function(e){e[e.NoValue=0]="NoValue",e[e.Unquoted=1]="Unquoted",e[e.Single=2]="Single",e[e.Double=3]="Double"})(ae||(ae={}));var K={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},Re=class{constructor({xmlMode:t=!1,decodeEntities:u=!0},r){this.cbs=r,this.state=w.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=w.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=t,this.decodeEntities=u,this.entityTrie=t?kt:Dt}reset(){this.state=w.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=w.Text,this.currentSequence=void 0,this.running=!0,this.offset=0}write(t){this.offset+=this.buffer.length,this.buffer=t,this.parse()}end(){this.running&&this.finish()}pause(){this.running=!1}resume(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()}getIndex(){return this.index}getSectionStart(){return this.sectionStart}stateText(t){t===A.Lt||!this.decodeEntities&&this.fastForwardTo(A.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=w.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&t===A.Amp&&(this.state=w.BeforeEntity)}stateSpecialStartSequence(t){let u=this.sequenceIndex===this.currentSequence.length;if(!(u?Ot(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.isSpecial=!1;else if(!u){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=w.InTagName,this.stateInTagName(t)}stateInSpecialTag(t){if(this.sequenceIndex===this.currentSequence.length){if(t===A.Gt||de(t)){let u=this.index-this.currentSequence.length;if(this.sectionStart<u){let r=this.index;this.index=u,this.cbs.ontext(this.sectionStart,u),this.index=r}this.isSpecial=!1,this.sectionStart=u+2,this.stateInClosingTagName(t);return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===K.TitleEnd?this.decodeEntities&&t===A.Amp&&(this.state=w.BeforeEntity):this.fastForwardTo(A.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===A.Lt)}stateCDATASequence(t){t===K.Cdata[this.sequenceIndex]?++this.sequenceIndex===K.Cdata.length&&(this.state=w.InCommentLike,this.currentSequence=K.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=w.InDeclaration,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===t)return!0;return this.index=this.buffer.length+this.offset-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===K.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=w.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}isTagStartChar(t){return this.xmlMode?!Ot(t):$s(t)}startSpecial(t,u){this.isSpecial=!0,this.currentSequence=t,this.sequenceIndex=u,this.state=w.SpecialStartSequence}stateBeforeTagName(t){if(t===A.ExclamationMark)this.state=w.BeforeDeclaration,this.sectionStart=this.index+1;else if(t===A.Questionmark)this.state=w.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(t)){let u=t|32;this.sectionStart=this.index,!this.xmlMode&&u===K.TitleEnd[2]?this.startSpecial(K.TitleEnd,3):this.state=!this.xmlMode&&u===K.ScriptEnd[2]?w.BeforeSpecialS:w.InTagName}else t===A.Slash?this.state=w.BeforeClosingTagName:(this.state=w.Text,this.stateText(t))}stateInTagName(t){Ot(t)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=w.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateBeforeClosingTagName(t){de(t)||(t===A.Gt?this.state=w.Text:(this.state=this.isTagStartChar(t)?w.InClosingTagName:w.InSpecialComment,this.sectionStart=this.index))}stateInClosingTagName(t){(t===A.Gt||de(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=w.AfterClosingTagName,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){(t===A.Gt||this.fastForwardTo(A.Gt))&&(this.state=w.Text,this.sectionStart=this.index+1)}stateBeforeAttributeName(t){t===A.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=w.InSpecialTag,this.sequenceIndex=0):this.state=w.Text,this.baseState=this.state,this.sectionStart=this.index+1):t===A.Slash?this.state=w.InSelfClosingTag:de(t)||(this.state=w.InAttributeName,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===A.Gt?(this.cbs.onselfclosingtag(this.index),this.state=w.Text,this.baseState=w.Text,this.sectionStart=this.index+1,this.isSpecial=!1):de(t)||(this.state=w.BeforeAttributeName,this.stateBeforeAttributeName(t))}stateInAttributeName(t){(t===A.Eq||Ot(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=w.AfterAttributeName,this.stateAfterAttributeName(t))}stateAfterAttributeName(t){t===A.Eq?this.state=w.BeforeAttributeValue:t===A.Slash||t===A.Gt?(this.cbs.onattribend(ae.NoValue,this.index),this.state=w.BeforeAttributeName,this.stateBeforeAttributeName(t)):de(t)||(this.cbs.onattribend(ae.NoValue,this.index),this.state=w.InAttributeName,this.sectionStart=this.index)}stateBeforeAttributeValue(t){t===A.DoubleQuote?(this.state=w.InAttributeValueDq,this.sectionStart=this.index+1):t===A.SingleQuote?(this.state=w.InAttributeValueSq,this.sectionStart=this.index+1):de(t)||(this.sectionStart=this.index,this.state=w.InAttributeValueNq,this.stateInAttributeValueNoQuotes(t))}handleInAttributeValue(t,u){t===u||!this.decodeEntities&&this.fastForwardTo(u)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u===A.DoubleQuote?ae.Double:ae.Single,this.index),this.state=w.BeforeAttributeName):this.decodeEntities&&t===A.Amp&&(this.baseState=this.state,this.state=w.BeforeEntity)}stateInAttributeValueDoubleQuotes(t){this.handleInAttributeValue(t,A.DoubleQuote)}stateInAttributeValueSingleQuotes(t){this.handleInAttributeValue(t,A.SingleQuote)}stateInAttributeValueNoQuotes(t){de(t)||t===A.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(ae.Unquoted,this.index),this.state=w.BeforeAttributeName,this.stateBeforeAttributeName(t)):this.decodeEntities&&t===A.Amp&&(this.baseState=this.state,this.state=w.BeforeEntity)}stateBeforeDeclaration(t){t===A.OpeningSquareBracket?(this.state=w.CDATASequence,this.sequenceIndex=0):this.state=t===A.Dash?w.BeforeComment:w.InDeclaration}stateInDeclaration(t){(t===A.Gt||this.fastForwardTo(A.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=w.Text,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===A.Gt||this.fastForwardTo(A.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=w.Text,this.sectionStart=this.index+1)}stateBeforeComment(t){t===A.Dash?(this.state=w.InCommentLike,this.currentSequence=K.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=w.InDeclaration}stateInSpecialComment(t){(t===A.Gt||this.fastForwardTo(A.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=w.Text,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){let u=t|32;u===K.ScriptEnd[3]?this.startSpecial(K.ScriptEnd,4):u===K.StyleEnd[3]?this.startSpecial(K.StyleEnd,4):(this.state=w.InTagName,this.stateInTagName(t))}stateBeforeEntity(t){this.entityExcess=1,this.entityResult=0,t===A.Num?this.state=w.BeforeNumericEntity:t===A.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=w.InNamedEntity,this.stateInNamedEntity(t))}stateInNamedEntity(t){if(this.entityExcess+=1,this.trieIndex=hu(this.entityTrie,this.trieCurrent,this.trieIndex+1,t),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];let u=this.trieCurrent&se.VALUE_LENGTH;if(u){let r=(u>>14)-1;if(!this.allowLegacyEntity()&&t!==A.Semi)this.trieIndex+=r;else{let n=this.index-this.entityExcess+1;n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,r===0&&this.emitNamedEntity()}}}emitNamedEntity(){if(this.state=this.baseState,this.entityResult===0)return;switch((this.entityTrie[this.entityResult]&se.VALUE_LENGTH)>>14){case 1:this.emitCodePoint(this.entityTrie[this.entityResult]&~se.VALUE_LENGTH);break;case 2:this.emitCodePoint(this.entityTrie[this.entityResult+1]);break;case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}stateBeforeNumericEntity(t){(t|32)===A.LowerX?(this.entityExcess++,this.state=w.InHexEntity):(this.state=w.InNumericEntity,this.stateInNumericEntity(t))}emitNumericEntity(t){let u=this.index-this.entityExcess-1;u+2+ +(this.state===w.InHexEntity)!==this.index&&(u>this.sectionStart&&this.emitPartial(this.sectionStart,u),this.sectionStart=this.index+Number(t),this.emitCodePoint(Bt(this.entityResult))),this.state=this.baseState}stateInNumericEntity(t){t===A.Semi?this.emitNumericEntity(!0):$r(t)?(this.entityResult=this.entityResult*10+(t-A.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}stateInHexEntity(t){t===A.Semi?this.emitNumericEntity(!0):$r(t)?(this.entityResult=this.entityResult*16+(t-A.Zero),this.entityExcess++):Us(t)?(this.entityResult=this.entityResult*16+((t|32)-A.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)}allowLegacyEntity(){return!this.xmlMode&&(this.baseState===w.Text||this.baseState===w.InSpecialTag)}cleanup(){this.running&&this.sectionStart!==this.index&&(this.state===w.Text||this.state===w.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===w.InAttributeValueDq||this.state===w.InAttributeValueSq||this.state===w.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}shouldContinue(){return this.index<this.buffer.length+this.offset&&this.running}parse(){for(;this.shouldContinue();){let t=this.buffer.charCodeAt(this.index-this.offset);this.state===w.Text?this.stateText(t):this.state===w.SpecialStartSequence?this.stateSpecialStartSequence(t):this.state===w.InSpecialTag?this.stateInSpecialTag(t):this.state===w.CDATASequence?this.stateCDATASequence(t):this.state===w.InAttributeValueDq?this.stateInAttributeValueDoubleQuotes(t):this.state===w.InAttributeName?this.stateInAttributeName(t):this.state===w.InCommentLike?this.stateInCommentLike(t):this.state===w.InSpecialComment?this.stateInSpecialComment(t):this.state===w.BeforeAttributeName?this.stateBeforeAttributeName(t):this.state===w.InTagName?this.stateInTagName(t):this.state===w.InClosingTagName?this.stateInClosingTagName(t):this.state===w.BeforeTagName?this.stateBeforeTagName(t):this.state===w.AfterAttributeName?this.stateAfterAttributeName(t):this.state===w.InAttributeValueSq?this.stateInAttributeValueSingleQuotes(t):this.state===w.BeforeAttributeValue?this.stateBeforeAttributeValue(t):this.state===w.BeforeClosingTagName?this.stateBeforeClosingTagName(t):this.state===w.AfterClosingTagName?this.stateAfterClosingTagName(t):this.state===w.BeforeSpecialS?this.stateBeforeSpecialS(t):this.state===w.InAttributeValueNq?this.stateInAttributeValueNoQuotes(t):this.state===w.InSelfClosingTag?this.stateInSelfClosingTag(t):this.state===w.InDeclaration?this.stateInDeclaration(t):this.state===w.BeforeDeclaration?this.stateBeforeDeclaration(t):this.state===w.BeforeComment?this.stateBeforeComment(t):this.state===w.InProcessingInstruction?this.stateInProcessingInstruction(t):this.state===w.InNamedEntity?this.stateInNamedEntity(t):this.state===w.BeforeEntity?this.stateBeforeEntity(t):this.state===w.InHexEntity?this.stateInHexEntity(t):this.state===w.InNumericEntity?this.stateInNumericEntity(t):this.stateBeforeNumericEntity(t),this.index++}this.cleanup()}finish(){this.state===w.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){let t=this.buffer.length+this.offset;this.state===w.InCommentLike?this.currentSequence===K.CdataEnd?this.cbs.oncdata(this.sectionStart,t,0):this.cbs.oncomment(this.sectionStart,t,0):this.state===w.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===w.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===w.InTagName||this.state===w.BeforeAttributeName||this.state===w.BeforeAttributeValue||this.state===w.AfterAttributeName||this.state===w.InAttributeName||this.state===w.InAttributeValueSq||this.state===w.InAttributeValueDq||this.state===w.InAttributeValueNq||this.state===w.InClosingTagName||this.cbs.ontext(this.sectionStart,t)}emitPartial(t,u){this.baseState!==w.Text&&this.baseState!==w.InSpecialTag?this.cbs.onattribdata(t,u):this.cbs.ontext(t,u)}emitCodePoint(t){this.baseState!==w.Text&&this.baseState!==w.InSpecialTag?this.cbs.onattribentity(t):this.cbs.ontextentity(t)}};var qe=new Set(["input","option","optgroup","select","button","datalist","textarea"]),O=new Set(["p"]),Ur=new Set(["thead","tbody"]),zr=new Set(["dd","dt"]),Hr=new Set(["rt","rp"]),zs=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",O],["h1",O],["h2",O],["h3",O],["h4",O],["h5",O],["h6",O],["select",qe],["input",qe],["output",qe],["button",qe],["datalist",qe],["textarea",qe],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",zr],["dt",zr],["address",O],["article",O],["aside",O],["blockquote",O],["details",O],["div",O],["dl",O],["fieldset",O],["figcaption",O],["figure",O],["footer",O],["form",O],["header",O],["hr",O],["main",O],["nav",O],["ol",O],["pre",O],["section",O],["table",O],["ul",O],["rt",Hr],["rp",Hr],["tbody",Ur],["tfoot",Ur]]),Hs=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),Vr=new Set(["math","svg"]),Gr=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),Vs=/\s|\//,et=class{constructor(t,u={}){var r,n,i,s,a;this.options=u,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.lowerCaseTagNames=(r=u.lowerCaseTags)!==null&&r!==void 0?r:!u.xmlMode,this.lowerCaseAttributeNames=(n=u.lowerCaseAttributeNames)!==null&&n!==void 0?n:!u.xmlMode,this.tokenizer=new((i=u.Tokenizer)!==null&&i!==void 0?i:Re)(this.options,this),(a=(s=this.cbs).onparserinit)===null||a===void 0||a.call(s,this)}ontext(t,u){var r,n;let i=this.getSlice(t,u);this.endIndex=u-1,(n=(r=this.cbs).ontext)===null||n===void 0||n.call(r,i),this.startIndex=u}ontextentity(t){var u,r;let n=this.tokenizer.getSectionStart();this.endIndex=n-1,(r=(u=this.cbs).ontext)===null||r===void 0||r.call(u,Xe(t)),this.startIndex=n}isVoidElement(t){return!this.options.xmlMode&&Hs.has(t)}onopentagname(t,u){this.endIndex=u;let r=this.getSlice(t,u);this.lowerCaseTagNames&&(r=r.toLowerCase()),this.emitOpenTag(r)}emitOpenTag(t){var u,r,n,i;this.openTagStart=this.startIndex,this.tagname=t;let s=!this.options.xmlMode&&zs.get(t);if(s)for(;this.stack.length>0&&s.has(this.stack[this.stack.length-1]);){let a=this.stack.pop();(r=(u=this.cbs).onclosetag)===null||r===void 0||r.call(u,a,!0)}this.isVoidElement(t)||(this.stack.push(t),Vr.has(t)?this.foreignContext.push(!0):Gr.has(t)&&this.foreignContext.push(!1)),(i=(n=this.cbs).onopentagname)===null||i===void 0||i.call(n,t),this.cbs.onopentag&&(this.attribs={})}endOpenTag(t){var u,r;this.startIndex=this.openTagStart,this.attribs&&((r=(u=this.cbs).onopentag)===null||r===void 0||r.call(u,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""}onopentagend(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1}onclosetag(t,u){var r,n,i,s,a,o;this.endIndex=u;let c=this.getSlice(t,u);if(this.lowerCaseTagNames&&(c=c.toLowerCase()),(Vr.has(c)||Gr.has(c))&&this.foreignContext.pop(),this.isVoidElement(c))!this.options.xmlMode&&c==="br"&&((n=(r=this.cbs).onopentagname)===null||n===void 0||n.call(r,"br"),(s=(i=this.cbs).onopentag)===null||s===void 0||s.call(i,"br",{},!0),(o=(a=this.cbs).onclosetag)===null||o===void 0||o.call(a,"br",!1));else{let l=this.stack.lastIndexOf(c);if(l!==-1)if(this.cbs.onclosetag){let g=this.stack.length-l;for(;g--;)this.cbs.onclosetag(this.stack.pop(),g!==0)}else this.stack.length=l;else!this.options.xmlMode&&c==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=u+1}onselfclosingtag(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)}closeCurrentTag(t){var u,r;let n=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===n&&((r=(u=this.cbs).onclosetag)===null||r===void 0||r.call(u,n,!t),this.stack.pop())}onattribname(t,u){this.startIndex=t;let r=this.getSlice(t,u);this.attribname=this.lowerCaseAttributeNames?r.toLowerCase():r}onattribdata(t,u){this.attribvalue+=this.getSlice(t,u)}onattribentity(t){this.attribvalue+=Xe(t)}onattribend(t,u){var r,n;this.endIndex=u,(n=(r=this.cbs).onattribute)===null||n===void 0||n.call(r,this.attribname,this.attribvalue,t===ae.Double?'"':t===ae.Single?"'":t===ae.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""}getInstructionName(t){let u=t.search(Vs),r=u<0?t:t.substr(0,u);return this.lowerCaseTagNames&&(r=r.toLowerCase()),r}ondeclaration(t,u){this.endIndex=u;let r=this.getSlice(t,u);if(this.cbs.onprocessinginstruction){let n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`!${n}`,`!${r}`)}this.startIndex=u+1}onprocessinginstruction(t,u){this.endIndex=u;let r=this.getSlice(t,u);if(this.cbs.onprocessinginstruction){let n=this.getInstructionName(r);this.cbs.onprocessinginstruction(`?${n}`,`?${r}`)}this.startIndex=u+1}oncomment(t,u,r){var n,i,s,a;this.endIndex=u,(i=(n=this.cbs).oncomment)===null||i===void 0||i.call(n,this.getSlice(t,u-r)),(a=(s=this.cbs).oncommentend)===null||a===void 0||a.call(s),this.startIndex=u+1}oncdata(t,u,r){var n,i,s,a,o,c,l,g,b,y;this.endIndex=u;let I=this.getSlice(t,u-r);this.options.xmlMode||this.options.recognizeCDATA?((i=(n=this.cbs).oncdatastart)===null||i===void 0||i.call(n),(a=(s=this.cbs).ontext)===null||a===void 0||a.call(s,I),(c=(o=this.cbs).oncdataend)===null||c===void 0||c.call(o)):((g=(l=this.cbs).oncomment)===null||g===void 0||g.call(l,`[CDATA[${I}]]`),(y=(b=this.cbs).oncommentend)===null||y===void 0||y.call(b)),this.startIndex=u+1}onend(){var t,u;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(let r=this.stack.length;r>0;this.cbs.onclosetag(this.stack[--r],!0));}(u=(t=this.cbs).onend)===null||u===void 0||u.call(t)}reset(){var t,u,r,n;(u=(t=this.cbs).onreset)===null||u===void 0||u.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(r=this.cbs).onparserinit)===null||n===void 0||n.call(r,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1}parseComplete(t){this.reset(),this.end(t)}getSlice(t,u){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();let r=this.buffers[0].slice(t-this.bufferOffset,u-this.bufferOffset);for(;u-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),r+=this.buffers[0].slice(0,u-this.bufferOffset);return r}shiftBuffer(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()}write(t){var u,r;if(this.ended){(r=(u=this.cbs).onerror)===null||r===void 0||r.call(u,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)}end(t){var u,r;if(this.ended){(r=(u=this.cbs).onerror)===null||r===void 0||r.call(u,Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()}pause(){this.tokenizer.pause()}resume(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()}parseChunk(t){this.write(t)}done(t){this.end(t)}};var L;(function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"})(L||(L={}));function Yr(e){return e.type===L.Tag||e.type===L.Script||e.type===L.Style}var Gs=L.Root,Ys=L.Text,Ws=L.Directive,Qs=L.Comment,Zs=L.Script,Js=L.Style,Ks=L.Tag,Xs=L.CDATA,ea=L.Doctype;var Rt=class{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(t){this.parent=t}get previousSibling(){return this.prev}set previousSibling(t){this.prev=t}get nextSibling(){return this.next}set nextSibling(t){this.next=t}cloneNode(t=!1){return Zr(this,t)}},tt=class extends Rt{constructor(t){super(),this.data=t}get nodeValue(){return this.data}set nodeValue(t){this.data=t}},Pe=class extends tt{constructor(){super(...arguments),this.type=L.Text}get nodeType(){return 3}},ut=class extends tt{constructor(){super(...arguments),this.type=L.Comment}get nodeType(){return 8}},rt=class extends tt{constructor(t,u){super(u),this.name=t,this.type=L.Directive}get nodeType(){return 1}},nt=class extends Rt{constructor(t){super(),this.children=t}get firstChild(){var t;return(t=this.children[0])!==null&&t!==void 0?t:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(t){this.children=t}},it=class extends nt{constructor(){super(...arguments),this.type=L.CDATA}get nodeType(){return 4}},Fe=class extends nt{constructor(){super(...arguments),this.type=L.Root}get nodeType(){return 9}},st=class extends nt{constructor(t,u,r=[],n=t==="script"?L.Script:t==="style"?L.Style:L.Tag){super(r),this.name=t,this.attribs=u,this.type=n}get nodeType(){return 1}get tagName(){return this.name}set tagName(t){this.name=t}get attributes(){return Object.keys(this.attribs).map(t=>{var u,r;return{name:t,value:this.attribs[t],namespace:(u=this["x-attribsNamespace"])===null||u===void 0?void 0:u[t],prefix:(r=this["x-attribsPrefix"])===null||r===void 0?void 0:r[t]}})}};function je(e){return Yr(e)}function gu(e){return e.type===L.CDATA}function qt(e){return e.type===L.Text}function bu(e){return e.type===L.Comment}function ta(e){return e.type===L.Directive}function Qr(e){return e.type===L.Root}function Zr(e,t=!1){let u;if(qt(e))u=new Pe(e.data);else if(bu(e))u=new ut(e.data);else if(je(e)){let r=t?pu(e.children):[],n=new st(e.name,{...e.attribs},r);r.forEach(i=>i.parent=n),e.namespace!=null&&(n.namespace=e.namespace),e["x-attribsNamespace"]&&(n["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(n["x-attribsPrefix"]={...e["x-attribsPrefix"]}),u=n}else if(gu(e)){let r=t?pu(e.children):[],n=new it(r);r.forEach(i=>i.parent=n),u=n}else if(Qr(e)){let r=t?pu(e.children):[],n=new Fe(r);r.forEach(i=>i.parent=n),e["x-mode"]&&(n["x-mode"]=e["x-mode"]),u=n}else if(ta(e)){let r=new rt(e.name,e.data);e["x-name"]!=null&&(r["x-name"]=e["x-name"],r["x-publicId"]=e["x-publicId"],r["x-systemId"]=e["x-systemId"]),u=r}else throw new Error(`Not implemented yet: ${e.type}`);return u.startIndex=e.startIndex,u.endIndex=e.endIndex,e.sourceCodeLocation!=null&&(u.sourceCodeLocation=e.sourceCodeLocation),u}function pu(e){let t=e.map(u=>Zr(u,!0));for(let u=1;u<t.length;u++)t[u].prev=t[u-1],t[u-1].next=t[u];return t}var Jr={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},at=class{constructor(t,u,r){this.dom=[],this.root=new Fe(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof u=="function"&&(r=u,u=Jr),typeof t=="object"&&(u=t,t=void 0),this.callback=t??null,this.options=u??Jr,this.elementCB=r??null}onparserinit(t){this.parser=t}onreset(){this.dom=[],this.root=new Fe(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(t){this.handleCallback(t)}onclosetag(){this.lastNode=null;let t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)}onopentag(t,u){let r=this.options.xmlMode?L.Tag:void 0,n=new st(t,u,void 0,r);this.addNode(n),this.tagStack.push(n)}ontext(t){let{lastNode:u}=this;if(u&&u.type===L.Text)u.data+=t,this.options.withEndIndices&&(u.endIndex=this.parser.endIndex);else{let r=new Pe(t);this.addNode(r),this.lastNode=r}}oncomment(t){if(this.lastNode&&this.lastNode.type===L.Comment){this.lastNode.data+=t;return}let u=new ut(t);this.addNode(u),this.lastNode=u}oncommentend(){this.lastNode=null}oncdatastart(){let t=new Pe(""),u=new it([t]);this.addNode(u),t.parent=u,this.lastNode=t}oncdataend(){this.lastNode=null}onprocessinginstruction(t,u){let r=new rt(t,u);this.addNode(r)}handleCallback(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t}addNode(t){let u=this.tagStack[this.tagStack.length-1],r=u.children[u.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),u.children.push(t),r&&(t.prev=r,r.next=t),t.parent=u,this.lastNode=null}};function Pt(e){for(let t=1;t<e.length;t++)e[t][0]+=e[t-1][0]+1;return e}var ua=new Map(Pt([[9,"	"],[0,"
"],[22,"!"],[0,"""],[0,"#"],[0,"$"],[0,"%"],[0,"&"],[0,"'"],[0,"("],[0,")"],[0,"*"],[0,"+"],[0,","],[1,"."],[0,"/"],[10,":"],[0,";"],[0,{v:"<",n:8402,o:"<⃒"}],[0,{v:"=",n:8421,o:"=⃥"}],[0,{v:">",n:8402,o:">⃒"}],[0,"?"],[0,"@"],[26,"["],[0,"\"],[0,"]"],[0,"^"],[0,"_"],[0,"`"],[5,{n:106,o:"fj"}],[20,"{"],[0,"|"],[0,"}"],[34," "],[0,"¡"],[0,"¢"],[0,"£"],[0,"¤"],[0,"¥"],[0,"¦"],[0,"§"],[0,"¨"],[0,"©"],[0,"ª"],[0,"«"],[0,"¬"],[0,"­"],[0,"®"],[0,"¯"],[0,"°"],[0,"±"],[0,"²"],[0,"³"],[0,"´"],[0,"µ"],[0,"¶"],[0,"·"],[0,"¸"],[0,"¹"],[0,"º"],[0,"»"],[0,"¼"],[0,"½"],[0,"¾"],[0,"¿"],[0,"À"],[0,"Á"],[0,"Â"],[0,"Ã"],[0,"Ä"],[0,"Å"],[0,"Æ"],[0,"Ç"],[0,"È"],[0,"É"],[0,"Ê"],[0,"Ë"],[0,"Ì"],[0,"Í"],[0,"Î"],[0,"Ï"],[0,"Ð"],[0,"Ñ"],[0,"Ò"],[0,"Ó"],[0,"Ô"],[0,"Õ"],[0,"Ö"],[0,"×"],[0,"Ø"],[0,"Ù"],[0,"Ú"],[0,"Û"],[0,"Ü"],[0,"Ý"],[0,"Þ"],[0,"ß"],[0,"à"],[0,"á"],[0,"â"],[0,"ã"],[0,"ä"],[0,"å"],[0,"æ"],[0,"ç"],[0,"è"],[0,"é"],[0,"ê"],[0,"ë"],[0,"ì"],[0,"í"],[0,"î"],[0,"ï"],[0,"ð"],[0,"ñ"],[0,"ò"],[0,"ó"],[0,"ô"],[0,"õ"],[0,"ö"],[0,"÷"],[0,"ø"],[0,"ù"],[0,"ú"],[0,"û"],[0,"ü"],[0,"ý"],[0,"þ"],[0,"ÿ"],[0,"Ā"],[0,"ā"],[0,"Ă"],[0,"ă"],[0,"Ą"],[0,"ą"],[0,"Ć"],[0,"ć"],[0,"Ĉ"],[0,"ĉ"],[0,"Ċ"],[0,"ċ"],[0,"Č"],[0,"č"],[0,"Ď"],[0,"ď"],[0,"Đ"],[0,"đ"],[0,"Ē"],[0,"ē"],[2,"Ė"],[0,"ė"],[0,"Ę"],[0,"ę"],[0,"Ě"],[0,"ě"],[0,"Ĝ"],[0,"ĝ"],[0,"Ğ"],[0,"ğ"],[0,"Ġ"],[0,"ġ"],[0,"Ģ"],[1,"Ĥ"],[0,"ĥ"],[0,"Ħ"],[0,"ħ"],[0,"Ĩ"],[0,"ĩ"],[0,"Ī"],[0,"ī"],[2,"Į"],[0,"į"],[0,"İ"],[0,"ı"],[0,"IJ"],[0,"ij"],[0,"Ĵ"],[0,"ĵ"],[0,"Ķ"],[0,"ķ"],[0,"ĸ"],[0,"Ĺ"],[0,"ĺ"],[0,"Ļ"],[0,"ļ"],[0,"Ľ"],[0,"ľ"],[0,"Ŀ"],[0,"ŀ"],[0,"Ł"],[0,"ł"],[0,"Ń"],[0,"ń"],[0,"Ņ"],[0,"ņ"],[0,"Ň"],[0,"ň"],[0,"ʼn"],[0,"Ŋ"],[0,"ŋ"],[0,"Ō"],[0,"ō"],[2,"Ő"],[0,"ő"],[0,"Œ"],[0,"œ"],[0,"Ŕ"],[0,"ŕ"],[0,"Ŗ"],[0,"ŗ"],[0,"Ř"],[0,"ř"],[0,"Ś"],[0,"ś"],[0,"Ŝ"],[0,"ŝ"],[0,"Ş"],[0,"ş"],[0,"Š"],[0,"š"],[0,"Ţ"],[0,"ţ"],[0,"Ť"],[0,"ť"],[0,"Ŧ"],[0,"ŧ"],[0,"Ũ"],[0,"ũ"],[0,"Ū"],[0,"ū"],[0,"Ŭ"],[0,"ŭ"],[0,"Ů"],[0,"ů"],[0,"Ű"],[0,"ű"],[0,"Ų"],[0,"ų"],[0,"Ŵ"],[0,"ŵ"],[0,"Ŷ"],[0,"ŷ"],[0,"Ÿ"],[0,"Ź"],[0,"ź"],[0,"Ż"],[0,"ż"],[0,"Ž"],[0,"ž"],[19,"ƒ"],[34,"Ƶ"],[63,"ǵ"],[65,"ȷ"],[142,"ˆ"],[0,"ˇ"],[16,"˘"],[0,"˙"],[0,"˚"],[0,"˛"],[0,"˜"],[0,"˝"],[51,"̑"],[127,"Α"],[0,"Β"],[0,"Γ"],[0,"Δ"],[0,"Ε"],[0,"Ζ"],[0,"Η"],[0,"Θ"],[0,"Ι"],[0,"Κ"],[0,"Λ"],[0,"Μ"],[0,"Ν"],[0,"Ξ"],[0,"Ο"],[0,"Π"],[0,"Ρ"],[1,"Σ"],[0,"Τ"],[0,"Υ"],[0,"Φ"],[0,"Χ"],[0,"Ψ"],[0,"Ω"],[7,"α"],[0,"β"],[0,"γ"],[0,"δ"],[0,"ε"],[0,"ζ"],[0,"η"],[0,"θ"],[0,"ι"],[0,"κ"],[0,"λ"],[0,"μ"],[0,"ν"],[0,"ξ"],[0,"ο"],[0,"π"],[0,"ρ"],[0,"ς"],[0,"σ"],[0,"τ"],[0,"υ"],[0,"φ"],[0,"χ"],[0,"ψ"],[0,"ω"],[7,"ϑ"],[0,"ϒ"],[2,"ϕ"],[0,"ϖ"],[5,"Ϝ"],[0,"ϝ"],[18,"ϰ"],[0,"ϱ"],[3,"ϵ"],[0,"϶"],[10,"Ё"],[0,"Ђ"],[0,"Ѓ"],[0,"Є"],[0,"Ѕ"],[0,"І"],[0,"Ї"],[0,"Ј"],[0,"Љ"],[0,"Њ"],[0,"Ћ"],[0,"Ќ"],[1,"Ў"],[0,"Џ"],[0,"А"],[0,"Б"],[0,"В"],[0,"Г"],[0,"Д"],[0,"Е"],[0,"Ж"],[0,"З"],[0,"И"],[0,"Й"],[0,"К"],[0,"Л"],[0,"М"],[0,"Н"],[0,"О"],[0,"П"],[0,"Р"],[0,"С"],[0,"Т"],[0,"У"],[0,"Ф"],[0,"Х"],[0,"Ц"],[0,"Ч"],[0,"Ш"],[0,"Щ"],[0,"Ъ"],[0,"Ы"],[0,"Ь"],[0,"Э"],[0,"Ю"],[0,"Я"],[0,"а"],[0,"б"],[0,"в"],[0,"г"],[0,"д"],[0,"е"],[0,"ж"],[0,"з"],[0,"и"],[0,"й"],[0,"к"],[0,"л"],[0,"м"],[0,"н"],[0,"о"],[0,"п"],[0,"р"],[0,"с"],[0,"т"],[0,"у"],[0,"ф"],[0,"х"],[0,"ц"],[0,"ч"],[0,"ш"],[0,"щ"],[0,"ъ"],[0,"ы"],[0,"ь"],[0,"э"],[0,"ю"],[0,"я"],[1,"ё"],[0,"ђ"],[0,"ѓ"],[0,"є"],[0,"ѕ"],[0,"і"],[0,"ї"],[0,"ј"],[0,"љ"],[0,"њ"],[0,"ћ"],[0,"ќ"],[1,"ў"],[0,"џ"],[7074," "],[0," "],[0," "],[0," "],[1," "],[0," "],[0," "],[0," "],[0,"​"],[0,"‌"],[0,"‍"],[0,"‎"],[0,"‏"],[0,"‐"],[2,"–"],[0,"—"],[0,"―"],[0,"‖"],[1,"‘"],[0,"’"],[0,"‚"],[1,"“"],[0,"”"],[0,"„"],[1,"†"],[0,"‡"],[0,"•"],[2,"‥"],[0,"…"],[9,"‰"],[0,"‱"],[0,"′"],[0,"″"],[0,"‴"],[0,"‵"],[3,"‹"],[0,"›"],[3,"‾"],[2,"⁁"],[1,"⁃"],[0,"⁄"],[10,"⁏"],[7,"⁗"],[7,{v:" ",n:8202,o:"  "}],[0,"⁠"],[0,"⁡"],[0,"⁢"],[0,"⁣"],[72,"€"],[46,"⃛"],[0,"⃜"],[37,"ℂ"],[2,"℅"],[4,"ℊ"],[0,"ℋ"],[0,"ℌ"],[0,"ℍ"],[0,"ℎ"],[0,"ℏ"],[0,"ℐ"],[0,"ℑ"],[0,"ℒ"],[0,"ℓ"],[1,"ℕ"],[0,"№"],[0,"℗"],[0,"℘"],[0,"ℙ"],[0,"ℚ"],[0,"ℛ"],[0,"ℜ"],[0,"ℝ"],[0,"℞"],[3,"™"],[1,"ℤ"],[2,"℧"],[0,"ℨ"],[0,"℩"],[2,"ℬ"],[0,"ℭ"],[1,"ℯ"],[0,"ℰ"],[0,"ℱ"],[1,"ℳ"],[0,"ℴ"],[0,"ℵ"],[0,"ℶ"],[0,"ℷ"],[0,"ℸ"],[12,"ⅅ"],[0,"ⅆ"],[0,"ⅇ"],[0,"ⅈ"],[10,"⅓"],[0,"⅔"],[0,"⅕"],[0,"⅖"],[0,"⅗"],[0,"⅘"],[0,"⅙"],[0,"⅚"],[0,"⅛"],[0,"⅜"],[0,"⅝"],[0,"⅞"],[49,"←"],[0,"↑"],[0,"→"],[0,"↓"],[0,"↔"],[0,"↕"],[0,"↖"],[0,"↗"],[0,"↘"],[0,"↙"],[0,"↚"],[0,"↛"],[1,{v:"↝",n:824,o:"↝̸"}],[0,"↞"],[0,"↟"],[0,"↠"],[0,"↡"],[0,"↢"],[0,"↣"],[0,"↤"],[0,"↥"],[0,"↦"],[0,"↧"],[1,"↩"],[0,"↪"],[0,"↫"],[0,"↬"],[0,"↭"],[0,"↮"],[1,"↰"],[0,"↱"],[0,"↲"],[0,"↳"],[1,"↵"],[0,"↶"],[0,"↷"],[2,"↺"],[0,"↻"],[0,"↼"],[0,"↽"],[0,"↾"],[0,"↿"],[0,"⇀"],[0,"⇁"],[0,"⇂"],[0,"⇃"],[0,"⇄"],[0,"⇅"],[0,"⇆"],[0,"⇇"],[0,"⇈"],[0,"⇉"],[0,"⇊"],[0,"⇋"],[0,"⇌"],[0,"⇍"],[0,"⇎"],[0,"⇏"],[0,"⇐"],[0,"⇑"],[0,"⇒"],[0,"⇓"],[0,"⇔"],[0,"⇕"],[0,"⇖"],[0,"⇗"],[0,"⇘"],[0,"⇙"],[0,"⇚"],[0,"⇛"],[1,"⇝"],[6,"⇤"],[0,"⇥"],[15,"⇵"],[7,"⇽"],[0,"⇾"],[0,"⇿"],[0,"∀"],[0,"∁"],[0,{v:"∂",n:824,o:"∂̸"}],[0,"∃"],[0,"∄"],[0,"∅"],[1,"∇"],[0,"∈"],[0,"∉"],[1,"∋"],[0,"∌"],[2,"∏"],[0,"∐"],[0,"∑"],[0,"−"],[0,"∓"],[0,"∔"],[1,"∖"],[0,"∗"],[0,"∘"],[1,"√"],[2,"∝"],[0,"∞"],[0,"∟"],[0,{v:"∠",n:8402,o:"∠⃒"}],[0,"∡"],[0,"∢"],[0,"∣"],[0,"∤"],[0,"∥"],[0,"∦"],[0,"∧"],[0,"∨"],[0,{v:"∩",n:65024,o:"∩︀"}],[0,{v:"∪",n:65024,o:"∪︀"}],[0,"∫"],[0,"∬"],[0,"∭"],[0,"∮"],[0,"∯"],[0,"∰"],[0,"∱"],[0,"∲"],[0,"∳"],[0,"∴"],[0,"∵"],[0,"∶"],[0,"∷"],[0,"∸"],[1,"∺"],[0,"∻"],[0,{v:"∼",n:8402,o:"∼⃒"}],[0,{v:"∽",n:817,o:"∽̱"}],[0,{v:"∾",n:819,o:"∾̳"}],[0,"∿"],[0,"≀"],[0,"≁"],[0,{v:"≂",n:824,o:"≂̸"}],[0,"≃"],[0,"≄"],[0,"≅"],[0,"≆"],[0,"≇"],[0,"≈"],[0,"≉"],[0,"≊"],[0,{v:"≋",n:824,o:"≋̸"}],[0,"≌"],[0,{v:"≍",n:8402,o:"≍⃒"}],[0,{v:"≎",n:824,o:"≎̸"}],[0,{v:"≏",n:824,o:"≏̸"}],[0,{v:"≐",n:824,o:"≐̸"}],[0,"≑"],[0,"≒"],[0,"≓"],[0,"≔"],[0,"≕"],[0,"≖"],[0,"≗"],[1,"≙"],[0,"≚"],[1,"≜"],[2,"≟"],[0,"≠"],[0,{v:"≡",n:8421,o:"≡⃥"}],[0,"≢"],[1,{v:"≤",n:8402,o:"≤⃒"}],[0,{v:"≥",n:8402,o:"≥⃒"}],[0,{v:"≦",n:824,o:"≦̸"}],[0,{v:"≧",n:824,o:"≧̸"}],[0,{v:"≨",n:65024,o:"≨︀"}],[0,{v:"≩",n:65024,o:"≩︀"}],[0,{v:"≪",n:new Map(Pt([[824,"≪̸"],[7577,"≪⃒"]]))}],[0,{v:"≫",n:new Map(Pt([[824,"≫̸"],[7577,"≫⃒"]]))}],[0,"≬"],[0,"≭"],[0,"≮"],[0,"≯"],[0,"≰"],[0,"≱"],[0,"≲"],[0,"≳"],[0,"≴"],[0,"≵"],[0,"≶"],[0,"≷"],[0,"≸"],[0,"≹"],[0,"≺"],[0,"≻"],[0,"≼"],[0,"≽"],[0,"≾"],[0,{v:"≿",n:824,o:"≿̸"}],[0,"⊀"],[0,"⊁"],[0,{v:"⊂",n:8402,o:"⊂⃒"}],[0,{v:"⊃",n:8402,o:"⊃⃒"}],[0,"⊄"],[0,"⊅"],[0,"⊆"],[0,"⊇"],[0,"⊈"],[0,"⊉"],[0,{v:"⊊",n:65024,o:"⊊︀"}],[0,{v:"⊋",n:65024,o:"⊋︀"}],[1,"⊍"],[0,"⊎"],[0,{v:"⊏",n:824,o:"⊏̸"}],[0,{v:"⊐",n:824,o:"⊐̸"}],[0,"⊑"],[0,"⊒"],[0,{v:"⊓",n:65024,o:"⊓︀"}],[0,{v:"⊔",n:65024,o:"⊔︀"}],[0,"⊕"],[0,"⊖"],[0,"⊗"],[0,"⊘"],[0,"⊙"],[0,"⊚"],[0,"⊛"],[1,"⊝"],[0,"⊞"],[0,"⊟"],[0,"⊠"],[0,"⊡"],[0,"⊢"],[0,"⊣"],[0,"⊤"],[0,"⊥"],[1,"⊧"],[0,"⊨"],[0,"⊩"],[0,"⊪"],[0,"⊫"],[0,"⊬"],[0,"⊭"],[0,"⊮"],[0,"⊯"],[0,"⊰"],[1,"⊲"],[0,"⊳"],[0,{v:"⊴",n:8402,o:"⊴⃒"}],[0,{v:"⊵",n:8402,o:"⊵⃒"}],[0,"⊶"],[0,"⊷"],[0,"⊸"],[0,"⊹"],[0,"⊺"],[0,"⊻"],[1,"⊽"],[0,"⊾"],[0,"⊿"],[0,"⋀"],[0,"⋁"],[0,"⋂"],[0,"⋃"],[0,"⋄"],[0,"⋅"],[0,"⋆"],[0,"⋇"],[0,"⋈"],[0,"⋉"],[0,"⋊"],[0,"⋋"],[0,"⋌"],[0,"⋍"],[0,"⋎"],[0,"⋏"],[0,"⋐"],[0,"⋑"],[0,"⋒"],[0,"⋓"],[0,"⋔"],[0,"⋕"],[0,"⋖"],[0,"⋗"],[0,{v:"⋘",n:824,o:"⋘̸"}],[0,{v:"⋙",n:824,o:"⋙̸"}],[0,{v:"⋚",n:65024,o:"⋚︀"}],[0,{v:"⋛",n:65024,o:"⋛︀"}],[2,"⋞"],[0,"⋟"],[0,"⋠"],[0,"⋡"],[0,"⋢"],[0,"⋣"],[2,"⋦"],[0,"⋧"],[0,"⋨"],[0,"⋩"],[0,"⋪"],[0,"⋫"],[0,"⋬"],[0,"⋭"],[0,"⋮"],[0,"⋯"],[0,"⋰"],[0,"⋱"],[0,"⋲"],[0,"⋳"],[0,"⋴"],[0,{v:"⋵",n:824,o:"⋵̸"}],[0,"⋶"],[0,"⋷"],[1,{v:"⋹",n:824,o:"⋹̸"}],[0,"⋺"],[0,"⋻"],[0,"⋼"],[0,"⋽"],[0,"⋾"],[6,"⌅"],[0,"⌆"],[1,"⌈"],[0,"⌉"],[0,"⌊"],[0,"⌋"],[0,"⌌"],[0,"⌍"],[0,"⌎"],[0,"⌏"],[0,"⌐"],[1,"⌒"],[0,"⌓"],[1,"⌕"],[0,"⌖"],[5,"⌜"],[0,"⌝"],[0,"⌞"],[0,"⌟"],[2,"⌢"],[0,"⌣"],[9,"⌭"],[0,"⌮"],[7,"⌶"],[6,"⌽"],[1,"⌿"],[60,"⍼"],[51,"⎰"],[0,"⎱"],[2,"⎴"],[0,"⎵"],[0,"⎶"],[37,"⏜"],[0,"⏝"],[0,"⏞"],[0,"⏟"],[2,"⏢"],[4,"⏧"],[59,"␣"],[164,"Ⓢ"],[55,"─"],[1,"│"],[9,"┌"],[3,"┐"],[3,"└"],[3,"┘"],[3,"├"],[7,"┤"],[7,"┬"],[7,"┴"],[7,"┼"],[19,"═"],[0,"║"],[0,"╒"],[0,"╓"],[0,"╔"],[0,"╕"],[0,"╖"],[0,"╗"],[0,"╘"],[0,"╙"],[0,"╚"],[0,"╛"],[0,"╜"],[0,"╝"],[0,"╞"],[0,"╟"],[0,"╠"],[0,"╡"],[0,"╢"],[0,"╣"],[0,"╤"],[0,"╥"],[0,"╦"],[0,"╧"],[0,"╨"],[0,"╩"],[0,"╪"],[0,"╫"],[0,"╬"],[19,"▀"],[3,"▄"],[3,"█"],[8,"░"],[0,"▒"],[0,"▓"],[13,"□"],[8,"▪"],[0,"▫"],[1,"▭"],[0,"▮"],[2,"▱"],[1,"△"],[0,"▴"],[0,"▵"],[2,"▸"],[0,"▹"],[3,"▽"],[0,"▾"],[0,"▿"],[2,"◂"],[0,"◃"],[6,"◊"],[0,"○"],[32,"◬"],[2,"◯"],[8,"◸"],[0,"◹"],[0,"◺"],[0,"◻"],[0,"◼"],[8,"★"],[0,"☆"],[7,"☎"],[49,"♀"],[1,"♂"],[29,"♠"],[2,"♣"],[1,"♥"],[0,"♦"],[3,"♪"],[2,"♭"],[0,"♮"],[0,"♯"],[163,"✓"],[3,"✗"],[8,"✠"],[21,"✶"],[33,"❘"],[25,"❲"],[0,"❳"],[84,"⟈"],[0,"⟉"],[28,"⟦"],[0,"⟧"],[0,"⟨"],[0,"⟩"],[0,"⟪"],[0,"⟫"],[0,"⟬"],[0,"⟭"],[7,"⟵"],[0,"⟶"],[0,"⟷"],[0,"⟸"],[0,"⟹"],[0,"⟺"],[1,"⟼"],[2,"⟿"],[258,"⤂"],[0,"⤃"],[0,"⤄"],[0,"⤅"],[6,"⤌"],[0,"⤍"],[0,"⤎"],[0,"⤏"],[0,"⤐"],[0,"⤑"],[0,"⤒"],[0,"⤓"],[2,"⤖"],[2,"⤙"],[0,"⤚"],[0,"⤛"],[0,"⤜"],[0,"⤝"],[0,"⤞"],[0,"⤟"],[0,"⤠"],[2,"⤣"],[0,"⤤"],[0,"⤥"],[0,"⤦"],[0,"⤧"],[0,"⤨"],[0,"⤩"],[0,"⤪"],[8,{v:"⤳",n:824,o:"⤳̸"}],[1,"⤵"],[0,"⤶"],[0,"⤷"],[0,"⤸"],[0,"⤹"],[2,"⤼"],[0,"⤽"],[7,"⥅"],[2,"⥈"],[0,"⥉"],[0,"⥊"],[0,"⥋"],[2,"⥎"],[0,"⥏"],[0,"⥐"],[0,"⥑"],[0,"⥒"],[0,"⥓"],[0,"⥔"],[0,"⥕"],[0,"⥖"],[0,"⥗"],[0,"⥘"],[0,"⥙"],[0,"⥚"],[0,"⥛"],[0,"⥜"],[0,"⥝"],[0,"⥞"],[0,"⥟"],[0,"⥠"],[0,"⥡"],[0,"⥢"],[0,"⥣"],[0,"⥤"],[0,"⥥"],[0,"⥦"],[0,"⥧"],[0,"⥨"],[0,"⥩"],[0,"⥪"],[0,"⥫"],[0,"⥬"],[0,"⥭"],[0,"⥮"],[0,"⥯"],[0,"⥰"],[0,"⥱"],[0,"⥲"],[0,"⥳"],[0,"⥴"],[0,"⥵"],[0,"⥶"],[1,"⥸"],[0,"⥹"],[1,"⥻"],[0,"⥼"],[0,"⥽"],[0,"⥾"],[0,"⥿"],[5,"⦅"],[0,"⦆"],[4,"⦋"],[0,"⦌"],[0,"⦍"],[0,"⦎"],[0,"⦏"],[0,"⦐"],[0,"⦑"],[0,"⦒"],[0,"⦓"],[0,"⦔"],[0,"⦕"],[0,"⦖"],[3,"⦚"],[1,"⦜"],[0,"⦝"],[6,"⦤"],[0,"⦥"],[0,"⦦"],[0,"⦧"],[0,"⦨"],[0,"⦩"],[0,"⦪"],[0,"⦫"],[0,"⦬"],[0,"⦭"],[0,"⦮"],[0,"⦯"],[0,"⦰"],[0,"⦱"],[0,"⦲"],[0,"⦳"],[0,"⦴"],[0,"⦵"],[0,"⦶"],[0,"⦷"],[1,"⦹"],[1,"⦻"],[0,"⦼"],[1,"⦾"],[0,"⦿"],[0,"⧀"],[0,"⧁"],[0,"⧂"],[0,"⧃"],[0,"⧄"],[0,"⧅"],[3,"⧉"],[3,"⧍"],[0,"⧎"],[0,{v:"⧏",n:824,o:"⧏̸"}],[0,{v:"⧐",n:824,o:"⧐̸"}],[11,"⧜"],[0,"⧝"],[0,"⧞"],[4,"⧣"],[0,"⧤"],[0,"⧥"],[5,"⧫"],[8,"⧴"],[1,"⧶"],[9,"⨀"],[0,"⨁"],[0,"⨂"],[1,"⨄"],[1,"⨆"],[5,"⨌"],[0,"⨍"],[2,"⨐"],[0,"⨑"],[0,"⨒"],[0,"⨓"],[0,"⨔"],[0,"⨕"],[0,"⨖"],[0,"⨗"],[10,"⨢"],[0,"⨣"],[0,"⨤"],[0,"⨥"],[0,"⨦"],[0,"⨧"],[1,"⨩"],[0,"⨪"],[2,"⨭"],[0,"⨮"],[0,"⨯"],[0,"⨰"],[0,"⨱"],[1,"⨳"],[0,"⨴"],[0,"⨵"],[0,"⨶"],[0,"⨷"],[0,"⨸"],[0,"⨹"],[0,"⨺"],[0,"⨻"],[0,"⨼"],[2,"⨿"],[0,"⩀"],[1,"⩂"],[0,"⩃"],[0,"⩄"],[0,"⩅"],[0,"⩆"],[0,"⩇"],[0,"⩈"],[0,"⩉"],[0,"⩊"],[0,"⩋"],[0,"⩌"],[0,"⩍"],[2,"⩐"],[2,"⩓"],[0,"⩔"],[0,"⩕"],[0,"⩖"],[0,"⩗"],[0,"⩘"],[1,"⩚"],[0,"⩛"],[0,"⩜"],[0,"⩝"],[1,"⩟"],[6,"⩦"],[3,"⩪"],[2,{v:"⩭",n:824,o:"⩭̸"}],[0,"⩮"],[0,"⩯"],[0,{v:"⩰",n:824,o:"⩰̸"}],[0,"⩱"],[0,"⩲"],[0,"⩳"],[0,"⩴"],[0,"⩵"],[1,"⩷"],[0,"⩸"],[0,"⩹"],[0,"⩺"],[0,"⩻"],[0,"⩼"],[0,{v:"⩽",n:824,o:"⩽̸"}],[0,{v:"⩾",n:824,o:"⩾̸"}],[0,"⩿"],[0,"⪀"],[0,"⪁"],[0,"⪂"],[0,"⪃"],[0,"⪄"],[0,"⪅"],[0,"⪆"],[0,"⪇"],[0,"⪈"],[0,"⪉"],[0,"⪊"],[0,"⪋"],[0,"⪌"],[0,"⪍"],[0,"⪎"],[0,"⪏"],[0,"⪐"],[0,"⪑"],[0,"⪒"],[0,"⪓"],[0,"⪔"],[0,"⪕"],[0,"⪖"],[0,"⪗"],[0,"⪘"],[0,"⪙"],[0,"⪚"],[2,"⪝"],[0,"⪞"],[0,"⪟"],[0,"⪠"],[0,{v:"⪡",n:824,o:"⪡̸"}],[0,{v:"⪢",n:824,o:"⪢̸"}],[1,"⪤"],[0,"⪥"],[0,"⪦"],[0,"⪧"],[0,"⪨"],[0,"⪩"],[0,"⪪"],[0,"⪫"],[0,{v:"⪬",n:65024,o:"⪬︀"}],[0,{v:"⪭",n:65024,o:"⪭︀"}],[0,"⪮"],[0,{v:"⪯",n:824,o:"⪯̸"}],[0,{v:"⪰",n:824,o:"⪰̸"}],[2,"⪳"],[0,"⪴"],[0,"⪵"],[0,"⪶"],[0,"⪷"],[0,"⪸"],[0,"⪹"],[0,"⪺"],[0,"⪻"],[0,"⪼"],[0,"⪽"],[0,"⪾"],[0,"⪿"],[0,"⫀"],[0,"⫁"],[0,"⫂"],[0,"⫃"],[0,"⫄"],[0,{v:"⫅",n:824,o:"⫅̸"}],[0,{v:"⫆",n:824,o:"⫆̸"}],[0,"⫇"],[0,"⫈"],[2,{v:"⫋",n:65024,o:"⫋︀"}],[0,{v:"⫌",n:65024,o:"⫌︀"}],[2,"⫏"],[0,"⫐"],[0,"⫑"],[0,"⫒"],[0,"⫓"],[0,"⫔"],[0,"⫕"],[0,"⫖"],[0,"⫗"],[0,"⫘"],[0,"⫙"],[0,"⫚"],[0,"⫛"],[8,"⫤"],[1,"⫦"],[0,"⫧"],[0,"⫨"],[0,"⫩"],[1,"⫫"],[0,"⫬"],[0,"⫭"],[0,"⫮"],[0,"⫯"],[0,"⫰"],[0,"⫱"],[0,"⫲"],[0,"⫳"],[9,{v:"⫽",n:8421,o:"⫽⃥"}],[44343,{n:new Map(Pt([[56476,"𝒜"],[1,"𝒞"],[0,"𝒟"],[2,"𝒢"],[2,"𝒥"],[0,"𝒦"],[2,"𝒩"],[0,"𝒪"],[0,"𝒫"],[0,"𝒬"],[1,"𝒮"],[0,"𝒯"],[0,"𝒰"],[0,"𝒱"],[0,"𝒲"],[0,"𝒳"],[0,"𝒴"],[0,"𝒵"],[0,"𝒶"],[0,"𝒷"],[0,"𝒸"],[0,"𝒹"],[1,"𝒻"],[1,"𝒽"],[0,"𝒾"],[0,"𝒿"],[0,"𝓀"],[0,"𝓁"],[0,"𝓂"],[0,"𝓃"],[1,"𝓅"],[0,"𝓆"],[0,"𝓇"],[0,"𝓈"],[0,"𝓉"],[0,"𝓊"],[0,"𝓋"],[0,"𝓌"],[0,"𝓍"],[0,"𝓎"],[0,"𝓏"],[52,"𝔄"],[0,"𝔅"],[1,"𝔇"],[0,"𝔈"],[0,"𝔉"],[0,"𝔊"],[2,"𝔍"],[0,"𝔎"],[0,"𝔏"],[0,"𝔐"],[0,"𝔑"],[0,"𝔒"],[0,"𝔓"],[0,"𝔔"],[1,"𝔖"],[0,"𝔗"],[0,"𝔘"],[0,"𝔙"],[0,"𝔚"],[0,"𝔛"],[0,"𝔜"],[1,"𝔞"],[0,"𝔟"],[0,"𝔠"],[0,"𝔡"],[0,"𝔢"],[0,"𝔣"],[0,"𝔤"],[0,"𝔥"],[0,"𝔦"],[0,"𝔧"],[0,"𝔨"],[0,"𝔩"],[0,"𝔪"],[0,"𝔫"],[0,"𝔬"],[0,"𝔭"],[0,"𝔮"],[0,"𝔯"],[0,"𝔰"],[0,"𝔱"],[0,"𝔲"],[0,"𝔳"],[0,"𝔴"],[0,"𝔵"],[0,"𝔶"],[0,"𝔷"],[0,"𝔸"],[0,"𝔹"],[1,"𝔻"],[0,"𝔼"],[0,"𝔽"],[0,"𝔾"],[1,"𝕀"],[0,"𝕁"],[0,"𝕂"],[0,"𝕃"],[0,"𝕄"],[1,"𝕆"],[3,"𝕊"],[0,"𝕋"],[0,"𝕌"],[0,"𝕍"],[0,"𝕎"],[0,"𝕏"],[0,"𝕐"],[1,"𝕒"],[0,"𝕓"],[0,"𝕔"],[0,"𝕕"],[0,"𝕖"],[0,"𝕗"],[0,"𝕘"],[0,"𝕙"],[0,"𝕚"],[0,"𝕛"],[0,"𝕜"],[0,"𝕝"],[0,"𝕞"],[0,"𝕟"],[0,"𝕠"],[0,"𝕡"],[0,"𝕢"],[0,"𝕣"],[0,"𝕤"],[0,"𝕥"],[0,"𝕦"],[0,"𝕧"],[0,"𝕨"],[0,"𝕩"],[0,"𝕪"],[0,"𝕫"]]))}],[8906,"ff"],[0,"fi"],[0,"fl"],[0,"ffi"],[0,"ffl"]]));var ra=new Map([[34,"""],[38,"&"],[39,"'"],[60,"<"],[62,">"]]),na=String.prototype.codePointAt!=null?(e,t)=>e.codePointAt(t):(e,t)=>(e.charCodeAt(t)&64512)===55296?(e.charCodeAt(t)-55296)*1024+e.charCodeAt(t+1)-56320+65536:e.charCodeAt(t);function mu(e,t){return function(r){let n,i=0,s="";for(;n=e.exec(r);)i!==n.index&&(s+=r.substring(i,n.index)),s+=t.get(n[0].charCodeAt(0)),i=n.index+1;return s+r.substring(i)}}var Kr=mu(/[&<>'"]/g,ra),xu=mu(/["&\u00A0]/g,new Map([[34,"""],[38,"&"],[160," "]])),yu=mu(/[&<>\u00A0]/g,new Map([[38,"&"],[60,"<"],[62,">"],[160," "]]));var Xr;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(Xr||(Xr={}));var en;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict"})(en||(en={}));var tn;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(tn||(tn={}));var sa=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),aa=new Map(["definitionURL","attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e]));var nn;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(nn||(nn={}));var Q0=N(require("fs"),1),Z0=N(require("process"),1),J0=N(require("path"),1),K0=N(require("path"),1),X0=N(require("child_process"),1),es=N(require("path"),1),ts=N(require("path"),1),mr=N(require("fs"),1),rs=N(on(),1),yr=N(require("fs/promises"),1),wr=N(require("path"),1),ss=N(require("process"),1),as=N(require("fs/promises"),1),cs=N(require("process"),1),_r=N(require("worker_threads"),1),Er=N(require("path"),1),ls=N(require("process"),1),Ir=N(require("fs/promises"),1),fs=N(require("path"),1),ds=N(y0(),1),ps=N(require("fs/promises"),1),Ar=N(require("fs/promises"),1),Tr=N(require("path"),1),bs=N(require("process"),1);function R1(e,t,u={compare:"same",result:"value"}){let r=e.filter(a=>t.includes(a)),n=e.filter(a=>!t.includes(a)).concat(t.filter(a=>!e.includes(a))),{compare:i="same",result:s="value"}=u;return i==="same"?s==="value"?r:r.map(a=>e.indexOf(a)):s==="value"?Cc(n):n.map(a=>e.indexOf(a)).filter(a=>a>=0)}function Cc(e){if(!e.length)return e;let t=Math.floor(e.length/2),u=e.slice(0,t),r=e.slice(t),n=[];for(let i=0;i<t;i++)n.push([u[i],r[i]]);return n}function X(e){return typeof e>"u"}function q1(e,t){for(let u=0;u<e.length;u++){let r=t(e[u],u,e);if(!X(r))return r}}function P1(e,t=2){return(e.reduce((u,r)=>u+r)/e.length).toFixed(t)}var $=Array.isArray;function au(e){return typeof e<"u"}function F1(array,key){let reg=/\/[\w._ $]+\/[gims]*/;return array.filter(e=>$(key)?key.some(t=>findItem(e,t)):findItem(e,key));function findItem(item,key){let[_key,_value]=key.split("=");return X(item[_key])?!1:au(_value)?reg.test(_value)?new RegExp(eval(_value)).test(item[_key]):_value===item[_key]:/.*/.test(item[key])}}function j1(e,t){let u=new Map;return e.forEach((r,n)=>u.set(r[t],n)),new Sc(e,u,t)}var Sc=class{constructor(e,t,u){this.array=e,this.indexMap=t,this.id=u,this.array=e,this.indexMap=t,this.id=u}find(e){let t=this.indexMap.get(e);if(!X(t))return this.array[t]}_update(e,t,u){if(X(t)){let r=this.indexMap.get(e);if(X(r))throw new Error("\u5F53\u524Did\u4E0D\u5B58\u5728");if(u[this.id]!==e)throw new Error("\u4E0D\u53EF\u4FEE\u6539\u552F\u4E00id");this.array[r]=u}else{let r=this.find(e);if(X(r))return;r[t]=u}return this.array}delete(e){let t=this.indexMap.get(e);if(!X(t))return this.array.splice(t,1),this.indexMap.delete(e),this.array}set(e,t,u){let r=this.indexMap.get(e);if(X(u)){if(X(t))return;u=t,t=void 0}if(au(r))return this._update(e,t,u);if(X(u[this.id]))throw new Error("\u65B0\u589E\u7684\u6570\u636E\u5FC5\u987B\u5305\u542B\u552F\u4E00id");if(u[this.id]!==e)throw new Error("\u65B0\u589E\u7684\u6570\u636Eid\u5FC5\u987B\u4E0E\u5F53\u524Did\u4E00\u81F4");return this.indexMap.set(e,this.array.length),this.array.push(u),this.array}};function S(e){return typeof e=="string"}function pe(e){return typeof e=="function"}var ve=Object.prototype.toString,$1=/(?<=\s|^|;)import\s*(["'\s]*(?<imports>[\w*${}\n\r\t, /]+)from\s*)?["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][\s;]*/gm,U1=/import\s*\((?<expression>(?:[^)(]+|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gm,z1=/\bexport\s+(?<declaration>(async function|function|let|const|var|class))\s+(?<name>[\w$_]+)/g,H1=/\bexport\s+{(?<exports>[^}]+)}(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][^\n]*)?/g,V1=/\bexport\s*(\*)(\s*as\s+(?<name>[\w$_]+)\s+)?\s*(\s*from\s*["']\s*(?<specifier>(?<="\s*)[^"]*[^"\s](?=\s*")|(?<='\s*)[^']*[^'\s](?=\s*'))\s*["'][^\n]*)?/g,G1=/\bexport\s+default\s+/g;function W(e){return ve.call(e)==="[object Object]"}function Mc(e){return ve.call(e)==="[object Set]"}function w0(e){return ve.call(e)==="[object Map]"}function gr(e){return typeof e=="object"&&e.constructor===RegExp}function _c(e){return Number.isNaN(e)}function vt(e){return e===null}function Lc(e){return typeof e=="symbol"}function Et(e){return typeof e=="boolean"}function ke(e){return typeof e=="number"}function Nc(e){return ve.call(e)==="[object Promise]"}function Dc(e){return e instanceof Date}function E0(e){return ve.call(e)==="[object WeakMap]"}function I0(e){return ve.call(e)==="[object WeakSet]"}function It(e,t){if(t=t.toLocaleLowerCase(),!t)throw new Error("type is required");let u={str:S,s:S,string:S,fn:pe,f:pe,function:pe,object:W,o:W,array:$,a:$,set:Mc,map:w0,m:w0,reg:gr,r:gr,b:Et,boolean:Et,n:ke,number:ke,u:X,undefined:X,null:vt,symbol:Lc,nan:_c,wm:E0,ws:I0,promise:Nc,weakmap:E0,weakset:I0,date:Dc};return t.split("|").some(r=>{var n;return(n=u[r.trim()])==null?void 0:n.call(u,e)})}function Y1(e,t){return It(t,"s|n")&&(t=[`${t}`]),t.reduce((u,r)=>{let n=!1;return r[0]==="-"&&(n=!0,r=r.slice(1)),u.sort((i,s)=>r!=="1"&&s[r]===i[r]?0:n?r==="1"?s>i?1:-1:s[r]>i[r]?1:-1:r==="1"?i>s?1:-1:s[r]>i[r]?-1:1)},e)}function W1(e,t,u){if(!t)return e;let r=[],n,i=u?u.split("."):void 0;return t.forEach((a,o)=>{if(a==="*")return n=o;let c=e.findIndex(l=>s(i,l)===a);c!==-1&&(r.push(e[c]),e.splice(c,1))}),au(n)?r.splice(n,0,...e):r.concat(e),r;function s(a,o){return a?a.reduce((c,l)=>c?.[l],o):o}}function Q1(e){return e.reduce((t,u)=>((It(u,"o|a")&&!kc(t,u)||!t.includes(u))&&t.push(u),t),[])}function F0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let u in e)if(It(e[u],"o|a")&&It(t[u],"o|a")&&!F0(e[u],t[u])||e[u]!==t[u])return!1;return!0}function kc(e,t){return e.some(u=>It(u,"o|a")&&F0(t,u))}function Z1(e,t=1){if(t<1)return[];let u=[];for(let r=0;r<e.length;r+=t)u.push(e.slice(r,r+t));return u}function J1(e,t){return e.reduce((u,r)=>{let n=t(r);return u[n]?u[n]++:u[n]=1,u},{})}function Bc(e,t="children",u=!1,r=[]){return e=$(e)?e:[e],e.forEach(n=>{let i=n[t];u||r.push(n),i?Bc(i,t,u,r):u&&r.push(n)}),r}function K1(e){return e.filter(Boolean)}var j0=class{canvas=document.createElement("canvas");ctx=this.canvas.getContext("2d");constructor(e,t){return e&&(this.canvas.width=e*devicePixelRatio),t&&(this.canvas.height=t*devicePixelRatio),this}};function te(e,t=!1,u=document){if(!vt(t))return Et(t)||(u=t,t=!1),$(e)?e.reduce((r,n)=>{let i=t?u.querySelectorAll(n):u.querySelector(n);return i?r=t?[...r,...i]:[...r,i]:r},[]):t?u.querySelectorAll(e):u.querySelector(e)}function P(...e){let t=e.length,u=[...e],r=u.slice(0,t-1),n=u.slice(-1)[0],i=!1,s=!1;a(),document.addEventListener("DOMContentLoaded",a),setTimeout(()=>document.removeEventListener("DOMContentLoaded",a));function a(){if(!s){if(r.forEach((o,c)=>S(o)&&(r[c]=te(o)||o)),!i&&r.some(S))return i=!0;if(r.some(S))throw new Error(`${r.filter(S).join(", ")} is not a HTMLElement`);n?.(...r),s=!0}}}function At(e,t,u){return P(e,t,(r,n)=>r.insertBefore(n,vt(u)?null:u||r.firstChild))}function Tt(e){if(S(e)&&(e=te(e)||e),S(e))throw new Error(`${e} is not a element`);let t=e.parentElement;return t&&t.removeChild(e),t}function Sr(e){let t=window.onunload||function(){};return window.onunload=function(u){e?.(u),t.call(this,u)},e}function _(e,t,u,r,n){let i=!1,s,a;t==="DOMContentLoaded"&&(i=!0);function o(c){var l;try{(l=u?.call)==null||l.call(u,c.target,c)}catch(g){throw a?.(),new Error(g)}n&&s()}return Sr(()=>s?.()),P(e,c=>{let l=c?.[t],g=b=>{try{!(l&&l.toString().includes("() { [native code] }"))&&l&&l?.()}catch(y){console.error(y)}o(b)};c.addEventListener(t,g,r),s=()=>c.removeEventListener(t,g,r),i&&s?.()}),()=>{if(!s)return i=!0;s?.()}}function v0(e,t){return _(document,"keydown",u=>{let r="",n=u.key;u.shiftKey&&n!=="Shift"&&(r+="Shift+"),u.ctrlKey&&n!=="Control"&&(r+="Ctrl+"),u.altKey&&n!=="Alt"&&(r+="Alt+"),u.metaKey&&n!=="Meta"&&(r+="Meta+"),u.code==="Space"&&(r+="Space"),r+=n,r===e&&t(r)})}var X1=class{canvas=document.createElement("canvas");ctx=this.canvas.getContext("2d");stop=[];active=!1;historyStack=[];resetStack=[];color="#000000";constructor(e=2,t=400,u=400,r="#000000"){this.color=r,this.createCanvas(e,t,u),window.onunload=()=>this.unmount()}createCanvas(e=2,t=400,u=400){this.canvas.width=t*devicePixelRatio,this.canvas.height=u*devicePixelRatio,this.ctx.fillStyle="rgba(255, 255, 255, 0)",this.ctx.fillRect(0,0,t,u),this.ctx.strokeStyle=this.color,this.ctx.lineWidth=e,this.ctx.lineCap="round";let r=0,n=0;this.stop.push(_(this.canvas,"touchstart",s=>{r=this.canvas.offsetTop,n=this.canvas.offsetLeft,this.ctx.beginPath(),this.ctx.moveTo(s.changedTouches[0].pageX+2-n,s.changedTouches[0].pageY-r)},!1));let i=!1;this.stop.push(_(this.canvas,"mousedown",s=>{r=this.canvas.offsetTop,n=this.canvas.offsetLeft,i=!0,this.ctx.beginPath(),this.ctx.moveTo(s.pageX+2-n,s.pageY-r)},!1)),this.stop.push(_(this.canvas,"mousemove",s=>{!i||(this.ctx.lineTo(s.pageX+2-n,s.pageY-r),this.ctx.stroke())},!1)),this.stop.push(_(this.canvas,"mouseup",()=>i=!1)),this.stop.push(_(this.canvas,"mouseout",()=>i=!1)),this.stop.push(_(this.canvas,"touchmove",s=>{this.ctx.lineTo(s.changedTouches[0].pageX+2-n,s.changedTouches[0].pageY-r),this.ctx.stroke()},!1))}clearCanvas(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}mount(e){return At(e,this.canvas,null),this.listen(),this}setColor(e){this.color=e,this.ctx.strokeStyle=e}unmount(){Tt(this.canvas),this.stop.forEach(e=>e())}listen(){_(this.canvas,"mousedown",()=>{this.active=!0}),_(this.canvas,"mouseup",()=>{this.active=!1;let{width:e,height:t}=this.canvas,u=this.ctx.getImageData(0,0,e,t);this.historyStack.push(u)}),_(this.canvas,"mouseout",()=>{this.active=!1}),v0("Ctrl+z",()=>this.undo()),v0("Ctrl+x",()=>this.redo())}undo(){this.historyStack.length!==0&&(this.clearCanvas(),this.resetStack.push(this.historyStack.pop()),this.historyStack.forEach(e=>this.ctx.putImageData(e,0,0)))}redo(){this.resetStack.length!==0&&(this.clearCanvas(),this.historyStack.push(this.resetStack.pop()),this.historyStack.forEach(e=>this.ctx.putImageData(e,0,0)))}erase(e=2){this.ctx.lineWidth=e,this.ctx.strokeStyle="rgba(255, 255, 255, 1)",this.ctx.globalCompositeOperation="destination-out"}unerased(){this.ctx.strokeStyle=this.color,this.ctx.globalCompositeOperation="source-over"}save(){return this.canvas.toDataURL("image/png")}};function $0(e,t=new Map){return function(...u){let r=JSON.stringify(u);if(t.has(r))return t.get(r);let n=e.apply(e,u);return t.set(r,n),n}}function Mr(e,t){let{timeRemaining:u=0,timeout:r=2e3,callback:n}=t||{},i=!0,s=window.requestIdleCallback||function(g){let b=Date.now();return setTimeout(()=>g({didTimeout:!1,timeRemaining(){return Math.max(0,50-(Date.now()-b))}}),1)},a=[],o=window.cancelIdleCallback||clearTimeout,c=s(async function g(b){var y;!i||((b.timeRemaining()>+u||b.didTimeout)&&e.length>0&&a.push((y=e.shift())==null?void 0:y()),e.length>0?s(g):(n?.(a),l()))},{timeout:r});function l(){i=!1,o(c)}return l}function H(e,t,u,r){let n=document.createElement(e,r);if(!t)return n;for(let i in t)n.setAttribute(i,t[i]);return u&&(n.innerHTML=u),n}var eh=class{canvas=document.createElement("canvas");ctx=this.canvas.getContext("2d");points=new Map;originSrc="";color="";fontWeight=1;status="pending";bgColor;constructor(e,t,u,r="#fff"){this.initOptions(e,t,u,r),this.executor()}createDotImage(e){this.canvas.width=e.width*devicePixelRatio,this.canvas.height=e.height*devicePixelRatio,this.ctx.drawImage(e,0,0,this.canvas.width,this.canvas.height);let{data:t,width:u,height:r}=this.ctx.getImageData(0,0,this.canvas.width,this.canvas.height),n=[];for(let i=0;i<r;i++){let s=[];n.push(s);for(let a=0;a<u;a++){let o=i*u*4+a*4,c={r:t[o],g:t[o+1],b:t[o+2],a:t[o+3]},l=`rgba(${c.r},${c.g},${c.b},${c.a})`;c.r>230&&c.g>230&&c.b>230?s.push(this.color?0:this.bgColor):s.push(c.a?l:0)}}return this.points.set(this.originSrc,{width:this.canvas.width,imagePointSet:n,height:this.canvas.height}),n}createImage(){if(this.hasImage()){let{imagePointSet:t,width:u,height:r}=this.points.get(this.originSrc),n=window.devicePixelRatio||1;this.canvas.width=u*n,this.canvas.height=r*n,this.getCanvas(t);return}let e=H("img",{crossOrigin:"anonymous",src:this.originSrc});return new Promise(t=>{e.onload=()=>{this.getCanvas(this.createDotImage(e)),t(e)},e.onerror=()=>{this.status="fail"}})}hasImage(){return this.points.has(this.originSrc)}async executor(){try{this.createImage()}catch{}return this}getCanvas(e){var t;this.clearCanvas();let u=e.length,r=(t=e[0])==null?void 0:t.length,n=this.canvas.width*1/u,i=this.fontWeight*50/this.canvas.width,s=$0(o=>n*(o+.5)),a=[];for(let o=0;o<u;o++)a.push(()=>{for(let c=0;c<r;c++){let l=e[o][c];this.ctx.beginPath(),this.ctx.arc(s(c),s(o),i,0,Math.PI*2),this.ctx.fillStyle=l?this.color||String(l):this.bgColor||"#fff",this.ctx.fill()}});Mr(a,{callback:()=>{this.status="success"}})}initOptions(e,t,u,r){this.originSrc=e,this.color=t,this.fontWeight=u,this.bgColor=r}async repaint(e,t,u,r="#fff"){let n=Tt(this.canvas);if(this.status="pending",this.initOptions(e,t,u,r),!n)throw new Error("repaint error not found canvas container or has been removed");return Object.assign(this,await this.executor()).append(n)}clearCanvas(){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}append(e){return At(e,this.canvas),this}},Oc=class{canvas=document.createElement("canvas");ctx=this.canvas.getContext("2d");points=new Map;originText;fontSize;color;fontWeight;textPointSet=[];status="pending";container;constructor(e,t,u,r){this.originText=e,this.fontSize=t,this.color=u,this.fontWeight=r,this.executor()}createTextPoint(e){let t=document.createElement("canvas"),u=t.getContext("2d"),r=window.devicePixelRatio||1,n=16*r;t.width=t.height=n,u.font=`${n}px SimSun`,u.fillText(e,0,14*r);let{data:i,width:s,height:a}=u.getImageData(0,0,n,n),o=[];for(let c=0;c<a;c++){let l=[];o.push(l);for(let g=0;g<s;g++){let b=c*s*4+g*4;l.push(i[b+3]?1:0)}}return this.points.set(e,o),o}executor(){this.originText.split("").forEach(e=>this.getText(e)),this.textPointSet=this.combineText(),this.getCanvas()}getText(e){return this.points.has(e)?this.points.get(e):this.createTextPoint(e)}combineText(){let e=[[]],t=this.originText.length;for(let u=0;u<t;u++)(this.points.get(this.originText[u])||[]).forEach((r,n)=>{e[n]=(e[n]||[]).concat(r)});return e}getCanvas(){let e=this.textPointSet.length,t=this.textPointSet[0].length,u=this.fontSize/e,r=[],n=$0(s=>u*(s+.5)),i=u*this.fontWeight/e;this.canvas.height=this.fontSize,this.canvas.width=this.fontSize*this.originText.length;for(let s=0;s<e;s++)r.push(()=>{for(let a=0;a<t;a++)this.textPointSet[s][a]&&(this.ctx.beginPath(),this.ctx.arc(n(a),n(s),i,0,Math.PI*2),this.ctx.fillStyle=this.color,this.ctx.fill())});Mr(r,{callback:()=>this.status="success"})}repaint(e,t,u,r){let n=Tt(this.canvas);if(!n)throw new Error("repaint error not found canvas container or has been removed");return this.status="pending",this.originText!==e?Object.assign(this,new Oc(e,t,u,r)).append(n):(this.fontSize=t,this.color=u,this.fontWeight=r,this.clearCanvas(),this.getCanvas(),this.append(n))}clearCanvas(){var e;(e=this.ctx)==null||e.clearRect(0,0,this.canvas.width,this.canvas.height)}append(e){return At(e,this.canvas),this}};function th(e){return new Promise((t,u)=>{try{let r=new Image;r.src=e,r.onload=function(){let{width:n,height:i}=r,{ctx:s}=new j0(n,i);s.drawImage(r,0,0),t({width:n,height:i,data:s.getImageData(0,0,n,i).data})},r.onerror=u}catch(r){u(r)}})}function uh(e){let t=0,u={},r=e[0].length,n=e.length,i=[],s=[];for(let c=0;c<n;c++)for(let l=0;l<r;l++)e[c][l]===0&&t++,e[c][l]===0&&(u[l]||(u[l]=0),u[l]++),c===n-1&&u[l]===n&&s.push(l),l===r-1&&t===r&&i.push(c),l===r-1&&(t=0);let a=0;for(let c=0;c<i.length&&i[c]===a;c++)a++;let o=i[i.length-1];for(let c=i.length;c>a&&i[c-1]===o;c--)o--;o>a&&e.splice(o,i[i.length-1]),e.splice(0,a),a=0;for(let c=0;c<s.length&&s[c]===a;c++)a++;o=s[s.length-1];for(let c=s.length;c>a&&s[c-1]===o;c--)o--;for(let c=0;c<e.length;c++)o>a&&e[c].splice(o,s[s.length-1]),e[c].splice(0,a);return e}function Rc(e){return e.replace(/-(\w)/g,(t,u)=>u.toUpperCase())}function rh(e){if(e=(e||window.location.search).split("?")[1],!!e)return e.split("&").reduce((t,u)=>{let[r,n]=u.split("=");return t[r]=n,t},{})}function U0(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()}function nh(e,t=6){let u=0;return e=`${e}`,e.match(/[a-z]/g)&&u++,e.match(/[A-Z]/g)&&u++,e.match(/[0-9]/g)&&u++,e.match(/[^a-zA-Z0-9]/g)&&u++,e.length<t&&(u=0),u}function z0(e,t="around"){return t==="pre"?e.replace(/(^\s*)/g,""):t==="post"?e.replace(/(\s*$)/g,""):t==="all"?e.replace(/\s+/g,""):t==="around"?e.replace(/(^\s*)|(\s*$)/g,""):e}var qc=/\s+(?!['"])([\w_\-\$\.]+):/gm,Pc=/:\s*(?!['"])([\w_\-\$\.]+)/gm,Fc=/:\s*("[\w_\-\$\.]+")\s*(?!,)"/gm,jc=/:\s*("[\w_\-\$\.]+"\s*,)\s*}/gm,$c=/,(\s*})/gm;function ih(e){return JSON.parse(e.replace(qc,(t,u)=>t.replace(u,`"${u}"`)).replace(Pc,(t,u)=>t.replace(u,`"${u}"`)).replace(Fc,(t,u)=>t.replace(u,`${u},`)).replace(jc,t=>t.replace(",","")).replace($c,(t,u)=>u))}function sh(e,t=" "){return e.replace(/\s+/g,t)}function Uc(e){let t=e.split(":"),u=t.length-1;return t.reduce((r,n,i)=>r+ +n*60**(u-i),0)}function ah(e){return e.split(`
|
|
15
|
-
`).reduce((t,u)=>{let r=u.split("]"),n=r[0].slice(1);return t.push({time:Uc(n),words:r[1]}),t},[])}function zc(e,t){return e.replace(/([\.#]*\w+)[\s.>+\w]*{/gm,(u,r)=>u.replace(r,`[${t}] ${r}`))}function Hc(e,t){let u=S(e)?e:Object.keys(e).reduce((n,i)=>{let s=e[i];return n+=`${i} { ${Object.keys(s).reduce((a,o)=>a+=`${U0(o)}: ${s[o]};`,"")} }`},""),r=H("style",{type:"text/css"},t?zc(u,t):u);return At(document.head,r,null),()=>Tt(r)}function Vc(){let e=navigator.userAgent,t=()=>{let u=[{name:"sgssapp",it:/sogousearch/i.test(e)},{name:"wechat",it:/MicroMessenger/i.test(e)},{name:"weibo",it:!!e.match(/Weibo/i)},{name:"uc",it:!!e.match(/UCBrowser/i)||e.includes(" UBrowser")},{name:"sogou",it:e.includes("MetaSr")||e.includes("Sogou")},{name:"xiaomi",it:e.includes("MiuiBrowser")},{name:"baidu",it:e.includes("Baidu")||e.includes("BIDUBrowser")},{name:"360",it:e.includes("360EE")||e.includes("360SE")},{name:"2345",it:e.includes("2345Explorer")},{name:"edge",it:e.includes("Edge")},{name:"ie11",it:e.includes("Trident")&&e.includes("rv:11.0")},{name:"ie",it:e.includes("compatible")&&e.includes("MSIE")},{name:"firefox",it:e.includes("Firefox")},{name:"safari",it:e.includes("Safari")&&!e.includes("Chrome")},{name:"qqbrowser",it:e.includes("MQQBrowser")&&!e.includes(" QQ")},{name:"qq",it:e.includes("QQ")},{name:"chrome",it:e.includes("Chrome")||e.includes("CriOS")},{name:"opera",it:e.includes("Opera")||e.includes("OPR")}];for(let r=0;r<u.length;r++)if(u[r].it)return u[r].name;return"other"};return{os:(()=>e.match(/compatible/i)||e.match(/Windows/i)?"windows":e.match(/Macintosh/i)||e.match(/MacIntel/i)?"macOS":e.match(/iphone/i)||e.match(/Ipad/i)?"ios":e.match(/android/i)?"android":e.match(/Ubuntu/i)?"Ubuntu":"other")(),dev:t()}}function Gc(e,t={},u){let{os:r}=Vc(),n=r==="ios"||r==="android",i=[],s=!1;return P(e,a=>{let o=!1;n?(i.push(_(a,"touchstart",l=>{t.dragStart&&t.dragStart(c(l))},!1)),t.dragMove&&i.push(_(a,"touchmove",l=>{var g;(!u||o)&&((g=t.dragMove)==null||g.call(t,c(l)))},!1)),t.dragEnd&&i.push(_(a,"touchend",l=>{var g;(g=t.dragEnd)==null||g.call(t,c(l)),o=!1},!1))):(i.push(_(a,"mousedown",l=>{o=!0,t.dragStart&&t.dragStart(l)},!1)),t.dragMove&&i.push(_(a,"mousemove",l=>{var g;(!u||o)&&((g=t.dragMove)==null||g.call(t,l))},!1)),t.dragEnd&&i.push(_(a,"mouseup",l=>{var g;(g=t.dragEnd)==null||g.call(t,l),o=!1},!1))),s&&i.forEach(l=>l());function c(l){let{clientX:g,clientY:b,pageX:y,pageY:I,screenX:v,screenY:E}=l?.changedTouches[0];return l.clientX=g,l.clientY=b,l.pageX=y,l.pageY=I,l.screenX=v,l.screenY=E,l}}),()=>{if(!i.length)return s=!0;i.forEach(a=>a?.())}}function A0(e=Number.MIN_SAFE_INTEGER,t=Number.MAX_VALUE){return Math.floor(Math.random()*(t-e+1))+e}async function oh(e,t,u=42,r){if(pe(u)&&(r=u,u=42),S(t)&&(t=te(t)||t),S(t))throw new Error(`${t} is not a HTMLElement`);let n=new Image;n.src=e,n.onload=()=>{let i=H("div",{style:"position:relative"}),s=Math.PI,a=document.createElement("canvas"),o=a.cloneNode(),c=o.getContext("2d"),l=a.getContext("2d"),g=n.width,b=n.height,y=9,I=+u+y*2+3,v=A0(I+10,g-(I+10)),E=A0(10+y*2,b-(I+10)),m=E-y*2-1,x=(h,d,C,B)=>{h.beginPath(),h.moveTo(d,C),h.arc(d+ +u/2,C-y+2,y,.72*s,2.26*s),h.lineTo(d+ +u,C),h.arc(d+ +u+y-2,C+ +u/2,y,1.21*s,2.78*s),h.lineTo(d+ +u,C+ +u),h.lineTo(d,C+ +u),h.arc(d+y-2,C+ +u/2,y+.4,2.76*s,1.24*s,!0),h.lineTo(d,C),h.lineWidth=2,h.fillStyle="#fff",h.strokeStyle="rgba(255, 255, 255, 0.7)",h.stroke(),h.globalCompositeOperation="destination-over",B==="fill"?h.fill():h.clip()};a.width=g,a.height=b,o.width=g,o.height=b,x(l,v,E,"fill"),x(c,v,E,"clip"),l.drawImage(n,0,0,g,b),c.drawImage(n,0,0,g,b);let p=c.getImageData(v-3,m,I,I);o.width=I,c.putImageData(p,0,m);let f;Gc(o,{dragStart(h){f=h.clientX-h.target.offsetLeft},dragMove(h){let d=h.clientX-f;d<0||d>g-I||(o.style.left=`${d}px`)},dragEnd(h){let d=h.clientX-f;d>v-10&&d<v+8?(o.style.left=`${v-3}px`,r?.()):(o.className="animate-head-shake",o.style.left="0px",setTimeout(()=>{o.className=""},200))}}),o.style.position="absolute",o.style.top="0px",i.appendChild(a),i.appendChild(o),t.appendChild(i)},Hc(`@keyframes head-shake {
|
|
16
|
-
0% {
|
|
17
|
-
transform: translateX(0);
|
|
18
|
-
}
|
|
19
|
-
6.5% {
|
|
20
|
-
transform: translateX(-6px) rotateY(-9deg);
|
|
21
|
-
}
|
|
22
|
-
18.5% {
|
|
23
|
-
transform: translateX(5px) rotateY(7deg);
|
|
24
|
-
}
|
|
25
|
-
31.5% {
|
|
26
|
-
transform: translateX(-3px) rotateY(-5deg);
|
|
27
|
-
}
|
|
28
|
-
43.5% {
|
|
29
|
-
transform: translateX(2px) rotateY(3deg);
|
|
30
|
-
}
|
|
31
|
-
50% {
|
|
32
|
-
transform: translateX(0);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.animate-head-shake {
|
|
36
|
-
animation: head-shake 1s ease-in-out 1;
|
|
37
|
-
}`)}var Yc=class{ctx;color;isFill;constructor(e,t="#fff",u=!1){this.ctx=e,this.color=t,this.isFill=u}draw(e,t){this.ctx.beginPath(),e.forEach(([u,r])=>this.ctx.lineTo(u,r)),this.isFill?(this.ctx.fillStyle=t??this.color,this.ctx.fill()):(this.ctx.strokeStyle=t??this.color,this.ctx.stroke())}},ch=class{r;ctx;color;constructor(e,t=1,u="#fff"){this.r=t*devicePixelRatio,this.ctx=e,this.color=u}draw(e,t,u,r){this.ctx.beginPath(),this.ctx.arc(e*devicePixelRatio,t*devicePixelRatio,(r??this.r)*devicePixelRatio,0,2*Math.PI),this.ctx.fillStyle=u??this.color,this.ctx.fill()}},lh=class{ctx;r;color;isFill;constructor(e,t=1,u="#fff",r=!1){this.ctx=e,this.r=t,this.color=u,this.isFill=r}draw(e,t,u){this.ctx.beginPath();let r=new Yc(this.ctx,this.color,this.isFill),n=+(u??this.r);r.draw([[e,t],[e+n,t],[e+n,t+n],[e,t+n],[e,t]])}};function fh(e){return[...e.matchAll(/([^{]+){([^}]+)}/gs)].reduce((t,[u,r,n])=>t+=`${z0(r).replace(/\s+/g," ").replace(/\s*,\s*/g,",")}{${n.replace(/[\n\s]*/g,"")}}`,"")}function Ie(e){if(S(e))try{return H0.default.statSync(e).isFile()}catch{return!1}return ve.call(e)==="[object File]"}function dh(e,t={}){return new Promise(u=>{let{quality:r=.1,maxWidth:n,maxHeight:i,type:s="base64"}=t;Wc(e,u,r,s,n,i)})}function Wc(e,t,u,r,n,i){if(Ie(e)){let l=new FileReader;l.readAsDataURL(e),l.onload=function(g){var b;s((b=g.target)==null?void 0:b.result)}}else s(e);function s(l){let g=new Image;g.src=l,n&&(g.width=n),i&&(g.height=i),g.onload=function(){a(g)}}function a(l){let{canvas:g,ctx:b}=new j0;g.width=l.width,g.height=l.height,b.drawImage(l,0,0,g.width,g.height),r==="blob"?o(g):c(g)}function o(l){l.toBlob(g=>t(g),"image/jpeg",u)}function c(l){t(l.toDataURL("image/jpeg",u))}}var Qc=/(<.* class=["']([\w\-\_$ ]*)["'_\-\w$=:\/ ]*\>)/gm;function hh(e,t){let u=0;return e.replace(Qc,(r,n,i)=>r.replace(i,t(i,n,u++)))}function ph(e,t,u){return P(e,r=>u?.(getComputedStyle(r).getPropertyValue(t)))}function gh(e,t){return e.classList.contains(t)}function bh(e,t){return P(e,u=>t&&Object.keys(t).forEach(r=>u.style.setProperty(r,t[r])))}var Ne=(e,t,u,r,n)=>{let i=`${e}-${t}`;return u&&(i+=`-${u}`),r&&(i+=`__${r}`),n&&(i+=`--${n}`),i},mh=e=>t=>{let u=e;return{namespace:u,b:(r="")=>Ne(u,t,r,"",""),e:r=>r?Ne(u,t,"",r,""):"",m:r=>r?Ne(u,t,"","",r):"",be:(r,n)=>r&&n?Ne(u,t,r,n,""):"",em:(r,n)=>r&&n?Ne(u,t,"",r,n):"",bm:(r,n)=>r&&n?Ne(u,t,r,"",n):"",bem:(r,n,i)=>r&&n&&i?Ne(u,t,r,n,i):"",is:(r,...n)=>{let i=n.length>=1?n[0]:!0;return r&&i?`is-${r}`:""},cssVar:r=>{let n={};for(let i in r)r[i]&&(n[`--${u}-${i}`]=r[i]);return n},cssVarName:r=>`--${u}-${r}`,cssVarBlock:r=>{let n={};for(let i in r)r[i]&&(n[`--${u}-${t}-${i}`]=r[i]);return n},cssVarBlockName:r=>`--${u}-${t}-${r}`}};function nu(e,t={}){let{sep:u="&",eq:r="=",hyp:n=!1,px:i=!1,encode:s=!0}=t;return Object.keys(e).map(a=>`${n?U0(a):a}${r}${Zc(s,i,e,a)}`).join(u)}function Zc(e,t,u,r){let n=t&&ke(u[r])?`${u[r]}px`:u[r].toString();return e?encodeURI(n):n}function xh(e,t){let u=nu(t,{sep:";",eq:":",hyp:!0});return P(e,r=>{r.style.cssText=r.style.cssText+u})}function yh(e,t){let u=$(t)?t:[t];return P(e,r=>{let n=r.style.cssText;r.style.cssText=u.reduce((i,s)=>i.replace(Jc(s),""),n).trim()})}function Jc(e){return new RegExp(`${e}: [\\w()!\\-,.\\s0-9]+;`)}function wh(e,t){return Reflect.has(e,t)}var Eh=Object.assign;function Kc(e){let t=window.onbeforeunload||function(){};return window.onbeforeunload=function(u){e?.(u),t.call(this,u)},e}function Ih(e,t){P(()=>{document.styleSheets[0].insertRule(e,t)})}function vh(e,t){return P(e,u=>u.classList.add(t))}function Ah(e,t){return P(e,u=>u.classList.remove(t))}function Xc(e,t="yyyy-MM-dd"){let u={"M+":e.getMonth()+1,"d+":e.getDate(),"h+":e.getHours()%12===0?12:e.getHours()%12,"H+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),S:e.getMilliseconds()},r={0:"/u65e5",1:"/u4e00",2:"/u4e8c",3:"/u4e09",4:"/u56db",5:"/u4e94",6:"/u516d"};/(y+)/.test(t)&&(t=t.replace(RegExp.$1,`${e.getFullYear()}`.substr(4-RegExp.$1.length))),/(E+)/.test(t)&&(t=t.replace(RegExp.$1,(RegExp.$1.length>1?RegExp.$1.length>2?"/u661f/u671f":"/u5468":"")+r[e.getDay()]));for(let n in u)new RegExp(`(${n})`).test(t)&&(t=t.replace(RegExp.$1,RegExp.$1.length===1?u[n]:`00${u[n]}`.substr(`${u[n]}`.length)));return t}function Th(e,t=0){let u=e.includes("-")?"-":"/",[r,n,i]=e.split(u),s=new Date(+r,+n-1,+i).getTime(),a=[],o=!0;t<0&&(o=!1),t=Math.abs(t);for(let c=0;c<=t;c++){let l=o?s+c*24*60*60*1e3:s-c*24*60*60*1e3;a.push(Xc(new Date(l)))}return a}function T0(e){let t=new Date;return t.setMonth(e+1),t.setDate(0),t.getDate()}function Ch(e){let t=[],u=new Date;u.setMonth(e),u.setDate(1);let r=0,n=u.getDay(),i=T0(e-1);console.log(n);for(let s=0;s<6;s++){let a=new Array(7);if(s===0)for(let o=0;o<a.length;o++)a[o]=o<n?i-n+o+1:++r;else for(let o=0;o<a.length;o++)r>=T0(e)&&(r=0),a[o]=++r;t.push(a)}return t}function Sh(e,t,u="-"){let r=e.split(u),n=t.split(u);return r[0]<n[0]?-1:r[0]>n[0]?1:r[1]<n[1]?-1:r[1]>n[1]?1:r[2]<n[2]?-1:r[2]>n[2]?1:0}function Mh(e,t){let u=e.split(":"),r=t.split(":");return u[0]<r[0]?-1:u[0]>r[0]?1:u[1]<r[1]?-1:u[1]>r[1]?1:0}function _h(){let e=new Date,t=e.getDay(),u=t===0?6:t-1,r=new Date(e);return r.setDate(r.getDate()-u),r.toISOString().match(/(^[0-9]+-[0-9]+-[0-9]+)/)[1]}function el(){return document.createDocumentFragment()}function C0(e,t){let u,r=!1;return P(e,n=>{u=_(n,"click",t),r&&u?.()}),()=>{if(!u)return r=!0;u?.()}}function Lh(e,t){return P(e,u=>t?.((e=u).getBoundingClientRect())),_(window,"scroll",()=>t?.(e.getBoundingClientRect()))}function Nh(e="body"){let t=e==="body";P(e,u=>{var r;(r=te("input",t?u:u.parentElement))==null||r.focus()})}function Dh(e,t){let u=!1,r=[];return P(e,n=>{r.push(_(n,"mouseenter",i=>t(!0,i))),r.push(_(n,"mouseleave",i=>t(!1,i))),u&&r.forEach(i=>i())}),()=>{if(!r.length)return u=!0;r.forEach(n=>n())}}function tl(e,t,u){let r=!1,n;return Sr(()=>n?.()),P(e,i=>{u?.root&&S(u.root)&&(u.root=te(u.root));let s=new IntersectionObserver(t,u);s.observe(i),n=()=>s.disconnect(),r&&n()}),()=>{if(!n)return r=!0;n?.()}}function kh(e,t){if(!pe(e))return;let u=setInterval(e,t);return()=>clearInterval(u)}function Bh(e,t=0){let u=Date.now();return _(window,"mousemove",r=>{Date.now()-u>=t&&(u=Date.now(),e(r))})}function V0(e,t,u={childList:!0}){if(!e)return;let r=!1,n;return P(e,i=>{let s=new MutationObserver(t);s.observe(i,u),n=()=>s.disconnect(),r&&n()}),Sr(()=>n?.()),()=>{if(!n)return r=!0;n?.()}}function Oh(e){return _(window,"resize",()=>e?.(document.documentElement.clientWidth||document.body.clientWidth,document.documentElement.clientHeight||document.body.clientHeight))}function Rh(e){return _(document,"scroll",()=>e?.(document.documentElement.scrollLeft||window.pageXOffset||document.body.scrollLeft,document.documentElement.scrollTop||window.pageYOffset||document.body.scrollTop))}function ul(e,t=0){if(!pe(e))return;let u=setTimeout(e,t);return()=>clearTimeout(u)}function qh(e,t){let u=S(e)?te(e):e,r=S(t)?te(t):t;if(!u||!r)return!1;let n=u.getBoundingClientRect(),i=r.getBoundingClientRect(),s=Math.max(0,Math.min(n.right,i.right)-Math.max(n.left,i.left)),a=Math.max(0,Math.min(n.bottom,i.bottom)-Math.max(n.top,i.top));return s>0&&a>0}function G0(e,t=""){try{H("a",{href:e,download:t}).click()}catch(u){throw new Error(u)}}function Ph(e){let{title:t,meta:u,script:r,link:n}=e,i=el();return t&&(document.title=S(t)?t:t()),u&&u.length&&nl(i,u),r&&r.length&&il(i,r),n&&n.length&&rl(i,n),At(document.head,i),Tt(i)}function rl(e,t){e.append(...t.map(({rel:u,href:r})=>H("link",{rel:u,href:r})))}function nl(e,t){e.append(...t.map(({name:u,content:r})=>H("meta",{name:u,content:r})))}function il(e,t){e.append(...t.map(({src:u,type:r})=>H("script",Object.assign({src:u},sl(r)?{type:r}:{[r]:""}))))}function sl(e){return e==="module"||e==="nomodule"}function Fh(e,t,u){let r=[],n=!1;return P(e,i=>{let s,a,o=document.createEvent("Event");o.initEvent("longpress",!0,!0),r.push(_(i,"mousedown",()=>{a=Date.now(),s=ul(()=>i.dispatchEvent(o),t)},!1)),r.push(_(i,"mouseup",()=>{Date.now()-a<t?s?.():u?.()},!1)),n&&r.forEach(c=>c())}),()=>{r.length?r.forEach(i=>i()):n=!0}}function jh(e,t){let u=!1,r=[],n=!1;return P(e,i=>{r.push(C0(i,s=>{u=!0,s.preventDefault(),s.stopPropagation()})),r.push(C0(document,()=>{!u||(u=!1,t?.())})),n&&r.forEach(s=>s())}),()=>{if(!r.length)return n=!0;r.forEach(i=>i())}}function al(e){return document.createTextNode(e)}function $h(e){let t=document.createRange();return t.setStart(e,0),t.setEnd(e,0),t.getBoundingClientRect()}var ol=["3g2","3gp","aaf","asf","avchd","avi","drc","flv","m2v","m3u8","m4p","m4v","mkv","mng","mov","mp2","mp4","mpe","mpeg","mpg","mpv","mxf","nsv","ogg","ogv","qt","rm","rmvb","roq","svi","vob","webm","wmv","yuv"];function Y0(e){let t=e.lastIndexOf(".")+1;return ol.includes(e.slice(t,e.length).toLowerCase())}function S0(e,t){let u,r;return $(e)||(e=[e]),e.map(s=>Y0(s)?i(s):n(s));function n(s){u||(u=new Image);let a=u.cloneNode();return a.src=s,t&&a.setAttribute("style",t),a}function i(s){r||(r=H("video"));let a=r.cloneNode();return a.src=s,t&&a.setAttribute("style",t),a}}function Uh(e,t,u=200,r=20){ke(t)&&(u=t,t="body"),t||(t="body");let n=S0(e,`width:${u}px;position:absolute;`),i=H("div",{id:"simon-waterfall",style:"position:relative;width:100%;height:100%;"});_(window,"resize",()=>s(t));async function s(o){let c=u+r,l=Math.floor(o.offsetWidth/c),g=new Array(l).fill(0);function b(I){return I.map(v=>{let E=g.indexOf(Math.min(...g)),m=v.height*u/v.width;return v.style.left=`${E*c}px`,v.style.top=`${g[E]}px`,g[E]+=m+r,v})}function y(){return new Promise(I=>{let v=[],E=n.length;n.forEach((m,x)=>{m.complete?(E--,v[x]=m,E===0&&I(b(v))):m.onload=()=>{E--,v[x]=m,E===0&&I(b(v))}})})}(await y()).forEach(I=>i.appendChild(I)),a(o),o.appendChild(i)}return P(t,o=>s(t=o)),o=>{let c=S0(o,`width:${u}px;position:absolute;`);n.push(...c),s(t)};function a(o){for(let c=0;c<o.children.length;c++)if(o.children[c].id==="simon-waterfall")return o.removeChild(o.children[c])}}function zh(e){return e.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]||t)}function Vh(e="",t={}){return new Promise((u,r)=>{let n=new at((s,a)=>{s?r(new Error(s)):u(W0(a,t))}),i=new et(n,{recognizeSelfClosing:!0,xmlMode:!0});i.write(e),i.end()})}function W0(e,t){return e.reduce((u,r)=>{var n,i;let s=[],a={setAttribs:o,beforeInsert:l,afterInsert:g,renameAttribs:c};if(r.type==="tag"||r.type==="script"){(n=t["*"])==null||n.call(t,r,a),(i=t[r.tagName])==null||i.call(t,r,a);for(let b in r.attribs){let y=t[`$attr$${b}`];if(y){y(r,a);break}}u+=r.tagName?`<${r.tagName}${cl(r.attribs)}>${W0(r.children,t)}</${r.tagName}>`:"",s.forEach(b=>b())}if(r.type==="text"&&(u+=r.data),r.type==="comment"){let b=t.comment;b&&b(r,a),u+=`<!--${r.data}-->`}return u;function o(b,y){r.attribs[b]=y}function c(b,y){r.attribs[y]=r.attribs[b],delete r.attribs[b]}function l(b){u+=b}function g(b){s.push(()=>u+=b)}},"")}function cl(e){return Object.keys(e).reduce((t,u)=>{let r=e[u];return r===""?t+=` ${u}`:r&&(t+=` ${u}="${r}"`),t},"")}function Gh(e){return e.replace(/&|<|>|'|"/g,t=>({"&":"&","<":"<",">":">","'":"'",""":'"'})[t]||t)}var ll=/(<.* style=['"]([ \w$\-\_:;\n]*)['"][\/ "'$\-_\w]*>)/gm;function Yh(e,t){let u=0;return e.replace(ll,(r,n,i)=>r.replace(i,t(i,n,u++)))}function Wh(){location.protocol!=="https:"&&location.replace(`https://${location.href.split("//")[1]}`)}function fl(e){return/^\/|^\\|^[a-zA-Z]:[/\\]/.test(e)}function dl(e){return ve.call(e)==="[object Blob]"}function Qh(e=0){try{return document.documentElement.clientHeight+window.scrollY+e>=(document.documentElement.scrollHeight||document.documentElement.clientHeight)}catch(t){throw new Error(t)}}var Zh=()=>au(window);function Jh(e){return/[\u4E00-\u9FA5]/.test(e)}function hl(e){return typeof e=="object"&&e instanceof HTMLElement}function br(e,t){if(e===t)return!0;if(W(e)&&W(t)){let u=Object.keys(e),r=Object.keys(t);if(u.length!==r.length)return!1;for(let n of u)if(!br(e[n],t[n]))return!1;return!0}else if($(e)&&$(t)){if(e.length!==t.length)return!1;for(let u=0;u<e.length;u++)if(!br(e[u],t[u]))return!1;return!0}return!1}function Kh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}function De(e){return fl(e)?e:J0.default.resolve(Z0.default.cwd(),e)}function Xh(e){try{return Q0.default.accessSync(De(e)),!0}catch{return!1}}function e2(e){return e===!1}function t2(e,t){return new RegExp(`\\.${t}(\\?[^.]+)?$`).test(e)}function F(e,t=[],u="inherit",r,n){return Et(t)?(r=t,t=[],u="inherit"):S(t)&&(u=t,t=[]),$(e)?e.map(s=>i(s)):i(e);function i(s){var a;let{status:o,output:c}=X0.default.spawnSync(s,t,{shell:!0,encoding:"utf8",stdio:u==="inherit"?"inherit":["inherit","pipe","inherit"]}),l=(a=c[1])==null?void 0:a.trim();return o===130?(n&&console.log("\u5DF2\u53D6\u6D88..."),{status:o,result:l}):(o!==0&&(n&&console.log(l),r&&process.exit(1)),{status:o,result:l})}}function u2(){let e=process.cwd(),t=K0.default.resolve(e,"go.mod"),{result:u}=F(`(test -f "main.go" || test -f "${t}") && echo "0"|| echo "1"`,"pipe");return u==="0"}function r2(e){return/^((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$/.test(e)}function n2(e){return/^([\da-fA-F]{1,4}:){6}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^::([\da-fA-F]{1,4}:){0,4}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:):([\da-fA-F]{1,4}:){0,3}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){2}:([\da-fA-F]{1,4}:){0,2}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){3}:([\da-fA-F]{1,4}:){0,1}((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){4}:((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)$|^([\da-fA-F]{1,4}:){7}[\da-fA-F]{1,4}$|^:((:[\da-fA-F]{1,4}){1,6}|:)$|^[\da-fA-F]{1,4}:((:[\da-fA-F]{1,4}){1,5}|:)$|^([\da-fA-F]{1,4}:){2}((:[\da-fA-F]{1,4}){1,4}|:)$|^([\da-fA-F]{1,4}:){3}((:[\da-fA-F]{1,4}){1,3}|:)$|^([\da-fA-F]{1,4}:){4}((:[\da-fA-F]{1,4}){1,2}|:)$|^([\da-fA-F]{1,4}:){5}:([\da-fA-F]{1,4})?$|^([\da-fA-F]{1,4}:){6}:$/.test(e)}function i2(e){return/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/.test(e)}function s2(e){return e%400===0||e%4===0&&e%100!==0}function a2(e){return/^((13[0-9])|(14[5-9])|(15([0-3]|[5-9]))|(16[6-7])|(17[1-8])|(18[0-9])|(19[1|3])|(19[5|6])|(19[8|9]))\d{8}$/.test(e)}function o2(e){return e==null}function iu(e){return typeof e=="object"}function c2(e=process.cwd()){let t=es.default.resolve(e.replace(/package.json$/,""),"package.json"),{result:u}=F(`test -f "${t}" && echo "0"|| echo "1"`,"pipe");return u==="0"}function l2(e){return/^[1-9][0-9]{5}$/.test(e.toString())}function f2(e){return/^(\.\.\/|\.\/)/.test(e)}function d2(){let e=process.cwd(),t=ts.default.resolve(e,"Cargo.toml"),{result:u}=F(`test -f "${t}" && echo "0"|| echo "1"`,"pipe");return u==="0"}function h2(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function p2(){return!!(navigator&&(navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia))}function g2(){try{return document.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp")===0}catch{return!1}}function b2(e){return e===!0}function m2(e){return/^http[s]?:\/\/.*/.test(e)}function pl(){return process.platform==="win32"}function gl(e){return e.startsWith("ws://")||e.startsWith("wss://")}function x2(e){return/^\s*data:(?:[a-z]+\/[a-z0-9-+.]+(?:;[a-z-]+=[a-z0-9-]+)?)?(?:;base64)?,([a-z0-9!$&',()*+;=\-._~:@/?%\s]*?)\s*/i.test(e)}var y2=e=>/^[GCDZTSPKXLY1-9]\d{1,4}$/.test(e),w2=e=>/^(?:[\u4E00-\u9FA5·]{2,16})$/.test(e),E2=e=>/(^[a-zA-Z][a-zA-Z\s]{0,20}[a-zA-Z]$)/.test(e),I2=e=>/^[\u4E00-\u9FA5](字第)([0-9a-zA-Z]{4,8})(号?)$/.test(e),bl=/^[0-9]+$/;function v2(e){return e.split(".").every(t=>bl.test(t))}function A2(e){var t;return((t=e?.tagName)==null?void 0:t.toUpperCase())==="DIV"}function T2(e){var t;return((t=e?.tagName)==null?void 0:t.toUpperCase())==="IFRAME"}function C2(e){var t;return((t=e?.tagName)==null?void 0:t.toUpperCase())==="IMG"}function S2(e){return e instanceof Node||ke(e?.nodeType)}function M2(e){return toString.call(e)==="[object ProxyDocument]"}function _2(e){var t;return((t=e?.tagName)==null?void 0:t.toUpperCase())==="SCRIPT"}function L2(e){return typeof ShadowRoot<"u"&&e instanceof ShadowRoot}function N2(e){var t;return((t=e?.tagName)==null?void 0:t.toUpperCase())==="STYLE"}function D2(e){return e.endsWith(".vue")}function k2(e){try{return mr.default.accessSync(e,mr.default.constants.W_OK),!0}catch{return!1}}function B2(e){return/<! -{2,}.*?-{2,}>/.test(e)}function O2(){return!document.hidden}function R2(e){return V0(e,()=>{console.groupCollapsed("childList or sub tree or attributes changed"),console.trace(),console.groupEnd()},{childList:!0,subtree:!0,attributes:!0})}function q2(e){try{let t=H("textarea",{readonly:"readonly"},e);document.body.appendChild(t),t.select();let u=document.execCommand("copy");return document.body.removeChild(t),u}catch(t){throw new Error(t)}}function P2(e){let t=(...u)=>u.length>=e.length?e(...u):(...r)=>t(...u,...r);return t}function F2(e){return new Promise(t=>setTimeout(t,e))}function ml(e,t){return Promise.all(e.map(t))}async function xl(e,t){let u;try{u=await(pe(e)?e():e)}finally{t()}return u}var j2=function(e,t,u){let r,n=xl(e,()=>clearTimeout(r)),i=new Promise((s,a)=>{r=setTimeout(()=>a(new Error(u)),t)});return Promise.race([n,i])};function yl(){}function $2(...e){return e.length===0?yl:e.length===1?e[0]:function(...t){let u;for(let r of e)u=r.apply(this,t)||u;return u}}function U2(e){if(typeof Promise!==void 0)Promise.resolve().then(e);else if(typeof MutationObserver!==void 0){let t=al("0");V0(t,e,{characterData:!0}),t.data="1"}else setTimeout(e)}function z2(e){let t;return new Proxy(e,{construct(u,r){return t||(t=new u(...r)),t}})}function us(e){let t=new Blob([`(${e.toString()})()`],{type:"text/javascript"});return URL.createObjectURL(t)}function H2(e){let t=new Worker(S(e)?e:us(e)),u,r,n=s=>u=s,i=s=>r=s;return t.onerror=s=>r?.(s),t.onmessage=s=>u?.(s.data),{emit:s=>t.postMessage(s),on:n,error:i}}function V2(e,t){return"serviceWorker"in navigator?navigator.serviceWorker.register(S(e)?e:us(e),t):Promise.reject(new Error("ServiceWorker not support"))}var G2=()=>!1;function Y2(e,t){let u=null;return function(r){vt(u)||clearTimeout(u),u=setTimeout(()=>{let n=e.call(this,r);return u=null,n},t)}}async function W2(e,t=1024*100){let{HASH:u,suffix:r}=await o(),n=[],i=t,s=Math.ceil(e.size/i),a=0;for(s>100&&(s=100,i=e.size/s);a<s;)n.push({file:e.slice(a*i,(a+1)*i),filename:`${u}_${a+1}.${r}`}),a++;return n;function o(){let c=new FileReader;return c.readAsArrayBuffer(e),new Promise((l,g)=>{try{c.onload=function(b){let y=b?.target.result,I=new rs.default.ArrayBuffer;I.append(y);let v=I.end(),E=/\.([a-zA-Z0-9]+)$/.exec(e.name)[1],m=`${v}.${E}`;l({HASH:v,suffix:E,filename:m,buffer:y})}}catch(b){g(new Error(b))}})}}function Q2(e=50){return{set(t,u){this.cache.has(t)&&this.cache.delete(t),this.cache.set(t,u),this.cache.size>this.max&&this.cache.delete(this.cache.keys().next().value)},get(t){if(this.cache.has(t)){let u=this.cache.get(t);return this.cache.delete(t),this.cache.set(t,u),u}},cache:new Map,max:e,size(){return this.cache.size}}}var wl="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPgo8c3ZnIHdpZHRoPSI0MHB4IiBoZWlnaHQ9IjQwcHgiIHZpZXdCb3g9IjAgMCA0MCA0MCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4bWw6c3BhY2U9InByZXNlcnZlIiBzdHlsZT0iZmlsbC1ydWxlOmV2ZW5vZGQ7Y2xpcC1ydWxlOmV2ZW5vZGQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS1taXRlcmxpbWl0OjEuNDE0MjE7IiB4PSIwcHgiIHk9IjBweCI+CiAgICA8ZGVmcz4KICAgICAgICA8c3R5bGUgdHlwZT0idGV4dC9jc3MiPjwhW0NEQVRBWwogICAgICAgICAgICBALXdlYmtpdC1rZXlmcmFtZXMgc3BpbiB7CiAgICAgICAgICAgICAgZnJvbSB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiByb3RhdGUoLTM1OWRlZykKICAgICAgICAgICAgICB9CiAgICAgICAgICAgIH0KICAgICAgICAgICAgQGtleWZyYW1lcyBzcGluIHsKICAgICAgICAgICAgICBmcm9tIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICAgIHRvIHsKICAgICAgICAgICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0zNTlkZWcpCiAgICAgICAgICAgICAgfQogICAgICAgICAgICB9CiAgICAgICAgICAgIHN2ZyB7CiAgICAgICAgICAgICAgICAtd2Via2l0LXRyYW5zZm9ybS1vcmlnaW46IDUwJSA1MCU7CiAgICAgICAgICAgICAgICAtd2Via2l0LWFuaW1hdGlvbjogc3BpbiAxLjVzIGxpbmVhciBpbmZpbml0ZTsKICAgICAgICAgICAgICAgIC13ZWJraXQtYmFja2ZhY2UtdmlzaWJpbGl0eTogaGlkZGVuOwogICAgICAgICAgICAgICAgYW5pbWF0aW9uOiBzcGluIDEuNXMgbGluZWFyIGluZmluaXRlOwogICAgICAgICAgICB9CiAgICAgICAgXV0+PC9zdHlsZT4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJvdXRlciI+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwwQzIyLjIwNTgsMCAyMy45OTM5LDEuNzg4MTMgMjMuOTkzOSwzLjk5MzlDMjMuOTkzOSw2LjE5OTY4IDIyLjIwNTgsNy45ODc4MSAyMCw3Ljk4NzgxQzE3Ljc5NDIsNy45ODc4MSAxNi4wMDYxLDYuMTk5NjggMTYuMDA2MSwzLjk5MzlDMTYuMDA2MSwxLjc4ODEzIDE3Ljc5NDIsMCAyMCwwWiIgc3R5bGU9ImZpbGw6YmxhY2s7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNNS44NTc4Niw1Ljg1Nzg2QzcuNDE3NTgsNC4yOTgxNSA5Ljk0NjM4LDQuMjk4MTUgMTEuNTA2MSw1Ljg1Nzg2QzEzLjA2NTgsNy40MTc1OCAxMy4wNjU4LDkuOTQ2MzggMTEuNTA2MSwxMS41MDYxQzkuOTQ2MzgsMTMuMDY1OCA3LjQxNzU4LDEzLjA2NTggNS44NTc4NiwxMS41MDYxQzQuMjk4MTUsOS45NDYzOCA0LjI5ODE1LDcuNDE3NTggNS44NTc4Niw1Ljg1Nzg2WiIgc3R5bGU9ImZpbGw6cmdiKDIxMCwyMTAsMjEwKTsiLz4KICAgICAgICA8L2c+CiAgICAgICAgPGc+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0yMCwzMi4wMTIyQzIyLjIwNTgsMzIuMDEyMiAyMy45OTM5LDMzLjgwMDMgMjMuOTkzOSwzNi4wMDYxQzIzLjk5MzksMzguMjExOSAyMi4yMDU4LDQwIDIwLDQwQzE3Ljc5NDIsNDAgMTYuMDA2MSwzOC4yMTE5IDE2LjAwNjEsMzYuMDA2MUMxNi4wMDYxLDMzLjgwMDMgMTcuNzk0MiwzMi4wMTIyIDIwLDMyLjAxMjJaIiBzdHlsZT0iZmlsbDpyZ2IoMTMwLDEzMCwxMzApOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksMjguNDkzOUMzMC4wNTM2LDI2LjkzNDIgMzIuNTgyNCwyNi45MzQyIDM0LjE0MjEsMjguNDkzOUMzNS43MDE5LDMwLjA1MzYgMzUuNzAxOSwzMi41ODI0IDM0LjE0MjEsMzQuMTQyMUMzMi41ODI0LDM1LjcwMTkgMzAuMDUzNiwzNS43MDE5IDI4LjQ5MzksMzQuMTQyMUMyNi45MzQyLDMyLjU4MjQgMjYuOTM0MiwzMC4wNTM2IDI4LjQ5MzksMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxMDEsMTAxLDEwMSk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMy45OTM5LDE2LjAwNjFDNi4xOTk2OCwxNi4wMDYxIDcuOTg3ODEsMTcuNzk0MiA3Ljk4NzgxLDIwQzcuOTg3ODEsMjIuMjA1OCA2LjE5OTY4LDIzLjk5MzkgMy45OTM5LDIzLjk5MzlDMS43ODgxMywyMy45OTM5IDAsMjIuMjA1OCAwLDIwQzAsMTcuNzk0MiAxLjc4ODEzLDE2LjAwNjEgMy45OTM5LDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoMTg3LDE4NywxODcpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTUuODU3ODYsMjguNDkzOUM3LjQxNzU4LDI2LjkzNDIgOS45NDYzOCwyNi45MzQyIDExLjUwNjEsMjguNDkzOUMxMy4wNjU4LDMwLjA1MzYgMTMuMDY1OCwzMi41ODI0IDExLjUwNjEsMzQuMTQyMUM5Ljk0NjM4LDM1LjcwMTkgNy40MTc1OCwzNS43MDE5IDUuODU3ODYsMzQuMTQyMUM0LjI5ODE1LDMyLjU4MjQgNC4yOTgxNSwzMC4wNTM2IDUuODU3ODYsMjguNDkzOVoiIHN0eWxlPSJmaWxsOnJnYigxNjQsMTY0LDE2NCk7Ii8+CiAgICAgICAgPC9nPgogICAgICAgIDxnPgogICAgICAgICAgICA8cGF0aCBkPSJNMzYuMDA2MSwxNi4wMDYxQzM4LjIxMTksMTYuMDA2MSA0MCwxNy43OTQyIDQwLDIwQzQwLDIyLjIwNTggMzguMjExOSwyMy45OTM5IDM2LjAwNjEsMjMuOTkzOUMzMy44MDAzLDIzLjk5MzkgMzIuMDEyMiwyMi4yMDU4IDMyLjAxMjIsMjBDMzIuMDEyMiwxNy43OTQyIDMzLjgwMDMsMTYuMDA2MSAzNi4wMDYxLDE2LjAwNjFaIiBzdHlsZT0iZmlsbDpyZ2IoNzQsNzQsNzQpOyIvPgogICAgICAgIDwvZz4KICAgICAgICA8Zz4KICAgICAgICAgICAgPHBhdGggZD0iTTI4LjQ5MzksNS44NTc4NkMzMC4wNTM2LDQuMjk4MTUgMzIuNTgyNCw0LjI5ODE1IDM0LjE0MjEsNS44NTc4NkMzNS43MDE5LDcuNDE3NTggMzUuNzAxOSw5Ljk0NjM4IDM0LjE0MjEsMTEuNTA2MUMzMi41ODI0LDEzLjA2NTggMzAuMDUzNiwxMy4wNjU4IDI4LjQ5MzksMTEuNTA2MUMyNi45MzQyLDkuOTQ2MzggMjYuOTM0Miw3LjQxNzU4IDI4LjQ5MzksNS44NTc4NloiIHN0eWxlPSJmaWxsOnJnYig1MCw1MCw1MCk7Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K";function Z2(e,t=wl){return P(e,u=>{te(["img","video"],!0,u).forEach(r=>{let n=r.dataset.src,i=n||r.src;n||(r.src=t);let s=tl(r,a=>{a.forEach(o=>{o.isIntersecting&&(s(),o.target.src=i)})})})})}function J2(e,t=0){let u=new Image,r=H("video");return Mr(e.map(n=>Y0(n)?()=>{r.src=n}:()=>{u.src=n},t))}function El(e,t){let u=0;return function(...r){let n=Date.now();if(n-u>=t){let i=e.call(this,...r);return u=n,i}}}function Ct(e,t=0,u=!1){let r,n=!1,i,s=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||(c=>setTimeout(c,1e3/60)),a=window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||window.oCancelAnimationFrame||window.msCancelAnimationFrame||clearTimeout,o=()=>{n=!0,a(i)};return i=s(function c(l){if(!n){if(X(r))r=l;else if(l-r>t&&(e?.(l),r=l,u)){o();return}i=s(c)}}),o}function K2(e){let t=!1;return function(...u){if(!t)return t=!0,e.apply(this,u)}}var Il=/<script .*src=["']([\w?=.\/@]+)["']><\/script>/gm,eu;function X2(e=2e3,t){return Ct(async()=>{await Al()&&(console.log("\u9875\u9762\u6709\u66F4\u65B0"),t?.())},e)}async function vl(){let e=await fetch(`/?_timestamp=${Date.now()}`).then(r=>r.text()),t=[],u;for(;(u=Il.exec(e))&&!t.includes(u[1]);)t.push(u[1]);return t}async function Al(){let e=await vl();return eu?br(eu,e)?!1:(eu=e,!0):(eu=e,!1)}async function Tl(e){if(Ie(e)||dl(e))return await Cl(e);if(S(e))return await Sl(e);throw new Error("type must be file or blob or url")}function Cl(e){return new Promise((t,u)=>{let r=new FileReader;r.readAsDataURL(e);try{r.onload=function(n){var i;t((i=n?.target)==null?void 0:i.result)}}catch(n){u(new Error(n))}})}function Sl(e){return new Promise((t,u)=>{try{let r=document.createElement("canvas"),n=r.getContext("2d"),i=H("img",{src:`${e}?timeStamp=${new Date().getTime()}`,crossOrigin:"anonymous"});i.onload=function(){n?.drawImage(i,0,0,r.width=i.width,r.height=i.height),t(r.toDataURL("image/png"))}}catch(r){u(new Error(r))}})}async function ep(e){return await Tl(new Blob([e],{type:"image/*"}))}async function tp(e,t){let u="",r=/data: ({.*})/gm;for(;;){let{done:n,value:i}=await e.read();if(n){console.log("The stream is done.");break}let s="";String.fromCharCode.apply(null,i).replace(r,(a,o)=>s=o),s=JSON.parse(s),u+=t?.(s)||""}return u}function up(e){let t=0,u=e.length-1;return()=>{let r=e[t];return t++,t>u&&(t=0),r}}async function rp(e,t){try{return[void 0,await e]}catch(u){return t?[Object.assign({},u,t),void 0]:[u,void 0]}}var ns=class extends Error{constructor(e){super(e),this.name="CustomerError"}};function np(e,t){throw new ns(`[${e}] ${t}`)}function ip(e,t){if(process.env.NODE_ENV!=="production"){let u=S(e)?new ns(`[${e}] ${t}`):e;console.warn(u)}}function Ml(e,t={},u="log"){console[u]("%c%s",S(t)?t:nu(t,{sep:";",eq:":",hyp:!0,px:!0,encode:!1}),e)}function sp(){return _(window,"error",e=>{let{colno:t,lineno:u,error:r,filename:n,message:i}=e;if(i.toLowerCase().includes("script error"))return;let s=[`Message: ${i}
|
|
38
|
-
`,`URL: ${n}:${u}:${t}
|
|
39
|
-
`,`Line: ${u}
|
|
40
|
-
`,`Column: ${t}
|
|
41
|
-
`,`Error object: ${JSON.stringify(r)}`].join("-");return Ml(s,{color:"#337ecc",padding:"2px 10px",fontSize:14,fontWeight:"bold"},"error"),!1})}function ap(e){return new Promise((t,u)=>{try{t(e())}catch(r){u(new Error(r))}})}function op(){return{data:Object.create(null),emit(e,t){(this.data[e]||[]).forEach(u=>u(t))},on(e,t){this.data[e]||(this.data[e]=[]),this.data[e].push(t)},off(e,t){let u=(this.data[e]||[]).findIndex(r=>r===t);u>-1&&this.data[e].splice(u,1),this.data[e].length===0&&delete this.data[e]}}}function is(e,t){let u="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),r=[];if(t=t||u.length,e){let n=ke(t)?t:36;for(let i=0;i<e;i++)r[i]=u[0|Math.random()*n]}else{if(e)for(let n=0;n<e;n++)r[n]=u[0|Math.random()*u.length];r[8]=r[13]=r[18]=r[23]="-",r[14]="4";for(let n=0;n<36;n++)if(!r[n]){let i=0|Math.random()*16;r[n]=u[n===19?i&3|8:i]}}return r.join("")}var xr="@simon_he/storage";function cp(e){return _(window,"storage",t=>{let{key:u,newValue:r,oldValue:n}=t,i=u!=null&&u.startsWith(xr)?u.slice(xr.length):u;e(i,r,n)})}function lp(e,t){localStorage.setItem(xr+e,JSON.stringify({value:t,__temp:is(6)}))}function fp(e,t){e=gl(e)?e:`ws://${e.replace(/^http[s:\/\/]/,"")}`;let u=new WebSocket(e,t),r=a=>u.addEventListener("message",a),n=a=>u.addEventListener("open",a),i=a=>u.addEventListener("close",a),s=a=>u.addEventListener("error",a);return{socket:u,receive:r,send:u.send.bind(u),open:n,close:i,error:s}}function dp(e){let t=new BroadcastChannel(e);t.listeners=new Set,t.id=_l(e);let u=(r,n)=>n.postMessage({id:n.id,msg:r});return t.addEventListener("message",r=>{r.data.msg==="open"?(u("response",t),t.listeners.add(r.data.id)):r.data.msg==="response"?t.listeners.add(r.data.id):r.data.msg==="close"&&t.listeners.delete(r.data.id)}),_(window,"beforeunload",()=>u("close",t)),u("open",t),t}function _l(e){let t=`channel-${e}`,u=+(localStorage.getItem(t)??0)+1;return localStorage.setItem(t,u.toString()),u}function hp(){let e,t=0;return Ct(u=>{t++,e||(e=u),u-e>1e3&&(console.log("FPS:",Math.round(t*1e3)/(u-e)),t=0,e=u)},0)}function Ll(){let e={};try{let t=performance.getEntriesByType("navigation")[0];if(t.domComplete===0){setTimeout(()=>{Ll()},200);return}e.\u91CD\u5B9A\u5411\u65F6\u95F4=(t.redirectEnd-t.redirectStart)/1e3,e.\u91CD\u5B9A\u5411\u6B21\u6570=t.redirectCount,e.\u9996\u5C4F\u65F6\u95F4=t.domInteractive-t.fetchStart,e.\u4E0A\u4E00\u9875\u5378\u8F7D\u65F6\u95F4=t.unloadEventEnd-t.unloadEventStart,e.\u6D4F\u89C8\u5668\u8BFB\u53D6\u7F13\u5B58\u65F6\u95F4=t.domainLookupStart-t.fetchStart,e.DNS\u89E3\u6790\u65F6\u95F4=(t.domainLookupEnd-t.domainLookupStart)/1e3,e.TCP\u5B8C\u6210\u63E1\u624B\u65F6\u95F4=(t.connectEnd-t.connectStart)/1e3,e.HTTP\u8BF7\u6C42\u54CD\u5E94\u5B8C\u6210\u65F6\u95F4=(t.responseEnd-t.requestStart)/1e3,e.DOM\u5F00\u59CB\u52A0\u8F7D\u524D\u6240\u82B1\u8D39\u65F6\u95F4=(t.responseEnd-t.fetchStart)/1e3,e.DOM\u52A0\u8F7D\u5B8C\u6210\u65F6\u95F4=(t.domComplete-t.domInteractive)/1e3,e.\u811A\u672C\u52A0\u8F7D\u65F6\u95F4=(t.domContentLoadedEventEnd-t.domContentLoadedEventStart)/1e3,e.onload\u4E8B\u4EF6\u65F6\u95F4=(t.loadEventEnd-t.loadEventStart)/1e3,e.\u9875\u9762\u5B8C\u5168\u52A0\u8F7D\u65F6\u95F4=(t.loadEventEnd-t.fetchStart)/1e3,console.table(e)}catch{console.log(e),console.log(performance.timing)}}function pp(e){let t=new Date().getTime();e();let u=(new Date().getTime()-t)/1e3;return console.log(`timeCost: ${u}s`),u}function gp(e=!1,t=5e3,u=0){return new Promise((r,n)=>{navigator.geolocation?navigator.geolocation.getCurrentPosition(Nl(r),Dl(n),{enableHighAccuracy:e,maximumAge:u,timeout:t}):n(new Error("\u8BE5\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5B9A\u4F4D\u529F\u80FD\uFF01"))})}function Nl(e){return function(t){e(t.coords)}}function Dl(e){return function(t){switch(t.code){case t.PERMISSION_DENIED:return e(new Error("\u7528\u6237\u4E0D\u5141\u8BB8\u4F7F\u7528\u4F4D\u7F6E\u670D\u52A1"));case t.POSITION_UNAVAILABLE:return e(new Error("\u4F4D\u7F6E\u4FE1\u606F\u4E0D\u53EF\u7528"));case t.TIMEOUT:return e(new Error("\u8BF7\u6C42\u83B7\u53D6\u7528\u6237\u4F4D\u7F6E\u8D85\u65F6"));default:return e(new Error("\u672A\u77E5\u9519\u8BEF"))}}}function bp(e,t){return F(`cp -r {${e.join(",")}} ${t}`,"pipe")}async function mp(e){if(/[./]/.test(e))throw new Error("module must be a npm module");let t=wr.default.resolve(ss.default.cwd(),"node_modules",e,"package.json"),{module:u,main:r}=JSON.parse(await yr.default.readFile(t,"utf-8")),n=wr.default.resolve(`./node_modules/${e}`,u||r);return yr.default.readFile(n,"utf-8")}function kl(e,t){return t.endsWith(e)?t:t+e}async function Be(e="./package.json"){let t=De(kl("/package.json",e));if(!Ie(t))throw new Error(`${t} is not a file`);return JSON.parse(await as.default.readFile(t,"utf-8"))}async function os(){let e=await Be()||{},{packageManager:t}=e;if(t){let u=t.split("@")[0].replace(/[\~\^]/,"");if(t)return u}switch(!0){case Ie(De("./bun.lockb")):return"bun";case Ie(De("./pnpm-lock.yaml")):case Ie(De("./pnpm-workspace.yaml")):return"pnpm";case Ie(De("./yarn.lock")):case Ie(De("./lerna.json")):return"yarn";default:return"npm"}}function xp(){var e,t;return(t=(e=cs.default)==null?void 0:e.argv)==null?void 0:t.slice(2).reduce((u,r)=>{let[n,i]=r.split("=");return u[n.slice(2)]=i||!0,u},{})}async function yp(e,t){let u="../node_modules/lazy-js-utils/dist/node/useNodeWorkerThread.cjs",r="./node/useNodeWorkerThread.cjs";pl()&&(u=u.replaceAll("/","\\"),r=r.replaceAll("/","\\")),t=t||Er.default.resolve(__dirname,r),t.includes("node_modules")||(t=Er.default.resolve(__dirname,u));let{params:n}=S(e)?e={params:e}:e,i=$(n)?n:n.split("&&"),s=await ml(i,o=>a(Object.assign(e,{params:o})));return setTimeout(ls.default.exit),s.length===1?s[0]:s;function a(o){let{Worker:c}=_r.default;return new Promise(l=>{let g=new c(t);g.on("message",l),g.postMessage(o)})}}function wp(e){let{parentPort:t}=_r.default;t.on("message",async u=>t?.postMessage(await e?.(u)||(()=>"")))}var Ep=(e,t)=>Object.assign(t,{displayName:e});function Ip(e,t,u="utf-8"){S(e)&&(e=[e]),e.forEach(async(r,n)=>{let i=await Ir.default.readFile(r,u),s=t?.(i,n)||i;Ir.default.writeFile(r,s).catch(a=>{throw a})})}function vp(e){let t=fs.default.resolve(e,"package.json"),{result:u}=F(`test -f "${t}" && echo "0"|| echo "1"`,"pipe");return u==="0"}var Ap={add(...e){return e.reduce((t,u)=>M0(+t,+u))},sub(...e){return e.reduce((t,u)=>M0(+t,-u))},mul(...e){return e.reduce((t,u)=>Bl(+t,+u))},div(...e){return e.reduce((t,u)=>Ol(+t,+u))}};function M0(e,t){let u,r;try{u=e.toString().split(".")[1].length}catch{u=0}try{r=t.toString().split(".")[1].length}catch{r=0}let n=10**Math.max(u,r);return(e*n+t*n)/n}function Bl(e,t){let u=0,r=e.toString(),n=t.toString();try{u+=r.split(".")[1].length}catch{}try{u+=n.split(".")[1].length}catch{}return Number(r.replace(".",""))*Number(n.replace(".",""))/10**u}function Ol(e,t){let u=0,r=0;try{u=e.toString().split(".")[1].length}catch{}try{r=t.toString().split(".")[1].length}catch{}let n=Number(e.toString().replace(".","")),i=Number(t.toString().replace(".",""));return n/i*10**(r-u)}function Tp(e,t=2,u="ceil"){e=`${e}`.replace(/[^0-9+-Ee.]/g,"");let r=isFinite(+e)?+e:0,n=isFinite(+t)?Math.abs(t):0,i=",",s=".",a=(n?c(r,n):`${Math.round(r)}`).split("."),o=/(-?\d+)(\d{3})/;for(;o.test(a[0]);)a[0]=a[0].replace(o,`$1${i}$2`);return(a[1]||"").length<n&&(a[1]=a[1]||"",a[1]+=new Array(n-a[1].length+1).join("0")),a.join(s);function c(l,g){let b=10**g;return`${u==="ceil"?Math.ceil(l*b)/b:Math.floor(l*b)/b}`}}function Cp(e){let t=["\u89D2","\u5206"],u=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],r=[["\u5143","\u4E07","\u4EBF"],["","\u62FE","\u4F70","\u4EDF"]],n=e<0?"\u6B20":"";e=Math.abs(e);let i="";for(let s=0;s<t.length;s++)i+=(u[Math.floor(e*10*10**s)%10]+t[s]).replace(/零./,"");i=i||"\u6574",e=Math.floor(e);for(let s=0;s<r[0].length&&e>0;s++){let a="";for(let o=0;o<r[1].length&&e>0;o++)a=u[e%10]+r[1][o]+a,e=Math.floor(e/10);i=a.replace(/(零.)*零$/,"").replace(/^$/,"\u96F6")+r[0][s]+i}return n+i.replace(/(零.)*零元/,"\u5143").replace(/(零.)+/g,"\u96F6").replace(/^整$/,"\u96F6\u5143\u6574")}function Sp(e,t){return ke(e)?e*t:e.repeat(t)}function Mp(e){return+e%2===0}function su(e,...t){return W(e)&&t.forEach(u=>{if(!W(u))throw new Error(`${u} is not objectType`);if(!Object.keys(e).length)Object.assign(e,u);else for(let r in u)r in e&&W(e[r])&&W(u[r])?su(e[r],u[r]):e[r]=u[r]}),e}var _0=/(\w+)\[(\w+)\]/;function _p(e,t,u){return Object.keys(e).reduce((r,n)=>{let i=e[n];return Rl(i[u],r,i[t])},{})}function Rl(e,t,u){let r=e.split(".");return r.reduce((n,i,s)=>{if(s===r.length-1)n[i]=u;else if(_0.test(i)){let a;return i.replace(_0,(o,c,l)=>{n[c]=n[c]??[],a=n[c][l]=n[c][l]??{}}),a}else if(s!==r.length-1)return n[i]=n[i]??{};return n},t),t}var Qe=/(\w+)\[(\w+)\]/;function Lp(e,t,u=!1){let r=Object.keys(t).reduce((a,o)=>(a[t[o]]=ql(o,e),a),{});if(!u)return r;let n=Object.keys(t),i=JSON.parse(JSON.stringify(e));n.forEach(a=>{let o=a.split("."),c=o.length-1;o.reduce((l,g,b)=>{if(c===b&&delete l[g],Qe.test(g)){let y;return g.replace(Qe,(I,v,E)=>y=l[v][E]),y}return l[g]},i)});let s=vr(i);return Object.assign(s,r)}function Np(e,t,u=!1){let r=Object.entries(t).reduce((s,[a,o])=>Pl(a,s,e[o]),{});if(!u)return r;let n=Object.values(t),i=Object.keys(e).filter(s=>!n.includes(s)).reduce((s,a)=>(s[a]=e[a],s),{});return Object.assign(i,r)}function ql(e,t){return e.split(".").reduce((u,r)=>Qe.test(r)?JSON.parse(r.replace(Qe,(n,i,s)=>JSON.stringify(u[i][s]))):u[r],t)}function Pl(e,t,u){let r=e.split(".");return r.reduce((n,i,s)=>{if(s===r.length-1)n[i]=u;else if(Qe.test(i)){let a;return i.replace(Qe,(o,c,l)=>{n[c]=n[c]??[],a=n[c][l]=n[c][l]??{}}),a}else if(s!==r.length-1)return n[i]=n[i]??{};return n},t),t}function vr(e){for(let t in e){let u=e[t];W(u)?Object.keys(u).length?vr(u):delete e[t]:$(u)&&(!u.length||!Object.keys(u[0]).length?delete e[t]:u.forEach(r=>vr(r)))}return e}function Dp(e,t){return iu(e)?$(e)?e.map(u=>L0(u,t)):L0(e,t):e}function L0(e,t){for(let u in t){let r="",n=null,i=u.split("."),s=i.reduce((a,o,c)=>(c===i.length-1&&(r=o,n=a),a[o]),e);n[t[u]]=s,delete n[r]}return e}function kp(e,t={}){return iu(e)&&($(e)?e.forEach((u,r)=>N0(u,r,t)):N0(e,0,t)),e}function N0(e,t,u={}){for(let r in u){let n=r.split(".").reduce((i,s)=>i[s],e);u[r](n,t,e)}}var Fl=[Set,Map,WeakMap,WeakSet,RegExp,Date],hr=new WeakMap;function jl(e){if(hr.has(e))return hr.get(e);if(pe(e)||vt(e))return e;if(Fl.includes(e.constructor))return new e.constructor(e);if(!iu(e))return e;let t=Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e));hr.set(e,t);for(let u of Reflect.ownKeys(e))iu(e[u])?t[u]=jl(e[u]):t[u]=e[u];return t}function D0(e,t,u,r=[],n=[],i,s){if(W(e)&&W(t)){let a=Object.keys(e).length>=Object.keys(t).length?e:t;for(let o in a){if($(u)&&u.includes(o)||gr(u)&&u.test(o))continue;let c=e[o],l=t[o],g=i?`${i}.${o}`:o;D0(c,l,u,r,n,g)}}else if($(e)&&$(t)){let a=e.length>=t.length?e:t;for(let o in a){let c=e[o],l=t[o];D0(c,l,u,r,n,i,o)}}else if(e!==t){i=i||"array";let a=s?`${i}\u6570\u636E\u4E0D\u4E00\u81F4\uFF0C\u7B2C${s}\u9879,\u5206\u522B\u4E3A${e} => ${t}`:`${i}\u6570\u636E\u4E0D\u4E00\u81F4\uFF0C\u5206\u522B\u4E3A${e} => ${t}`;r.push(i),n.push(a)}return{error:r,errorMsg:n}}function Bp(e,t={}){let{sep:u="&",eq:r="=",camel:n=!1}=t;return e.split(u).reduce((i,s)=>{let[a,o]=s.split(r);return n?i[Rc(a)]=o:i[a]=o,i},{})}function Op(e){let t=/[\n\s]*([.#][\w\-_ .#\>\+\&]+){[\n\s]*([ :;\w\-\n]*)+}[\n\s]*/gm,u=/\s{2,}/g,r={};return e.replace(t,(n,i,s)=>(r[i.replace(u," ").trim()]=s.replace(/\n\s*/g,""),n)),r}var $l=/^\w+:(\/\/)?/,Ul=/^\/\/[^/]+/;function zl(e,t=!1){return $l.test(e)||t&&Ul.test(e)}function Hl(e="",t){if(!zl(e,!0))return t?Hl(t+e):k0(e);let[u="",r,n=""]=(e.replace(/\\/g,"/").match(/([^:/]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[i="",s=""]=(n.match(/([^/?#]*)(.*)?/)||[]).splice(1),{pathname:a,search:o,hash:c}=k0(s);return{protocol:u,auth:r?r.substr(0,r.length-1):"",host:i,pathname:a,search:o,hash:c}}function k0(e=""){let[t="",u="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:u,hash:r}}function Rp(e,t,u){return new Promise((r,n)=>{let i;hl(e)?i="toCanvas":t?i="toDataURL":i="toString",ds.default[i](e,u,(s,a)=>{s&&n(s),r(a)})})}function qp(e="1999/01/1",t){let u=new Date,r=e.includes("/")?"/":"-",[n,i,s]=(t||"").split(r),a=+n||u.getFullYear(),o=+i||u.getMonth()+1,c=+s||u.getDate(),[l,g,b]=e.split("/"),y=new Date(+l,+g,+b).getTime(),I=new Date(a,o,c).getTime();return new Date(y+Math.round(Math.random()*(I-y)))}function Pp(){return`#${(Math.random()*1048575*1e6).toString(16).slice(0,6)}`}function Fp(e=1){return`rgba(${Math.random()*255}, ${Math.random()*255}, ${Math.random()*255}, ${e})`}function jp(e){for(let t=e.length-1;t>0;t--){let u=Math.floor(Math.random()*(t+1));[e[t],e[u]]=[e[u],e[t]]}return e}var wt=new Map,tu=class{config;constructor(e){let{baseURL:t="",headers:u={},timeout:r=20*1e3,interceptors:n}=e||{};this.config={baseURL:t,headers:u,timeout:r,interceptors:n}}init(e){let{url:t,method:u="GET",headers:r={},bodyType:n="json",params:i={},credentials:s="omit",integrity:a,referrerPolicy:o="no-referrer-when-downgrade",referrer:c="",responseType:l="json",keepalive:g=!1,timeout:b,transformResponse:y,cache:I="default",redirect:v="follow",mode:E="no-cors"}=e;return this.config=Object.assign(this.config,{url:t!=null&&t.startsWith("http")?t:(this.config.baseURL||"")+(t||""),method:u,bodyType:n,credentials:s,responseType:l,timeout:b||this.config.timeout,transformResponse:y,cache:I,redirect:v,mode:E,body:i,keepalive:g,integrity:a,referrerPolicy:o,referrer:c,headers:Object.assign({"Content-Type":"application/json"},this.config.headers,r)}),this.config.method==="GET"&&(Object.keys(i).length&&(this.config.url+=`?${nu(i)}`),this.config.body=void 0),this.request()}request(){var e,t,u,r,n;let i=new AbortController,s=i.signal;this.config.signal=s,this.config.cancel=()=>i.abort();let{body:a,method:o,bodyType:c,url:l,timeout:g,responseType:b,transformResponse:y}=this.config;a&&o!=="GET"&&(c==="form"?(su(this.config.headers,{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"}),this.config.body=nu(a)):c==="file"?(su(this.config.headers,{"Content-Type":"multipart/form-data"}),this.config.body=Object.keys(a).reduce((v,E)=>(v.append(E,a[E]),v),new FormData)):c==="json"&&(this.config.body=JSON.stringify(a)));let I=pr(this.config);return wt.has(I)&&((e=wt.get(I))==null||e()),wt.set(I,this.config.cancel),Promise.race([fetch(l,((n=(r=(u=(t=this.config)==null?void 0:t.interceptors)==null?void 0:u.request)==null?void 0:r.success)==null?void 0:n.call(r,this.config))||this.config),new Promise(v=>{setTimeout(()=>{v(new Response("timeout",{status:504,statusText:"timeout "})),i.abort()},g||20*1e3)})]).then(v=>{var E,m,x,p;return v.status===200?y?y(v):v:((p=(x=(m=(E=this.config)==null?void 0:E.interceptors)==null?void 0:m.response)==null?void 0:x.error)==null?void 0:p.call(x,v))||Promise.reject(v)},v=>{var E,m,x,p;return((p=(x=(m=(E=this.config)==null?void 0:E.interceptors)==null?void 0:m.request)==null?void 0:x.error)==null?void 0:p.call(x,v))||Promise.reject(v)}).then(async v=>{var E,m,x,p,f,h,d,C;try{let B=await this.getResponseData(v,b);return wt.delete(pr(this.config)),((p=(x=(m=(E=this.config)==null?void 0:E.interceptors)==null?void 0:m.response)==null?void 0:x.success)==null?void 0:p.call(x,B))||B}catch(B){return wt.delete(pr(this.config)),((C=(d=(h=(f=this.config)==null?void 0:f.interceptors)==null?void 0:h.response)==null?void 0:d.error)==null?void 0:C.call(d,B))||Promise.reject(B)}})}getResponseData(e,t){if(t==="json")return e?.json();if(t==="text")return e?.text();if(t==="blob")return e?.blob();if(t==="formData")return e?.formData();if(t==="arrayBuffer")return e?.arrayBuffer()}get(e,t){let{retry:u=0}=t||{};return hs(()=>new tu(this.config).init(Object.assign(S(e)?Object.assign(t||{},{url:e}):e,{method:"GET"})),u)}post(e,t){return new tu(this.config).init(Object.assign(S(e)?Object.assign(t||{},{url:e}):e,{method:"post"}))}put(e,t){return S(t)&&(t={url:t}),new tu(this.config).init(Object.assign(S(e)?Object.assign(t||{},{url:e}):e,{method:"put"}))}delete(e,t){return S(t)&&(t={url:t}),new tu(this.config).init(Object.assign(S(e)?Object.assign(t||{},{url:e}):e,{method:"delete"}))}};function pr(e){let{url:t,method:u,params:r,data:n}=e;return`${t}-${u}-${JSON.stringify(u==="get"?r:n)}`}function hs(e,t,u=0,r,n){return new Promise((i,s)=>{r=r||i,n=n||s;let a=e();a.then(r),a.catch(o=>{u<t?(u++,hs(e,t,u,r,n)):n(o)})})}function $p(e=4,t){let u=t.length,r=[],n=0,i=new Array(e).fill(0);return i=i.map(()=>new Promise((s,a)=>{let o=()=>{if(n>=u)return s("done");let c=n;t[n++]().then(l=>{r[c]=l,o()}).catch(l=>a(l))};o()})),Promise.all(i).then(()=>r)}function Up(e,t){return _(document,"visibilitychange",()=>document.visibilityState==="hidden"&&navigator.sendBeacon(e,t))}function zp(){try{let e=parent.documentElement,t=e?.cancelFullScreen||e?.webkitCancelFullScreen||e?.mozCancelFullScreen||e?.exitFullScreen;if(t)t.call(e);else return new Error("\u5207\u6362\u5931\u8D25,\u53EF\u5C1D\u8BD5Esc\u9000\u51FA")}catch(e){throw new Error(e)}}function Hp(){try{let e=document.documentElement,t=e.requestFullScreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;if(t)t.call(e);else return new Error("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301\u5168\u5C4F")}catch(e){throw new Error(e)}}function Vp(e){return async()=>{if(S(e)&&(e=te(e)||e),S(e))throw new Error(`${e} is not a HTMLVideoElement`);try{e!==document.pictureInPictureElement?await e.requestPictureInPicture():await document.exitPictureInPicture()}catch(t){throw new Error(t)}}}function Gp(e,t){return new Promise((u,r)=>{navigator.mediaDevices.getDisplayMedia({video:!0}).then(n,r);function n(i){let s=H("video",{autoplay:"",playsinline:"",muted:""});s.srcObject=i,S(e)&&(e=te(e)||e),S(e)&&r(new Error(`${e} container is not a HTMLElement`)),u("success"),i.getVideoTracks()[0].addEventListener("ended",()=>t("\u5DF2\u505C\u6B62\u5171\u4EAB")),e.appendChild(s)}})}function Yp(e={width:640,height:480},t="video",u){if(!navigator)return console.error("Not support navigator");Et(e)&&(u=e,e={width:640,height:480});let r;return navigator.mediaDevices.getUserMedia({video:e}).then(n=>{if(r=S(t)?te(t):t,!r)return console.error("video element not found");r.srcObject=n,u&&(r.onloadedmetadata=()=>r.play())}),()=>r?r.paused?r.play():r.pause():u=!0}function Wp(e={}){if(!navigator||!navigator.canShare)throw new Error("\u5F53\u524D\u73AF\u5883\u4E0D\u652F\u6301\u5206\u4EAB");if(!e.files||navigator.canShare({files:e.files}))return navigator.share(e)}function Qp(e=[],t){let u=H("video"),{controls:r=!0,width:n,height:i,className:s,style:a}=t,o=t.container;return u.controls=r,n&&(u.width=n),i&&(u.height=i),s&&(u.className=s),a&&(u.style.cssText=a),_(document,"DOMContentLoaded",l),_(u,"timeupdate",()=>u.currentTime>=u.duration&&c()),{play(){u.paused?u.play():u.pause()},playReset:c,playRate(g=1){u.playbackRate=+g},playTime(g=0){u.currentTime+=+g},playProgress(g=0){u.currentTime=+g}};function c(){u.currentTime=0}function l(){let g=H("source");e.forEach(({src:b,type:y})=>{let I=g.cloneNode();I.setAttribute("src",b),I.setAttribute("type",y),u.appendChild(I)}),o.appendChild(u)}}async function Zp(e=String(new Date().getTime())){let t=await navigator.mediaDevices.getDisplayMedia({video:!0}),u=await navigator.mediaDevices.getUserMedia({audio:!0}),r=[];t.getVideoTracks().forEach(a=>r.push(a)),u.getAudioTracks().forEach(a=>r.push(a));let n=new MediaStream(r),i=new MediaRecorder(n),s=[];return i.ondataavailable=a=>{s.push(a.data)},i.onstop=()=>{let{stream:a,mimeType:o}=i;a.getTracks().forEach(g=>g.stop());let c=new Blob(s,{type:o}),l=URL.createObjectURL(c);G0(l,`${e}.webm`)},i.start(),()=>i.stop()}function Vl(e){return $(e)?e:[e]}function Jp(e,t="zh"){let u=Vl(e).map(Gl).join(`
|
|
42
|
-
`);Yl(u,t)}function Gl(e){let{start:t,end:u,left:r,top:n,content:i,duration:s}=e,a=B0(t),o=B0(u||t+(s??0));return`${a} --> ${o} line:${r}% position:${n}% ${i}`}function B0(e){let t=Math.floor(e/1e3),u=uu(e%1e3,3),r=Math.floor(t/60),n=uu(t%60,2),i=uu(Math.floor(r/60),2),s=uu(r%60,2);return`${i}:${s}:${n}.${u}`}function uu(e,t){if(String(e).length===t)return e;let u=t-String(e).length;return"0".repeat(u)+e}function Yl(e,t){ps.default.writeFile(`${t}.vtt`,e,"utf-8")}function Kp(e){if(!navigator)return console.error("Not support navigator");let t=!1,u,r;return navigator.mediaDevices.getUserMedia({audio:!0}).then(i=>{let s=[],a=S(e)?te(e):e;if(!a)return console.error("audio element not found");u=new MediaRecorder(i),u.ondataavailable=o=>s.push(o.data),u.onstop=()=>{let o=new Blob(s,{type:"audio/ogg; codecs=opus"});s.length=0,r=window.URL.createObjectURL(o),a.src=r},t&&n()},()=>{console.error("\u6388\u6743\u5931\u8D25\uFF01")}),{toggle(){return u?n():t=!0},download(){G0(r)}};function n(){return u.state==="recording"?u.stop():u.start()}}function Xp(e,t){let{audio:u,fftSize:r=512}=e;P(u,n=>{let i=!1;n.onplay=function(){if(i)return;i=!0;let s=new AudioContext,a=s.createMediaElementSource(n),o=s.createAnalyser();o.fftSize=r;let c=new Uint8Array(o.frequencyBinCount);a.connect(o),o.connect(s.destination),Ct(()=>{o.getByteFrequencyData(c),t?.(c,s,o)})}})}function eg(e){let t=H("link",{rel:"stylesheet",href:e,type:"text/css"});return document.head.appendChild(t),()=>document.head.removeChild(t)}function tg(e){var t;try{let u=document.getElementsByTagName("script")[0],r=H("script",{type:"text/javascript",src:e,async:""});return(t=u.parentNode)==null||t.insertBefore(r,u),()=>{var n;return(n=u.parentNode)==null?void 0:n.removeChild(r)}}catch(u){throw new Error(u)}}function ug(e=window){return{x:e.scrollX,y:e.scrollY}}function rg(){try{let e,t=Ct(()=>{let u=document.documentElement.scrollTop||document.body.scrollTop;X(e)&&(e=u),(e<u&&e*8/7!==u||u===0)&&t(),window.scrollTo(0,e=7*u/8)},0)}catch(e){throw new Error(e)}}function ng(e,t){try{if(S(e)&&(e=te(e)),!e)return;e.scrollIntoView(Object.assign({behavior:"smooth"},t))}catch(u){throw new Error(u)}}function ig(e,t=40){let u=El(e,t);return _(window,"scroll",()=>u(Wl()))}function Wl(){let e=document.body.scrollHeight||document.documentElement.scrollHeight,t=document.documentElement.clientHeight||document.body.clientHeight,u=e-t;return`${(document.documentElement.scrollTop||document.body.scrollTop)/u*100}%`}var ru,O0={text:"",lang:"zh-CN",volume:1,rate:1,pitch:.5,voice:null};function sg(e){let t=R0(e),u=!0,r=()=>speechSynthesis.cancel();return Kc(r),{cancel:r,pause:()=>speechSynthesis.pause(),resume:()=>speechSynthesis.resume(),speak:n=>{if(S(n)){if(n===t&&(u=!u,!u))return r();t=n}else if(n){let{text:i}=n;if(i===t&&(u=!u,!u))return r();t=i}n=n||t,n&&(R0(n),speechSynthesis.speak(ru))},isSpeaking:()=>speechSynthesis.speaking}}function R0(e){return ru=Object.assign(ru||new SpeechSynthesisUtterance,S(e)?{...O0,text:e}:{...O0,...e}),ru.text}var q0={continuous:!0,interimResults:!1,lang:"zh-CN",maxAlternatives:1};function ag(e=q0,t){let u=!1;pe(e)&&(t=e,e=q0);let r=window.SpeechRecognition||window.webkitSpeechRecognition,n=new r;return Object.assign(n,e),n.onresult=i=>t?.(i.results),{toggle:()=>{u?n.stop():n.start(),u=!u},abort:()=>n.abort()}}function og(){return new Promise((e,t)=>{let u=window.indexedDB||window.webkitIndexedDB||window.mozIndexedDB||window.msIndexedDB;u||t(new Error("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301indexedDB"));let r=u.open("simon");r.onerror=function(){t(new Error("\u6570\u636E\u5E93\u6253\u5F00\u5931\u8D25"))};let n;r.onsuccess=function(i){var s;n=((s=i?.target)==null?void 0:s.result).transaction(["simonDb"],"readwrite").objectStore("simonDb");function a(c){return new Promise((l,g)=>{let b=n.get(c);b.onsuccess=function(){l(b.result)},b.onerror=function(y){g(new Error(y))}})}function o(c,l,g){let b=n.put(c);b.onsuccess=function(){l("\u6570\u636E\u66F4\u65B0\u6210\u529F")},b.onerror=function(){g(new Error("\u6570\u636E\u66F4\u65B0\u5931\u8D25"))}}e({async set(c,l={}){let g=await a(l.key||c);return new Promise((b,y)=>{if(l.key=c,g)return o(l,b,y);let I=n.add(l);I.onsuccess=function(){b("\u6DFB\u52A0\u6210\u529F")},I.onerror=function(){y(new Error("\u6DFB\u52A0\u5931\u8D25"))}})},get:a,remove(c){return new Promise((l,g)=>{let b=n.delete(c);b.onsuccess=function(){l("\u5220\u9664\u6210\u529F")},b.onerror=function(){g(new Error("\u5220\u9664\u5931\u8D25"))}})}})},r.onupgradeneeded=function(i){var s;let a=(s=i?.target)==null?void 0:s.result;a.objectStoreNames.contains("simonDb")||a.createObjectStore("simonDb",{keyPath:"key"})}})}var cg={get(e){try{let t=`${e}=`,u=document.cookie.split(";");for(let r=0;r<u.length;r++){let n=u[r].trim();if(n.indexOf(t)===0)return n.substring(t.length,n.length)}return""}catch(t){throw new Error(t)}},set(e,t,u){try{let r=new Date;r.setTime(r.getTime()+u*24*60*60*1e3);let n=`expires=${r.toUTCString()}`;document.cookie=`${e}=${t}; ${n}`}catch(r){throw new Error(r)}},delete(e){this.set(e,"",-1)}};function lg(){return{set(e,t){W(e)?Object.keys(e).forEach(u=>localStorage.setItem(u,e[u])):localStorage.setItem(e,t)},get(e){return localStorage.getItem(e)},delete(e){$(e)?e.forEach(t=>localStorage.removeItem(t)):localStorage.removeItem(e)},clear(){localStorage.clear()}}}function fg(){return{set(e,t){W(e)?Object.keys(e).forEach(u=>sessionStorage.setItem(u,e[u])):sessionStorage.setItem(e,t)},get(e){return sessionStorage.getItem(e)},delete(e){$(e)?e.forEach(t=>sessionStorage.removeItem(t)):sessionStorage.removeItem(e)},clear(){sessionStorage.clear()}}}function dg(e){let{data:t,filename:u=is(),title:r,filter:n}=e;if(!t)return;let i=typeof t!="object"?JSON.parse(t):t,s=`<table><tr>${r?r.map(a=>`<th align='center'>${a}</th>`).join(""):Object.keys(i[0]).map(a=>n&&n.includes(a)?"":`<th align='center'>${a}</th>`).join("")}</tr>`;for(let a=0;a<i.length;a++){let o="<tr>";for(let c in i[a])if(n){if(!n.includes(c)){let l=i[a][c]==null?"":i[a][c];if(S(l))o+=`<td>${l}</td>`;else{let{value:g,width:b,colspan:y=0,rowspan:I=0}=l;o+=`<td width=${b} colspan=${y} rowspan=${I} style="${P0(l)}">${g}</td>`}}}else{let l=i[a][c]==null?"":i[a][c];if(S(l))o+=`<td align='center'>${l}</td>`;else{let{value:g,width:b,colspan:y=0,rowspan:I=0}=l;o+=`<td align='center' width=${b} colspan=${y} rowspan=${I} style="${P0(l)}">${g}</td>`}}s+=`${o}</tr>`}s+="</table>",H("a",{href:`data:application/vnd.ms-excel;charset=utf-8,${encodeURIComponent(Ql(s))}`,style:"visibility:hidden",download:`${u}.xls`}).click()}function P0(e){let t="",{style:u="",background:r,color:n}=e;return r&&(t+=`background:${r};`),n&&(t+=`color:${n};`),t+=u}function Ql(e){return`<html xmlns:o='urn:schemas-microsoft-com:office:office' xmlns:x='urn:schemas-microsoft-com:office:excel' xmlns='http://www.w3.org/TR/REC-html40'><meta http-equiv="content-type" content="application/vnd.ms-excel; charset=UTF-8">
|
|
43
|
-
<meta http-equiv="content-type" content="application/vnd.ms-excel';charset=UTF-8"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body>${e}</body></html>`}function hg(e,t=0,u={}){W(t)&&(u=t,t=0);let{id:r="id",pid:n="pid",children:i="children"}=u;return s(t)[0];function s(a){return e.filter(o=>o[n]===a).map(o=>({...o,[i]:s(o[r])}))}}function pg(e){var t,u;let r=e.split(","),n=(u=(t=r[0])==null?void 0:t.match(/:(.*?);/))==null?void 0:u[1],i=atob(r[1]),s=i.length,a=new Uint8Array(s);for(;s--;)a[s]=i.charCodeAt(s);return new Blob([a],{type:n})}function gg(e,t){var u,r;let n=e.split(","),i=(r=(u=n[0])==null?void 0:u.match(/:(.*?);/))==null?void 0:r[1],s=atob(n[1]),a=s.length,o=new Uint8Array(a);for(;a--;)o[a]=s.charCodeAt(a);return new File([o],t,{type:i})}function bg(e,t){t=t||0;let u=e.length-t,r=new Array(u);for(;u--;)r[u]=e[u+t];return r}function mg(e,t){return e.reduce((u,r)=>W(r)?Object.keys(r).reduce((n,i)=>(t&&!t.includes(i)||(n[i]||(n[i]=[]),n[i].push(r[i])),n),u):u,{})}function xg(e={},t="children"){let u=[];return u.push({...e}),e[t].length&&gs(e[t],u),u.filter(r=>delete r[t])}function gs(e,t=[]){return e.reduce((u,r)=>(u.push({...r}),r.children.length?gs(r.children,u):u),t)}function Zl(e){return new Promise((t,u)=>{let r=new FileReader;r.onload=function(){let n=new Uint8Array(r.result);t(n)},r.onerror=u,r.readAsArrayBuffer(e)})}async function yg(e,t=e.type){let u=await Zl(e);return new Blob([u],{type:t})}function wg(e){return window.URL.createObjectURL(e)}function Eg(e){let t=/rgb\(([\w\s,]+)\)/,u=e.match(t);if(!u)return;let[r,n]=u,[i,s,a]=z0(n,"all").split(",");return`#${((1<<24)+(+i<<16)+(+s<<8)+ +a).toString(16).slice(1)}`}function Ig(e,t){let u=7-e.length;if(u>0&&(e=e+e.slice(-1).repeat(u)),u<0)throw new Error("hex length > 7");let r=`${parseInt(`0x${e.slice(1,3)}`)},${parseInt(`0x${e.slice(3,5)}`)},${parseInt(`0x${e.slice(5,7)}`)}`;return t?`rgba(${r},${t})`:`rgb(${r})`}async function vg(e){let t=await Ar.default.readFile(Tr.default.resolve(bs.default.cwd(),e),"utf-8");return{name:"vite-plugin-copy-html",writeBundle(u,r){let n=`${u.dir}/index.html`,i=[],s=[];for(let a in r)a.endsWith(".css")?i.push(a):a.endsWith(".js")&&s.push(a);i.length&&(t=t.replace(/<\/head>/,()=>`</head>
|
|
44
|
-
${i.map(a=>`<link rel="stylesheet" href="/${a}">`)}`)),s.length&&(t=t.replace(/<\/body>/,()=>` ${s.map(a=>`<script src="/${a}" type="module"></script>`)}
|
|
45
|
-
</body>`)),Ar.default.writeFile(Tr.default.resolve(n),t,"utf-8")}}}function Ag(e){return{name:"vite-plugin-export",transform(t,u){if(u.endsWith(e))return{code:`export default ${JSON.stringify(t)}`,map:null}}}}var Tg=(e={})=>su({name:"tsup",target:"node14",minify:!0,dts:{resolve:!0,entry:"./src/index.ts"}},e);function Cg(e){return e*e*((1.70158+1)*e-1.70158)}function Sg(e){let t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)}function Mg(e){return--e*e*((1.70158+1)*e+1.70158)+1}function Cr(e){let t=.36363636363636365,u=8/11,r=9/10,n=4356/361,i=35442/1805,s=16061/1805,a=e*e;return e<t?7.5625*a:e<u?9.075*a-9.9*e+3.4:e<r?n*a-i*e+s:10.8*e*e-20.52*e+10.72}function _g(e){return 1-Cr(1-e)}function Lg(e){return e<.5?.5*(1-Cr(1-e*2)):.5*Cr(e*2-1)+.5}function Ng(e){return 1-Math.sqrt(1-e*e)}function Dg(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}function kg(e){return Math.sqrt(1- --e*e)}function Bg(e){return e*e*e}function Og(e){return e<.5?4*e*e*e:.5*(2*e-2)**3+1}function Rg(e){let t=e-1;return t*t*t+1}function qg(e){return Math.sin(13*e*Math.PI/2)*2**(10*(e-1))}function Pg(e){return e<.5?.5*Math.sin(13*Math.PI/2*2*e)*2**(10*(2*e-1)):.5*Math.sin(-13*Math.PI/2*(2*e-1+1))*2**(-10*(2*e-1))+1}function Fg(e){return Math.sin(-13*(e+1)*Math.PI/2)*2**(-10*e)+1}function jg(e){return e===0?e:2**(10*(e-1))}function $g(e){return e===0||e===1?e:e<.5?.5*2**(20*e-10):-.5*2**(10-e*20)+1}function Ug(e){return e===1?e:1-2**(-10*e)}function zg(e){return e*e}function Hg(e){return e/=.5,e<1?.5*e*e:(e--,-.5*(e*(e-2)-1))}function Vg(e){return-e*(e-2)}function Gg(e){return e**4}function Yg(e){return e<.5?8*e**4:-8*(e-1)**4+1}function Wg(e){return(e-1)**3*(1-e)+1}function Qg(e){return e*e*e*e*e}function Zg(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)}function Jg(e){return--e*e*e*e*e+1}function Kg(e){let t=Math.cos(e*Math.PI*.5);return Math.abs(t)<1e-14?1:1-t}function Xg(e){return-.5*(Math.cos(Math.PI*e)-1)}function eb(e){return Math.sin(e*Math.PI/2)}function tb(e,t,u,r=()=>{}){let n=t-e,i=Date.now(),s=e;r(s);let a=Ct(()=>{let o=Date.now()-i,c=o/u,l=Jl(c),g=Math.round(n*l);if(o>=u)return s=t,r(s),a();s=e+g,r(s)},50)}function Jl(e){let t=[{x:0,y:0},{x:.4,y:.8},{x:.6,y:1},{x:1,y:1}],u=0,r=t.length-1;for(let n=0;n<=r;n++){let i=Kl(r,n),s=e**n*(1-e)**(r-n);u+=i*t[n].y*s}return u}function Kl(e,t){let u=1;for(let r=1;r<=t;r++)u*=(e-r+1)/r;return u}function ub(e){let t=matchMedia("(prefers-color-scheme: dark)");return e(t.matches?"dark":"light"),_(t,"change",()=>e(t.matches?"dark":"light"))}var Ls=N(require("fast-glob")),q=N(require("@simon_he/colorize"));var k="\x1B[",St="\x1B]",Ze="\x07",ou=";",ms=process.env.TERM_PROGRAM==="Apple_Terminal",M={};M.cursorTo=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");return typeof t!="number"?k+(e+1)+"G":k+(t+1)+";"+(e+1)+"H"};M.cursorMove=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");let u="";return e<0?u+=k+-e+"D":e>0&&(u+=k+e+"C"),t<0?u+=k+-t+"A":t>0&&(u+=k+t+"B"),u};M.cursorUp=(e=1)=>k+e+"A";M.cursorDown=(e=1)=>k+e+"B";M.cursorForward=(e=1)=>k+e+"C";M.cursorBackward=(e=1)=>k+e+"D";M.cursorLeft=k+"G";M.cursorSavePosition=ms?"\x1B7":k+"s";M.cursorRestorePosition=ms?"\x1B8":k+"u";M.cursorGetPosition=k+"6n";M.cursorNextLine=k+"E";M.cursorPrevLine=k+"F";M.cursorHide=k+"?25l";M.cursorShow=k+"?25h";M.eraseLines=e=>{let t="";for(let u=0;u<e;u++)t+=M.eraseLine+(u<e-1?M.cursorUp():"");return e&&(t+=M.cursorLeft),t};M.eraseEndLine=k+"K";M.eraseStartLine=k+"1K";M.eraseLine=k+"2K";M.eraseDown=k+"J";M.eraseUp=k+"1J";M.eraseScreen=k+"2J";M.scrollUp=k+"S";M.scrollDown=k+"T";M.clearScreen="\x1Bc";M.clearTerminal=process.platform==="win32"?`${M.eraseScreen}${k}0f`:`${M.eraseScreen}${k}3J${k}H`;M.beep=Ze;M.link=(e,t)=>[St,"8",ou,ou,t,Ze,e,St,"8",ou,ou,Ze].join("");M.image=(e,t={})=>{let u=`${St}1337;File=inline=1`;return t.width&&(u+=`;width=${t.width}`),t.height&&(u+=`;height=${t.height}`),t.preserveAspectRatio===!1&&(u+=";preserveAspectRatio=0"),u+":"+e.toString("base64")+Ze};M.iTerm={setCwd:(e=process.cwd())=>`${St}50;CurrentDir=${e}${Ze}`,annotation:(e,t={})=>{let u=`${St}1337;`,r=typeof t.x<"u",n=typeof t.y<"u";if((r||n)&&!(r&&n&&typeof t.length<"u"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return e=e.replace(/\|/g,""),u+=t.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",t.length>0?u+=(r?[e,t.length,t.x,t.y]:[t.length,e]).join("|"):u+=e,u+Ze}};var xs=M;var cu=N(Ts(),1);function fe(e,t,{target:u="stdout",...r}={}){return cu.default[u]?xs.link(e,t):r.fallback===!1?e:typeof r.fallback=="function"?r.fallback(e,t):`${e} (\u200B${t}\u200B)`}fe.isSupported=cu.default.stdout;fe.stderr=(e,t,u={})=>fe(e,t,{target:"stderr",...u});fe.stderr.isSupported=cu.default.stderr;var Br="1.0.50";var Mt=N(require("@simon_he/colorize"));var Or=console.log;function Cs(e){let{status:t}=F("gum -v","pipe");if(t!==0){Or((0,Mt.default)({color:"blue",text:e?"\u6B63\u5728\u4E3A\u60A8\u5B89\u88C5gum...":"install gum..."}));let{status:u}=F("brew install gum");if(u!==0){let{status:r}=F(`sudo mkdir -p /etc/apt/keyrings
|
|
1
|
+
"use strict";var Oe=Object.create;var re=Object.defineProperty;var Ce=Object.getOwnPropertyDescriptor;var Ie=Object.getOwnPropertyNames;var ve=Object.getPrototypeOf,_e=Object.prototype.hasOwnProperty;var Y=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Se=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ie(t))!_e.call(e,n)&&n!==r&&re(e,n,{get:()=>t[n],enumerable:!(s=Ce(t,n))||s.enumerable});return e};var I=(e,t,r)=>(r=e!=null?Oe(ve(e)):{},Se(t||!e||!e.__esModule?re(r,"default",{value:e,enumerable:!0}):r,e));var D=Y((De,oe)=>{"use strict";oe.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",s=t.indexOf(r+e),n=t.indexOf("--");return s!==-1&&(n===-1||s<n)}});var ae=Y((We,ce)=>{"use strict";var Me=require("os"),ie=require("tty"),w=D(),{env:m}=process,O;w("no-color")||w("no-colors")||w("color=false")||w("color=never")?O=0:(w("color")||w("colors")||w("color=true")||w("color=always"))&&(O=1);"FORCE_COLOR"in m&&(m.FORCE_COLOR==="true"?O=1:m.FORCE_COLOR==="false"?O=0:O=m.FORCE_COLOR.length===0?1:Math.min(parseInt(m.FORCE_COLOR,10),3));function W(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function q(e,t){if(O===0)return 0;if(w("color=16m")||w("color=full")||w("color=truecolor"))return 3;if(w("color=256"))return 2;if(e&&!t&&O===void 0)return 0;let r=O||0;if(m.TERM==="dumb")return r;if(process.platform==="win32"){let s=Me.release().split(".");return Number(s[0])>=10&&Number(s[2])>=10586?Number(s[2])>=14931?3:2:1}if("CI"in m)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(s=>s in m)||m.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in m)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(m.TEAMCITY_VERSION)?1:0;if(m.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in m){let s=parseInt((m.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(m.TERM_PROGRAM){case"iTerm.app":return s>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(m.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(m.TERM)||"COLORTERM"in m?1:r}function Le(e){let t=q(e,e&&e.isTTY);return W(t)}ce.exports={supportsColor:Le,stdout:W(q(!0,ie.isatty(1))),stderr:W(q(!0,ie.isatty(2)))}});var pe=Y((qe,ue)=>{"use strict";var Pe=ae(),_=D();function le(e){if(/^\d{3,4}$/.test(e)){let r=/(\d{1,2})(\d{2})/.exec(e);return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let t=(e||"").split(".").map(r=>parseInt(r,10));return{major:t[0],minor:t[1],patch:t[2]}}function K(e){let{env:t}=process;if("FORCE_HYPERLINK"in t)return!(t.FORCE_HYPERLINK.length>0&&parseInt(t.FORCE_HYPERLINK,10)===0);if(_("no-hyperlink")||_("no-hyperlinks")||_("hyperlink=false")||_("hyperlink=never"))return!1;if(_("hyperlink=true")||_("hyperlink=always")||"NETLIFY"in t)return!0;if(!Pe.supportsColor(e)||e&&!e.isTTY||process.platform==="win32"||"CI"in t||"TEAMCITY_VERSION"in t)return!1;if("TERM_PROGRAM"in t){let r=le(t.TERM_PROGRAM_VERSION);switch(t.TERM_PROGRAM){case"iTerm.app":return r.major===3?r.minor>=1:r.major>3;case"WezTerm":return r.major>=20200620;case"vscode":return r.major>1||r.major===1&&r.minor>=72}}if("VTE_VERSION"in t){if(t.VTE_VERSION==="0.50.0")return!1;let r=le(t.VTE_VERSION);return r.major>0||r.minor>=50}return!1}ue.exports={supportsHyperlink:K,stdout:K(process.stdout),stderr:K(process.stderr)}});var M=I(require("fs/promises")),ye=require("fs"),X=I(require("path")),p=require("lazy-js-utils"),$e=I(require("fast-glob")),u=I(require("@simon_he/colorize"));var l="\x1B[",P="\x1B]",v="\x07",V=";",ne=process.env.TERM_PROGRAM==="Apple_Terminal",c={};c.cursorTo=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");return typeof t!="number"?l+(e+1)+"G":l+(t+1)+";"+(e+1)+"H"};c.cursorMove=(e,t)=>{if(typeof e!="number")throw new TypeError("The `x` argument is required");let r="";return e<0?r+=l+-e+"D":e>0&&(r+=l+e+"C"),t<0?r+=l+-t+"A":t>0&&(r+=l+t+"B"),r};c.cursorUp=(e=1)=>l+e+"A";c.cursorDown=(e=1)=>l+e+"B";c.cursorForward=(e=1)=>l+e+"C";c.cursorBackward=(e=1)=>l+e+"D";c.cursorLeft=l+"G";c.cursorSavePosition=ne?"\x1B7":l+"s";c.cursorRestorePosition=ne?"\x1B8":l+"u";c.cursorGetPosition=l+"6n";c.cursorNextLine=l+"E";c.cursorPrevLine=l+"F";c.cursorHide=l+"?25l";c.cursorShow=l+"?25h";c.eraseLines=e=>{let t="";for(let r=0;r<e;r++)t+=c.eraseLine+(r<e-1?c.cursorUp():"");return e&&(t+=c.cursorLeft),t};c.eraseEndLine=l+"K";c.eraseStartLine=l+"1K";c.eraseLine=l+"2K";c.eraseDown=l+"J";c.eraseUp=l+"1J";c.eraseScreen=l+"2J";c.scrollUp=l+"S";c.scrollDown=l+"T";c.clearScreen="\x1Bc";c.clearTerminal=process.platform==="win32"?`${c.eraseScreen}${l}0f`:`${c.eraseScreen}${l}3J${l}H`;c.beep=v;c.link=(e,t)=>[P,"8",V,V,t,v,e,P,"8",V,V,v].join("");c.image=(e,t={})=>{let r=`${P}1337;File=inline=1`;return t.width&&(r+=`;width=${t.width}`),t.height&&(r+=`;height=${t.height}`),t.preserveAspectRatio===!1&&(r+=";preserveAspectRatio=0"),r+":"+e.toString("base64")+v};c.iTerm={setCwd:(e=process.cwd())=>`${P}50;CurrentDir=${e}${v}`,annotation:(e,t={})=>{let r=`${P}1337;`,s=typeof t.x<"u",n=typeof t.y<"u";if((s||n)&&!(s&&n&&typeof t.length<"u"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return e=e.replace(/\|/g,""),r+=t.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",t.length>0?r+=(s?[e,t.length,t.x,t.y]:[t.length,e]).join("|"):r+=e,r+v}};var se=c;var B=I(pe(),1);function E(e,t,{target:r="stdout",...s}={}){return B.default[r]?se.link(e,t):s.fallback===!1?e:typeof s.fallback=="function"?s.fallback(e,t):`${e} (\u200B${t}\u200B)`}E.isSupported=B.default.stdout;E.stderr=(e,t,r={})=>E(e,t,{target:"stderr",...r});E.stderr.isSupported=B.default.stderr;var U="1.0.52";var A=I(require("@simon_he/colorize")),z=require("lazy-js-utils");var J=console.log;function me(e){let{status:t}=(0,z.jsShell)("gum -v","pipe");if(t!==0){J((0,A.default)({color:"blue",text:e?"\u6B63\u5728\u4E3A\u60A8\u5B89\u88C5gum...":"install gum..."}));let{status:r}=(0,z.jsShell)("brew install gum");if(r!==0){let{status:s}=(0,z.jsShell)(`sudo mkdir -p /etc/apt/keyrings
|
|
46
2
|
curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg
|
|
47
3
|
echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
|
|
48
|
-
sudo apt update && sudo apt install gum`);if(
|
|
49
|
-
|
|
50
|
-
|
|
4
|
+
sudo apt update && sudo apt install gum`);if(s!==0){let n=E(e?"gum\u5B98\u7F51\u94FE\u63A5":"the official website of gum","https://github.com/charmbracelet/gum#installation");return J((0,A.default)({color:"red",text:`${e?"gum\u5B89\u88C5\u5931\u8D25,\u4F60\u53EF\u4EE5\u81EA\u884C\u4ECE\u4EE5\u4E0B\u94FE\u63A5\u5B89\u88C5":"gum install error, you can install it yourself through"} ${(0,A.default)({color:"yellow",text:n,bold:!0})}`}))}}J((0,A.default)({color:"green",text:e?"gum\u5B89\u88C5\u6210\u529F \u{1F389}":"gum install successfully \u{1F389}"}))}}var fe=I(require("fs/promises"));function de(e){return new Promise(t=>{fe.default.readFile(e,"utf-8").then(r=>{let s=[];for(let n of r.matchAll(/.PHONY:\s*([\w0-9\-]+)/g)){let a;if(!n||!(a=n[1]))continue;let h=new RegExp(`^${a}:[
|
|
5
|
+
\\s]*([^
|
|
6
|
+
\\\\;]+)`,"sm"),x=r.match(h);if(!x)continue;let $=`${x[1].trim()}...`;s.push({name:a,detail:$})}t(s)}).catch(t)})}var Ne=require("yamljs"),S=[],k=null,g=console.log,ge="__ccommand__split",f=process.env.PI_Lang==="zh",G=130,Fe=f?"\u5DF2\u53D6\u6D88...":"Cancelled...",He=f?"\u5F53\u524D\u76EE\u5F55\u5E76\u672A\u627E\u5230package.json\u6587\u4EF6":"The current directory and not found package.json file";async function we(e){me(f);let t=f?"\u5F53\u524D\u76EE\u5F55\u4E0D\u5B58\u5728\u4EFB\u4F55\u5B50\u76EE\u5F55":"The current directory does not have any subdirectories",r=f?"\u8FD0\u884C\u6210\u529F":"run successfully",s=f?"\u8FD0\u884C\u5931\u8D25":"run error",n=e?e.replace(/\s+/," ").split(" "):process.argv.slice(2);if(n[0]==="-v"||n[0]==="--version")return g((0,u.default)({text:f?`ccommand \u5F53\u524D\u7248\u672C: ${U}`:`ccommand Version: ${U}`,color:"green"}));if(n[0]==="-h"||n[0]==="--help"){let i=E(f?"\u6253\u5F00\u4E00\u4E2A\u65B0\u7684\u95EE\u9898":"open an issue","https://github.com/Simon-He95/ccommand/issues"),o=E(f?"\u2728\u5E2E\u52A9\u70B9\u4E00\u4E2A\u661F\u661F":"\u2728star it","https://github.com/Simon-He95/ccommand");return g((0,u.default)({color:"white",text:`
|
|
7
|
+
${(0,u.default)({bold:!0,text:"Common Commands:",bgColor:"blue"})}
|
|
8
|
+
${(0,u.default)({text:`- ccommand -v \u67E5\u770B\u5F53\u524D\u7248\u672C
|
|
51
9
|
- ccommand -help \u67E5\u770B\u5E2E\u52A9
|
|
52
10
|
- ccommand \u6267\u884C\u5F53\u524Dpackage.json
|
|
53
11
|
- ccommand find \u67E5\u627E\u5F53\u524Dworkspace\u7684\u6240\u6709\u76EE\u5F55
|
|
54
12
|
`,color:"cyan"})}
|
|
55
|
-
If you encounter any problems, you can ${(0,
|
|
56
|
-
If you like it, please ${(0,
|
|
57
|
-
${
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
`);
|
|
13
|
+
If you encounter any problems, you can ${(0,u.default)({color:"magenta",text:i})}.
|
|
14
|
+
If you like it, please ${(0,u.default)({text:o,bold:!0,color:"cyan"})} `}))}let a;try{a=await(0,p.getPkgTool)()}catch{if(await M.default.readFile("./Makefile","utf-8")){console.log("makefile");let y=await de("./Makefile");console.log(y.map(C=>C.name).join("\\n"));let{result:j,status:b}=(0,p.jsShell)(`echo "${y.map(C=>C.name).join(`
|
|
15
|
+
`)}" | gum filter --placeholder=" \u{1F914}\u8BF7\u9009\u62E9\u4E00\u4E2A\u8981\u6267\u884C\u7684\u6307\u4EE4"`,"pipe");if(b===G)return F();(0,p.jsShell)(`make ${j}`),process.exit()}else return g((0,u.default)({color:"red",text:He}))}let[h,x,$]=Ve(n),d=h,T;if(n[0]==="find"){if(x)await N(a),d=S.filter(i=>i.includes(x))[0];else if(a==="yarn"){if(await N(a),!S.length)return g((0,u.default)({color:"yellow",text:t}));let{result:i,status:o}=(0,p.jsShell)(`echo ${S.join(",")} | sed "s/,/\\n/g" | gum filter --placeholder=" \u{1F914}${f?"\u8BF7\u9009\u62E9\u4E00\u4E2A\u8981\u6267\u884C\u7684\u76EE\u5F55":"Please select a directory to execute"}"`,"pipe");if(d=i,o===G)return F()}else if(a==="pnpm"){if(await N(a),!S.length)return g((0,u.default)({color:"yellow",text:t}));let{result:i,status:o}=(0,p.jsShell)(`echo ${S.join(",")} | sed "s/,/\\n/g" | gum filter --placeholder=" \u{1F914}${f?"\u8BF7\u9009\u62E9\u4E00\u4E2A\u8981\u6267\u884C\u7684\u76EE\u5F55":"Please select a directory to execute"}"`,"pipe");if(o===G)return F();d=i.trim()}else return g((0,u.default)({color:"red",text:f?"find\u6307\u4EE4\u53EA\u80FD\u652F\u6301\u5728yarn\u6216pnpm\u7684monorepo\u6A21\u5F0F\u4E0B\u4F7F\u7528":"find command only support yarn or pnpm"}));T=await Z()}else{if(T=await Z(),h&&k&&!k[h]||!k)try{let i=(await(0,p.getPkg)("./package.json")||{})?.scripts;if(i&&i[n[0]]){g((0,u.default)({text:`${f?"ccommand\u6B63\u5728\u6267\u884C":"ccommand is executing"} ${(0,u.default)({color:"cyan",text:`'${n[0]}'`})} \u{1F914} `,color:"yellow"})),ee(n[0],n.slice(1).join(" ")),setTimeout(()=>{(0,p.jsShell)("zsh")},10);return}else if(i&&h){let o=ze(i,n[0]),y=n.slice(1).join(" ");ee(o,y),setTimeout(()=>{(0,p.jsShell)("zsh")},10);return}}catch{}k&&!k[n[0]]&&(g((0,u.default)({color:"red",text:`"${n[0]}" ${f?"\u5728\u5DE5\u4F5C\u533A\u3001\u5F53\u524D\u76EE\u5F55\u4E2D\u627E\u4E0D\u5230\u4EFB\u4F55\u53EF\u6267\u884C\u7684\u811A\u672C,\u8BF7\u68C0\u67E5":"is not found in workspace, current directory or current scripts, please check"}`})),process.exit())}if(!T)return g((0,u.default)({color:"red",text:f?"\u627E\u4E0D\u5230\u4EFB\u4F55\u53EF\u6267\u884C\u811A\u672C":"No scripts found"}));let L=[],R="";if(!x||n[0]==="find"&&(!n[2]||n[2].startsWith("--"))){let i=Object.keys(T).reduce((j,b)=>{let C=T[b];return L.push(b),j+=`"${b}: ${C.replace(/\"/g,"'")}"${ge}`,j},""),{result:o,status:y}=(0,p.jsShell)(`echo ${i} | sed "s/${ge}/\\n/g" | gum filter --placeholder=" \u{1F914}\u8BF7\u9009\u62E9\u4E00\u4E2A\u8981\u6267\u884C\u7684\u6307\u4EE4"`,"pipe");if(y===G)return F();R=o.substring(0,o.indexOf(": "))}if(!x&&!R)return F();let[ke,xe]=await be(),{status:Re}=await(0,p.jsShell)(ke);if(Re===0)return setTimeout(()=>{(0,p.jsShell)("zsh")},10),g((0,u.default)({color:"green",text:`
|
|
16
|
+
${xe} \u{1F389}`}));g((0,u.default)({color:"red",text:`
|
|
17
|
+
command '${R}' ${s} \u274C`}));function Q(i){return L.find(o=>o===i)??L.find(o=>i.startsWith(o))}async function be(){let i="",o="",y=a!=="yarn";a==="npm"?(o=$?` -- ${$}`:"",i=d?` --prefix ${d} `:" "):a==="pnpm"?(o=$?` ${$}`:"",i=d?` --filter ${d} `:" "):a==="yarn"?(o=$?` ${$}`:"",i=d?` workspace ${d} `:" "):a==="bun"&&(o=$?` ${$}`:"",i="");let j="",b="";if(o&&!o.startsWith(" --")){let te=o.split(" ").filter(Boolean);j=te[0],o=te.slice(1).join(" ")}let C=`${a}${y?" run":" "}${i} ${j||(R?Q(R)||R:x)} ${Ee(o)?`-- ${o}`:o}`;R=`${j||(R?Q(R):x)}`,n[0]==="find"?b=`pfind ${d} ${R} ${o}`.replace(/\s+/g," ").trim():b=`prun ${R} ${o}`.replace(/\s+/g," ").trim(),await he(b);let H=b.split(" "),Te=H.slice(-1)[0];H[H.length-1]=`'${Te}'`;let je=H.join(" ");return[C,je]}async function Z(){try{if(!d||a==="bun"||a==="npm")return(await(0,p.getPkg)("./package.json"))?.scripts;if(a==="pnpm")return(await N(a))[d]||(await(0,p.getPkg)(`${d}/package.json`))?.scripts;if(a==="yarn")return(await N(a))[d]||(await(0,p.getPkg)(`${d}/package.json`))?.scripts}catch{}}function Ee(i){return n[0]==="find",n[1]&&i}async function ee(i,o){let y;switch(i&&n[0]!==i&&g((0,u.default)({text:`\u{1F914} ${(0,u.default)({text:`'${n[0]}'`,color:"cyan"})} ${f?"\u81EA\u52A8\u7684\u4E3A\u60A8\u5339\u914D\u6210":"automatically match for you to"} ${(0,u.default)({text:`'${i}${o?` ${o}`:""}'`,color:"cyan"})} `,color:"yellow"})),a){case"npm":{y=(0,p.jsShell)(`npm run ${i}${o?` -- ${o}`:""}`).status;break}case"pnpm":{y=(0,p.jsShell)(`pnpm run ${i}${o?` ${o}`:""}`).status;break}case"yarn":{y=(0,p.jsShell)(`yarn ${i}${o?` ${o}`:""}`).status;break}case"bun":{y=(0,p.jsShell)(`bun run ${i} ${o}`).status;break}}return y===0?(await he(`prun ${i}${o?` ${o}`:""}`),g((0,u.default)({color:"green",text:`
|
|
18
|
+
prun '${i}${o?` ${o}`:""}' ${r} \u{1F389}`}))):g((0,u.default)({color:"red",text:`
|
|
19
|
+
command ${(0,u.default)({bold:!0,color:"cyan",text:`'${i||n[0]}${o?` ${o}`:""}'`})} ${s} \u274C`}))}}async function N(e){if(k)return k;let t="";try{t=e==="pnpm"?await M.default.readFile(X.default.resolve(process.cwd(),"pnpm-workspace.yaml"),"utf-8"):await M.default.readFile(X.default.resolve(process.cwd(),"package.json"),"utf-8")}catch{}let r;if(e==="pnpm")r=Ne.parse(t)?.packages||[];else{let s=JSON.parse(t)?.workspaces;(0,p.isPlainObject)(s)?r=s?.packages:r=s||[]}return k=await Be(r)||{},S=Object.keys(k).filter(s=>k[s]&&Object.keys(k[s]).length),k}function Ve(e){let t=e[0];return t?t.startsWith("--")?["","",e.join(" ")]:e[1]&&e[1].startsWith("--")?[t,"",e.slice(1).join(" ")]:[t,e[1],e.slice(2).join(" ")]:["","",""]}async function Be(e){if(!e.length)return;let t=await(0,$e.default)(e.map(r=>`${r}/package.json`),{dot:!0,ignore:["**/node_modules/**"]});return Promise.all(t.map(async r=>{let s=await(0,p.getPkg)(r);if(!s)return;let{name:n,scripts:a}=s;return{name:n,scripts:a}})).then(r=>r.reduce((s,n)=>{let{name:a,scripts:h}=n;return!a||!h||(s[a]=h),s},{}))}function ze(e,t){let r=Object.keys(e),s=r.find(n=>n.startsWith(t));if(s)return s;try{let n=new RegExp(t.split("").join("[_-\\w$.:]*"));return r.find(a=>n.test(a))}catch(n){g((0,u.default)({text:`${f?"\u6B63\u5219\u9519\u8BEF":"RegExp error"}: ${n}`,color:"red"})),process.exit(1)}}function F(){return g((0,u.default)({color:"yellow",text:Fe})),process.exit()}async function he(e){g((0,u.default)({text:`${f?"\u5FEB\u6377\u6307\u4EE4":"shortcut command"}: ${e}`,color:"blue",bold:!0}));let t=`${process.env.HOME}/.zsh_history`;try{if(!(0,ye.existsSync)(t))return;let r=await M.default.readFile(t,"utf8"),n=new Date().getTime()/1e3,a=`${r}: ${n.toFixed(0)}:0;${e}
|
|
20
|
+
`,h=[];a.split(`
|
|
21
|
+
`).forEach($=>{let d=$.split(";").slice(1).join(";"),T=h.findIndex(L=>L.split(";").slice(1).join(";")===d);T!==-1&&h.splice(T,1),h.push($)});let x=h.join(`
|
|
22
|
+
`);await M.default.writeFile(t,x)}catch{}}we();
|