ai-assistant-pro 0.0.5 → 0.0.6
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/components/demo/src/main.vue +5 -4
- package/dist/ai-assistant-pro.common.js +6 -8
- package/dist/ai-assistant-pro.common.js.map +1 -1
- package/dist/ai-assistant-pro.css +1 -1
- package/dist/ai-assistant-pro.umd.js +6 -8
- package/dist/ai-assistant-pro.umd.js.map +1 -1
- package/dist/ai-assistant-pro.umd.min.js +2 -2
- package/dist/ai-assistant-pro.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -15,7 +15,7 @@ return e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();functio
|
|
|
15
15
|
|
|
16
16
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
17
17
|
*/
|
|
18
|
-
return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,A,w,b,S,_,B,E,x,C,R=this._hash.words,k=u.words,O=h.words,T=s.words,I=a.words,D=c.words,U=l.words;S=i=R[0],_=f=R[1],B=A=R[2],E=w=R[3],x=b=R[4];for(n=0;n<80;n+=1)C=i+e[t+T[n]]|0,C+=n<16?d(f,A,w)+k[0]:n<32?p(f,A,w)+k[1]:n<48?g(f,A,w)+k[2]:n<64?m(f,A,w)+k[3]:y(f,A,w)+k[4],C|=0,C=v(C,D[n]),C=C+b|0,i=b,b=w,w=v(A,10),A=f,f=C,C=S+e[t+I[n]]|0,C+=n<16?y(_,B,E)+O[0]:n<32?m(_,B,E)+O[1]:n<48?g(_,B,E)+O[2]:n<64?p(_,B,E)+O[3]:d(_,B,E)+O[4],C|=0,C=v(C,U[n]),C=C+x|0,S=x,x=E,E=v(B,10),B=_,_=C;C=R[1]+A+E|0,R[1]=R[2]+w+x|0,R[2]=R[3]+b+S|0,R[3]=R[4]+i+_|0,R[4]=R[0]+f+B|0,R[0]=C},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function d(e,t,n){return e^t^n}function p(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function m(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function v(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(f),t.HmacRIPEMD160=o._createHmacHelper(f)}(Math),e.RIPEMD160}))},471:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,s=[],a=i.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var u=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=u<<1|u>>>31}var h=(r<<5|r>>>27)+c+s[l];h+=l<20?1518500249+(o&i|~o&a):l<40?1859775393+(o^i^a):l<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,c=a,a=i,i=o<<30|o>>>2,o=r,r=h}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=o._createHelper(a),t.HmacSHA1=o._createHmacHelper(a)}(),e.SHA1}))},308:function(e,t,n){(function(t,r){e.exports=r(n(21),n(9))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.algo,i=o.SHA256,s=o.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=i._createHelper(s),t.HmacSHA224=i._createHmacHelper(s)}(),e.SHA224}))},9:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[],c=[];(function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}var r=2,o=0;while(o<64)e(r)&&(o<8&&(a[o]=n(t.pow(r,.5))),c[o]=n(t.pow(r,1/3)),o++),r++})();var l=[],u=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],u=n[5],h=n[6],f=n[7],d=0;d<64;d++){if(d<16)l[d]=0|e[t+d];else{var p=l[d-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=l[d-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;l[d]=g+l[d-7]+y+l[d-16]}var v=a&u^~a&h,A=r&o^r&i^o&i,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),S=f+b+v+c[d]+l[d],_=w+A;f=h,h=u,u=a,a=s+S|0,s=i,i=o,o=r,r=S+_|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+h|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(u),n.HmacSHA256=i._createHmacHelper(u)}(Math),e.SHA256}))},953:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.x64,a=s.Word,c=n.algo,l=[],u=[],h=[];(function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=t%5,o=(2*e+3*t)%5;e=r,t=o}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,s=0;s<24;s++){for(var c=0,f=0,d=0;d<7;d++){if(1&i){var p=(1<<d)-1;p<32?f^=1<<p:c^=1<<p-32}128&i?i=i<<1^113:i<<=1}h[s]=a.create(c,f)}})();var f=[];(function(){for(var e=0;e<25;e++)f[e]=a.create()})();var d=c.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,o=0;o<r;o++){var i=e[t+2*o],s=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);var a=n[o];a.high^=s,a.low^=i}for(var c=0;c<24;c++){for(var d=0;d<5;d++){for(var p=0,g=0,m=0;m<5;m++){a=n[d+5*m];p^=a.high,g^=a.low}var y=f[d];y.high=p,y.low=g}for(d=0;d<5;d++){var v=f[(d+4)%5],A=f[(d+1)%5],w=A.high,b=A.low;for(p=v.high^(w<<1|b>>>31),g=v.low^(b<<1|w>>>31),m=0;m<5;m++){a=n[d+5*m];a.high^=p,a.low^=g}}for(var S=1;S<25;S++){a=n[S];var _=a.high,B=a.low,E=l[S];E<32?(p=_<<E|B>>>32-E,g=B<<E|_>>>32-E):(p=B<<E-32|_>>>64-E,g=_<<E-32|B>>>64-E);var x=f[u[S]];x.high=p,x.low=g}var C=f[0],R=n[0];C.high=R.high,C.low=R.low;for(d=0;d<5;d++)for(m=0;m<5;m++){S=d+5*m,a=n[S];var k=f[S],O=f[(d+1)%5+5*m],T=f[(d+2)%5+5*m];a.high=k.high^~O.high&T.high,a.low=k.low^~O.low&T.low}a=n[0];var I=h[c];a.high^=I.high,a.low^=I.low}},_doFinalize:function(){var e=this._data,n=e.words,r=(this._nDataBytes,8*e.sigBytes),i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,l=[],u=0;u<c;u++){var h=s[u],f=h.high,d=h.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),l.push(d),l.push(f)}return new o.init(l,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=i._createHelper(d),n.HmacSHA3=i._createHmacHelper(d)}(Math),e.SHA3}))},557:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240),n(380))})(0,(function(e){return function(){var t=e,n=t.x64,r=n.Word,o=n.WordArray,i=t.algo,s=i.SHA512,a=i.SHA384=s.extend({_doReset:function(){this._hash=new o.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a)}(),e.SHA384}))},380:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Hasher,o=t.x64,i=o.Word,s=o.WordArray,a=t.algo;function c(){return i.create.apply(i,arguments)}var l=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var e=0;e<80;e++)u[e]=c()})();var h=a.SHA512=r.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],c=n[5],h=n[6],f=n[7],d=r.high,p=r.low,g=o.high,m=o.low,y=i.high,v=i.low,A=s.high,w=s.low,b=a.high,S=a.low,_=c.high,B=c.low,E=h.high,x=h.low,C=f.high,R=f.low,k=d,O=p,T=g,I=m,D=y,U=v,j=A,N=w,P=b,z=S,M=_,F=B,L=E,H=x,J=C,W=R,V=0;V<80;V++){var G,Y,Z=u[V];if(V<16)Y=Z.high=0|e[t+2*V],G=Z.low=0|e[t+2*V+1];else{var K=u[V-15],X=K.high,q=K.low,Q=(X>>>1|q<<31)^(X>>>8|q<<24)^X>>>7,$=(q>>>1|X<<31)^(q>>>8|X<<24)^(q>>>7|X<<25),ee=u[V-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=u[V-7],se=ie.high,ae=ie.low,ce=u[V-16],le=ce.high,ue=ce.low;G=$+ae,Y=Q+se+(G>>>0<$>>>0?1:0),G+=oe,Y=Y+re+(G>>>0<oe>>>0?1:0),G+=ue,Y=Y+le+(G>>>0<ue>>>0?1:0),Z.high=Y,Z.low=G}var he=P&M^~P&L,fe=z&F^~z&H,de=k&T^k&D^T&D,pe=O&I^O&U^I&U,ge=(k>>>28|O<<4)^(k<<30|O>>>2)^(k<<25|O>>>7),me=(O>>>28|k<<4)^(O<<30|k>>>2)^(O<<25|k>>>7),ye=(P>>>14|z<<18)^(P>>>18|z<<14)^(P<<23|z>>>9),ve=(z>>>14|P<<18)^(z>>>18|P<<14)^(z<<23|P>>>9),Ae=l[V],we=Ae.high,be=Ae.low,Se=W+ve,_e=J+ye+(Se>>>0<W>>>0?1:0),Be=(Se=Se+fe,_e=_e+he+(Se>>>0<fe>>>0?1:0),Se=Se+be,_e=_e+we+(Se>>>0<be>>>0?1:0),Se=Se+G,_e=_e+Y+(Se>>>0<G>>>0?1:0),me+pe),Ee=ge+de+(Be>>>0<me>>>0?1:0);J=L,W=H,L=M,H=F,M=P,F=z,z=N+Se|0,P=j+_e+(z>>>0<N>>>0?1:0)|0,j=D,N=U,D=T,U=I,T=k,I=O,O=Se+Be|0,k=_e+Ee+(O>>>0<Se>>>0?1:0)|0}p=r.low=p+O,r.high=d+k+(p>>>0<O>>>0?1:0),m=o.low=m+I,o.high=g+T+(m>>>0<I>>>0?1:0),v=i.low=v+U,i.high=y+D+(v>>>0<U>>>0?1:0),w=s.low=w+N,s.high=A+j+(w>>>0<N>>>0?1:0),S=a.low=S+z,a.high=b+P+(S>>>0<z>>>0?1:0),B=c.low=B+F,c.high=_+M+(B>>>0<F>>>0?1:0),x=h.low=x+H,h.high=E+L+(x>>>0<H>>>0?1:0),R=f.low=R+W,f.high=C+J+(R>>>0<W>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process();var o=this._hash.toX32();return o},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512}))},628:function(e,t,n){(function(t,r){e.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.BlockCipher,i=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=i.DES=o.extend({_doReset:function(){for(var e=this._key,t=e.words,n=[],r=0;r<56;r++){var o=s[r]-1;n[r]=t[o>>>5]>>>31-o%32&1}for(var i=this._subKeys=[],l=0;l<16;l++){var u=i[l]=[],h=c[l];for(r=0;r<24;r++)u[r/6|0]|=n[(a[r]-1+h)%28]<<31-r%6,u[4+(r/6|0)]|=n[28+(a[r+24]-1+h)%28]<<31-r%6;u[0]=u[0]<<1|u[0]>>>31;for(r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),f.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=l[c][((s^o[c])&u[c])>>>0];this._lBlock=s,this._rBlock=i^a}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,f.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function d(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=o._createHelper(h);var p=i.TripleDES=o.extend({_doReset:function(){var e=this._key,t=e.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var n=t.slice(0,2),o=t.length<4?t.slice(0,2):t.slice(2,4),i=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=h.createEncryptor(r.create(n)),this._des2=h.createEncryptor(r.create(o)),this._des3=h.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(p)}(),e.TripleDES}))},240:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.Base,i=r.WordArray,s=n.x64={};s.Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=o.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var o=e[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}})}(),e}))},271:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5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8gIc8Lh3dyjvfVNjmzDZX5u+4PyXYD+PZgwOjcstDTeCEWMKB8Iwo2QJu4tvCQ5zRzA8j8F+7LfBp9folaHPJKw0SzjVEIzIxz8BJdOJhOUqMScgbRzWGbDIdk6CQeWmPgAJR2Gg8Y51FxFshZSJIHqhF/3xhE/aMVREpVqZLg6IgA85OqyW9OiSUhX9hcje/DKBJbyyDKmWFW3bLe0HqNrv/BNgANkfieaZ8+wxAAAAAElFTkSuQmCC"},554:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOVJREFUOE+lk80VgyAQhMdKgjfKWCtJrMRYiekklMFN0kkcHpuHCkme7sUf5JvdGWxwshrdb6wMf7BeAFzwLui3EWCsCIDncvsAcEvXGk+Cd20JMHHBWJkBdLlK1qVJQn3wzvF93sFPQOqWAqcAE0HBu/5oBzSbPnQ7QJqVc9KDOOO2jBWaPKiReYxMgkUFRjVWABRQo90HkDlNhau2mBRz1mV5uANomVQJEKNKker52I4zrmIszMlDxRF44uZlnJ3Q6iAVAPSBnRByCKBGsQMaGjMvVbU1Y4UQ5s3/o1pVwLdN+dob2Bx9EVmMIDsAAAAASUVORK5CYII="},14:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAARhElEQVRogd1aeZAdxX3+umfmnXtopZW0q3O1IBQdgATIhjLiEGAuQwgVzGkIiV0ph+SfFA5UXEWqHJuAoRKHJITLBfERqmICKZsbgYgQyMI6FrGrC7NI2l3trvbeffvemzcz3anu6Znpmfd2JWP+ymz19uuZnpn+fl//jv714P/7Qb5AfGSG+lQPrvol6y9kUL/PvaKmqq5VTuXgMxT2+wL+PABJApSoDVXTGcDOdiTBMa14Gkim9fn8AI+fqNTsuGhBSgcWgJJl/oKFqfsf/Nm5RXPFpuFCfv34tNVeLJstzCE56iFlcMBgQKwOf/NKxkAxl/EG6usq3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Ps8JVhAffzrJzzytoabO1Tp0JsOP8VTJJEpaE4SZ+NKBzPKe+O5YPGQMg45EsWt9jDdD3rdWXjT2cmgPCNZZbuLlKa0kAdJTBMhqxcRasbXfVZ9TzgTuZAzqfXQ2DX3lkWAuCY7OYpl1A5b8jNlNMOnM9EHsbOBOFWASaNUnzRqw2OZjjU/FagEUh/5dtg4iYKrqk+aTAZMHgP8DwseYy0P8yUgAAAAASUVORK5CYII="},332:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAVNJREFUWEftltGRwjAMRKVOjko4KoGr5KCSu06gE+hkYTMyE5ATK2CTn3gmH5ko3peVvbHKzENn1pcF4CMOANiJyK+IXFR10297U4Ce8JeJEmDVHCAjnDTbAowIJ4BTkxYEhBPAv6r+VGvBBOGkuVfVw9sALwjXAQgIX0wprfrnoH3NgYAwhfYi8m3XUMJvVPUUbkFQmPMxXBg0BBgbMYAJwvwaruqtOVD6t61UNbWpq3VJCODvFpmMztLo+mmwfKc4bvVOLwdwjFoJgJazPjJcCmYdSDPZ5LxdGxBXNi0/0EYAvD9HlK1mGkBpYgAUH9puudddDI86EABAqebpuYvhTwO4EFoAajvAkw635NDCdClYE+De35Egawbg9jcA/heYpn03XAzXciC7ui3IGNEdRC6G3wVgv/n1D0es/t63tCQEQ+jhJJTqmh7LI0G1AMzuwBVqnaAhSR8MMgAAAABJRU5ErkJggg=="},793:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6b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VPACyQSARTYk8EIPUNKIEIlCxA5L/4TbgCWBFkCUsSJr3Q0NdAWY6Hu+BYuYBeiCCBBVhUYfHAHto+OBPSATAA0oMAAXgQ6q5ABwL0ECcD5VwQPYjlgBkgIYVSkJ6gBTyC/FZDdS8gGBmIgUABBgAgktC2XC6NmEAAAAASUVORK5CYII="},632:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOJJREFUOE+lk9sRwiAQRW8qkfzRhaSTpBLHSmInbhn8ZTvRXGZR8sCJykx+MuzZuwdo8OdqavXOBwcgaJTbpx67ACueACg/jdLVIDXAaAVXAJNGqSatAdidxfIr4AGgBUAPdwOVU8icig2wSeB86Oeis0YZssjV/KfZS69R2OANcD4E23hhx9xhLa8Q3GoUTQmsmFFpnbE7jcL5N8v2josE5U/nAwUSQNgegAkdR3yN8AMAC4lfAtIR5xtaOkhzHRiBgCE7WgBMIk9jV6AJZvx0hKWD9HCOPMz146re8SMw7nkC7MV4ERlYkdMAAAAASUVORK5CYII="},317:function(t){"use strict";t.exports=e},477:function(){}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}!function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,{a:t}),t}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){r.p=""}();var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return Ho}});var e={};if(r.r(e),r.d(e,{hasBrowserEnv:function(){return Xe},hasStandardBrowserEnv:function(){return Qe},hasStandardBrowserWebWorkerEnv:function(){return $e},navigator:function(){return qe},origin:function(){return et}}),"undefined"!==typeof window){var t=window.document.currentScript,n=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(r.p=n[1])}var i=function(){var e=this,t=e._self._c;return e.visible?t("div",{staticClass:"ai-contain"},[t("div",{staticClass:"bg-image"}),t("div",{staticClass:"ai-contain-header"},[t("div",{staticClass:"logo-title",on:{click:e.showHot}},[t("img",{staticStyle:{width:"48px",height:"48px"},attrs:{src:r(14),alt:""}}),t("span",{staticClass:"title-font"},[e._v("学习助手")])]),t("div",{staticClass:"icon-close",on:{click:e.closeMessage}},[t("i",{staticClass:"el-icon-close"})])]),e.courseFlag?[t("div",{staticClass:"ai-main-content"},[e.chatShow?e._e():t("hot-search",{on:{"select-module":e.selectModule}}),e.chatShow?t("chat",{ref:"chatRef",attrs:{resId:e.resId,chatId:e.chatId,"key-word":e.aiMessageKeyWord,"message-data":e.messageList},on:{"on-reanser":e.reanserMethod,"on-message-finish":e.messageFinish}}):e._e()],1),t("div",{staticClass:"tools-wrap"},[t("span",{on:{click:e.addNewChat}},[e._v("新增对话")]),t("span",{on:{click:e.clearChat}},[e._v("清空对话")])]),t("div",{staticClass:"ai-message-send",on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.goChat.apply(null,arguments)}}},[t("el-input",{attrs:{type:"textarea",rows:2,placeholder:"可以提出问题..."},model:{value:e.aiMessage,callback:function(t){e.aiMessage=t},expression:"aiMessage"}}),t("div",{staticClass:"ai-send-icon",on:{click:e.goChat}},[t("img",{staticStyle:{width:"24px",height:"24px"},attrs:{src:r(332),alt:""}})])],1),t("p",{staticClass:"disclaimer"},[e._v(" 此功能公测期间对正式版用户开放 ")])]:e._e(),e.courseFlag?e._e():t("div",{staticClass:"message-wrap"},[t("div",{staticClass:"message-line"},[e._v(e._s(e.message))]),t("div",{staticClass:"message-line"},[e._v("不能交流")])])],2):e._e()},s=[],a=function(){var e=this;e._self._c;return e._m(0)},c=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"hot-search-contain"},[t("div",{staticClass:"robot"},[t("div",{staticClass:"robot-image-div"})]),t("div",{staticClass:"robot-message"},[t("p",[e._v("Hi,我是学习助手。")]),t("p",[e._v("在这里你可以获得专业、准确的课程讲解,包括对公式的深入理解和细腻的解答。")])])])}],l={name:"HotSearch",data(){return{aiMessage:[{value:"请解释一下牛顿第二定律的公式和物理意义。",id:1},{value:"电磁感应定律是如何描述的?请给出相关公式并解释。",id:2},{value:"在光学中,光的干涉现象是如何产生的?能否用公式来表示?",id:3}]}},methods:{selectModule(e){this.$emit("select-module",e)}}},u=l;function h(e,t,n,r,o,i,s,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:e,options:l}}var f=h(u,a,c,!1,null,"73bfe44c",null),d=f.exports,p=function(){var e=this,t=e._self._c;return t("div",{ref:"chatContainer",staticClass:"chat-contain"},e._l(e.messageData,(function(n,r){return t("div",{key:r,staticClass:"message",class:{"user-list":"user"===n.type}},["robot"===n.type?t("div",{staticClass:"robot"},[t("div",{staticClass:"robot-image-div"})]):t("div",{staticClass:"robot user"},[e._v("user")]),t("div",{staticClass:"robot-message",class:{"user-info":"user"===n.type}},[t("div",{domProps:{innerHTML:e._s(n.message)}}),"robot"===n.type&&n.links.length>0?t("div",{staticClass:"link"},[t("div",{staticClass:"link-title"},[e._v("相关链接")]),t("div",{staticClass:"link-content"},e._l(n.links,(function(n){return t("div",{staticClass:"links"},[t("a",{attrs:{href:"https://ai-yuliao.hep.com.cn"+n.documentUrl,target:"_blank"}},[t("span",[e._v(e._s(n.title))])])])})),0)]):e._e(),"robot"===n.type?t("chat-tools",{attrs:{chatId:e.chatId,"detail-data":n},on:{"on-reanswer":t=>e.reanswer(t,r),"on-stop-chat":e.onStopChat}}):e._e()],1)])})),0)},g=[];function m(e,t){return function(){return e.apply(t,arguments)}}const{toString:y}=Object.prototype,{getPrototypeOf:v}=Object,A=(e=>t=>{const n=y.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),w=e=>(e=e.toLowerCase(),t=>A(t)===e),b=e=>t=>typeof t===e,{isArray:S}=Array,_=b("undefined");function B(e){return null!==e&&!_(e)&&null!==e.constructor&&!_(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const E=w("ArrayBuffer");function x(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer),t}const C=b("string"),R=b("function"),k=b("number"),O=e=>null!==e&&"object"===typeof e,T=e=>!0===e||!1===e,I=e=>{if("object"!==A(e))return!1;const t=v(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D=w("Date"),U=w("File"),j=w("Blob"),N=w("FileList"),P=e=>O(e)&&R(e.pipe),z=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||R(e.append)&&("formdata"===(t=A(e))||"object"===t&&R(e.toString)&&"[object FormData]"===e.toString()))},M=w("URLSearchParams"),[F,L,H,J]=["ReadableStream","Request","Response","Headers"].map(w),W=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function V(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),S(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r<i;r++)s=o[r],t.call(null,e[s],s,e)}}function G(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;while(o-- >0)if(r=n[o],t===r.toLowerCase())return r;return null}const Y=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),Z=e=>!_(e)&&e!==Y;function K(){const{caseless:e}=Z(this)&&this||{},t={},n=(n,r)=>{const o=e&&G(t,r)||r;I(t[o])&&I(n)?t[o]=K(t[o],n):I(n)?t[o]=K({},n):S(n)?t[o]=n.slice():t[o]=n};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&V(arguments[r],n);return t}const X=(e,t,n,{allOwnKeys:r}={})=>(V(t,((t,r)=>{n&&R(t)?e[r]=m(t,n):e[r]=t}),{allOwnKeys:r}),e),q=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),Q=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},$=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},null==e)return t;do{o=Object.getOwnPropertyNames(e),i=o.length;while(i-- >0)s=o[i],r&&!r(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==n&&v(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ee=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},te=e=>{if(!e)return null;if(S(e))return e;let t=e.length;if(!k(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},ne=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&v(Uint8Array)),re=(e,t)=>{const n=e&&e[Symbol.iterator],r=n.call(e);let o;while((o=r.next())&&!o.done){const n=o.value;t.call(e,n[0],n[1])}},oe=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},ie=w("HTMLFormElement"),se=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),ae=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ce=w("RegExp"),le=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};V(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},ue=e=>{le(e,((t,n)=>{if(R(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];R(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},he=(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return S(e)?r(e):r(String(e).split(t)),n},fe=()=>{},de=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,pe="abcdefghijklmnopqrstuvwxyz",ge="0123456789",me={DIGIT:ge,ALPHA:pe,ALPHA_DIGIT:pe+pe.toUpperCase()+ge},ye=(e=16,t=me.ALPHA_DIGIT)=>{let n="";const{length:r}=t;while(e--)n+=t[Math.random()*r|0];return n};function ve(e){return!!(e&&R(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}const Ae=e=>{const t=new Array(10),n=(e,r)=>{if(O(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=S(e)?[]:{};return V(e,((e,t)=>{const i=n(e,r+1);!_(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},we=w("AsyncFunction"),be=e=>e&&(O(e)||R(e))&&R(e.then)&&R(e.catch),Se=((e,t)=>e?setImmediate:t?((e,t)=>(Y.addEventListener("message",(({source:n,data:r})=>{n===Y&&r===e&&t.length&&t.shift()()}),!1),n=>{t.push(n),Y.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"===typeof setImmediate,R(Y.postMessage)),_e="undefined"!==typeof queueMicrotask?queueMicrotask.bind(Y):"undefined"!==typeof process&&process.nextTick||Se;var Be={isArray:S,isArrayBuffer:E,isBuffer:B,isFormData:z,isArrayBufferView:x,isString:C,isNumber:k,isBoolean:T,isObject:O,isPlainObject:I,isReadableStream:F,isRequest:L,isResponse:H,isHeaders:J,isUndefined:_,isDate:D,isFile:U,isBlob:j,isRegExp:ce,isFunction:R,isStream:P,isURLSearchParams:M,isTypedArray:ne,isFileList:N,forEach:V,merge:K,extend:X,trim:W,stripBOM:q,inherits:Q,toFlatObject:$,kindOf:A,kindOfTest:w,endsWith:ee,toArray:te,forEachEntry:re,matchAll:oe,isHTMLForm:ie,hasOwnProperty:ae,hasOwnProp:ae,reduceDescriptors:le,freezeMethods:ue,toObjectSet:he,toCamelCase:se,noop:fe,toFiniteNumber:de,findKey:G,global:Y,isContextDefined:Z,ALPHABET:me,generateString:ye,isSpecCompliantForm:ve,toJSONObject:Ae,isAsyncFn:we,isThenable:be,setImmediate:Se,asap:_e};function Ee(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Be.inherits(Ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Be.toJSONObject(this.config),code:this.code,status:this.status}}});const xe=Ee.prototype,Ce={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ce[e]={value:e}})),Object.defineProperties(Ee,Ce),Object.defineProperty(xe,"isAxiosError",{value:!0}),Ee.from=(e,t,n,r,o,i)=>{const s=Object.create(xe);return Be.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ee.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};var Re=Ee,ke=null;function Oe(e){return Be.isPlainObject(e)||Be.isArray(e)}function Te(e){return Be.endsWith(e,"[]")?e.slice(0,-2):e}function Ie(e,t,n){return e?e.concat(t).map((function(e,t){return e=Te(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function De(e){return Be.isArray(e)&&!e.some(Oe)}const Ue=Be.toFlatObject(Be,{},null,(function(e){return/^is[A-Z]/.test(e)}));function je(e,t,n){if(!Be.isObject(e))throw new TypeError("target must be an object");t=t||new(ke||FormData),n=Be.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Be.isUndefined(t[e])}));const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,c=a&&Be.isSpecCompliantForm(t);if(!Be.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Be.isDate(e))return e.toISOString();if(!c&&Be.isBlob(e))throw new Re("Blob is not supported. Use a Buffer instead.");return Be.isArrayBuffer(e)||Be.isTypedArray(e)?c&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let a=e;if(e&&!o&&"object"===typeof e)if(Be.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Be.isArray(e)&&De(e)||(Be.isFileList(e)||Be.endsWith(n,"[]"))&&(a=Be.toArray(e)))return n=Te(n),a.forEach((function(e,r){!Be.isUndefined(e)&&null!==e&&t.append(!0===s?Ie([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!Oe(e)||(t.append(Ie(o,n,i),l(e)),!1)}const h=[],f=Object.assign(Ue,{defaultVisitor:u,convertValue:l,isVisitable:Oe});function d(e,n){if(!Be.isUndefined(e)){if(-1!==h.indexOf(e))throw Error("Circular reference detected in "+n.join("."));h.push(e),Be.forEach(e,(function(e,r){const i=!(Be.isUndefined(e)||null===e)&&o.call(t,e,Be.isString(r)?r.trim():r,n,f);!0===i&&d(e,n?n.concat(r):[r])})),h.pop()}}if(!Be.isObject(e))throw new TypeError("data must be an object");return d(e),t}var Ne=je;function Pe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ze(e,t){this._pairs=[],e&&Ne(e,this,t)}const Me=ze.prototype;Me.append=function(e,t){this._pairs.push([e,t])},Me.toString=function(e){const t=e?function(t){return e.call(this,t,Pe)}:Pe;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Fe=ze;function Le(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function He(e,t,n){if(!t)return e;const r=n&&n.encode||Le,o=n&&n.serialize;let i;if(i=o?o(t,n):Be.isURLSearchParams(t)?t.toString():new Fe(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}class Je{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Be.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var We=Je,Ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ge="undefined"!==typeof URLSearchParams?URLSearchParams:Fe,Ye="undefined"!==typeof FormData?FormData:null,Ze="undefined"!==typeof Blob?Blob:null,Ke={isBrowser:!0,classes:{URLSearchParams:Ge,FormData:Ye,Blob:Ze},protocols:["http","https","file","blob","url","data"]};const Xe="undefined"!==typeof window&&"undefined"!==typeof document,qe="object"===typeof navigator&&navigator||void 0,Qe=Xe&&(!qe||["ReactNative","NativeScript","NS"].indexOf(qe.product)<0),$e=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),et=Xe&&window.location.href||"http://localhost";var tt={...e,...Ke};function nt(e,t){return Ne(e,new tt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return tt.isNode&&Be.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function rt(e){return Be.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function ot(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function it(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;if(i=!i&&Be.isArray(r)?r.length:i,a)return Be.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&Be.isObject(r[i])||(r[i]=[]);const c=t(e,n,r[i],o);return c&&Be.isArray(r[i])&&(r[i]=ot(r[i])),!s}if(Be.isFormData(e)&&Be.isFunction(e.entries)){const n={};return Be.forEachEntry(e,((e,r)=>{t(rt(e),r,n,0)})),n}return null}var st=it;function at(e,t,n){if(Be.isString(e))try{return(t||JSON.parse)(e),Be.trim(e)}catch(xr){if("SyntaxError"!==xr.name)throw xr}return(n||JSON.stringify)(e)}const ct={transitional:Ve,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Be.isObject(e);o&&Be.isHTMLForm(e)&&(e=new FormData(e));const i=Be.isFormData(e);if(i)return r?JSON.stringify(st(e)):e;if(Be.isArrayBuffer(e)||Be.isBuffer(e)||Be.isStream(e)||Be.isFile(e)||Be.isBlob(e)||Be.isReadableStream(e))return e;if(Be.isArrayBufferView(e))return e.buffer;if(Be.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return nt(e,this.formSerializer).toString();if((s=Be.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Ne(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),at(e)):e}],transformResponse:[function(e){const t=this.transitional||ct.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Be.isResponse(e)||Be.isReadableStream(e))return e;if(e&&Be.isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,o=!n&&r;try{return JSON.parse(e)}catch(xr){if(o){if("SyntaxError"===xr.name)throw Re.from(xr,Re.ERR_BAD_RESPONSE,this,null,this.response);throw xr}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Be.forEach(["delete","get","head","post","put","patch"],(e=>{ct.headers[e]={}}));var lt=ct;const ut=Be.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ht=e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ut[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};const ft=Symbol("internals");function dt(e){return e&&String(e).trim().toLowerCase()}function pt(e){return!1===e||null==e?e:Be.isArray(e)?e.map(pt):String(e)}function gt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const mt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yt(e,t,n,r,o){return Be.isFunction(r)?r.call(this,t,n):(o&&(t=n),Be.isString(t)?Be.isString(r)?-1!==t.indexOf(r):Be.isRegExp(r)?r.test(t):void 0:void 0)}function vt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function At(e,t){const n=Be.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}class wt{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=dt(t);if(!o)throw new Error("header name must be a non-empty string");const i=Be.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=pt(e))}const i=(e,t)=>Be.forEach(e,((e,n)=>o(e,n,t)));if(Be.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Be.isString(e)&&(e=e.trim())&&!mt(e))i(ht(e),t);else if(Be.isHeaders(e))for(const[s,a]of e.entries())o(a,s,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=dt(e),e){const n=Be.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return gt(e);if(Be.isFunction(t))return t.call(this,e,n);if(Be.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=dt(e),e){const n=Be.findKey(this,e);return!(!n||void 0===this[n]||t&&!yt(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=dt(e),e){const o=Be.findKey(n,e);!o||t&&!yt(n,n[o],o,t)||(delete n[o],r=!0)}}return Be.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const o=t[n];e&&!yt(this,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Be.forEach(this,((r,o)=>{const i=Be.findKey(n,o);if(i)return t[i]=pt(r),void delete t[o];const s=e?vt(o):String(o).trim();s!==o&&delete t[o],t[s]=pt(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Be.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Be.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=this[ft]=this[ft]={accessors:{}},n=t.accessors,r=this.prototype;function o(e){const t=dt(e);n[t]||(At(r,e),n[t]=!0)}return Be.isArray(e)?e.forEach(o):o(e),this}}wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Be.reduceDescriptors(wt.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Be.freezeMethods(wt);var bt=wt;function St(e,t){const n=this||lt,r=t||n,o=bt.from(r.headers);let i=r.data;return Be.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function _t(e){return!(!e||!e.__CANCEL__)}function Bt(e,t,n){Re.call(this,null==e?"canceled":e,Re.ERR_CANCELED,t,n),this.name="CanceledError"}Be.inherits(Bt,Re,{__CANCEL__:!0});var Et=Bt;function xt(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Re("Request failed with status code "+n.status,[Re.ERR_BAD_REQUEST,Re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Ct(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Rt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=r[s];o||(o=c),n[i]=a,r[i]=c;let u=s,h=0;while(u!==i)h+=n[u++],u%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const f=l&&c-l;return f?Math.round(1e3*h/f):void 0}}var kt=Rt;function Ot(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)},a=(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},c=()=>n&&s(n);return[a,c]}var Tt=Ot;const It=(e,t,n=3)=>{let r=0;const o=kt(50,250);return Tt((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,c=o(a),l=i<=s;r=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&l?(s-i)/c:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0};e(u)}),n)},Dt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ut=e=>(...t)=>Be.asap((()=>e(...t)));var jt=tt.hasStandardBrowserEnv?function(){const e=tt.navigator&&/(msie|trident)/i.test(tt.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Be.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),Nt=tt.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];Be.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Be.isString(r)&&s.push("path="+r),Be.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Pt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Mt(e,t){return e&&!Pt(t)?zt(e,t):t}const Ft=e=>e instanceof bt?{...e}:e;function Lt(e,t){t=t||{};const n={};function r(e,t,n){return Be.isPlainObject(e)&&Be.isPlainObject(t)?Be.merge.call({caseless:n},e,t):Be.isPlainObject(t)?Be.merge({},t):Be.isArray(t)?t.slice():t}function o(e,t,n){return Be.isUndefined(t)?Be.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Be.isUndefined(t))return r(void 0,t)}function s(e,t){return Be.isUndefined(t)?Be.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>o(Ft(e),Ft(t),!0)};return Be.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=c[r]||o,s=i(e[r],t[r],r);Be.isUndefined(s)&&i!==a||(n[r]=s)})),n}var Ht=e=>{const t=Lt({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:c}=t;if(t.headers=a=bt.from(a),t.url=He(Mt(t.baseURL,t.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Be.isFormData(r))if(tt.hasStandardBrowserEnv||tt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(tt.hasStandardBrowserEnv&&(o&&Be.isFunction(o)&&(o=o(t)),o||!1!==o&&jt(t.url))){const e=i&&s&&Nt.read(s);e&&a.set(i,e)}return t};const Jt="undefined"!==typeof XMLHttpRequest;var Wt=Jt&&function(e){return new Promise((function(t,n){const r=Ht(e);let o=r.data;const i=bt.from(r.headers).normalize();let s,a,c,l,u,{responseType:h,onUploadProgress:f,onDownloadProgress:d}=r;function p(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=bt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),o=h&&"text"!==h&&"json"!==h?g.response:g.responseText,i={data:o,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};xt((function(e){t(e),p()}),(function(e){n(e),p()}),i),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Re("Request aborted",Re.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new Re("Network Error",Re.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Ve;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Re(t,o.clarifyTimeoutError?Re.ETIMEDOUT:Re.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Be.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Be.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),h&&"json"!==h&&(g.responseType=r.responseType),d&&([c,u]=It(d,!0),g.addEventListener("progress",c)),f&&g.upload&&([a,l]=It(f),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(s=t=>{g&&(n(!t||t.type?new Et(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const y=Ct(r.url);y&&-1===tt.protocols.indexOf(y)?n(new Re("Unsupported protocol "+y+":",Re.ERR_BAD_REQUEST,e)):g.send(o||null)}))};const Vt=(e,t)=>{let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Re?t:new Et(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{o(new Re(`timeout ${t} of ms exceeded`,Re.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",o):e.unsubscribe(o))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=s,[a,()=>{i&&clearTimeout(i),i=null}]};var Gt=Vt;const Yt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;while(o<n)r=o+t,yield e.slice(o,r),o=r},Zt=async function*(e,t,n){for await(const r of e)yield*Yt(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Kt=(e,t,n,r,o)=>{const i=Zt(e,t,o);let s,a=0,c=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return c(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw c(t),t}},cancel(e){return c(e),i.return()}},{highWaterMark:2})},Xt="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,qt=Xt&&"function"===typeof ReadableStream,Qt=Xt&&("function"===typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),$t=(e,...t)=>{try{return!!e(...t)}catch(xr){return!1}},en=qt&&$t((()=>{let e=!1;const t=new Request(tt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),tn=65536,nn=qt&&$t((()=>Be.isReadableStream(new Response("").body))),rn={stream:nn&&(e=>e.body)};Xt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!rn[t]&&(rn[t]=Be.isFunction(e[t])?e=>e[t]():(e,n)=>{throw new Re(`Response type '${t}' is not supported`,Re.ERR_NOT_SUPPORT,n)})}))})(new Response);const on=async e=>null==e?0:Be.isBlob(e)?e.size:Be.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:Be.isArrayBufferView(e)||Be.isArrayBuffer(e)?e.byteLength:(Be.isURLSearchParams(e)&&(e+=""),Be.isString(e)?(await Qt(e)).byteLength:void 0),sn=async(e,t)=>{const n=Be.toFiniteNumber(e.getContentLength());return null==n?on(t):n};var an=Xt&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:h="same-origin",fetchOptions:f}=Ht(e);l=l?(l+"").toLowerCase():"text";let d,p,[g,m]=o||i||s?Gt([o,i],s):[];const y=()=>{!d&&setTimeout((()=>{g&&g.unsubscribe()})),d=!0};let v;try{if(c&&en&&"get"!==n&&"head"!==n&&0!==(v=await sn(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Be.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Dt(v,It(Ut(c)));r=Kt(n.body,tn,e,t,Qt)}}Be.isString(h)||(h=h?"include":"omit");const o="credentials"in Request.prototype;p=new Request(t,{...f,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?h:void 0});let i=await fetch(p);const s=nn&&("stream"===l||"response"===l);if(nn&&(a||s)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Be.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&Dt(t,It(Ut(a),!0))||[];i=new Response(Kt(i.body,tn,n,(()=>{r&&r(),s&&y()}),Qt),e)}l=l||"text";let d=await rn[Be.findKey(rn,l)||"text"](i,e);return!s&&y(),m&&m(),await new Promise(((t,n)=>{xt(t,n,{data:d,headers:bt.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:p})}))}catch(A){if(y(),A&&"TypeError"===A.name&&/fetch/i.test(A.message))throw Object.assign(new Re("Network Error",Re.ERR_NETWORK,e,p),{cause:A.cause||A});throw Re.from(A,A&&A.code,e,p)}});const cn={http:ke,xhr:Wt,fetch:an};Be.forEach(cn,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(xr){}Object.defineProperty(e,"adapterName",{value:t})}}));const ln=e=>`- ${e}`,un=e=>Be.isFunction(e)||null===e||!1===e;var hn={getAdapter:e=>{e=Be.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!un(n)&&(r=cn[(t=String(n)).toLowerCase()],void 0===r))throw new Re(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(ln).join("\n"):" "+ln(e[0]):"as no adapter specified";throw new Re("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:cn};function fn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Et(null,e)}function dn(e){fn(e),e.headers=bt.from(e.headers),e.data=St.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=hn.getAdapter(e.adapter||lt.adapter);return t(e).then((function(t){return fn(e),t.data=St.call(e,e.transformResponse,t),t.headers=bt.from(t.headers),t}),(function(t){return _t(t)||(fn(e),t&&t.response&&(t.response.data=St.call(e,e.transformResponse,t.response),t.response.headers=bt.from(t.response.headers))),Promise.reject(t)}))}const pn="1.7.5",gn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{gn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const mn={};function yn(e,t,n){if("object"!==typeof e)throw new Re("options must be an object",Re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;while(o-- >0){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new Re("option "+i+" must be "+n,Re.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Re("Unknown option "+i,Re.ERR_BAD_OPTION)}}gn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+pn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Re(r(o," has been removed"+(t?" in "+t:"")),Re.ERR_DEPRECATED);return t&&!mn[o]&&(mn[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var vn={assertOptions:yn,validators:gn};const An=vn.validators;class wn{constructor(e){this.defaults=e,this.interceptors={request:new We,response:new We}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(xr){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=Lt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&vn.assertOptions(n,{silentJSONParsing:An.transitional(An.boolean),forcedJSONParsing:An.transitional(An.boolean),clarifyTimeoutError:An.transitional(An.boolean)},!1),null!=r&&(Be.isFunction(r)?t.paramsSerializer={serialize:r}:vn.assertOptions(r,{encode:An.function,serialize:An.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Be.merge(o.common,o[t.method]);o&&Be.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=bt.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,h=0;if(!a){const e=[dn.bind(this),void 0];e.unshift.apply(e,s),e.push.apply(e,c),u=e.length,l=Promise.resolve(t);while(h<u)l=l.then(e[h++],e[h++]);return l}u=s.length;let f=t;h=0;while(h<u){const e=s[h++],t=s[h++];try{f=e(f)}catch(d){t.call(this,d);break}}try{l=dn.call(this,f)}catch(d){return Promise.reject(d)}h=0,u=c.length;while(h<u)l=l.then(c[h++],c[h++]);return l}getUri(e){e=Lt(this.defaults,e);const t=Mt(e.baseURL,e.url);return He(t,e.params,e.paramsSerializer)}}Be.forEach(["delete","get","head","options"],(function(e){wn.prototype[e]=function(t,n){return this.request(Lt(n||{},{method:e,url:t,data:(n||{}).data}))}})),Be.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Lt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}wn.prototype[e]=t(),wn.prototype[e+"Form"]=t(!0)}));var bn=wn;class Sn{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Et(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Sn((function(t){e=t}));return{token:t,cancel:e}}}var _n=Sn;function Bn(e){return function(t){return e.apply(null,t)}}function En(e){return Be.isObject(e)&&!0===e.isAxiosError}const xn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xn).forEach((([e,t])=>{xn[t]=e}));var Cn=xn;function Rn(e){const t=new bn(e),n=m(bn.prototype.request,t);return Be.extend(n,bn.prototype,t,{allOwnKeys:!0}),Be.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Rn(Lt(e,t))},n}const kn=Rn(lt);kn.Axios=bn,kn.CanceledError=Et,kn.CancelToken=_n,kn.isCancel=_t,kn.VERSION=pn,kn.toFormData=Ne,kn.AxiosError=Re,kn.Cancel=kn.CanceledError,kn.all=function(e){return Promise.all(e)},kn.spread=Bn,kn.isAxiosError=En,kn.mergeConfig=Lt,kn.AxiosHeaders=bt,kn.formToJSON=e=>st(Be.isHTMLForm(e)?new FormData(e):e),kn.getAdapter=hn.getAdapter,kn.HttpStatusCode=Cn,kn.default=kn;var On=kn;const Tn={set(e,t){sessionStorage&&null!=e&&null!=t&&sessionStorage.setItem(e,t)},get(e){return sessionStorage?null==e?null:sessionStorage.getItem(e):null},setJSON(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON(e){const t=this.get(e);if(null!=t)return JSON.parse(t)},remove(e){sessionStorage.removeItem(e)}},In={set(e,t){localStorage&&null!=e&&null!=t&&localStorage.setItem(e,t)},get(e){return localStorage?null==e?null:localStorage.getItem(e):null},setJSON(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON(e){const t=this.get(e);if(null!=t)return JSON.parse(t)},remove(e){localStorage.removeItem(e)}};var Dn={session:Tn,local:In},Un=r(317),jn=r(396),Nn=r.n(jn);const Pn="3.7.7",zn=Pn,Mn="function"===typeof Buffer,Fn="function"===typeof TextDecoder?new TextDecoder:void 0,Ln="function"===typeof TextEncoder?new TextEncoder:void 0,Hn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Jn=Array.prototype.slice.call(Hn),Wn=(e=>{let t={};return e.forEach(((e,n)=>t[e]=n)),t})(Jn),Vn=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Gn=String.fromCharCode.bind(String),Yn="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Zn=e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")),Kn=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Xn=e=>{let t,n,r,o,i="";const s=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=Jn[t>>18&63]+Jn[t>>12&63]+Jn[t>>6&63]+Jn[63&t]}return s?i.slice(0,s-3)+"===".substring(s):i},qn="function"===typeof btoa?e=>btoa(e):Mn?e=>Buffer.from(e,"binary").toString("base64"):Xn,Qn=Mn?e=>Buffer.from(e).toString("base64"):e=>{const t=4096;let n=[];for(let r=0,o=e.length;r<o;r+=t)n.push(Gn.apply(null,e.subarray(r,r+t)));return qn(n.join(""))},$n=(e,t=!1)=>t?Zn(Qn(e)):Qn(e),er=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Gn(192|t>>>6)+Gn(128|63&t):Gn(224|t>>>12&15)+Gn(128|t>>>6&63)+Gn(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Gn(240|t>>>18&7)+Gn(128|t>>>12&63)+Gn(128|t>>>6&63)+Gn(128|63&t)},tr=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,nr=e=>e.replace(tr,er),rr=Mn?e=>Buffer.from(e,"utf8").toString("base64"):Ln?e=>Qn(Ln.encode(e)):e=>qn(nr(e)),or=(e,t=!1)=>t?Zn(rr(e)):rr(e),ir=e=>or(e,!0),sr=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ar=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return Gn(55296+(n>>>10))+Gn(56320+(1023&n));case 3:return Gn((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Gn((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},cr=e=>e.replace(sr,ar),lr=e=>{if(e=e.replace(/\s+/g,""),!Vn.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=Wn[e.charAt(i++)]<<18|Wn[e.charAt(i++)]<<12|(n=Wn[e.charAt(i++)])<<6|(r=Wn[e.charAt(i++)]),o+=64===n?Gn(t>>16&255):64===r?Gn(t>>16&255,t>>8&255):Gn(t>>16&255,t>>8&255,255&t);return o},ur="function"===typeof atob?e=>atob(Kn(e)):Mn?e=>Buffer.from(e,"base64").toString("binary"):lr,hr=Mn?e=>Yn(Buffer.from(e,"base64")):e=>Yn(ur(e).split("").map((e=>e.charCodeAt(0)))),fr=e=>hr(pr(e)),dr=Mn?e=>Buffer.from(e,"base64").toString("utf8"):Fn?e=>Fn.decode(hr(e)):e=>cr(ur(e)),pr=e=>Kn(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))),gr=e=>dr(pr(e)),mr=e=>{if("string"!==typeof e)return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},yr=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),vr=function(){const e=(e,t)=>Object.defineProperty(String.prototype,e,yr(t));e("fromBase64",(function(){return gr(this)})),e("toBase64",(function(e){return or(this,e)})),e("toBase64URI",(function(){return or(this,!0)})),e("toBase64URL",(function(){return or(this,!0)})),e("toUint8Array",(function(){return fr(this)}))},Ar=function(){const e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,yr(t));e("toBase64",(function(e){return $n(this,e)})),e("toBase64URI",(function(){return $n(this,!0)})),e("toBase64URL",(function(){return $n(this,!0)}))},wr=()=>{vr(),Ar()},br={version:Pn,VERSION:zn,atob:ur,atobPolyfill:lr,btoa:qn,btoaPolyfill:Xn,fromBase64:gr,toBase64:or,encode:or,encodeURI:ir,encodeURL:ir,utob:nr,btou:cr,decode:gr,isValid:mr,fromUint8Array:$n,toUint8Array:fr,extendString:vr,extendUint8Array:Ar,extendBuiltins:wr},Sr="RU5D",_r="ODE",Br="AE",Er="S_K",xr="RVkx",Cr=br.decode(Sr).concat(_r,"_",Br,Er,br.decode(xr),"6"),Rr="d3d3",kr="w.e",Or="mru",Tr="bik",Ir="Y29t",Dr=br.decode(Rr).concat(kr,Or,Tr,".",br.decode(Ir)),Ur=Nn().enc.Utf8.parse(Cr),jr=Nn().enc.Utf8.parse(Dr);function Nr(e){const t="Hello, World!",n=br.encode(t);br.decode(n);let r=Nn().enc.Base64.parse(e),o=Nn().enc.Base64.stringify(r),i=Nn().AES.decrypt(o,Ur,{iv:jr,mode:Nn().mode.CBC,padding:Nn().pad.Pkcs7}),s=i.toString(Nn().enc.Utf8);return s.toString()}let Pr="601a39a2a4a7cd88d5ddcef5";const zr=["/home","/overview"];"aliyun"==={NODE_ENV:"production",BASE_URL:""}.VITE_APP_BUILD_TYPE&&(Pr="6572ba195ec962924cc39951");var Mr={"X-Enterprise-Id":"www.hep-zj.com.cn","X-App-Id":"90403a27c0704259ab7a3c8aab4489b3","X-App-Secret":"bc11ce7c44824fcaa23ff301a54b7094",appId:Pr,whiteList:zr,publicPath:"https://agent.icve.com.cn/heatp-portal/do/",publicPrefix:"/heatp"};const Fr=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL");On.defaults.headers["Content-Type"]="application/json;charset=utf-8";const Lr=On.create({baseURL:Fr||Mr.publicPath,timeout:8e4});Lr.interceptors.request.use((e=>{Dn.session.getJSON("SRKJ_TOKEN_CACHE")&&(e.headers["X-Id-Token"]=Dn.session.getJSON("SRKJ_TOKEN_CACHE"));const t=!1===(e.headers||{}).repeatSubmit;if(!t&&("post"===e.method||"put"===e.method)){const t={url:e.url,data:"object"===typeof e.data?JSON.stringify(e.data):e.data,time:(new Date).getTime()},n=Dn.session.getJSON("sessionObj");if(void 0===n||null===n||""===n)Dn.session.setJSON("sessionObj",t);else{const e=n.url,r=n.data,o=n.time,i=100;r===t.data&&t.time-o<i&&e===t.url||Dn.session.setJSON("sessionObj",t)}}return e}),(e=>{Promise.reject(e)})),Lr.interceptors.response.use((e=>{if("blob"===e.request.responseType||"arraybuffer"===e.request.responseType)return e.data;let t=e.data;if(t){const e=Nr(t);try{t=JSON.parse(e)}catch(xr){}}if(401!==e.status)return t.resultCode.endsWith("0000")||Un.Message.warning(t.message.description),t.queryData||t.data||t.token;Un.Message.warning(t.message.description)}));var Hr=Lr;async function Jr(e,t){const n=e.getReader();let r;while(!(r=await n.read()).done)t(r.value)}function Wr(e){let t,n,r,o=!1;return function(i){void 0===t?(t=i,n=0,r=-1):t=Gr(t,i);const s=t.length;let a=0;while(n<s){o&&(10===t[n]&&(a=++n),o=!1);let i=-1;for(;n<s&&-1===i;++n)switch(t[n]){case 58:-1===r&&(r=n-a);break;case 13:o=!0;case 10:i=n;break}if(-1===i)break;e(t.subarray(a,i),r),a=n,r=-1}a===s?t=void 0:0!==a&&(t=t.subarray(a),n-=a)}}function Vr(e,t,n){let r=Yr();const o=new TextDecoder;return function(i,s){if(0===i.length)null===n||void 0===n||n(r),r=Yr();else if(s>0){const n=o.decode(i.subarray(0,s)),a=s+(32===i[s+1]?2:1),c=o.decode(i.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":const n=parseInt(c,10);isNaN(n)||t(r.retry=n);break}}}}function Gr(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function Yr(){return{data:"",event:"",id:"",retry:void 0}}var Zr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Kr="text/event-stream",Xr=1e3,qr="last-event-id";function Qr(e,t){var{signal:n,headers:r,onopen:o,onmessage:i,onclose:s,onerror:a,openWhenHidden:c,fetch:l}=t,u=Zr(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise(((t,h)=>{const f=Object.assign({},r);let d;function p(){d.abort(),document.hidden||w()}f.accept||(f.accept=Kr),c||document.addEventListener("visibilitychange",p);let g=Xr,m=0;function y(){document.removeEventListener("visibilitychange",p),window.clearTimeout(m),d.abort()}null===n||void 0===n||n.addEventListener("abort",(()=>{y(),t()}));const v=null!==l&&void 0!==l?l:window.fetch,A=null!==o&&void 0!==o?o:$r;async function w(){var n;d=new AbortController;try{const n=await v(e,Object.assign(Object.assign({},u),{headers:f,signal:d.signal}));await A(n),await Jr(n.body,Wr(Vr((e=>{e?f[qr]=e:delete f[qr]}),(e=>{g=e}),i))),null===s||void 0===s||s(),y(),t()}catch(r){if(!d.signal.aborted)try{const e=null!==(n=null===a||void 0===a?void 0:a(r))&&void 0!==n?n:g;window.clearTimeout(m),m=window.setTimeout(w,e)}catch(o){y(),h(o)}}}w()}))}function $r(e){const t=e.headers.get("content-type");if(!(null===t||void 0===t?void 0:t.startsWith(Kr)))throw new Error(`Expected content-type to be ${Kr}, Actual: ${t}`)}const eo=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL")||Mr.publicPath,to=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_PRE_FIX")||Mr.publicPrefix,no=e=>Hr({url:to+"/sso/assistant",method:"get",params:{token:e}}),ro=e=>Hr({url:"/uc/authuser",method:"get",headers:e}),oo=e=>Hr({url:to+"/assistant/addChat",method:"post",params:{resId:e}}),io=e=>Hr({url:to+`/assistant/chartClear/${e}`,method:"post"}),so=e=>Hr({url:to+`/assistant/stop/${e}`,method:"post"}),ao=e=>Hr({url:to+"/assistant/chatEvaluateAdd",method:"post",data:e}),co=e=>Hr({url:to+"/assistant/chatEvaluateCancel",method:"post",data:e}),lo=e=>Hr({url:to+"/assistant/push",method:"post",data:e}),uo=e=>Hr({url:to+`/assistant/detail/v2/${e}`,method:"get"}),ho=e=>Hr({url:to+"/assistant/access",method:"post",params:{resId:e}}),fo=e=>Hr({url:to+`/ia/hasPermission?courseId=${e}`,method:"get"});async function po(e,t,n){return Qr(`${eo}${to}/assistant/conversation`,{method:"POST",signal:t,openWhenHidden:!0,headers:{"Content-Type":"application/json","X-Id-Token":Dn.session.getJSON("SRKJ_TOKEN_CACHE")},body:JSON.stringify(e),onmessage:n})}const go=[{name:"格式问题",code:"1"},{name:"逻辑问题",code:"2"},{name:"有害信息",code:"3"},{name:"事实错误",code:"4"},{name:"没有帮助",code:"5"},{name:"答非所问",code:"6"}],mo=[{type:"user",message:"电磁感应定律是如何描述的?请给出相关公式并解释。"},{type:"robot",message:"电磁感应定律是描述磁场与电场之间关系的物理定律。具体来说,当导体回路中的磁通量发生变化时,会在回路中产生感应电动势。这个感应电动势的大小与磁通量变化的速率成正比,这就是法拉第电磁感应定律。\n 相关的公式是:ε = -dΦ/dt\n 其中,ε 表示感应电动势,Φ 表示磁通量,t 表示时间,dΦ/dt 则表示磁通量对时间的变化率。注意这里的负号,它表示感应电动势的方向与磁通量变化的方向相反,这是楞次定律的体现。\n 解释这个公式时,我们可以理解为:当穿过一个闭合导体回路的磁通量发生变化时,会在回路中产生感应电动势,其大小正比于磁通量变化的速率。这种感应电动势是由于磁场的变化而引发的,它是磁场变化对电场的直接影响,体现了磁场与电场之间的紧密联系。"}],yo=async e=>{const t=await no(e),n=await ro({"X-Auth-User":encodeURIComponent(t.name),"X-Auth-Token":t.password,"X-Enterprise-Id":`${Mr["X-Enterprise-Id"]}`,"X-App-Id":`${Mr["X-App-Id"]}`,"X-App-Secret":`${Mr["X-App-Secret"]}`,"X-Auth-User-Type":"1"});Dn.session.setJSON("SRKJ_TOKEN_CACHE",n)};var vo=function(){var e=this,t=e._self._c;return t("div",{staticClass:"robot-tools"},[e.listData.stop||e.listData.finish?t("div",{staticClass:"robot-reanswer",staticStyle:{"margin-bottom":"8px"},on:{click:function(t){return e.reAnswer(e.listData)}}},[t("i",{staticClass:"el-icon-refresh-right"}),e._v(" 重新回答 ")]):e._e(),e.listData.stop?t("div",{staticClass:"stopMsg",staticStyle:{color:"#cfcfcf",cursor:"default"}},[e._v("已停止生成")]):e._e(),e.listData.stop||e.listData.finish?e._e():t("div",{staticClass:"stopMsg",on:{click:function(t){return e.stopChat(e.listData)}}},[e._v("停止输出")]),t("div",{staticClass:"right-tools"},[t("el-tooltip",{attrs:{content:"赞",effect:"light",placement:"top"}},[t("div",{staticClass:"tools-icon",on:{click:function(t){return e.doZan(e.listData)}}},[e.listData.zan?t("img",{attrs:{alt:"",src:r(793)}}):t("img",{attrs:{src:r(632),alt:""}})])]),t("el-popover",{attrs:{placement:"top-start",trigger:"manual"},model:{value:e.popover,callback:function(t){e.popover=t},expression:"popover"}},[t("div",{attrs:{slot:"reference"},slot:"reference"},[t("el-tooltip",{attrs:{content:"踩",effect:"light",placement:"bottom"}},[e.listData.cai?t("div",{staticClass:"tools-icon",on:{click:function(t){return e.doCai(e.listData)}}},[t("img",{attrs:{alt:"",src:r(271)}})]):t("div",{staticClass:"tools-icon",on:{click:e.openPopover}},[t("img",{attrs:{alt:"",src:r(554)}})])])],1),t("div",{staticClass:"popover-box"},[t("div",{staticClass:"pop-title"},[e._v(" 你的反馈将 "),t("br"),e._v(" 帮助职教一问优化进步 ")]),t("i",{staticClass:"el-icon-close",staticStyle:{"font-size":"2rem"},on:{click:function(t){return e.cancelPopover()}}}),t("div",{staticClass:"error-list"},[t("el-checkbox-group",{model:{value:e.errors,callback:function(t){e.errors=t},expression:"errors"}},e._l(e.errorList,(function(n){return t("el-checkbox",{key:n.code,staticClass:"check",attrs:{label:n.code,border:""}},[e._v(" "+e._s(n.name)+" ")])})),1),t("el-input",{attrs:{rows:4,maxlength:"30",placeholder:"其他",resize:"none",type:"textarea"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}}),t("div",{staticClass:"sumit-button"},[t("el-button",{attrs:{disabled:e.canSubmit},on:{click:function(t){return e.doCai(e.listData)}}},[e._v("提交")])],1)],1)])])],1)])},Ao=[],wo={name:"ChatTools",props:{detailData:{type:Object,default:()=>{}},chatId:{type:String,default:""}},data(){return{input:"",popover:!1,errors:[],errorList:go}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input},listData(){return this.detailData}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},async stopChat(e){const{msgId:t}=e;await so(t),e.stop=!0,this.$emit("on-stop-chat",e)},async reAnswer(e){e.reAnswerCount+=1,e.reAnswerCount>=3&&this.$confirm("对于回答是否依旧不满意,是否需要给教师负责人发送请求信息,由老师进行回答?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{await lo({chatId:this.chatId,msgId:e.msgId,parentMsgId:e.parentMsgId}),this.$message.success("已发送给老师")})).catch((()=>{})),this.$emit("on-reanswer",e)},async doZan(e){const t={chatId:this.chatId,msgId:e.msgId,type:1};e.zan?await co(t):await ao(t),e.zan=!e.zan,e.cai=!1},async doCai(e){let t={};e.cai||(t={desc:this.input,tags:this.errors});const n={chatId:this.chatId,msgId:e.msgId,type:2,...t};e.cai?await co(n):await ao(n),e.cai=!e.cai,e.zan=!1,e.cai&&this.$message.success("感谢您的反馈"),this.popover=!1,this.input="",this.errors=[]}}},bo=wo,So=h(bo,vo,Ao,!1,null,"2c94312a",null),_o=So.exports;const Bo=new AbortController,Eo=Bo.signal;var xo={name:"Chat",components:{ChatTools:_o},props:{keyWord:{type:String,default:""},resId:{type:String,default:""},chatId:{type:String,default:""},messageData:{type:Array,default:mo}},data(){return{popover:!1,input:"",errors:[],errorList:go,cacheKeyWord:""}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input}},watch:{keyWord:{handler(){this.keyWord&&(this.cacheKeyWord=this.keyWord,this.postMessage())},immediate:!0}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},scrollToBottom(){this.$refs.chatContainer.scrollTop=this.$refs.chatContainer.scrollHeight},async postMessage(e,t,n){let r={};e&&(r={reStatus:1,parentMsgId:e.parentMsgId,msgId:e.msgId,content:this.messageData[e.index-1].message},this.messageData[e.index].message="");const o={messageList:[{content:this.keyWord||this.cacheKeyWord,resId:this.resId,chatId:this.chatId||void 0,commonKey:t||!1,parentMsgId:n||void 0,...r}]};e||t||(this.messageData.push({type:"user",message:this.keyWord.replace(/\n/g,"<br>")}),setTimeout((()=>this.messageData.push({type:"robot",message:"",zan:!1,cai:!1,stop:!1,finish:!1,links:[],reAnswerCount:0})))),await po(o,Eo,(t=>{this.makeMessageLine(t,e)}))},makeMessageLine(e,t){const{content:n,status:r,chatId:o,msgId:i,parentMsgId:s,reference:a,commonKey:c}=JSON.parse(e.data);let l=t?t.index:this.messageData.length-1;const u=this.messageData[l];if(2===r||1===r)return c?void this.postMessage(t,c,s):(u.finish=!0,a&&(u.links=JSON.parse(a)),this.cacheKeyWord="",void this.$emit("on-message-finish",o));u.message+=n,u.msgId=i,u.parentMsgId=s,u.chatId=o,setTimeout((()=>{t||this.scrollToBottom()}),100)},onStopChat(e){this.$emit("on-message-finish",e.chatId)},reanswer(e,t){e.index=t,e.stop=!1,e.finish=!1,e.links=[],this.postMessage(e),this.$emit("on-reanser")}}},Co=xo,Ro=h(Co,p,g,!1,null,"80375d7a",null),ko=Ro.exports;
|
|
18
|
+
return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,s=r.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),a=r.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),c=r.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),l=r.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=r.create([0,1518500249,1859775393,2400959708,2840853838]),h=r.create([1352829926,1548603684,1836072691,2053994217,0]),f=i.RIPEMD160=o.extend({_doReset:function(){this._hash=r.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=0;n<16;n++){var r=t+n,o=e[r];e[r]=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8)}var i,f,A,w,b,S,_,B,E,x,C,R=this._hash.words,k=u.words,O=h.words,T=s.words,I=a.words,D=c.words,U=l.words;S=i=R[0],_=f=R[1],B=A=R[2],E=w=R[3],x=b=R[4];for(n=0;n<80;n+=1)C=i+e[t+T[n]]|0,C+=n<16?d(f,A,w)+k[0]:n<32?p(f,A,w)+k[1]:n<48?g(f,A,w)+k[2]:n<64?m(f,A,w)+k[3]:y(f,A,w)+k[4],C|=0,C=v(C,D[n]),C=C+b|0,i=b,b=w,w=v(A,10),A=f,f=C,C=S+e[t+I[n]]|0,C+=n<16?y(_,B,E)+O[0]:n<32?m(_,B,E)+O[1]:n<48?g(_,B,E)+O[2]:n<64?p(_,B,E)+O[3]:d(_,B,E)+O[4],C|=0,C=v(C,U[n]),C=C+x|0,S=x,x=E,E=v(B,10),B=_,_=C;C=R[1]+A+E|0,R[1]=R[2]+w+x|0,R[2]=R[3]+b+S|0,R[3]=R[4]+i+_|0,R[4]=R[0]+f+B|0,R[0]=C},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=16711935&(n<<8|n>>>24)|4278255360&(n<<24|n>>>8),e.sigBytes=4*(t.length+1),this._process();for(var o=this._hash,i=o.words,s=0;s<5;s++){var a=i[s];i[s]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8)}return o},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});function d(e,t,n){return e^t^n}function p(e,t,n){return e&t|~e&n}function g(e,t,n){return(e|~t)^n}function m(e,t,n){return e&n|t&~n}function y(e,t,n){return e^(t|~n)}function v(e,t){return e<<t|e>>>32-t}t.RIPEMD160=o._createHelper(f),t.HmacRIPEMD160=o._createHmacHelper(f)}(Math),e.RIPEMD160}))},471:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.Hasher,i=t.algo,s=[],a=i.SHA1=o.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],a=n[3],c=n[4],l=0;l<80;l++){if(l<16)s[l]=0|e[t+l];else{var u=s[l-3]^s[l-8]^s[l-14]^s[l-16];s[l]=u<<1|u>>>31}var h=(r<<5|r>>>27)+c+s[l];h+=l<20?1518500249+(o&i|~o&a):l<40?1859775393+(o^i^a):l<60?(o&i|o&a|i&a)-1894007588:(o^i^a)-899497514,c=a,a=i,i=o<<30|o>>>2,o=r,r=h}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+a|0,n[4]=n[4]+c|0},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;return t[r>>>5]|=128<<24-r%32,t[14+(r+64>>>9<<4)]=Math.floor(n/4294967296),t[15+(r+64>>>9<<4)]=n,e.sigBytes=4*t.length,this._process(),this._hash},clone:function(){var e=o.clone.call(this);return e._hash=this._hash.clone(),e}});t.SHA1=o._createHelper(a),t.HmacSHA1=o._createHmacHelper(a)}(),e.SHA1}))},308:function(e,t,n){(function(t,r){e.exports=r(n(21),n(9))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=t.algo,i=o.SHA256,s=o.SHA224=i.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=4,e}});t.SHA224=i._createHelper(s),t.HmacSHA224=i._createHmacHelper(s)}(),e.SHA224}))},9:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.algo,a=[],c=[];(function(){function e(e){for(var n=t.sqrt(e),r=2;r<=n;r++)if(!(e%r))return!1;return!0}function n(e){return 4294967296*(e-(0|e))|0}var r=2,o=0;while(o<64)e(r)&&(o<8&&(a[o]=n(t.pow(r,.5))),c[o]=n(t.pow(r,1/3)),o++),r++})();var l=[],u=s.SHA256=i.extend({_doReset:function(){this._hash=new o.init(a.slice(0))},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],u=n[5],h=n[6],f=n[7],d=0;d<64;d++){if(d<16)l[d]=0|e[t+d];else{var p=l[d-15],g=(p<<25|p>>>7)^(p<<14|p>>>18)^p>>>3,m=l[d-2],y=(m<<15|m>>>17)^(m<<13|m>>>19)^m>>>10;l[d]=g+l[d-7]+y+l[d-16]}var v=a&u^~a&h,A=r&o^r&i^o&i,w=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),b=(a<<26|a>>>6)^(a<<21|a>>>11)^(a<<7|a>>>25),S=f+b+v+c[d]+l[d],_=w+A;f=h,h=u,u=a,a=s+S|0,s=i,i=o,o=r,r=S+_|0}n[0]=n[0]+r|0,n[1]=n[1]+o|0,n[2]=n[2]+i|0,n[3]=n[3]+s|0,n[4]=n[4]+a|0,n[5]=n[5]+u|0,n[6]=n[6]+h|0,n[7]=n[7]+f|0},_doFinalize:function(){var e=this._data,n=e.words,r=8*this._nDataBytes,o=8*e.sigBytes;return n[o>>>5]|=128<<24-o%32,n[14+(o+64>>>9<<4)]=t.floor(r/4294967296),n[15+(o+64>>>9<<4)]=r,e.sigBytes=4*n.length,this._process(),this._hash},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});n.SHA256=i._createHelper(u),n.HmacSHA256=i._createHmacHelper(u)}(Math),e.SHA256}))},953:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.WordArray,i=r.Hasher,s=n.x64,a=s.Word,c=n.algo,l=[],u=[],h=[];(function(){for(var e=1,t=0,n=0;n<24;n++){l[e+5*t]=(n+1)*(n+2)/2%64;var r=t%5,o=(2*e+3*t)%5;e=r,t=o}for(e=0;e<5;e++)for(t=0;t<5;t++)u[e+5*t]=t+(2*e+3*t)%5*5;for(var i=1,s=0;s<24;s++){for(var c=0,f=0,d=0;d<7;d++){if(1&i){var p=(1<<d)-1;p<32?f^=1<<p:c^=1<<p-32}128&i?i=i<<1^113:i<<=1}h[s]=a.create(c,f)}})();var f=[];(function(){for(var e=0;e<25;e++)f[e]=a.create()})();var d=c.SHA3=i.extend({cfg:i.cfg.extend({outputLength:512}),_doReset:function(){for(var e=this._state=[],t=0;t<25;t++)e[t]=new a.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(e,t){for(var n=this._state,r=this.blockSize/2,o=0;o<r;o++){var i=e[t+2*o],s=e[t+2*o+1];i=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),s=16711935&(s<<8|s>>>24)|4278255360&(s<<24|s>>>8);var a=n[o];a.high^=s,a.low^=i}for(var c=0;c<24;c++){for(var d=0;d<5;d++){for(var p=0,g=0,m=0;m<5;m++){a=n[d+5*m];p^=a.high,g^=a.low}var y=f[d];y.high=p,y.low=g}for(d=0;d<5;d++){var v=f[(d+4)%5],A=f[(d+1)%5],w=A.high,b=A.low;for(p=v.high^(w<<1|b>>>31),g=v.low^(b<<1|w>>>31),m=0;m<5;m++){a=n[d+5*m];a.high^=p,a.low^=g}}for(var S=1;S<25;S++){a=n[S];var _=a.high,B=a.low,E=l[S];E<32?(p=_<<E|B>>>32-E,g=B<<E|_>>>32-E):(p=B<<E-32|_>>>64-E,g=_<<E-32|B>>>64-E);var x=f[u[S]];x.high=p,x.low=g}var C=f[0],R=n[0];C.high=R.high,C.low=R.low;for(d=0;d<5;d++)for(m=0;m<5;m++){S=d+5*m,a=n[S];var k=f[S],O=f[(d+1)%5+5*m],T=f[(d+2)%5+5*m];a.high=k.high^~O.high&T.high,a.low=k.low^~O.low&T.low}a=n[0];var I=h[c];a.high^=I.high,a.low^=I.low}},_doFinalize:function(){var e=this._data,n=e.words,r=(this._nDataBytes,8*e.sigBytes),i=32*this.blockSize;n[r>>>5]|=1<<24-r%32,n[(t.ceil((r+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*n.length,this._process();for(var s=this._state,a=this.cfg.outputLength/8,c=a/8,l=[],u=0;u<c;u++){var h=s[u],f=h.high,d=h.low;f=16711935&(f<<8|f>>>24)|4278255360&(f<<24|f>>>8),d=16711935&(d<<8|d>>>24)|4278255360&(d<<24|d>>>8),l.push(d),l.push(f)}return new o.init(l,a)},clone:function(){for(var e=i.clone.call(this),t=e._state=this._state.slice(0),n=0;n<25;n++)t[n]=t[n].clone();return e}});n.SHA3=i._createHelper(d),n.HmacSHA3=i._createHmacHelper(d)}(Math),e.SHA3}))},557:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240),n(380))})(0,(function(e){return function(){var t=e,n=t.x64,r=n.Word,o=n.WordArray,i=t.algo,s=i.SHA512,a=i.SHA384=s.extend({_doReset:function(){this._hash=new o.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=s._doFinalize.call(this);return e.sigBytes-=16,e}});t.SHA384=s._createHelper(a),t.HmacSHA384=s._createHmacHelper(a)}(),e.SHA384}))},380:function(e,t,n){(function(t,r){e.exports=r(n(21),n(240))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.Hasher,o=t.x64,i=o.Word,s=o.WordArray,a=t.algo;function c(){return i.create.apply(i,arguments)}var l=[c(1116352408,3609767458),c(1899447441,602891725),c(3049323471,3964484399),c(3921009573,2173295548),c(961987163,4081628472),c(1508970993,3053834265),c(2453635748,2937671579),c(2870763221,3664609560),c(3624381080,2734883394),c(310598401,1164996542),c(607225278,1323610764),c(1426881987,3590304994),c(1925078388,4068182383),c(2162078206,991336113),c(2614888103,633803317),c(3248222580,3479774868),c(3835390401,2666613458),c(4022224774,944711139),c(264347078,2341262773),c(604807628,2007800933),c(770255983,1495990901),c(1249150122,1856431235),c(1555081692,3175218132),c(1996064986,2198950837),c(2554220882,3999719339),c(2821834349,766784016),c(2952996808,2566594879),c(3210313671,3203337956),c(3336571891,1034457026),c(3584528711,2466948901),c(113926993,3758326383),c(338241895,168717936),c(666307205,1188179964),c(773529912,1546045734),c(1294757372,1522805485),c(1396182291,2643833823),c(1695183700,2343527390),c(1986661051,1014477480),c(2177026350,1206759142),c(2456956037,344077627),c(2730485921,1290863460),c(2820302411,3158454273),c(3259730800,3505952657),c(3345764771,106217008),c(3516065817,3606008344),c(3600352804,1432725776),c(4094571909,1467031594),c(275423344,851169720),c(430227734,3100823752),c(506948616,1363258195),c(659060556,3750685593),c(883997877,3785050280),c(958139571,3318307427),c(1322822218,3812723403),c(1537002063,2003034995),c(1747873779,3602036899),c(1955562222,1575990012),c(2024104815,1125592928),c(2227730452,2716904306),c(2361852424,442776044),c(2428436474,593698344),c(2756734187,3733110249),c(3204031479,2999351573),c(3329325298,3815920427),c(3391569614,3928383900),c(3515267271,566280711),c(3940187606,3454069534),c(4118630271,4000239992),c(116418474,1914138554),c(174292421,2731055270),c(289380356,3203993006),c(460393269,320620315),c(685471733,587496836),c(852142971,1086792851),c(1017036298,365543100),c(1126000580,2618297676),c(1288033470,3409855158),c(1501505948,4234509866),c(1607167915,987167468),c(1816402316,1246189591)],u=[];(function(){for(var e=0;e<80;e++)u[e]=c()})();var h=a.SHA512=r.extend({_doReset:function(){this._hash=new s.init([new i.init(1779033703,4089235720),new i.init(3144134277,2227873595),new i.init(1013904242,4271175723),new i.init(2773480762,1595750129),new i.init(1359893119,2917565137),new i.init(2600822924,725511199),new i.init(528734635,4215389547),new i.init(1541459225,327033209)])},_doProcessBlock:function(e,t){for(var n=this._hash.words,r=n[0],o=n[1],i=n[2],s=n[3],a=n[4],c=n[5],h=n[6],f=n[7],d=r.high,p=r.low,g=o.high,m=o.low,y=i.high,v=i.low,A=s.high,w=s.low,b=a.high,S=a.low,_=c.high,B=c.low,E=h.high,x=h.low,C=f.high,R=f.low,k=d,O=p,T=g,I=m,D=y,U=v,j=A,N=w,P=b,z=S,M=_,F=B,L=E,H=x,J=C,W=R,V=0;V<80;V++){var G,Y,Z=u[V];if(V<16)Y=Z.high=0|e[t+2*V],G=Z.low=0|e[t+2*V+1];else{var K=u[V-15],X=K.high,q=K.low,Q=(X>>>1|q<<31)^(X>>>8|q<<24)^X>>>7,$=(q>>>1|X<<31)^(q>>>8|X<<24)^(q>>>7|X<<25),ee=u[V-2],te=ee.high,ne=ee.low,re=(te>>>19|ne<<13)^(te<<3|ne>>>29)^te>>>6,oe=(ne>>>19|te<<13)^(ne<<3|te>>>29)^(ne>>>6|te<<26),ie=u[V-7],se=ie.high,ae=ie.low,ce=u[V-16],le=ce.high,ue=ce.low;G=$+ae,Y=Q+se+(G>>>0<$>>>0?1:0),G+=oe,Y=Y+re+(G>>>0<oe>>>0?1:0),G+=ue,Y=Y+le+(G>>>0<ue>>>0?1:0),Z.high=Y,Z.low=G}var he=P&M^~P&L,fe=z&F^~z&H,de=k&T^k&D^T&D,pe=O&I^O&U^I&U,ge=(k>>>28|O<<4)^(k<<30|O>>>2)^(k<<25|O>>>7),me=(O>>>28|k<<4)^(O<<30|k>>>2)^(O<<25|k>>>7),ye=(P>>>14|z<<18)^(P>>>18|z<<14)^(P<<23|z>>>9),ve=(z>>>14|P<<18)^(z>>>18|P<<14)^(z<<23|P>>>9),Ae=l[V],we=Ae.high,be=Ae.low,Se=W+ve,_e=J+ye+(Se>>>0<W>>>0?1:0),Be=(Se=Se+fe,_e=_e+he+(Se>>>0<fe>>>0?1:0),Se=Se+be,_e=_e+we+(Se>>>0<be>>>0?1:0),Se=Se+G,_e=_e+Y+(Se>>>0<G>>>0?1:0),me+pe),Ee=ge+de+(Be>>>0<me>>>0?1:0);J=L,W=H,L=M,H=F,M=P,F=z,z=N+Se|0,P=j+_e+(z>>>0<N>>>0?1:0)|0,j=D,N=U,D=T,U=I,T=k,I=O,O=Se+Be|0,k=_e+Ee+(O>>>0<Se>>>0?1:0)|0}p=r.low=p+O,r.high=d+k+(p>>>0<O>>>0?1:0),m=o.low=m+I,o.high=g+T+(m>>>0<I>>>0?1:0),v=i.low=v+U,i.high=y+D+(v>>>0<U>>>0?1:0),w=s.low=w+N,s.high=A+j+(w>>>0<N>>>0?1:0),S=a.low=S+z,a.high=b+P+(S>>>0<z>>>0?1:0),B=c.low=B+F,c.high=_+M+(B>>>0<F>>>0?1:0),x=h.low=x+H,h.high=E+L+(x>>>0<H>>>0?1:0),R=f.low=R+W,f.high=C+J+(R>>>0<W>>>0?1:0)},_doFinalize:function(){var e=this._data,t=e.words,n=8*this._nDataBytes,r=8*e.sigBytes;t[r>>>5]|=128<<24-r%32,t[30+(r+128>>>10<<5)]=Math.floor(n/4294967296),t[31+(r+128>>>10<<5)]=n,e.sigBytes=4*t.length,this._process();var o=this._hash.toX32();return o},clone:function(){var e=r.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});t.SHA512=r._createHelper(h),t.HmacSHA512=r._createHmacHelper(h)}(),e.SHA512}))},628:function(e,t,n){(function(t,r){e.exports=r(n(21),n(754),n(636),n(506),n(165))})(0,(function(e){return function(){var t=e,n=t.lib,r=n.WordArray,o=n.BlockCipher,i=t.algo,s=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],a=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],c=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],l=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],u=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],h=i.DES=o.extend({_doReset:function(){for(var e=this._key,t=e.words,n=[],r=0;r<56;r++){var o=s[r]-1;n[r]=t[o>>>5]>>>31-o%32&1}for(var i=this._subKeys=[],l=0;l<16;l++){var u=i[l]=[],h=c[l];for(r=0;r<24;r++)u[r/6|0]|=n[(a[r]-1+h)%28]<<31-r%6,u[4+(r/6|0)]|=n[28+(a[r+24]-1+h)%28]<<31-r%6;u[0]=u[0]<<1|u[0]>>>31;for(r=1;r<7;r++)u[r]=u[r]>>>4*(r-1)+3;u[7]=u[7]<<5|u[7]>>>27}var f=this._invSubKeys=[];for(r=0;r<16;r++)f[r]=i[15-r]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,n){this._lBlock=e[t],this._rBlock=e[t+1],f.call(this,4,252645135),f.call(this,16,65535),d.call(this,2,858993459),d.call(this,8,16711935),f.call(this,1,1431655765);for(var r=0;r<16;r++){for(var o=n[r],i=this._lBlock,s=this._rBlock,a=0,c=0;c<8;c++)a|=l[c][((s^o[c])&u[c])>>>0];this._lBlock=s,this._rBlock=i^a}var h=this._lBlock;this._lBlock=this._rBlock,this._rBlock=h,f.call(this,1,1431655765),d.call(this,8,16711935),d.call(this,2,858993459),f.call(this,16,65535),f.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function f(e,t){var n=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=n,this._lBlock^=n<<e}function d(e,t){var n=(this._rBlock>>>e^this._lBlock)&t;this._lBlock^=n,this._rBlock^=n<<e}t.DES=o._createHelper(h);var p=i.TripleDES=o.extend({_doReset:function(){var e=this._key,t=e.words;if(2!==t.length&&4!==t.length&&t.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var n=t.slice(0,2),o=t.length<4?t.slice(0,2):t.slice(2,4),i=t.length<6?t.slice(0,2):t.slice(4,6);this._des1=h.createEncryptor(r.create(n)),this._des2=h.createEncryptor(r.create(o)),this._des3=h.createEncryptor(r.create(i))},encryptBlock:function(e,t){this._des1.encryptBlock(e,t),this._des2.decryptBlock(e,t),this._des3.encryptBlock(e,t)},decryptBlock:function(e,t){this._des3.decryptBlock(e,t),this._des2.encryptBlock(e,t),this._des1.decryptBlock(e,t)},keySize:6,ivSize:2,blockSize:2});t.TripleDES=o._createHelper(p)}(),e.TripleDES}))},240:function(e,t,n){(function(t,r){e.exports=r(n(21))})(0,(function(e){return function(t){var n=e,r=n.lib,o=r.Base,i=r.WordArray,s=n.x64={};s.Word=o.extend({init:function(e,t){this.high=e,this.low=t}}),s.WordArray=o.extend({init:function(e,n){e=this.words=e||[],this.sigBytes=n!=t?n:8*e.length},toX32:function(){for(var e=this.words,t=e.length,n=[],r=0;r<t;r++){var o=e[r];n.push(o.high),n.push(o.low)}return i.create(n,this.sigBytes)},clone:function(){for(var e=o.clone.call(this),t=e.words=this.words.slice(0),n=t.length,r=0;r<n;r++)t[r]=t[r].clone();return e}})}(),e}))},271:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OUU1NjJFMDc1OUU1MTFFRkE2QzRFMUZCM0YyQjE0MDUiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OUU1NjJFMDg1OUU1MTFFRkE2QzRFMUZCM0YyQjE0MDUiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5RTU2MkUwNTU5RTUxMUVGQTZDNEUxRkIzRjJCMTQwNSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5RTU2MkUwNjU5RTUxMUVGQTZDNEUxRkIzRjJCMTQwNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnYHytYAAADTSURBVHjapFPRDcIgEC3EPWQFXcA6ifVfZ6jO4ADqJGUCV6BOgnfJI70iJTRc8gIc8Lh3dyjvfVNjmzDZX5u+4PyXYD+PZgwOjcstDTeCEWMKB8Iwo2QJu4tvCQ5zRzA8j8F+7LfBp9folaHPJKw0SzjVEIzIxz8BJdOJhOUqMScgbRzWGbDIdk6CQeWmPgAJR2Gg8Y51FxFshZSJIHqhF/3xhE/aMVREpVqZLg6IgA85OqyW9OiSUhX9hcje/DKBJbyyDKmWFW3bLe0HqNrv/BNgANkfieaZ8+wxAAAAAElFTkSuQmCC"},554:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOVJREFUOE+lk80VgyAQhMdKgjfKWCtJrMRYiekklMFN0kkcHpuHCkme7sUf5JvdGWxwshrdb6wMf7BeAFzwLui3EWCsCIDncvsAcEvXGk+Cd20JMHHBWJkBdLlK1qVJQn3wzvF93sFPQOqWAqcAE0HBu/5oBzSbPnQ7QJqVc9KDOOO2jBWaPKiReYxMgkUFRjVWABRQo90HkDlNhau2mBRz1mV5uANomVQJEKNKker52I4zrmIszMlDxRF44uZlnJ3Q6iAVAPSBnRByCKBGsQMaGjMvVbU1Y4UQ5s3/o1pVwLdN+dob2Bx9EVmMIDsAAAAASUVORK5CYII="},14:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADgAAAA4CAYAAACohjseAAARhElEQVRog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Q0Y4NkJDQzdFRjlDMCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDozRjIwOEVFNTU5RTMxMUVGOUE3Q0Y4NkJDQzdFRjlDMCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Phk9awQAAADGSURBVHjaYvz//z8DJYAJl4RRLoMCECcQMoARmwtAmoHUfSB+AMLnJjM4kuqCeiBeAMQgjQ7keAGk6SAxYcCCQxzkhQNQGuSl/WjyB4DeasRqADTgFgAVPACyQSARTYk8EIPUNKIEIlCxA5L/4TbgCWBFkCUsSJr3Q0NdAWY6Hu+BYuYBeiCCBBVhUYfHAHto+OBPSATAA0oMAAXgQ6q5ABwL0ECcD5VwQPYjlgBkgIYVSkJ6gBTyC/FZDdS8gGBmIgUABBgAgktC2XC6NmEAAAAASUVORK5CYII="},632:function(e){"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAOJJREFUOE+lk9sRwiAQRW8qkfzRhaSTpBLHSmInbhn8ZTvRXGZR8sCJykx+MuzZuwdo8OdqavXOBwcgaJTbpx67ACueACg/jdLVIDXAaAVXAJNGqSatAdidxfIr4AGgBUAPdwOVU8icig2wSeB86Oeis0YZssjV/KfZS69R2OANcD4E23hhx9xhLa8Q3GoUTQmsmFFpnbE7jcL5N8v2josE5U/nAwUSQNgegAkdR3yN8AMAC4lfAtIR5xtaOkhzHRiBgCE7WgBMIk9jV6AJZvx0hKWD9HCOPMz146re8SMw7nkC7MV4ERlYkdMAAAAASUVORK5CYII="},317:function(t){"use strict";t.exports=e},477:function(){}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,r),i.exports}!function(){r.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return r.d(t,{a:t}),t}}(),function(){r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){r.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){r.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}}(),function(){r.p=""}();var o={};return function(){"use strict";r.r(o),r.d(o,{default:function(){return Ho}});var e={};if(r.r(e),r.d(e,{hasBrowserEnv:function(){return Xe},hasStandardBrowserEnv:function(){return Qe},hasStandardBrowserWebWorkerEnv:function(){return $e},navigator:function(){return qe},origin:function(){return et}}),"undefined"!==typeof window){var t=window.document.currentScript,n=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);n&&(r.p=n[1])}var i=function(){var e=this,t=e._self._c;return e.visible?t("div",{staticClass:"ai-contain"},[t("div",{staticClass:"bg-image"}),t("div",{staticClass:"ai-contain-header"},[t("div",{staticClass:"logo-title",on:{click:e.showHot}},[t("img",{staticStyle:{width:"48px",height:"48px"},attrs:{src:r(14),alt:""}}),t("span",{staticClass:"title-font"},[e._v("学习助手")])]),t("div",{staticClass:"icon-close",on:{click:e.closeMessage}},[t("i",{staticClass:"el-icon-close"})])]),e.courseFlag?[t("div",{staticClass:"ai-main-content"},[e.chatShow?e._e():t("hot-search",{on:{"select-module":e.selectModule}}),e.chatShow?t("chat",{ref:"chatRef",attrs:{resId:e.resId,chatId:e.chatId,"key-word":e.aiMessageKeyWord,"message-data":e.messageList},on:{"on-reanser":e.reanserMethod,"on-message-finish":e.messageFinish}}):e._e()],1),t("div",{staticClass:"tools-wrap"},[t("span",{on:{click:e.addNewChat}},[e._v("新增对话")]),t("span",{on:{click:e.clearChat}},[e._v("清空对话")])]),t("div",{staticClass:"ai-message-send",on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.goChat.apply(null,arguments)}}},[t("el-input",{attrs:{type:"textarea",rows:2,placeholder:"可以提出问题..."},model:{value:e.aiMessage,callback:function(t){e.aiMessage=t},expression:"aiMessage"}}),t("div",{staticClass:"ai-send-icon",on:{click:e.goChat}},[t("img",{staticStyle:{width:"24px",height:"24px"},attrs:{src:r(951),alt:""}})])],1)]:e._e(),e.courseFlag?e._e():t("div",{staticClass:"message-wrap"},[t("div",{staticClass:"message-line"},[e._v(e._s(e.message))]),t("div",{staticClass:"message-line"},[e._v("不能交流")])])],2):e._e()},s=[],a=function(){var e=this;e._self._c;return e._m(0)},c=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"hot-search-contain"},[t("div",{staticClass:"robot"},[t("div",{staticClass:"robot-image-div"})]),t("div",{staticClass:"robot-message"},[t("p",[e._v("Hi,我是学习助手。")]),t("p",[e._v("在这里你可以获得专业、准确的课程讲解,包括对公式的深入理解和细腻的解答。")])])])}],l={name:"HotSearch",data(){return{aiMessage:[{value:"请解释一下牛顿第二定律的公式和物理意义。",id:1},{value:"电磁感应定律是如何描述的?请给出相关公式并解释。",id:2},{value:"在光学中,光的干涉现象是如何产生的?能否用公式来表示?",id:3}]}},methods:{selectModule(e){this.$emit("select-module",e)}}},u=l;function h(e,t,n,r,o,i,s,a){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,c):[c]}return{exports:e,options:l}}var f=h(u,a,c,!1,null,"73bfe44c",null),d=f.exports,p=function(){var e=this,t=e._self._c;return t("div",{ref:"chatContainer",staticClass:"chat-contain"},e._l(e.messageData,(function(n,r){return t("div",{key:r,staticClass:"message",class:{"user-list":"user"===n.type}},["robot"===n.type?t("div",{staticClass:"robot"},[t("div",{staticClass:"robot-image-div"})]):t("div",{staticClass:"robot user"},[e._v("user")]),t("div",{staticClass:"robot-message",class:{"user-info":"user"===n.type}},[t("div",{domProps:{innerHTML:e._s(n.message)}}),"robot"===n.type&&n.links.length>0?t("div",{staticClass:"link"},[t("div",{staticClass:"link-title"},[e._v("相关链接")]),t("div",{staticClass:"link-content"},e._l(n.links,(function(n){return t("div",{staticClass:"links"},[t("a",{attrs:{href:"https://ai-yuliao.hep.com.cn"+n.documentUrl,target:"_blank"}},[t("span",[e._v(e._s(n.title))])])])})),0)]):e._e(),"robot"===n.type?t("chat-tools",{attrs:{chatId:e.chatId,"detail-data":n},on:{"on-reanswer":t=>e.reanswer(t,r),"on-stop-chat":e.onStopChat}}):e._e()],1)])})),0)},g=[];function m(e,t){return function(){return e.apply(t,arguments)}}const{toString:y}=Object.prototype,{getPrototypeOf:v}=Object,A=(e=>t=>{const n=y.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),w=e=>(e=e.toLowerCase(),t=>A(t)===e),b=e=>t=>typeof t===e,{isArray:S}=Array,_=b("undefined");function B(e){return null!==e&&!_(e)&&null!==e.constructor&&!_(e.constructor)&&R(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const E=w("ArrayBuffer");function x(e){let t;return t="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer),t}const C=b("string"),R=b("function"),k=b("number"),O=e=>null!==e&&"object"===typeof e,T=e=>!0===e||!1===e,I=e=>{if("object"!==A(e))return!1;const t=v(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},D=w("Date"),U=w("File"),j=w("Blob"),N=w("FileList"),P=e=>O(e)&&R(e.pipe),z=e=>{let t;return e&&("function"===typeof FormData&&e instanceof FormData||R(e.append)&&("formdata"===(t=A(e))||"object"===t&&R(e.toString)&&"[object FormData]"===e.toString()))},M=w("URLSearchParams"),[F,L,H,J]=["ReadableStream","Request","Response","Headers"].map(w),W=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function V(e,t,{allOwnKeys:n=!1}={}){if(null===e||"undefined"===typeof e)return;let r,o;if("object"!==typeof e&&(e=[e]),S(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r<i;r++)s=o[r],t.call(null,e[s],s,e)}}function G(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;while(o-- >0)if(r=n[o],t===r.toLowerCase())return r;return null}const Y=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global)(),Z=e=>!_(e)&&e!==Y;function K(){const{caseless:e}=Z(this)&&this||{},t={},n=(n,r)=>{const o=e&&G(t,r)||r;I(t[o])&&I(n)?t[o]=K(t[o],n):I(n)?t[o]=K({},n):S(n)?t[o]=n.slice():t[o]=n};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&V(arguments[r],n);return t}const X=(e,t,n,{allOwnKeys:r}={})=>(V(t,((t,r)=>{n&&R(t)?e[r]=m(t,n):e[r]=t}),{allOwnKeys:r}),e),q=e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),Q=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},$=(e,t,n,r)=>{let o,i,s;const a={};if(t=t||{},null==e)return t;do{o=Object.getOwnPropertyNames(e),i=o.length;while(i-- >0)s=o[i],r&&!r(s,e,t)||a[s]||(t[s]=e[s],a[s]=!0);e=!1!==n&&v(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},ee=(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},te=e=>{if(!e)return null;if(S(e))return e;let t=e.length;if(!k(t))return null;const n=new Array(t);while(t-- >0)n[t]=e[t];return n},ne=(e=>t=>e&&t instanceof e)("undefined"!==typeof Uint8Array&&v(Uint8Array)),re=(e,t)=>{const n=e&&e[Symbol.iterator],r=n.call(e);let o;while((o=r.next())&&!o.done){const n=o.value;t.call(e,n[0],n[1])}},oe=(e,t)=>{let n;const r=[];while(null!==(n=e.exec(t)))r.push(n);return r},ie=w("HTMLFormElement"),se=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),ae=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ce=w("RegExp"),le=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};V(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},ue=e=>{le(e,((t,n)=>{if(R(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];R(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},he=(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return S(e)?r(e):r(String(e).split(t)),n},fe=()=>{},de=(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,pe="abcdefghijklmnopqrstuvwxyz",ge="0123456789",me={DIGIT:ge,ALPHA:pe,ALPHA_DIGIT:pe+pe.toUpperCase()+ge},ye=(e=16,t=me.ALPHA_DIGIT)=>{let n="";const{length:r}=t;while(e--)n+=t[Math.random()*r|0];return n};function ve(e){return!!(e&&R(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])}const Ae=e=>{const t=new Array(10),n=(e,r)=>{if(O(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=S(e)?[]:{};return V(e,((e,t)=>{const i=n(e,r+1);!_(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},we=w("AsyncFunction"),be=e=>e&&(O(e)||R(e))&&R(e.then)&&R(e.catch),Se=((e,t)=>e?setImmediate:t?((e,t)=>(Y.addEventListener("message",(({source:n,data:r})=>{n===Y&&r===e&&t.length&&t.shift()()}),!1),n=>{t.push(n),Y.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e))("function"===typeof setImmediate,R(Y.postMessage)),_e="undefined"!==typeof queueMicrotask?queueMicrotask.bind(Y):"undefined"!==typeof process&&process.nextTick||Se;var Be={isArray:S,isArrayBuffer:E,isBuffer:B,isFormData:z,isArrayBufferView:x,isString:C,isNumber:k,isBoolean:T,isObject:O,isPlainObject:I,isReadableStream:F,isRequest:L,isResponse:H,isHeaders:J,isUndefined:_,isDate:D,isFile:U,isBlob:j,isRegExp:ce,isFunction:R,isStream:P,isURLSearchParams:M,isTypedArray:ne,isFileList:N,forEach:V,merge:K,extend:X,trim:W,stripBOM:q,inherits:Q,toFlatObject:$,kindOf:A,kindOfTest:w,endsWith:ee,toArray:te,forEachEntry:re,matchAll:oe,isHTMLForm:ie,hasOwnProperty:ae,hasOwnProp:ae,reduceDescriptors:le,freezeMethods:ue,toObjectSet:he,toCamelCase:se,noop:fe,toFiniteNumber:de,findKey:G,global:Y,isContextDefined:Z,ALPHABET:me,generateString:ye,isSpecCompliantForm:ve,toJSONObject:Ae,isAsyncFn:we,isThenable:be,setImmediate:Se,asap:_e};function Ee(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}Be.inherits(Ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Be.toJSONObject(this.config),code:this.code,status:this.status}}});const xe=Ee.prototype,Ce={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{Ce[e]={value:e}})),Object.defineProperties(Ee,Ce),Object.defineProperty(xe,"isAxiosError",{value:!0}),Ee.from=(e,t,n,r,o,i)=>{const s=Object.create(xe);return Be.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Ee.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};var Re=Ee,ke=null;function Oe(e){return Be.isPlainObject(e)||Be.isArray(e)}function Te(e){return Be.endsWith(e,"[]")?e.slice(0,-2):e}function Ie(e,t,n){return e?e.concat(t).map((function(e,t){return e=Te(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}function De(e){return Be.isArray(e)&&!e.some(Oe)}const Ue=Be.toFlatObject(Be,{},null,(function(e){return/^is[A-Z]/.test(e)}));function je(e,t,n){if(!Be.isObject(e))throw new TypeError("target must be an object");t=t||new(ke||FormData),n=Be.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!Be.isUndefined(t[e])}));const r=n.metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=n.Blob||"undefined"!==typeof Blob&&Blob,c=a&&Be.isSpecCompliantForm(t);if(!Be.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Be.isDate(e))return e.toISOString();if(!c&&Be.isBlob(e))throw new Re("Blob is not supported. Use a Buffer instead.");return Be.isArrayBuffer(e)||Be.isTypedArray(e)?c&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let a=e;if(e&&!o&&"object"===typeof e)if(Be.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Be.isArray(e)&&De(e)||(Be.isFileList(e)||Be.endsWith(n,"[]"))&&(a=Be.toArray(e)))return n=Te(n),a.forEach((function(e,r){!Be.isUndefined(e)&&null!==e&&t.append(!0===s?Ie([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!Oe(e)||(t.append(Ie(o,n,i),l(e)),!1)}const h=[],f=Object.assign(Ue,{defaultVisitor:u,convertValue:l,isVisitable:Oe});function d(e,n){if(!Be.isUndefined(e)){if(-1!==h.indexOf(e))throw Error("Circular reference detected in "+n.join("."));h.push(e),Be.forEach(e,(function(e,r){const i=!(Be.isUndefined(e)||null===e)&&o.call(t,e,Be.isString(r)?r.trim():r,n,f);!0===i&&d(e,n?n.concat(r):[r])})),h.pop()}}if(!Be.isObject(e))throw new TypeError("data must be an object");return d(e),t}var Ne=je;function Pe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ze(e,t){this._pairs=[],e&&Ne(e,this,t)}const Me=ze.prototype;Me.append=function(e,t){this._pairs.push([e,t])},Me.toString=function(e){const t=e?function(t){return e.call(this,t,Pe)}:Pe;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Fe=ze;function Le(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function He(e,t,n){if(!t)return e;const r=n&&n.encode||Le,o=n&&n.serialize;let i;if(i=o?o(t,n):Be.isURLSearchParams(t)?t.toString():new Fe(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}class Je{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Be.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}var We=Je,Ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ge="undefined"!==typeof URLSearchParams?URLSearchParams:Fe,Ye="undefined"!==typeof FormData?FormData:null,Ze="undefined"!==typeof Blob?Blob:null,Ke={isBrowser:!0,classes:{URLSearchParams:Ge,FormData:Ye,Blob:Ze},protocols:["http","https","file","blob","url","data"]};const Xe="undefined"!==typeof window&&"undefined"!==typeof document,qe="object"===typeof navigator&&navigator||void 0,Qe=Xe&&(!qe||["ReactNative","NativeScript","NS"].indexOf(qe.product)<0),$e=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),et=Xe&&window.location.href||"http://localhost";var tt={...e,...Ke};function nt(e,t){return Ne(e,new tt.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return tt.isNode&&Be.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}function rt(e){return Be.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}function ot(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function it(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;if(i=!i&&Be.isArray(r)?r.length:i,a)return Be.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s;r[i]&&Be.isObject(r[i])||(r[i]=[]);const c=t(e,n,r[i],o);return c&&Be.isArray(r[i])&&(r[i]=ot(r[i])),!s}if(Be.isFormData(e)&&Be.isFunction(e.entries)){const n={};return Be.forEachEntry(e,((e,r)=>{t(rt(e),r,n,0)})),n}return null}var st=it;function at(e,t,n){if(Be.isString(e))try{return(t||JSON.parse)(e),Be.trim(e)}catch(xr){if("SyntaxError"!==xr.name)throw xr}return(n||JSON.stringify)(e)}const ct={transitional:Ve,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=Be.isObject(e);o&&Be.isHTMLForm(e)&&(e=new FormData(e));const i=Be.isFormData(e);if(i)return r?JSON.stringify(st(e)):e;if(Be.isArrayBuffer(e)||Be.isBuffer(e)||Be.isStream(e)||Be.isFile(e)||Be.isBlob(e)||Be.isReadableStream(e))return e;if(Be.isArrayBufferView(e))return e.buffer;if(Be.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return nt(e,this.formSerializer).toString();if((s=Be.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Ne(s?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),at(e)):e}],transformResponse:[function(e){const t=this.transitional||ct.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Be.isResponse(e)||Be.isReadableStream(e))return e;if(e&&Be.isString(e)&&(n&&!this.responseType||r)){const n=t&&t.silentJSONParsing,o=!n&&r;try{return JSON.parse(e)}catch(xr){if(o){if("SyntaxError"===xr.name)throw Re.from(xr,Re.ERR_BAD_RESPONSE,this,null,this.response);throw xr}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tt.classes.FormData,Blob:tt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Be.forEach(["delete","get","head","post","put","patch"],(e=>{ct.headers[e]={}}));var lt=ct;const ut=Be.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var ht=e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&ut[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t};const ft=Symbol("internals");function dt(e){return e&&String(e).trim().toLowerCase()}function pt(e){return!1===e||null==e?e:Be.isArray(e)?e.map(pt):String(e)}function gt(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;while(r=n.exec(e))t[r[1]]=r[2];return t}const mt=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function yt(e,t,n,r,o){return Be.isFunction(r)?r.call(this,t,n):(o&&(t=n),Be.isString(t)?Be.isString(r)?-1!==t.indexOf(r):Be.isRegExp(r)?r.test(t):void 0:void 0)}function vt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function At(e,t){const n=Be.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}class wt{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=dt(t);if(!o)throw new Error("header name must be a non-empty string");const i=Be.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=pt(e))}const i=(e,t)=>Be.forEach(e,((e,n)=>o(e,n,t)));if(Be.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(Be.isString(e)&&(e=e.trim())&&!mt(e))i(ht(e),t);else if(Be.isHeaders(e))for(const[s,a]of e.entries())o(a,s,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=dt(e),e){const n=Be.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return gt(e);if(Be.isFunction(t))return t.call(this,e,n);if(Be.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=dt(e),e){const n=Be.findKey(this,e);return!(!n||void 0===this[n]||t&&!yt(this,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=dt(e),e){const o=Be.findKey(n,e);!o||t&&!yt(n,n[o],o,t)||(delete n[o],r=!0)}}return Be.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;while(n--){const o=t[n];e&&!yt(this,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return Be.forEach(this,((r,o)=>{const i=Be.findKey(n,o);if(i)return t[i]=pt(r),void delete t[o];const s=e?vt(o):String(o).trim();s!==o&&delete t[o],t[s]=pt(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Be.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Be.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=this[ft]=this[ft]={accessors:{}},n=t.accessors,r=this.prototype;function o(e){const t=dt(e);n[t]||(At(r,e),n[t]=!0)}return Be.isArray(e)?e.forEach(o):o(e),this}}wt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Be.reduceDescriptors(wt.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),Be.freezeMethods(wt);var bt=wt;function St(e,t){const n=this||lt,r=t||n,o=bt.from(r.headers);let i=r.data;return Be.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function _t(e){return!(!e||!e.__CANCEL__)}function Bt(e,t,n){Re.call(this,null==e?"canceled":e,Re.ERR_CANCELED,t,n),this.name="CanceledError"}Be.inherits(Bt,Re,{__CANCEL__:!0});var Et=Bt;function xt(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Re("Request failed with status code "+n.status,[Re.ERR_BAD_REQUEST,Re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}function Ct(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Rt(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const c=Date.now(),l=r[s];o||(o=c),n[i]=a,r[i]=c;let u=s,h=0;while(u!==i)h+=n[u++],u%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),c-o<t)return;const f=l&&c-l;return f?Math.round(1e3*h/f):void 0}}var kt=Rt;function Ot(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)},a=(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},c=()=>n&&s(n);return[a,c]}var Tt=Ot;const It=(e,t,n=3)=>{let r=0;const o=kt(50,250);return Tt((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,c=o(a),l=i<=s;r=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:c||void 0,estimated:c&&s&&l?(s-i)/c:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0};e(u)}),n)},Dt=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ut=e=>(...t)=>Be.asap((()=>e(...t)));var jt=tt.hasStandardBrowserEnv?function(){const e=tt.navigator&&/(msie|trident)/i.test(tt.navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=Be.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return function(){return!0}}(),Nt=tt.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];Be.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),Be.isString(r)&&s.push("path="+r),Be.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Pt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function zt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Mt(e,t){return e&&!Pt(t)?zt(e,t):t}const Ft=e=>e instanceof bt?{...e}:e;function Lt(e,t){t=t||{};const n={};function r(e,t,n){return Be.isPlainObject(e)&&Be.isPlainObject(t)?Be.merge.call({caseless:n},e,t):Be.isPlainObject(t)?Be.merge({},t):Be.isArray(t)?t.slice():t}function o(e,t,n){return Be.isUndefined(t)?Be.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!Be.isUndefined(t))return r(void 0,t)}function s(e,t){return Be.isUndefined(t)?Be.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>o(Ft(e),Ft(t),!0)};return Be.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=c[r]||o,s=i(e[r],t[r],r);Be.isUndefined(s)&&i!==a||(n[r]=s)})),n}var Ht=e=>{const t=Lt({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:c}=t;if(t.headers=a=bt.from(a),t.url=He(Mt(t.baseURL,t.url),e.params,e.paramsSerializer),c&&a.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),Be.isFormData(r))if(tt.hasStandardBrowserEnv||tt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(tt.hasStandardBrowserEnv&&(o&&Be.isFunction(o)&&(o=o(t)),o||!1!==o&&jt(t.url))){const e=i&&s&&Nt.read(s);e&&a.set(i,e)}return t};const Jt="undefined"!==typeof XMLHttpRequest;var Wt=Jt&&function(e){return new Promise((function(t,n){const r=Ht(e);let o=r.data;const i=bt.from(r.headers).normalize();let s,a,c,l,u,{responseType:h,onUploadProgress:f,onDownloadProgress:d}=r;function p(){l&&l(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=bt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),o=h&&"text"!==h&&"json"!==h?g.response:g.responseText,i={data:o,status:g.status,statusText:g.statusText,headers:r,config:e,request:g};xt((function(e){t(e),p()}),(function(e){n(e),p()}),i),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new Re("Request aborted",Re.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new Re("Network Error",Re.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||Ve;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Re(t,o.clarifyTimeoutError?Re.ETIMEDOUT:Re.ECONNABORTED,e,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&Be.forEach(i.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),Be.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),h&&"json"!==h&&(g.responseType=r.responseType),d&&([c,u]=It(d,!0),g.addEventListener("progress",c)),f&&g.upload&&([a,l]=It(f),g.upload.addEventListener("progress",a),g.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(s=t=>{g&&(n(!t||t.type?new Et(null,e,g):t),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const y=Ct(r.url);y&&-1===tt.protocols.indexOf(y)?n(new Re("Unsupported protocol "+y+":",Re.ERR_BAD_REQUEST,e)):g.send(o||null)}))};const Vt=(e,t)=>{let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Re?t:new Et(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{o(new Re(`timeout ${t} of ms exceeded`,Re.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",o):e.unsubscribe(o))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=s,[a,()=>{i&&clearTimeout(i),i=null}]};var Gt=Vt;const Yt=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;while(o<n)r=o+t,yield e.slice(o,r),o=r},Zt=async function*(e,t,n){for await(const r of e)yield*Yt(ArrayBuffer.isView(r)?r:await n(String(r)),t)},Kt=(e,t,n,r,o)=>{const i=Zt(e,t,o);let s,a=0,c=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return c(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw c(t),t}},cancel(e){return c(e),i.return()}},{highWaterMark:2})},Xt="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,qt=Xt&&"function"===typeof ReadableStream,Qt=Xt&&("function"===typeof TextEncoder?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),$t=(e,...t)=>{try{return!!e(...t)}catch(xr){return!1}},en=qt&&$t((()=>{let e=!1;const t=new Request(tt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),tn=65536,nn=qt&&$t((()=>Be.isReadableStream(new Response("").body))),rn={stream:nn&&(e=>e.body)};Xt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!rn[t]&&(rn[t]=Be.isFunction(e[t])?e=>e[t]():(e,n)=>{throw new Re(`Response type '${t}' is not supported`,Re.ERR_NOT_SUPPORT,n)})}))})(new Response);const on=async e=>null==e?0:Be.isBlob(e)?e.size:Be.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:Be.isArrayBufferView(e)||Be.isArrayBuffer(e)?e.byteLength:(Be.isURLSearchParams(e)&&(e+=""),Be.isString(e)?(await Qt(e)).byteLength:void 0),sn=async(e,t)=>{const n=Be.toFiniteNumber(e.getContentLength());return null==n?on(t):n};var an=Xt&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:h="same-origin",fetchOptions:f}=Ht(e);l=l?(l+"").toLowerCase():"text";let d,p,[g,m]=o||i||s?Gt([o,i],s):[];const y=()=>{!d&&setTimeout((()=>{g&&g.unsubscribe()})),d=!0};let v;try{if(c&&en&&"get"!==n&&"head"!==n&&0!==(v=await sn(u,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(Be.isFormData(r)&&(e=n.headers.get("content-type"))&&u.setContentType(e),n.body){const[e,t]=Dt(v,It(Ut(c)));r=Kt(n.body,tn,e,t,Qt)}}Be.isString(h)||(h=h?"include":"omit");const o="credentials"in Request.prototype;p=new Request(t,{...f,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:o?h:void 0});let i=await fetch(p);const s=nn&&("stream"===l||"response"===l);if(nn&&(a||s)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=Be.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&Dt(t,It(Ut(a),!0))||[];i=new Response(Kt(i.body,tn,n,(()=>{r&&r(),s&&y()}),Qt),e)}l=l||"text";let d=await rn[Be.findKey(rn,l)||"text"](i,e);return!s&&y(),m&&m(),await new Promise(((t,n)=>{xt(t,n,{data:d,headers:bt.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:p})}))}catch(A){if(y(),A&&"TypeError"===A.name&&/fetch/i.test(A.message))throw Object.assign(new Re("Network Error",Re.ERR_NETWORK,e,p),{cause:A.cause||A});throw Re.from(A,A&&A.code,e,p)}});const cn={http:ke,xhr:Wt,fetch:an};Be.forEach(cn,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(xr){}Object.defineProperty(e,"adapterName",{value:t})}}));const ln=e=>`- ${e}`,un=e=>Be.isFunction(e)||null===e||!1===e;var hn={getAdapter:e=>{e=Be.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!un(n)&&(r=cn[(t=String(n)).toLowerCase()],void 0===r))throw new Re(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(ln).join("\n"):" "+ln(e[0]):"as no adapter specified";throw new Re("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r},adapters:cn};function fn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Et(null,e)}function dn(e){fn(e),e.headers=bt.from(e.headers),e.data=St.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);const t=hn.getAdapter(e.adapter||lt.adapter);return t(e).then((function(t){return fn(e),t.data=St.call(e,e.transformResponse,t),t.headers=bt.from(t.headers),t}),(function(t){return _t(t)||(fn(e),t&&t.response&&(t.response.data=St.call(e,e.transformResponse,t.response),t.response.headers=bt.from(t.response.headers))),Promise.reject(t)}))}const pn="1.7.5",gn={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{gn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const mn={};function yn(e,t,n){if("object"!==typeof e)throw new Re("options must be an object",Re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;while(o-- >0){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new Re("option "+i+" must be "+n,Re.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Re("Unknown option "+i,Re.ERR_BAD_OPTION)}}gn.transitional=function(e,t,n){function r(e,t){return"[Axios v"+pn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Re(r(o," has been removed"+(t?" in "+t:"")),Re.ERR_DEPRECATED);return t&&!mn[o]&&(mn[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var vn={assertOptions:yn,validators:gn};const An=vn.validators;class wn{constructor(e){this.defaults=e,this.interceptors={request:new We,response:new We}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;const t=e.stack?e.stack.replace(/^.+\n/,""):"";try{n.stack?t&&!String(n.stack).endsWith(t.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+t):n.stack=t}catch(xr){}}throw n}}_request(e,t){"string"===typeof e?(t=t||{},t.url=e):t=e||{},t=Lt(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&vn.assertOptions(n,{silentJSONParsing:An.transitional(An.boolean),forcedJSONParsing:An.transitional(An.boolean),clarifyTimeoutError:An.transitional(An.boolean)},!1),null!=r&&(Be.isFunction(r)?t.paramsSerializer={serialize:r}:vn.assertOptions(r,{encode:An.function,serialize:An.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&Be.merge(o.common,o[t.method]);o&&Be.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=bt.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const c=[];let l;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let u,h=0;if(!a){const e=[dn.bind(this),void 0];e.unshift.apply(e,s),e.push.apply(e,c),u=e.length,l=Promise.resolve(t);while(h<u)l=l.then(e[h++],e[h++]);return l}u=s.length;let f=t;h=0;while(h<u){const e=s[h++],t=s[h++];try{f=e(f)}catch(d){t.call(this,d);break}}try{l=dn.call(this,f)}catch(d){return Promise.reject(d)}h=0,u=c.length;while(h<u)l=l.then(c[h++],c[h++]);return l}getUri(e){e=Lt(this.defaults,e);const t=Mt(e.baseURL,e.url);return He(t,e.params,e.paramsSerializer)}}Be.forEach(["delete","get","head","options"],(function(e){wn.prototype[e]=function(t,n){return this.request(Lt(n||{},{method:e,url:t,data:(n||{}).data}))}})),Be.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Lt(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}wn.prototype[e]=t(),wn.prototype[e+"Form"]=t(!0)}));var bn=wn;class Sn{constructor(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Et(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;const t=new Sn((function(t){e=t}));return{token:t,cancel:e}}}var _n=Sn;function Bn(e){return function(t){return e.apply(null,t)}}function En(e){return Be.isObject(e)&&!0===e.isAxiosError}const xn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xn).forEach((([e,t])=>{xn[t]=e}));var Cn=xn;function Rn(e){const t=new bn(e),n=m(bn.prototype.request,t);return Be.extend(n,bn.prototype,t,{allOwnKeys:!0}),Be.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return Rn(Lt(e,t))},n}const kn=Rn(lt);kn.Axios=bn,kn.CanceledError=Et,kn.CancelToken=_n,kn.isCancel=_t,kn.VERSION=pn,kn.toFormData=Ne,kn.AxiosError=Re,kn.Cancel=kn.CanceledError,kn.all=function(e){return Promise.all(e)},kn.spread=Bn,kn.isAxiosError=En,kn.mergeConfig=Lt,kn.AxiosHeaders=bt,kn.formToJSON=e=>st(Be.isHTMLForm(e)?new FormData(e):e),kn.getAdapter=hn.getAdapter,kn.HttpStatusCode=Cn,kn.default=kn;var On=kn;const Tn={set(e,t){sessionStorage&&null!=e&&null!=t&&sessionStorage.setItem(e,t)},get(e){return sessionStorage?null==e?null:sessionStorage.getItem(e):null},setJSON(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON(e){const t=this.get(e);if(null!=t)return JSON.parse(t)},remove(e){sessionStorage.removeItem(e)}},In={set(e,t){localStorage&&null!=e&&null!=t&&localStorage.setItem(e,t)},get(e){return localStorage?null==e?null:localStorage.getItem(e):null},setJSON(e,t){null!=t&&this.set(e,JSON.stringify(t))},getJSON(e){const t=this.get(e);if(null!=t)return JSON.parse(t)},remove(e){localStorage.removeItem(e)}};var Dn={session:Tn,local:In},Un=r(317),jn=r(396),Nn=r.n(jn);const Pn="3.7.7",zn=Pn,Mn="function"===typeof Buffer,Fn="function"===typeof TextDecoder?new TextDecoder:void 0,Ln="function"===typeof TextEncoder?new TextEncoder:void 0,Hn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Jn=Array.prototype.slice.call(Hn),Wn=(e=>{let t={};return e.forEach(((e,n)=>t[e]=n)),t})(Jn),Vn=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Gn=String.fromCharCode.bind(String),Yn="function"===typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),Zn=e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")),Kn=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Xn=e=>{let t,n,r,o,i="";const s=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=Jn[t>>18&63]+Jn[t>>12&63]+Jn[t>>6&63]+Jn[63&t]}return s?i.slice(0,s-3)+"===".substring(s):i},qn="function"===typeof btoa?e=>btoa(e):Mn?e=>Buffer.from(e,"binary").toString("base64"):Xn,Qn=Mn?e=>Buffer.from(e).toString("base64"):e=>{const t=4096;let n=[];for(let r=0,o=e.length;r<o;r+=t)n.push(Gn.apply(null,e.subarray(r,r+t)));return qn(n.join(""))},$n=(e,t=!1)=>t?Zn(Qn(e)):Qn(e),er=e=>{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Gn(192|t>>>6)+Gn(128|63&t):Gn(224|t>>>12&15)+Gn(128|t>>>6&63)+Gn(128|63&t)}t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Gn(240|t>>>18&7)+Gn(128|t>>>12&63)+Gn(128|t>>>6&63)+Gn(128|63&t)},tr=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,nr=e=>e.replace(tr,er),rr=Mn?e=>Buffer.from(e,"utf8").toString("base64"):Ln?e=>Qn(Ln.encode(e)):e=>qn(nr(e)),or=(e,t=!1)=>t?Zn(rr(e)):rr(e),ir=e=>or(e,!0),sr=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,ar=e=>{switch(e.length){case 4:var t=(7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3),n=t-65536;return Gn(55296+(n>>>10))+Gn(56320+(1023&n));case 3:return Gn((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Gn((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},cr=e=>e.replace(sr,ar),lr=e=>{if(e=e.replace(/\s+/g,""),!Vn.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=Wn[e.charAt(i++)]<<18|Wn[e.charAt(i++)]<<12|(n=Wn[e.charAt(i++)])<<6|(r=Wn[e.charAt(i++)]),o+=64===n?Gn(t>>16&255):64===r?Gn(t>>16&255,t>>8&255):Gn(t>>16&255,t>>8&255,255&t);return o},ur="function"===typeof atob?e=>atob(Kn(e)):Mn?e=>Buffer.from(e,"base64").toString("binary"):lr,hr=Mn?e=>Yn(Buffer.from(e,"base64")):e=>Yn(ur(e).split("").map((e=>e.charCodeAt(0)))),fr=e=>hr(pr(e)),dr=Mn?e=>Buffer.from(e,"base64").toString("utf8"):Fn?e=>Fn.decode(hr(e)):e=>cr(ur(e)),pr=e=>Kn(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))),gr=e=>dr(pr(e)),mr=e=>{if("string"!==typeof e)return!1;const t=e.replace(/\s+/g,"").replace(/={0,2}$/,"");return!/[^\s0-9a-zA-Z\+/]/.test(t)||!/[^\s0-9a-zA-Z\-_]/.test(t)},yr=e=>({value:e,enumerable:!1,writable:!0,configurable:!0}),vr=function(){const e=(e,t)=>Object.defineProperty(String.prototype,e,yr(t));e("fromBase64",(function(){return gr(this)})),e("toBase64",(function(e){return or(this,e)})),e("toBase64URI",(function(){return or(this,!0)})),e("toBase64URL",(function(){return or(this,!0)})),e("toUint8Array",(function(){return fr(this)}))},Ar=function(){const e=(e,t)=>Object.defineProperty(Uint8Array.prototype,e,yr(t));e("toBase64",(function(e){return $n(this,e)})),e("toBase64URI",(function(){return $n(this,!0)})),e("toBase64URL",(function(){return $n(this,!0)}))},wr=()=>{vr(),Ar()},br={version:Pn,VERSION:zn,atob:ur,atobPolyfill:lr,btoa:qn,btoaPolyfill:Xn,fromBase64:gr,toBase64:or,encode:or,encodeURI:ir,encodeURL:ir,utob:nr,btou:cr,decode:gr,isValid:mr,fromUint8Array:$n,toUint8Array:fr,extendString:vr,extendUint8Array:Ar,extendBuiltins:wr},Sr="RU5D",_r="ODE",Br="AE",Er="S_K",xr="RVkx",Cr=br.decode(Sr).concat(_r,"_",Br,Er,br.decode(xr),"6"),Rr="d3d3",kr="w.e",Or="mru",Tr="bik",Ir="Y29t",Dr=br.decode(Rr).concat(kr,Or,Tr,".",br.decode(Ir)),Ur=Nn().enc.Utf8.parse(Cr),jr=Nn().enc.Utf8.parse(Dr);function Nr(e){const t="Hello, World!",n=br.encode(t);br.decode(n);let r=Nn().enc.Base64.parse(e),o=Nn().enc.Base64.stringify(r),i=Nn().AES.decrypt(o,Ur,{iv:jr,mode:Nn().mode.CBC,padding:Nn().pad.Pkcs7}),s=i.toString(Nn().enc.Utf8);return s.toString()}let Pr="601a39a2a4a7cd88d5ddcef5";const zr=["/home","/overview"];"aliyun"==={NODE_ENV:"production",BASE_URL:""}.VITE_APP_BUILD_TYPE&&(Pr="6572ba195ec962924cc39951");var Mr={"X-Enterprise-Id":"www.hep-zj.com.cn","X-App-Id":"90403a27c0704259ab7a3c8aab4489b3","X-App-Secret":"bc11ce7c44824fcaa23ff301a54b7094",appId:Pr,whiteList:zr,publicPath:"https://agent.icve.com.cn/heatp-portal/do/",publicPrefix:"/heatp"};const Fr=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL");On.defaults.headers["Content-Type"]="application/json;charset=utf-8";const Lr=On.create({baseURL:Fr||Mr.publicPath,timeout:8e4});Lr.interceptors.request.use((e=>{Dn.session.getJSON("SRKJ_TOKEN_CACHE")&&(e.headers["X-Id-Token"]=Dn.session.getJSON("SRKJ_TOKEN_CACHE"));const t=!1===(e.headers||{}).repeatSubmit;if(!t&&("post"===e.method||"put"===e.method)){const t={url:e.url,data:"object"===typeof e.data?JSON.stringify(e.data):e.data,time:(new Date).getTime()},n=Dn.session.getJSON("sessionObj");if(void 0===n||null===n||""===n)Dn.session.setJSON("sessionObj",t);else{const e=n.url,r=n.data,o=n.time,i=100;r===t.data&&t.time-o<i&&e===t.url||Dn.session.setJSON("sessionObj",t)}}return e}),(e=>{Promise.reject(e)})),Lr.interceptors.response.use((e=>{if("blob"===e.request.responseType||"arraybuffer"===e.request.responseType)return e.data;let t=e.data;if(t){const e=Nr(t);try{t=JSON.parse(e)}catch(xr){}}if(401!==e.status)return t.resultCode.endsWith("0000")||Un.Message.warning(t.message.description),t.queryData||t.data||t.token;Un.Message.warning(t.message.description)}));var Hr=Lr;async function Jr(e,t){const n=e.getReader();let r;while(!(r=await n.read()).done)t(r.value)}function Wr(e){let t,n,r,o=!1;return function(i){void 0===t?(t=i,n=0,r=-1):t=Gr(t,i);const s=t.length;let a=0;while(n<s){o&&(10===t[n]&&(a=++n),o=!1);let i=-1;for(;n<s&&-1===i;++n)switch(t[n]){case 58:-1===r&&(r=n-a);break;case 13:o=!0;case 10:i=n;break}if(-1===i)break;e(t.subarray(a,i),r),a=n,r=-1}a===s?t=void 0:0!==a&&(t=t.subarray(a),n-=a)}}function Vr(e,t,n){let r=Yr();const o=new TextDecoder;return function(i,s){if(0===i.length)null===n||void 0===n||n(r),r=Yr();else if(s>0){const n=o.decode(i.subarray(0,s)),a=s+(32===i[s+1]?2:1),c=o.decode(i.subarray(a));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":const n=parseInt(c,10);isNaN(n)||t(r.retry=n);break}}}}function Gr(e,t){const n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}function Yr(){return{data:"",event:"",id:"",retry:void 0}}var Zr=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const Kr="text/event-stream",Xr=1e3,qr="last-event-id";function Qr(e,t){var{signal:n,headers:r,onopen:o,onmessage:i,onclose:s,onerror:a,openWhenHidden:c,fetch:l}=t,u=Zr(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise(((t,h)=>{const f=Object.assign({},r);let d;function p(){d.abort(),document.hidden||w()}f.accept||(f.accept=Kr),c||document.addEventListener("visibilitychange",p);let g=Xr,m=0;function y(){document.removeEventListener("visibilitychange",p),window.clearTimeout(m),d.abort()}null===n||void 0===n||n.addEventListener("abort",(()=>{y(),t()}));const v=null!==l&&void 0!==l?l:window.fetch,A=null!==o&&void 0!==o?o:$r;async function w(){var n;d=new AbortController;try{const n=await v(e,Object.assign(Object.assign({},u),{headers:f,signal:d.signal}));await A(n),await Jr(n.body,Wr(Vr((e=>{e?f[qr]=e:delete f[qr]}),(e=>{g=e}),i))),null===s||void 0===s||s(),y(),t()}catch(r){if(!d.signal.aborted)try{const e=null!==(n=null===a||void 0===a?void 0:a(r))&&void 0!==n?n:g;window.clearTimeout(m),m=window.setTimeout(w,e)}catch(o){y(),h(o)}}}w()}))}function $r(e){const t=e.headers.get("content-type");if(!(null===t||void 0===t?void 0:t.startsWith(Kr)))throw new Error(`Expected content-type to be ${Kr}, Actual: ${t}`)}const eo=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_BASE_URL")||Mr.publicPath,to=sessionStorage.getItem("AI-INTELLIGENT-TOOLS_PRE_FIX")||Mr.publicPrefix,no=e=>Hr({url:to+"/sso/assistant",method:"get",params:{token:e}}),ro=e=>Hr({url:"/uc/authuser",method:"get",headers:e}),oo=e=>Hr({url:to+"/assistant/addChat",method:"post",params:{resId:e}}),io=e=>Hr({url:to+`/assistant/chartClear/${e}`,method:"post"}),so=e=>Hr({url:to+`/assistant/stop/${e}`,method:"post"}),ao=e=>Hr({url:to+"/assistant/chatEvaluateAdd",method:"post",data:e}),co=e=>Hr({url:to+"/assistant/chatEvaluateCancel",method:"post",data:e}),lo=e=>Hr({url:to+"/assistant/push",method:"post",data:e}),uo=e=>Hr({url:to+`/assistant/detail/v2/${e}`,method:"get"}),ho=e=>Hr({url:to+"/assistant/access",method:"post",params:{resId:e}}),fo=e=>Hr({url:to+`/ia/hasPermission?courseId=${e}`,method:"get"});async function po(e,t,n){return Qr(`${eo}${to}/assistant/conversation`,{method:"POST",signal:t,openWhenHidden:!0,headers:{"Content-Type":"application/json","X-Id-Token":Dn.session.getJSON("SRKJ_TOKEN_CACHE")},body:JSON.stringify(e),onmessage:n})}const go=[{name:"格式问题",code:"1"},{name:"逻辑问题",code:"2"},{name:"有害信息",code:"3"},{name:"事实错误",code:"4"},{name:"没有帮助",code:"5"},{name:"答非所问",code:"6"}],mo=[{type:"user",message:"电磁感应定律是如何描述的?请给出相关公式并解释。"},{type:"robot",message:"电磁感应定律是描述磁场与电场之间关系的物理定律。具体来说,当导体回路中的磁通量发生变化时,会在回路中产生感应电动势。这个感应电动势的大小与磁通量变化的速率成正比,这就是法拉第电磁感应定律。\n 相关的公式是:ε = -dΦ/dt\n 其中,ε 表示感应电动势,Φ 表示磁通量,t 表示时间,dΦ/dt 则表示磁通量对时间的变化率。注意这里的负号,它表示感应电动势的方向与磁通量变化的方向相反,这是楞次定律的体现。\n 解释这个公式时,我们可以理解为:当穿过一个闭合导体回路的磁通量发生变化时,会在回路中产生感应电动势,其大小正比于磁通量变化的速率。这种感应电动势是由于磁场的变化而引发的,它是磁场变化对电场的直接影响,体现了磁场与电场之间的紧密联系。"}],yo=async e=>{const t=await no(e),n=await ro({"X-Auth-User":encodeURIComponent(t.name),"X-Auth-Token":t.password,"X-Enterprise-Id":`${Mr["X-Enterprise-Id"]}`,"X-App-Id":`${Mr["X-App-Id"]}`,"X-App-Secret":`${Mr["X-App-Secret"]}`,"X-Auth-User-Type":"1"});Dn.session.setJSON("SRKJ_TOKEN_CACHE",n)};var vo=function(){var e=this,t=e._self._c;return t("div",{staticClass:"robot-tools"},[e.listData.stop||e.listData.finish?t("div",{staticClass:"robot-reanswer",staticStyle:{"margin-bottom":"8px"},on:{click:function(t){return e.reAnswer(e.listData)}}},[t("i",{staticClass:"el-icon-refresh-right"}),e._v(" 重新回答 ")]):e._e(),e.listData.stop?t("div",{staticClass:"stopMsg",staticStyle:{color:"#cfcfcf",cursor:"default"}},[e._v("已停止生成")]):e._e(),e.listData.stop||e.listData.finish?e._e():t("div",{staticClass:"stopMsg",on:{click:function(t){return e.stopChat(e.listData)}}},[e._v("停止输出")]),t("div",{staticClass:"right-tools"},[t("el-tooltip",{attrs:{content:"赞",effect:"light",placement:"top"}},[t("div",{staticClass:"tools-icon",on:{click:function(t){return e.doZan(e.listData)}}},[e.listData.zan?t("img",{attrs:{alt:"",src:r(793)}}):t("img",{attrs:{src:r(632),alt:""}})])]),t("el-popover",{attrs:{placement:"top-start",trigger:"manual"},model:{value:e.popover,callback:function(t){e.popover=t},expression:"popover"}},[t("div",{attrs:{slot:"reference"},slot:"reference"},[t("el-tooltip",{attrs:{content:"踩",effect:"light",placement:"bottom"}},[e.listData.cai?t("div",{staticClass:"tools-icon",on:{click:function(t){return e.doCai(e.listData)}}},[t("img",{attrs:{alt:"",src:r(271)}})]):t("div",{staticClass:"tools-icon",on:{click:e.openPopover}},[t("img",{attrs:{alt:"",src:r(554)}})])])],1),t("div",{staticClass:"popover-box"},[t("div",{staticClass:"pop-title"},[e._v(" 你的反馈将 "),t("br"),e._v(" 帮助职教一问优化进步 ")]),t("i",{staticClass:"el-icon-close",staticStyle:{"font-size":"2rem"},on:{click:function(t){return e.cancelPopover()}}}),t("div",{staticClass:"error-list"},[t("el-checkbox-group",{model:{value:e.errors,callback:function(t){e.errors=t},expression:"errors"}},e._l(e.errorList,(function(n){return t("el-checkbox",{key:n.code,staticClass:"check",attrs:{label:n.code,border:""}},[e._v(" "+e._s(n.name)+" ")])})),1),t("el-input",{attrs:{rows:4,maxlength:"30",placeholder:"其他",resize:"none",type:"textarea"},model:{value:e.input,callback:function(t){e.input=t},expression:"input"}}),t("div",{staticClass:"sumit-button"},[t("el-button",{attrs:{disabled:e.canSubmit},on:{click:function(t){return e.doCai(e.listData)}}},[e._v("提交")])],1)],1)])])],1)])},Ao=[],wo={name:"ChatTools",props:{detailData:{type:Object,default:()=>{}},chatId:{type:String,default:""}},data(){return{input:"",popover:!1,errors:[],errorList:go}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input},listData(){return this.detailData}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},async stopChat(e){const{msgId:t}=e;await so(t),e.stop=!0,this.$emit("on-stop-chat",e)},async reAnswer(e){e.reAnswerCount+=1,e.reAnswerCount>=3&&this.$confirm("对于回答是否依旧不满意,是否需要给教师负责人发送请求信息,由老师进行回答?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((async()=>{await lo({chatId:this.chatId,msgId:e.msgId,parentMsgId:e.parentMsgId}),this.$message.success("已发送给老师")})).catch((()=>{})),this.$emit("on-reanswer",e)},async doZan(e){const t={chatId:this.chatId,msgId:e.msgId,type:1};e.zan?await co(t):await ao(t),e.zan=!e.zan,e.cai=!1},async doCai(e){let t={};e.cai||(t={desc:this.input,tags:this.errors});const n={chatId:this.chatId,msgId:e.msgId,type:2,...t};e.cai?await co(n):await ao(n),e.cai=!e.cai,e.zan=!1,e.cai&&this.$message.success("感谢您的反馈"),this.popover=!1,this.input="",this.errors=[]}}},bo=wo,So=h(bo,vo,Ao,!1,null,"2c94312a",null),_o=So.exports;const Bo=new AbortController,Eo=Bo.signal;var xo={name:"Chat",components:{ChatTools:_o},props:{keyWord:{type:String,default:""},resId:{type:String,default:""},chatId:{type:String,default:""},messageData:{type:Array,default:mo}},data(){return{popover:!1,input:"",errors:[],errorList:go,cacheKeyWord:""}},computed:{canSubmit(){return 0===this.errors.length&&""===this.input}},watch:{keyWord:{handler(){this.keyWord&&(this.cacheKeyWord=this.keyWord,this.postMessage())},immediate:!0}},methods:{cancelPopover(){this.popover=!1},openPopover(){this.popover=!0},scrollToBottom(){this.$refs.chatContainer.scrollTop=this.$refs.chatContainer.scrollHeight},async postMessage(e,t,n){let r={};e&&(r={reStatus:1,parentMsgId:e.parentMsgId,msgId:e.msgId,content:this.messageData[e.index-1].message},this.messageData[e.index].message="");const o={messageList:[{content:this.keyWord||this.cacheKeyWord,resId:this.resId,chatId:this.chatId||void 0,commonKey:t||!1,parentMsgId:n||void 0,...r}]};e||t||(this.messageData.push({type:"user",message:this.keyWord.replace(/\n/g,"<br>")}),setTimeout((()=>this.messageData.push({type:"robot",message:"",zan:!1,cai:!1,stop:!1,finish:!1,links:[],reAnswerCount:0})))),await po(o,Eo,(t=>{this.makeMessageLine(t,e)}))},makeMessageLine(e,t){const{content:n,status:r,chatId:o,msgId:i,parentMsgId:s,reference:a,commonKey:c}=JSON.parse(e.data);let l=t?t.index:this.messageData.length-1;const u=this.messageData[l];if(2===r||1===r)return c?void this.postMessage(t,c,s):(u.finish=!0,a&&(u.links=JSON.parse(a)),this.cacheKeyWord="",void this.$emit("on-message-finish",o));u.message+=n,u.msgId=i,u.parentMsgId=s,u.chatId=o,setTimeout((()=>{t||this.scrollToBottom()}),100)},onStopChat(e){this.$emit("on-message-finish",e.chatId)},reanswer(e,t){e.index=t,e.stop=!1,e.finish=!1,e.links=[],this.postMessage(e),this.$emit("on-reanser")}}},Co=xo,Ro=h(Co,p,g,!1,null,"80375d7a",null),ko=Ro.exports;
|
|
19
19
|
/*! js-cookie v3.0.5 | MIT */
|
|
20
|
-
function Oo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var To={read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Io(e,t){function n(n,r,o){if("undefined"!==typeof document){o=Oo({},t,o),"number"===typeof o.expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in o)o[s]&&(i+="; "+s,!0!==o[s]&&(i+="="+o[s].split(";")[0]));return document.cookie=n+"="+e.write(r,n)+i}}function r(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=e.read(s,a),t===a)break}catch(xr){}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,"",Oo({},t,{expires:-1}))},withAttributes:function(e){return Io(this.converter,Oo({},this.attributes,e))},withConverter:function(e){return Io(Oo({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Do=Io(To,{path:"/"}),Uo={name:"AiAssistant",components:{HotSearch:d,Chat:ko},props:{visible:!0,resId:{type:String,default:""}},watch:{visible(){this.visible&&fo(this.resId).then((e=>{1==e.flag?(this.courseFlag=!0,this.queryList()):(this.courseFlag=!1,this.message=e.message)}))}},data(){return{aiMessage:"",aiMessageKeyWord:"",chatShow:!1,courseFlag:!1,message:"",messageList:[],chatId:void 0,stop:!1}},mounted(){if(!Do.get("token"))return this.$message.warning("未获取到登录信息,请重新登录");this.messageList=[],yo(Do.get("token"))},methods:{closeMessage(){this.$emit("close")},selectModule(){this.chatShow=!0},showHot(){this.chatShow=!1},async queryList(){ho(this.resId);const e=await uo(this.resId);if(!e||e.length<1)return;let t=e[0].contents.reverse();const n=[];t.map((e=>{const t={type:"assistant"===e.role?"robot":"user",message:e.content.replace(/\n/g,"<br>"),zan:1===e.type,cai:2===e.type,stop:1===e.status,finish:!0,links:e.references||[],reAnswerCount:0,msgId:e.contentId,parentMsgId:e.parentMsgId};n.push(t)})),t[0]&&(this.chatId=t[0].chatId),this.messageList=n,this.messageList.length>0&&(this.chatShow=!0,setTimeout((()=>{this.$refs.chatRef.scrollToBottom()})))},async addNewChat(){if(!this.stopMessage())return;const e=await oo(this.resId);this.chatId=e.chatId,this.resizeChat(),this.$message.success("创建新对话成功!")},async clearChat(){this.stopMessage()&&(!this.chatId||this.messageList.length<1?this.$message.warning("当前对话为最新对话"):(await io(this.chatId),this.resizeChat(),this.$message.success("对话清除成功!"),this.chatId=void 0))},goChat(e){e.shiftKey||this.stopMessage()&&(this.aiMessageKeyWord=this.aiMessage,this.chatShow=!0,this.stop=!0,setTimeout((()=>{this.aiMessageKeyWord=this.aiMessage=""}),300))},reanserMethod(){this.stop=!0},stopMessage(){return!this.stop||(this.$message.warning("对话正在进行中,请稍后重试"),!1)},resizeChat(){this.messageList=[],this.chatShow=!1},messageFinish(e){this.stop=!1,this.chatId=e}}},jo=Uo,No=h(jo,i,s,!1,null,"
|
|
20
|
+
function Oo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}var To={read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Io(e,t){function n(n,r,o){if("undefined"!==typeof document){o=Oo({},t,o),"number"===typeof o.expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in o)o[s]&&(i+="; "+s,!0!==o[s]&&(i+="="+o[s].split(";")[0]));return document.cookie=n+"="+e.write(r,n)+i}}function r(t){if("undefined"!==typeof document&&(!arguments.length||t)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=e.read(s,a),t===a)break}catch(xr){}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,"",Oo({},t,{expires:-1}))},withAttributes:function(e){return Io(this.converter,Oo({},this.attributes,e))},withConverter:function(e){return Io(Oo({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Do=Io(To,{path:"/"}),Uo={name:"AiAssistant",components:{HotSearch:d,Chat:ko},props:{visible:!0,resId:{type:String,default:""}},watch:{visible(){this.visible&&fo(this.resId).then((e=>{1==e.flag?(this.courseFlag=!0,this.queryList()):(this.courseFlag=!1,this.message=e.message)}))}},data(){return{aiMessage:"",aiMessageKeyWord:"",chatShow:!1,courseFlag:!1,message:"",messageList:[],chatId:void 0,stop:!1}},mounted(){if(!Do.get("token"))return this.$message.warning("未获取到登录信息,请重新登录");this.messageList=[],yo(Do.get("token"))},methods:{closeMessage(){this.$emit("close")},selectModule(){this.chatShow=!0},showHot(){this.chatShow=!1},async queryList(){ho(this.resId);const e=await uo(this.resId);if(!e||e.length<1)return;let t=e[0].contents.reverse();const n=[];t.map((e=>{const t={type:"assistant"===e.role?"robot":"user",message:e.content.replace(/\n/g,"<br>"),zan:1===e.type,cai:2===e.type,stop:1===e.status,finish:!0,links:e.references||[],reAnswerCount:0,msgId:e.contentId,parentMsgId:e.parentMsgId};n.push(t)})),t[0]&&(this.chatId=t[0].chatId),this.messageList=n,this.messageList.length>0&&(this.chatShow=!0,setTimeout((()=>{this.$refs.chatRef.scrollToBottom()})))},async addNewChat(){if(!this.stopMessage())return;const e=await oo(this.resId);this.chatId=e.chatId,this.resizeChat(),this.$message.success("创建新对话成功!")},async clearChat(){this.stopMessage()&&(!this.chatId||this.messageList.length<1?this.$message.warning("当前对话为最新对话"):(await io(this.chatId),this.resizeChat(),this.$message.success("对话清除成功!"),this.chatId=void 0))},goChat(e){e.shiftKey||this.stopMessage()&&(this.aiMessageKeyWord=this.aiMessage,this.chatShow=!0,this.stop=!0,setTimeout((()=>{this.aiMessageKeyWord=this.aiMessage=""}),300))},reanserMethod(){this.stop=!0},stopMessage(){return!this.stop||(this.$message.warning("对话正在进行中,请稍后重试"),!1)},resizeChat(){this.messageList=[],this.chatShow=!1},messageFinish(e){this.stop=!1,this.chatId=e}}},jo=Uo,No=h(jo,i,s,!1,null,"69b9f6b0",null),Po=No.exports;Po.install=function(e){e.component(Po.name,Po)};var zo=Po;const Mo={AiAssistant:zo},Fo=function(e){Fo.installed||Object.keys(Mo).forEach((t=>{e.component(Mo[t].name,Mo[t])}))};var Lo={install:Fo},Ho=Lo}(),o}()}));
|
|
21
21
|
//# sourceMappingURL=ai-assistant-pro.umd.min.js.map
|