>>0?1:0))+((F=P+de|0)>>>0>>0?1:0)|0,z=A,P=R,A=I,R=D,I=T,D=B,T=xe+(ve+he+(Ne>>>0>>0?1:0))+((B=de+Ne|0)>>>0>>0?1:0)|0}h=n.low=h+B,n.high=p+T+(h>>>0>>0?1:0),v=a.low=v+D,a.high=g+I+(v>>>0>>0?1:0),y=i.low=y+R,i.high=f+A+(y>>>0>>0?1:0),k=o.low=k+P,o.high=w+z+(k>>>0>>0?1:0),E=r.low=E+F,r.high=b+M+(E>>>0>>0?1:0),N=c.low=N+O,c.high=x+L+(N>>>0>>0?1:0),S=d.low=S+j,d.high=_+$+(S>>>0>>0?1:0),V=m.low=V+U,m.high=C+H+(V>>>0>>0?1:0)},_doFinalize:function(){var e=this._data,l=e.words,t=8*this._nDataBytes,n=8*e.sigBytes;return l[n>>>5]|=128<<24-n%32,l[30+(n+128>>>10<<5)]=Math.floor(t/4294967296),l[31+(n+128>>>10<<5)]=t,e.sigBytes=4*l.length,this._process(),this._hash.toX32()},clone:function(){var e=t.clone.call(this);return e._hash=this._hash.clone(),e},blockSize:32});l.SHA512=t._createHelper(c),l.HmacSHA512=t._createHmacHelper(c)}(),e.SHA512)),Du.exports;var e}var Ru,zu={exports:{}};var Pu,Mu={exports:{}};function Fu(){return Pu||(Pu=1,Mu.exports=(e=ru(),cu(),function(l){var t=e,n=t.lib,a=n.WordArray,i=n.Hasher,o=t.x64.Word,r=t.algo,s=[],u=[],c=[];!function(){for(var e=1,l=0,t=0;t<24;t++){s[e+5*l]=(t+1)*(t+2)/2%64;var n=(2*e+3*l)%5;e=l%5,l=n}for(e=0;e<5;e++)for(l=0;l<5;l++)u[e+5*l]=l+(2*e+3*l)%5*5;for(var a=1,i=0;i<24;i++){for(var r=0,d=0,m=0;m<7;m++){if(1&a){var p=(1<>>24)|4278255360&(i<<24|i>>>8),o=16711935&(o<<8|o>>>24)|4278255360&(o<<24|o>>>8),(V=t[a]).high^=o,V.low^=i}for(var r=0;r<24;r++){for(var m=0;m<5;m++){for(var p=0,h=0,g=0;g<5;g++)p^=(V=t[m+5*g]).high,h^=V.low;var v=d[m];v.high=p,v.low=h}for(m=0;m<5;m++){var f=d[(m+4)%5],y=d[(m+1)%5],w=y.high,k=y.low;for(p=f.high^(w<<1|k>>>31),h=f.low^(k<<1|w>>>31),g=0;g<5;g++)(V=t[m+5*g]).high^=p,V.low^=h}for(var b=1;b<25;b++){var E=(V=t[b]).high,x=V.low,N=s[b];N<32?(p=E<>>32-N,h=x<>>32-N):(p=x<>>64-N,h=E<>>64-N);var _=d[u[b]];_.high=p,_.low=h}var S=d[0],C=t[0];for(S.high=C.high,S.low=C.low,m=0;m<5;m++)for(g=0;g<5;g++){var V=t[b=m+5*g],T=d[b],B=d[(m+1)%5+5*g],I=d[(m+2)%5+5*g];V.high=T.high^~B.high&I.high,V.low=T.low^~B.low&I.low}V=t[0];var D=c[r];V.high^=D.high,V.low^=D.low}},_doFinalize:function(){var e=this._data,t=e.words;this._nDataBytes;var n=8*e.sigBytes,i=32*this.blockSize;t[n>>>5]|=1<<24-n%32,t[(l.ceil((n+1)/i)*i>>>5)-1]|=128,e.sigBytes=4*t.length,this._process();for(var o=this._state,r=this.cfg.outputLength/8,s=r/8,u=[],c=0;c>>24)|4278255360&(m<<24|m>>>8),p=16711935&(p<<8|p>>>24)|4278255360&(p<<24|p>>>8),u.push(p),u.push(m)}return new a.init(u,r)},clone:function(){for(var e=i.clone.call(this),l=e._state=this._state.slice(0),t=0;t<25;t++)l[t]=l[t].clone();return e}});t.SHA3=i._createHelper(m),t.HmacSHA3=i._createHmacHelper(m)}(Math),e.SHA3)),Mu.exports;var e}var Lu,Ou={exports:{}};var $u,ju={exports:{}};function Hu(){return $u||($u=1,ju.exports=(e=ru(),t=(l=e).lib.Base,n=l.enc.Utf8,void(l.algo.HMAC=t.extend({init:function(e,l){e=this._hasher=new e.init,"string"==typeof l&&(l=n.parse(l));var t=e.blockSize,a=4*t;l.sigBytes>a&&(l=e.finalize(l)),l.clamp();for(var i=this._oKey=l.clone(),o=this._iKey=l.clone(),r=i.words,s=o.words,u=0;u>>2];e.sigBytes-=l}};n.BlockCipher=c.extend({cfg:c.cfg.extend({mode:p,padding:h}),reset:function(){c.reset.call(this);var e=this.cfg,l=e.iv,t=e.mode;if(this._xformMode==this._ENC_XFORM_MODE)var n=t.createEncryptor;else n=t.createDecryptor,this._minBufferSize=1;this._mode&&this._mode.__creator==n?this._mode.init(this,l&&l.words):(this._mode=n.call(t,this,l&&l.words),this._mode.__creator=n)},_doProcessBlock:function(e,l){this._mode.processBlock(e,l)},_doFinalize:function(){var e=this.cfg.padding;if(this._xformMode==this._ENC_XFORM_MODE){e.pad(this._data,this.blockSize);var l=this._process(!0)}else l=this._process(!0),e.unpad(l);return l},blockSize:4});var g=n.CipherParams=a.extend({init:function(e){this.mixIn(e)},toString:function(e){return(e||this.formatter).stringify(this)}}),v=(t.format={}).OpenSSL={stringify:function(e){var l=e.ciphertext,t=e.salt;if(t)var n=i.create([1398893684,1701076831]).concat(t).concat(l);else n=l;return n.toString(s)},parse:function(e){var l=s.parse(e),t=l.words;if(1398893684==t[0]&&1701076831==t[1]){var n=i.create(t.slice(2,4));t.splice(0,4),l.sigBytes-=16}return g.create({ciphertext:l,salt:n})}},f=n.SerializableCipher=a.extend({cfg:a.extend({format:v}),encrypt:function(e,l,t,n){n=this.cfg.extend(n);var a=e.createEncryptor(t,n),i=a.finalize(l),o=a.cfg;return g.create({ciphertext:i,key:t,iv:o.iv,algorithm:e,mode:o.mode,padding:o.padding,blockSize:e.blockSize,formatter:n.format})},decrypt:function(e,l,t,n){return n=this.cfg.extend(n),l=this._parse(l,n.format),e.createDecryptor(t,n).finalize(l.ciphertext)},_parse:function(e,l){return"string"==typeof e?l.parse(e,this):e}}),y=(t.kdf={}).OpenSSL={execute:function(e,l,t,n){n||(n=i.random(8));var a=u.create({keySize:l+t}).compute(e,n),o=i.create(a.words.slice(l),4*t);return a.sigBytes=4*l,g.create({key:a,iv:o,salt:n})}},w=n.PasswordBasedCipher=f.extend({cfg:f.cfg.extend({kdf:y}),encrypt:function(e,l,t,n){var a=(n=this.cfg.extend(n)).kdf.execute(t,e.keySize,e.ivSize);n.iv=a.iv;var i=f.encrypt.call(this,e,l,a.key,n);return i.mixIn(a),i},decrypt:function(e,l,t,n){n=this.cfg.extend(n),l=this._parse(l,n.format);var a=n.kdf.execute(t,e.keySize,e.ivSize,l.salt);return n.iv=a.iv,f.decrypt.call(this,e,l,a.key,n)}})}()))),Qu.exports;var e}var Ku,Xu={exports:{}};var ec,lc={exports:{}};var tc,nc={exports:{}};function ac(){return tc||(tc=1,nc.exports=(e=ru(),Ju(),
/** @preserve
* Counter block mode compatible with Dr Brian Gladman fileenc.c
* derived from CryptoJS.mode.CTR
* Jan Hruby jhruby.web@gmail.com
*/
-e.mode.CTRGladman=function(){var t=e.lib.BlockCipherMode.extend();function a(e){if(255&~(e>>24))e+=1<<24;else{var t=e>>16&255,a=e>>8&255,o=255&e;255===t?(t=0,255===a?(a=0,255===o?o=0:++o):++a):++t,e=0,e+=t<<16,e+=a<<8,e+=o}return e}function o(e){return 0===(e[0]=a(e[0]))&&(e[1]=a(e[1])),e}var i=t.Encryptor=t.extend({processBlock:function(e,t){var a=this._cipher,i=a.blockSize,n=this._iv,l=this._counter;n&&(l=this._counter=n.slice(0),this._iv=void 0),o(l);var r=l.slice(0);a.encryptBlock(r,0);for(var s=0;s>24))e+=1<<24;else{var l=e>>16&255,t=e>>8&255,n=255&e;255===l?(l=0,255===t?(t=0,255===n?n=0:++n):++t):++l,e=0,e+=l<<16,e+=t<<8,e+=n}return e}function n(e){return 0===(e[0]=t(e[0]))&&(e[1]=t(e[1])),e}var a=l.Encryptor=l.extend({processBlock:function(e,l){var t=this._cipher,a=t.blockSize,i=this._iv,o=this._counter;i&&(o=this._counter=i.slice(0),this._iv=void 0),n(o);var r=o.slice(0);t.encryptBlock(r,0);for(var s=0;s>>24)|4278255360&(i<<24|i>>>8)}var n,h,w,k,b,x,C,_,S,E,N,V=this._hash.words,B=u.words,I=d.words,T=l.words,D=r.words,A=s.words,R=c.words;for(x=n=V[0],C=h=V[1],_=w=V[2],S=k=V[3],E=b=V[4],a=0;a<80;a+=1)N=n+e[t+T[a]]|0,N+=a<16?m(h,w,k)+B[0]:a<32?p(h,w,k)+B[1]:a<48?g(h,w,k)+B[2]:a<64?f(h,w,k)+B[3]:v(h,w,k)+B[4],N=(N=y(N|=0,A[a]))+b|0,n=b,b=k,k=y(w,10),w=h,h=N,N=x+e[t+D[a]]|0,N+=a<16?v(C,_,S)+I[0]:a<32?f(C,_,S)+I[1]:a<48?g(C,_,S)+I[2]:a<64?p(C,_,S)+I[3]:m(C,_,S)+I[4],N=(N=y(N|=0,R[a]))+E|0,x=E,E=S,S=y(_,10),_=C,C=N;N=V[1]+w+S|0,V[1]=V[2]+k+E|0,V[2]=V[3]+b+x|0,V[3]=V[4]+n+C|0,V[4]=V[0]+h+_|0,V[0]=N},_doFinalize:function(){var e=this._data,t=e.words,a=8*this._nDataBytes,o=8*e.sigBytes;t[o>>>5]|=128<<24-o%32,t[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),e.sigBytes=4*(t.length+1),this._process();for(var i=this._hash,n=i.words,l=0;l<5;l++){var r=n[l];n[l]=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8)}return i},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function m(e,t,a){return e^t^a}function p(e,t,a){return e&t|~e&a}function g(e,t,a){return(e|~t)^a}function f(e,t,a){return e&a|t&~a}function v(e,t,a){return e^(t|~a)}function y(e,t){return e<>>32-t}t.RIPEMD160=i._createHelper(h),t.HmacRIPEMD160=i._createHmacHelper(h)}(),e.RIPEMD160)),Kr.exports;var e}(),ts(),function(){return as||(as=1,os.exports=(s=wr(),Mr(),ts(),t=(e=s).lib,a=t.Base,o=t.WordArray,i=e.algo,n=i.SHA1,l=i.HMAC,r=i.PBKDF2=a.extend({cfg:a.extend({keySize:4,hasher:n,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,t){for(var a=this.cfg,i=l.create(a.hasher,e),n=o.create(),r=o.create([1]),s=n.words,c=r.words,u=a.keySize,d=a.iterations;s.length>>2]|=i<<24-n%4*8,e.sigBytes+=i},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Ansix923)),xs.exports;var e}(),function(){return Cs||(Cs=1,_s.exports=(e=wr(),cs(),e.pad.Iso10126={pad:function(t,a){var o=4*a,i=o-t.sigBytes%o;t.concat(e.lib.WordArray.random(i-1)).concat(e.lib.WordArray.create([i<<24],1))},unpad:function(e){var t=255&e.words[e.sigBytes-1>>>2];e.sigBytes-=t}},e.pad.Iso10126)),_s.exports;var e}(),function(){return Ss||(Ss=1,Es.exports=(e=wr(),cs(),e.pad.Iso97971={pad:function(t,a){t.concat(e.lib.WordArray.create([2147483648],1)),e.pad.ZeroPadding.pad(t,a)},unpad:function(t){e.pad.ZeroPadding.unpad(t),t.sigBytes--}},e.pad.Iso97971)),Es.exports;var e}(),function(){return Ns||(Ns=1,Vs.exports=(e=wr(),cs(),e.pad.ZeroPadding={pad:function(e,t){var a=4*t;e.clamp(),e.sigBytes+=a-(e.sigBytes%a||a)},unpad:function(e){for(var t=e.words,a=e.sigBytes-1;!(t[a>>>2]>>>24-a%4*8&255);)a--;e.sigBytes=a+1}},e.pad.ZeroPadding)),Vs.exports;var e}(),function(){return Bs||(Bs=1,Is.exports=(e=wr(),cs(),e.pad.NoPadding={pad:function(){},unpad:function(){}},e.pad.NoPadding)),Is.exports;var e}(),function(){return Ts||(Ts=1,Ds.exports=(o=wr(),cs(),t=(e=o).lib.CipherParams,a=e.enc.Hex,e.format.Hex={stringify:function(e){return e.ciphertext.toString(a)},parse:function(e){var o=a.parse(e);return t.create({ciphertext:o})}},o.format.Hex)),Ds.exports;var e,t,a,o}(),function(){return As||(As=1,Rs.exports=(e=wr(),Tr(),Rr(),ls(),cs(),function(){var t=e,a=t.lib.BlockCipher,o=t.algo,i=[],n=[],l=[],r=[],s=[],c=[],u=[],d=[],h=[],m=[];!function(){for(var e=[],t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;var a=0,o=0;for(t=0;t<256;t++){var p=o^o<<1^o<<2^o<<3^o<<4;p=p>>>8^255&p^99,i[a]=p,n[p]=a;var g=e[a],f=e[g],v=e[f],y=257*e[p]^16843008*p;l[a]=y<<24|y>>>8,r[a]=y<<16|y>>>16,s[a]=y<<8|y>>>24,c[a]=y,y=16843009*v^65537*f^257*g^16843008*a,u[p]=y<<24|y>>>8,d[p]=y<<16|y>>>16,h[p]=y<<8|y>>>24,m[p]=y,a?(a=g^e[e[e[v^g]]],o^=e[e[o]]):a=o=1}}();var p=[0,1,2,4,8,16,32,64,128,27,54],g=o.AES=a.extend({_doReset:function(){if(!this._nRounds||this._keyPriorReset!==this._key){for(var e=this._keyPriorReset=this._key,t=e.words,a=e.sigBytes/4,o=4*((this._nRounds=a+6)+1),n=this._keySchedule=[],l=0;l6&&l%a==4&&(r=i[r>>>24]<<24|i[r>>>16&255]<<16|i[r>>>8&255]<<8|i[255&r]):(r=i[(r=r<<8|r>>>24)>>>24]<<24|i[r>>>16&255]<<16|i[r>>>8&255]<<8|i[255&r],r^=p[l/a|0]<<24),n[l]=n[l-a]^r}for(var s=this._invKeySchedule=[],c=0;c>>24]]^d[i[r>>>16&255]]^h[i[r>>>8&255]]^m[i[255&r]]}},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._keySchedule,l,r,s,c,i)},decryptBlock:function(e,t){var a=e[t+1];e[t+1]=e[t+3],e[t+3]=a,this._doCryptBlock(e,t,this._invKeySchedule,u,d,h,m,n),a=e[t+1],e[t+1]=e[t+3],e[t+3]=a},_doCryptBlock:function(e,t,a,o,i,n,l,r){for(var s=this._nRounds,c=e[t]^a[0],u=e[t+1]^a[1],d=e[t+2]^a[2],h=e[t+3]^a[3],m=4,p=1;p>>24]^i[u>>>16&255]^n[d>>>8&255]^l[255&h]^a[m++],f=o[u>>>24]^i[d>>>16&255]^n[h>>>8&255]^l[255&c]^a[m++],v=o[d>>>24]^i[h>>>16&255]^n[c>>>8&255]^l[255&u]^a[m++],y=o[h>>>24]^i[c>>>16&255]^n[u>>>8&255]^l[255&d]^a[m++];c=g,u=f,d=v,h=y}g=(r[c>>>24]<<24|r[u>>>16&255]<<16|r[d>>>8&255]<<8|r[255&h])^a[m++],f=(r[u>>>24]<<24|r[d>>>16&255]<<16|r[h>>>8&255]<<8|r[255&c])^a[m++],v=(r[d>>>24]<<24|r[h>>>16&255]<<16|r[c>>>8&255]<<8|r[255&u])^a[m++],y=(r[h>>>24]<<24|r[c>>>16&255]<<16|r[u>>>8&255]<<8|r[255&d])^a[m++],e[t]=g,e[t+1]=f,e[t+2]=v,e[t+3]=y},keySize:8});t.AES=a._createHelper(g)}(),e.AES)),Rs.exports;var e}(),function(){return zs||(zs=1,Fs.exports=(e=wr(),Tr(),Rr(),ls(),cs(),function(){var t=e,a=t.lib,o=a.WordArray,i=a.BlockCipher,n=t.algo,l=[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],r=[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],s=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],c=[{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],d=n.DES=i.extend({_doReset:function(){for(var e=this._key.words,t=[],a=0;a<56;a++){var o=l[a]-1;t[a]=e[o>>>5]>>>31-o%32&1}for(var i=this._subKeys=[],n=0;n<16;n++){var c=i[n]=[],u=s[n];for(a=0;a<24;a++)c[a/6|0]|=t[(r[a]-1+u)%28]<<31-a%6,c[4+(a/6|0)]|=t[28+(r[a+24]-1+u)%28]<<31-a%6;for(c[0]=c[0]<<1|c[0]>>>31,a=1;a<7;a++)c[a]=c[a]>>>4*(a-1)+3;c[7]=c[7]<<5|c[7]>>>27}var d=this._invSubKeys=[];for(a=0;a<16;a++)d[a]=i[15-a]},encryptBlock:function(e,t){this._doCryptBlock(e,t,this._subKeys)},decryptBlock:function(e,t){this._doCryptBlock(e,t,this._invSubKeys)},_doCryptBlock:function(e,t,a){this._lBlock=e[t],this._rBlock=e[t+1],h.call(this,4,252645135),h.call(this,16,65535),m.call(this,2,858993459),m.call(this,8,16711935),h.call(this,1,1431655765);for(var o=0;o<16;o++){for(var i=a[o],n=this._lBlock,l=this._rBlock,r=0,s=0;s<8;s++)r|=c[s][((l^i[s])&u[s])>>>0];this._lBlock=l,this._rBlock=n^r}var d=this._lBlock;this._lBlock=this._rBlock,this._rBlock=d,h.call(this,1,1431655765),m.call(this,8,16711935),m.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),e[t]=this._lBlock,e[t+1]=this._rBlock},keySize:2,ivSize:2,blockSize:2});function h(e,t){var a=(this._lBlock>>>e^this._rBlock)&t;this._rBlock^=a,this._lBlock^=a<>>e^this._lBlock)&t;this._lBlock^=a,this._rBlock^=a<>>2]>>>24-l%4*8&255;n=(n+o[i]+r)%256;var s=o[i];o[i]=o[n],o[n]=s}this._i=this._j=0},_doProcessBlock:function(e,t){e[t]^=n.call(this)},keySize:8,ivSize:0});function n(){for(var e=this._S,t=this._i,a=this._j,o=0,i=0;i<4;i++){a=(a+e[t=(t+1)%256])%256;var n=e[t];e[t]=e[a],e[a]=n,o|=e[(e[t]+e[a])%256]<<24-8*i}return this._i=t,this._j=a,o}t.RC4=a._createHelper(i);var l=o.RC4Drop=i.extend({cfg:i.cfg.extend({drop:192}),_doReset:function(){i._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)n.call(this)}});t.RC4Drop=a._createHelper(l)}(),e.RC4)),Ls.exports;var e}(),function(){return Ps||(Ps=1,$s.exports=(e=wr(),Tr(),Rr(),ls(),cs(),function(){var t=e,a=t.lib.StreamCipher,o=t.algo,i=[],n=[],l=[],r=o.Rabbit=a.extend({_doReset:function(){for(var e=this._key.words,t=this.cfg.iv,a=0;a<4;a++)e[a]=16711935&(e[a]<<8|e[a]>>>24)|4278255360&(e[a]<<24|e[a]>>>8);var o=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],i=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];for(this._b=0,a=0;a<4;a++)s.call(this);for(a=0;a<8;a++)i[a]^=o[a+4&7];if(t){var n=t.words,l=n[0],r=n[1],c=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),u=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;for(i[0]^=c,i[1]^=d,i[2]^=u,i[3]^=h,i[4]^=c,i[5]^=d,i[6]^=u,i[7]^=h,a=0;a<4;a++)s.call(this)}},_doProcessBlock:function(e,t){var a=this._X;s.call(this),i[0]=a[0]^a[5]>>>16^a[3]<<16,i[1]=a[2]^a[7]>>>16^a[5]<<16,i[2]=a[4]^a[1]>>>16^a[7]<<16,i[3]=a[6]^a[3]>>>16^a[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[t+o]^=i[o]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,a=0;a<8;a++)n[a]=t[a];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,a=0;a<8;a++){var o=e[a]+t[a],i=65535&o,r=o>>>16,s=((i*i>>>17)+i*r>>>15)+r*r,c=((4294901760&o)*o|0)+((65535&o)*o|0);l[a]=s^c}e[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,e[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,e[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,e[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,e[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,e[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,e[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,e[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}t.Rabbit=a._createHelper(r)}(),e.Rabbit)),$s.exports;var e}(),function(){return Os||(Os=1,Gs.exports=(e=wr(),Tr(),Rr(),ls(),cs(),function(){var t=e,a=t.lib.StreamCipher,o=t.algo,i=[],n=[],l=[],r=o.RabbitLegacy=a.extend({_doReset:function(){var e=this._key.words,t=this.cfg.iv,a=this._X=[e[0],e[3]<<16|e[2]>>>16,e[1],e[0]<<16|e[3]>>>16,e[2],e[1]<<16|e[0]>>>16,e[3],e[2]<<16|e[1]>>>16],o=this._C=[e[2]<<16|e[2]>>>16,4294901760&e[0]|65535&e[1],e[3]<<16|e[3]>>>16,4294901760&e[1]|65535&e[2],e[0]<<16|e[0]>>>16,4294901760&e[2]|65535&e[3],e[1]<<16|e[1]>>>16,4294901760&e[3]|65535&e[0]];this._b=0;for(var i=0;i<4;i++)s.call(this);for(i=0;i<8;i++)o[i]^=a[i+4&7];if(t){var n=t.words,l=n[0],r=n[1],c=16711935&(l<<8|l>>>24)|4278255360&(l<<24|l>>>8),u=16711935&(r<<8|r>>>24)|4278255360&(r<<24|r>>>8),d=c>>>16|4294901760&u,h=u<<16|65535&c;for(o[0]^=c,o[1]^=d,o[2]^=u,o[3]^=h,o[4]^=c,o[5]^=d,o[6]^=u,o[7]^=h,i=0;i<4;i++)s.call(this)}},_doProcessBlock:function(e,t){var a=this._X;s.call(this),i[0]=a[0]^a[5]>>>16^a[3]<<16,i[1]=a[2]^a[7]>>>16^a[5]<<16,i[2]=a[4]^a[1]>>>16^a[7]<<16,i[3]=a[6]^a[3]>>>16^a[1]<<16;for(var o=0;o<4;o++)i[o]=16711935&(i[o]<<8|i[o]>>>24)|4278255360&(i[o]<<24|i[o]>>>8),e[t+o]^=i[o]},blockSize:4,ivSize:2});function s(){for(var e=this._X,t=this._C,a=0;a<8;a++)n[a]=t[a];for(t[0]=t[0]+1295307597+this._b|0,t[1]=t[1]+3545052371+(t[0]>>>0>>0?1:0)|0,t[2]=t[2]+886263092+(t[1]>>>0>>0?1:0)|0,t[3]=t[3]+1295307597+(t[2]>>>0>>0?1:0)|0,t[4]=t[4]+3545052371+(t[3]>>>0>>0?1:0)|0,t[5]=t[5]+886263092+(t[4]>>>0>>0?1:0)|0,t[6]=t[6]+1295307597+(t[5]>>>0>>0?1:0)|0,t[7]=t[7]+3545052371+(t[6]>>>0>>0?1:0)|0,this._b=t[7]>>>0>>0?1:0,a=0;a<8;a++){var o=e[a]+t[a],i=65535&o,r=o>>>16,s=((i*i>>>17)+i*r>>>15)+r*r,c=((4294901760&o)*o|0)+((65535&o)*o|0);l[a]=s^c}e[0]=l[0]+(l[7]<<16|l[7]>>>16)+(l[6]<<16|l[6]>>>16)|0,e[1]=l[1]+(l[0]<<8|l[0]>>>24)+l[7]|0,e[2]=l[2]+(l[1]<<16|l[1]>>>16)+(l[0]<<16|l[0]>>>16)|0,e[3]=l[3]+(l[2]<<8|l[2]>>>24)+l[1]|0,e[4]=l[4]+(l[3]<<16|l[3]>>>16)+(l[2]<<16|l[2]>>>16)|0,e[5]=l[5]+(l[4]<<8|l[4]>>>24)+l[3]|0,e[6]=l[6]+(l[5]<<16|l[5]>>>16)+(l[4]<<16|l[4]>>>16)|0,e[7]=l[7]+(l[6]<<8|l[6]>>>24)+l[5]|0}t.RabbitLegacy=a._createHelper(r)}(),e.RabbitLegacy)),Gs.exports;var e}());const Ys=gr(vr.exports);Ys.enc.Utf8.parse("1234567812345678");const Qs=ze(e.defineComponent({__name:"login",setup(t){e.useCssVars(e=>({"781c90c7":s.value}));const a=cn(),{taskSocket:o}=Gt(a),i=e.ref(!1),n=e.ref(""),l=e.ref(""),r=e.ref([]),s=e.ref("0px"),c=e.ref(!0),u=e.computed(()=>!r.value.length),d=e.ref(0),h=e.ref(0),m=e.ref(""),p=()=>{const e=Date.now();e-h.value>500&&(d.value=0),d.value++,h.value=e,6==d.value&&(n.value||"20010307"!=l.value||i.value||Re.navigateTo("/pages/test/index"),d.value=0)},g=()=>{if(u.value)return Re.msg("请阅读并同意《用户隐私协议》");if(""===n.value)return Re.msg("账号不能为空");if(""===l.value)return Re.msg("密码不能为空");try{Re.loading("登录中");const t="EtBzqj+ln5tSTof1SDhpTg==",a=function(e,t){let a=Ys.enc.Base64.parse(t);return Ys.AES.encrypt(e,a,{mode:Ys.mode.ECB,padding:Ys.pad.Pkcs7}).ciphertext.toString(Ys.enc.Base64)}(l.value,t);(e={loginName:n.value,password:a},rn({url:"/traapp/access/userLogin",method:"post",data:e}).then(async({rtnCode:e,body:t})=>{if("0000"===e){Ee(t);const e=await Promise.all([Jl(),Ql()]),a=Ve(),o=e[1];return Ne({...a,mascotInfo:o}),{mascotState:!o.mascotId}}return Promise.reject({rtnCode:e,body:t})}).catch(e=>(me("log","at api/login.js:59",an(),e),Promise.reject(e)))).then(async e=>{if(Re.hideLoading(),Re.setValue("loginAccountData",{account:n.value,password:l.value}),e.mascotState)Re.redirectTo("/pages/mascot/mascot_select_list");else if(""!==m.value)Re.redirectTo("/"+m.value);else{Re.setValue("mascotState",!1),Re.msg("登录成功"),c.value=!1;const e=getCurrentPages();if(e.length<=1)return void Re.redirectTo("/pages/index/dialog",{animationType:"slide-in-bottom"});const t=e[e.length-2];"pages/index/dialog"===t.route?Re.navigateBack(1,()=>{var e,a,o,i;t.$vm&&"function"==typeof(null==(a=null==(e=t.$vm.$)?void 0:e.exposed)?void 0:a.refreshData)&&(null==(i=null==(o=t.$vm.$)?void 0:o.exposed)||i.refreshData())},{animationType:"slide-in-bottom"}):Re.navigateBack(1,()=>{var e,a,o,i;t.$vm&&"function"==typeof(null==(a=null==(e=t.$vm.$)?void 0:e.exposed)?void 0:a.refreshData)&&(null==(i=null==(o=t.$vm.$)?void 0:o.exposed)||i.refreshData())})}}).catch(e=>{Re.hideLoading(),"1001"===e.rtnCode?Re.msg("账号或密码错误,如忘记密码,请去统一身份认证平台修改。"):"0005"!==e.rtnCode&&Re.msg("登录出错,请稍后再试")})}catch(t){Re.hideLoading()}var e};let f=()=>{};return e.onUnmounted(()=>{f()}),e.onMounted(()=>{let e=Re.getValue("loginAccountData");e&&(n.value=e.account,l.value=e.password),c.value=!0,f=Ae(e=>{me("log","at pages/login/login.vue:191","height",e),s.value=e>0?e+50+"px":"0px"})}),ke(()=>c.value),(t,a)=>{const o=pe(e.resolveDynamicComponent("uv-input"),pt),s=pe(e.resolveDynamicComponent("uv-button"),xn),c=pe(e.resolveDynamicComponent("uv-checkbox"),mr),d=pe(e.resolveDynamicComponent("uv-checkbox-group"),pr);return e.openBlock(),e.createElementBlock("view",{class:"main_div max_page"},[e.createElementVNode("view",{class:"bg_div"},[e.createElementVNode("image",{src:"/static/images/login/bg.png",class:"bg_img"}),e.createElementVNode("view",{class:"profile_div"},[e.createElementVNode("image",{src:"/static/images/login/profile.png",class:"profile"})]),e.createElementVNode("view",{class:"title_logo"},[e.createElementVNode("image",{src:"/static/images/login/logo_text.png",mode:"heightFix",class:"log_img",onClick:p}),e.createElementVNode("view",{class:"fl1"})]),e.createElementVNode("view",{class:"fl2"}),e.createElementVNode("view",{class:"title_text_div"},[e.createElementVNode("view",{class:"title_text font_pf"},"欢迎登录"),e.createElementVNode("image",{src:"/static/images/login/clap.png",class:"title_text_img"})]),e.createElementVNode("view",{class:"title_text_tip font_pf"},"登录账号即可查看更多精彩咨询"),e.createElementVNode("view",{class:"fl1"})]),e.createElementVNode("view",{class:"account_password_div"},[e.createElementVNode("view",{class:"title1 font_pf"},"账号"),e.createVNode(o,{class:"account_input",modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),adjustPosition:!1,maxlength:30,placeholder:"请输入账号"},null,8,["modelValue"]),e.createElementVNode("view",{class:"title2 font_pf"},"密码"),e.createVNode(o,{class:"account_input",modelValue:l.value,"onUpdate:modelValue":a[2]||(a[2]=e=>l.value=e),adjustPosition:!1,maxlength:20,placeholder:"请输入密码",type:i.value?"text":"password","password-icon":!0},{suffix:e.withCtx(()=>[e.createElementVNode("view",{class:"show_password",onClick:a[1]||(a[1]=e=>i.value=!i.value)},[i.value?(e.openBlock(),e.createElementBlock("image",{key:0,class:"img_100",src:"/static/images/login/show.png"})):(e.openBlock(),e.createElementBlock("image",{key:1,class:"img_100",src:"/static/images/login/no_show.png"}))])]),_:1},8,["modelValue","type"])]),e.createElementVNode("view",{class:"fl8"}),e.createElementVNode("view",{class:"bottom_login_div"},[e.createElementVNode("view",{class:"",onClick:g},[e.createVNode(s,{class:"bottom_login_button",type:"primary",throttleTime:500,disabled:u.value},{default:e.withCtx(()=>[e.createTextVNode(" 登录 ")]),_:1},8,["disabled"])]),e.createElementVNode("view",{class:"ysxy_div"},[e.createVNode(d,{modelValue:r.value,"onUpdate:modelValue":a[3]||(a[3]=e=>r.value=e)},{default:e.withCtx(()=>[e.createVNode(c)]),_:1},8,["modelValue"]),e.createElementVNode("view",{class:"ysxy_tip font_pf"},[e.createTextVNode(" 已阅读并同意 "),e.createElementVNode("span",{class:"ysxy_term",onClick:a[4]||(a[4]=t=>e.unref(Re).navigateTo("/pages/login/ysxy?page=1"))},"《用户隐私协议》")])])]),e.createElementVNode("view",{class:"ime-div"})])}}}),[["__scopeId","data-v-aea8c1ce"]]);const Js=ze({data:()=>({this_url:""}),onLoad(e){var t=this.$scope.$getAppWebview();setTimeout(function(){t.children()[0]},1e3),this.this_url=e.url,e.uid&&(this.this_url=this.this_url+"&uid="+e.uid)},methods:{}},[["render",function(t,a,o,i,n,l){return e.openBlock(),e.createElementBlock("view",{class:"bg"},[e.createElementVNode("web-view",{src:n.this_url,class:"webbg"},null,8,["src"])])}]]);const Ks=ze({data:()=>({ysxi_text:""}),onLoad(){const e=an();this.ysxi_text=e+"/traapp/dfAgtInfo/queryValidDfAgtHtml"},onReady(){const e=this.$scope.$getAppWebview();function t(a,o=0){if(o>=20)return void me("warn","at pages/login/ysxy.vue:43","超过最大重试次数,未能设置Webview样式");let i;try{i=e.children()[0]}catch(n){me("error","at pages/login/ysxy.vue:51","获取Webview子元素失败:",n)}i&&"function"==typeof i.setStyle?i.setStyle({top:a,scalable:!1}):setTimeout(()=>t(a,o+1),40*o)}uni.getSystemInfo({success:e=>{t(e.statusBarHeight+45,1)},fail:e=>{me("error","at pages/login/ysxy.vue:70","获取系统信息失败:",e)}})},methods:{backRouter(){Re.navigateBack()}}},[["render",function(t,a,o,i,n,l){const r=pe(e.resolveDynamicComponent("uv-icon"),mt);return e.openBlock(),e.createElementBlock("view",{class:"main_div max_page"},[e.createElementVNode("view",{class:"top_view"}),e.createElementVNode("view",{class:"body-title"},[e.createVNode(r,{class:"arrow-icon",name:"arrow-left",onClick:a[0]||(a[0]=e=>l.backRouter())}),e.createTextVNode(" 隐私协议 ")]),e.createElementVNode("web-view",{src:n.ysxi_text,fullscreen:!0,"webview-styles":{width:"100%",height:"100%"}},null,8,["src"])])}],["__scopeId","data-v-319f4727"]]),Xs=ze({__name:"search",setup(t,{expose:a}){const o={backgroundColor:"#ffffff",paddingLeft:"40rpx",paddingTop:"5px",paddingBottom:"5px",border:"none",borderRadius:"6px"};let i="history_search_list";e.ref(!1);const n=e.ref(""),l=e.ref(""),r=e.ref([]),s=e.computed(()=>0===r.value.length);ye(e=>{l.value=e.from||"";const t=Ve();i=`${t.userId}_${l.value}_history_search_list`}),fe(()=>{let e=Re.getValue(i);Array.isArray(e)||(e=[]),r.value=e});const c=()=>{Re.show("","确认删除全部搜索历史?").then(e=>{e&&(Re.setValue(i,[]),r.value=[])})},u=(e,t=!0)=>{n.value=e;const a=e.trim();if(a){let e=Re.getValue(i);Array.isArray(e)||(e=[]);const o=e.filter(e=>e!==a);o.unshift(a);const n=10;o.length>n&&o.pop(),Re.setValue(i,o),t&&Re.navigateTo(`/pages/search/result?searchName=${a}&from=${l.value}`)}};return a({search:u}),(t,a)=>{const i=pe(e.resolveDynamicComponent("nav-bar"),zn),l=pe(e.resolveDynamicComponent("uv-icon"),mt),d=pe(e.resolveDynamicComponent("uv-input"),pt);return e.openBlock(),e.createElementBlock("view",{class:"main_div max_page"},[e.createVNode(i,{is_seat:!1}),e.createElementVNode("view",{class:"fixed_search_div"},[e.createElementVNode("view",{class:"back_div",onClick:a[0]||(a[0]=t=>e.unref(Re).navigateBack())},[e.createElementVNode("view",{class:"back-icon"})]),e.createElementVNode("view",{class:"fixed_search_input_div fl1"},[e.createVNode(d,{modelValue:n.value,"onUpdate:modelValue":a[2]||(a[2]=e=>n.value=e),shape:"circle",customStyle:o,confirmType:"search",placeholderStyle:"color:#999999;font-size:26rpx",placeholder:"请输入关键字",focus:!0,maxlength:60,"adjust-position":!1,onConfirm:u},{suffix:e.withCtx(()=>[e.createVNode(l,{name:"search",color:"#2c8ef2",size:"24",onClick:a[1]||(a[1]=e=>u(n.value))})]),_:1},8,["modelValue"])]),e.withDirectives(e.createElementVNode("view",{class:"message_div"},[e.createElementVNode("image",{src:On,class:"message_img"}),e.createElementVNode("view",{class:"message_text"},"消息"),e.createElementVNode("view",{class:"message_num"},"30")],512),[[e.vShow,!1]])]),e.withDirectives(e.createElementVNode("view",{class:"search_content"},[e.createElementVNode("view",{class:"title_div"},[e.createElementVNode("view",{class:"text"},"历史搜索"),e.createElementVNode("view",{class:"fl1"}),e.createElementVNode("view",{class:"delete_img",onClick:c},[e.createElementVNode("image",{src:"/static/images/search/delete.png",class:"img",mode:"heightFix"})])]),e.createElementVNode("view",{class:"history_div"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,t=>(e.openBlock(),e.createElementBlock("view",{class:"history_item ellipsis-text",onClick:e=>u(t)},e.toDisplayString(t),9,["onClick"]))),256))])],512),[[e.vShow,!s.value]]),e.withDirectives(e.createElementVNode("view",{class:"no_search"},[e.createElementVNode("image",{class:"img",src:"/static/images/search/no_search.png",mode:"widthFix"}),e.createElementVNode("view",{class:"text"},"暂无任何搜索记录")],512),[[e.vShow,s.value]])])}}},[["__scopeId","data-v-17b1beb2"]]),ec=ze({__name:"mascot_select_list",setup(t){const a=e.ref(!0),o=e.reactive([]);uni.getWindowInfo(),e.ref(0);const i=getCurrentPages(),n=e.computed(()=>o.length);let l=e.ref(0);const r=e.ref(!1),s=({detail:e})=>{l.value=e.current,r.value=!1},c=e=>{if(r.value)return;r.value=!0;let t=(l.value+e+n.value)%n.value;l.value=t},u=()=>{const e=o[l.value];var t;Re.loading(),(t={mascotId:e.mascotId},rn({url:Yl+"/traMascotInfo/setTraMascotInfo",method:"post",toastErrors:!0,data:t})).then(async e=>{const t=await Ql(),o=Ve();Ne({...o,mascotInfo:t}),Re.hideLoading(),Re.msg("设置成功"),Re.setValue("mascotState",!1),setTimeout(()=>{i.length>=2?(a.value=!1,Re.navigateBack()):Re.reLaunch("/pages/index/dialog",{animationType:"slide-in-bottom"})},400)}).catch(()=>{Re.hideLoading()})},d=e.ref("");return ye(e=>{var t;d.value=e.from??"",Re.loading(),rn({url:Yl+"/traMascotInfo/queryValidTraMascotInfo",method:"post",toastErrors:!0,data:t}).then(({body:e})=>{Object.assign(o,{...e}),Re.hideLoading()})}),e.onMounted(()=>{a.value=i.length<=2}),e.onUnmounted(()=>{}),me("log","at pages/mascot/mascot_select_list.vue:156","pages",i.length),ke(()=>a.value),(t,a)=>{const i=pe(e.resolveDynamicComponent("image-preview"),nl);return e.openBlock(),e.createElementBlock("view",{class:"main_div max_page"},["setting"===d.value?(e.openBlock(),e.createElementBlock("view",{key:0,class:"back_div",onClick:a[0]||(a[0]=t=>e.unref(Re).navigateBack())},[e.createElementVNode("view",{class:"back-icon"})])):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"bg_img"},[e.createElementVNode("image",{src:"/static/images/mascot/bg_1.png",class:"img",mode:"widthFix"})]),e.createElementVNode("view",{class:"fl1"}),e.createElementVNode("view",{class:"title_div"},[e.createElementVNode("image",{src:"/static/images/mascot/title.png",class:"img",mode:"widthFix"})]),e.createElementVNode("view",{class:"tip_div"},[e.createElementVNode("view",{class:"tip_msg"},"选择形象开启学习之旅")]),e.createElementVNode("view",{class:"fl1"}),e.createElementVNode("view",{class:"mascot_div"},[e.createElementVNode("view",{class:"doct_icon left",onClick:a[1]||(a[1]=e=>c(-1))},[e.createElementVNode("view",{class:"doct_icon_div"},[e.createElementVNode("image",{src:"/static/images/mascot/btn_left.png",class:"img",mode:"widthFix"})])]),e.createElementVNode("swiper",{class:"swiper",circular:"",current:e.unref(l),onAnimationfinish:s},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o,(t,a)=>(e.openBlock(),e.createElementBlock("swiper-item",{class:"",key:a},[e.createElementVNode("view",{class:"swiper-item-div"},[e.createVNode(i,{src:t.imgAddr,class:"img",mode:"widthFix"},null,8,["src"])])]))),128))],40,["current"]),e.createElementVNode("view",{class:"doct_icon right",onClick:a[2]||(a[2]=e=>c(1))},[e.createElementVNode("view",{class:"doct_icon_div"},[e.createElementVNode("image",{src:"/static/images/mascot/btn_right.png",class:"img",mode:"widthFix"})])])]),e.createElementVNode("view",{class:"button_div"},[e.withDirectives(e.createElementVNode("image",{src:"/static/images/mascot/btn_1.png",class:"img",mode:"aspectFit",onClick:a[3]||(a[3]=e=>u())},null,512),[[e.vShow,e.unref(l)%2]]),e.withDirectives(e.createElementVNode("image",{src:"/static/images/mascot/btn_2.png",class:"img",mode:"aspectFit",onClick:a[4]||(a[4]=e=>u())},null,512),[[e.vShow,(e.unref(l)+1)%2]])]),e.createElementVNode("view",{class:"fl1"})])}}},[["__scopeId","data-v-113ccad7"]]),tc={},ac="2.8.8",oc=100,ic="z-paging-error-emit",nc="z-paging-complete-emit",lc="z-paging-cache",rc="zp_index",sc="zp_unique_index",cc="Z-PAGING-REFRESHER-TIME-STORAGE-KEY";let uc=null,dc=!1,hc=null;const mc={};function pc(){return uni.getStorageSync(cc)}function gc(e){return uni.upx2px(e)}function fc(){return(new Date).getTime()}function vc(e){return 1===(e=e.toString()).length?"0"+e:e}const yc={gc:function(e,t){return()=>{if(function(){if(dc)return;tc&&Object.keys(tc).length&&(uc=tc);!uc&&uni.$zp&&(uc=uni.$zp.config);uc=uc?Object.keys(uc).reduce((e,t)=>(e[function(e){return e.replace(/-([a-z])/g,(e,t)=>t.toUpperCase())}(t)]=uc[t],e),{}):null,dc=!0}(),!uc)return t;const a=uc[e];return void 0===a?t:a}},setRefesrherTime:function(e,t){const a=pc()||{};a[t]=e,uni.setStorageSync(cc,a)},getRefesrherFormatTimeByKey:function(e,t){const a=function(e){const t=pc();return t&&t[e]?t[e]:null}(e),o=a?function(e,t){const a=new Date(e),o=new Date,i=new Date(e).setHours(0,0,0,0),n=(new Date).setHours(0,0,0,0),l=i-n;let r="";const s=function(e){const t=e.getHours(),a=e.getMinutes();return`${vc(t)}:${vc(a)}`}(a);r=0===l?t.today:-864e5===l?t.yesterday:function(e,t=!0){const a=e.getFullYear(),o=e.getMonth()+1,i=e.getDate();return t?`${a}-${vc(o)}-${vc(i)}`:`${vc(o)}-${vc(i)}`}(a,a.getFullYear()!==o.getFullYear());return`${r} ${s}`}(a,t):t.none;return`${t.title}${o}`},getTouch:function(e){let t=null;if(e.touches&&e.touches.length)t=e.touches[0];else if(e.changedTouches&&e.changedTouches.length)t=e.changedTouches[0];else{if(!e.datail||e.datail=={})return{touchX:0,touchY:0};t=e.datail}return{touchX:t.clientX,touchY:t.clientY}},getTouchFromZPaging:function e(t){if(t&&t.tagName&&"BODY"!==t.tagName&&"UNI-PAGE-BODY"!==t.tagName){const a=t.classList;return a&&a.contains("z-paging-content")?{isFromZp:!0,isPageScroll:a.contains("z-paging-content-page"),isReachedTop:a.contains("z-paging-reached-top"),isUseChatRecordMode:a.contains("z-paging-use-chat-record-mode")}:e(t.parentNode)}return{isFromZp:!1}},getParent:function e(t){return t?t.$refs.paging?t:e(t.$parent):null},convertToPx:function(e){if("[object Number]"===Object.prototype.toString.call(e))return e;let t=!1;return-1!==e.indexOf("rpx")||-1!==e.indexOf("upx")?(e=e.replace("rpx","").replace("upx",""),t=!0):-1!==e.indexOf("px")&&(e=e.replace("px","")),isNaN(e)?0:Number(t?gc(e):e)},getTime:fc,getInstanceId:function(){const e=[];for(let t=0;t<10;t++)e[t]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);return e.join("")+fc()},consoleErr:function(e){me("error","at uni_modules/z-paging/components/z-paging/js/z-paging-utils.js:73",`[z-paging]${e}`)},delay:function(e,t=oc,a){const o=setTimeout(e,t);return a&&(mc[a]&&clearTimeout(mc[a]),mc[a]=o),o},wait:function(e){return new Promise(t=>{setTimeout(t,e)})},isPromise:function(e){return"[object Promise]"===Object.prototype.toString.call(e)},addUnit:function(e,t){if("[object String]"===Object.prototype.toString.call(e)){let t=e;t=t.replace("rpx","").replace("upx","").replace("px",""),-1===e.indexOf("rpx")&&-1===e.indexOf("upx")&&-1!==e.indexOf("px")&&(t=2*parseFloat(t)),e=t}return"rpx"===t?e+"rpx":e/2+"px"},deepCopy:function e(t){if("object"!=typeof t||null===t)return t;let a=Array.isArray(t)?[]:{};for(let o in t)t.hasOwnProperty(o)&&(a[o]=e(t[o]));return a},rpx2px:gc,getSystemInfoSync:function(e=!1){if(e&&hc)return hc;const{deviceInfo:t,appBaseInfo:a,windowInfo:o}=["DeviceInfo","AppBaseInfo","WindowInfo"].reduce((e,t)=>{const a=`get${t}`;return uni[a]&&uni.canIUse(a)&&(e[t.charAt(0).toLowerCase()+t.slice(1)]=uni[a]()),e},{});return hc=t&&a&&o?{...t,...a,...o}:uni.getSystemInfoSync(),hc},useBufferedInsert:function(e,t=50){let a=[],o=null,i=[];return function(n,...l){const r="[object Array]"!==Object.prototype.toString.call(n)?[n]:n;a.push(...r),i=l,o||(o=setTimeout(()=>{e(1===a.length?a[0]:a,...i),a=[],o=null},1===a.length?10:t))}}},wc={data:()=>({systemInfo:null,cssSafeAreaInsetBottom:-1,isReadyDestroy:!1}),computed:{windowTop(){return this.systemInfo&&this.systemInfo.windowTop||0},safeAreaBottom(){if(!this.systemInfo)return 0;let e=0;return e=this.systemInfo.safeAreaInsets.bottom||0,e},isOldWebView(){try{const e=yc.getSystemInfoSync(!0).system.split(" "),t=e[0],a=parseInt(e[1]);if("iOS"===t&&a<=10||"Android"===t&&a<=6)return!0}catch(e){return!1}return!1},zSlots(){return this.$slots}},beforeDestroy(){this.isReadyDestroy=!0},unmounted(){this.isReadyDestroy=!0},methods:{updateFixedLayout(){this.fixed&&this.$nextTick(()=>{this.systemInfo=yc.getSystemInfoSync()})},_getNodeClientRect(e,t=!0,a=!1){if(this.isReadyDestroy)return Promise.resolve(!1);let o=t?uni.createSelectorQuery().in(!0===t?this:t):uni.createSelectorQuery();return a?o.select(e).scrollOffset():o.select(e).boundingClientRect(),new Promise((e,t)=>{o.exec(t=>{e(!(!t||""==t||null==t||!t.length)&&t)})})},_updateLeftAndRightWidth(e,t){this.$nextTick(()=>{setTimeout(()=>{["left","right"].map(a=>{this._getNodeClientRect(`.${t}-${a}`).then(t=>{this.$set(e,a,t?t[0].width+"px":"0px")})})},0)})},_getCssSafeAreaInsetBottom(e){this._getNodeClientRect(".zp-safe-area-inset-bottom").then(t=>{this.cssSafeAreaInsetBottom=t?t[0].height:-1,t&&e&&e()})},_getSystemInfoSync:(e=!1)=>yc.getSystemInfoSync(e)}};const kc=ze({name:"z-paging-swiper",mixins:[wc],data:()=>({swiperContentStyle:{}}),props:{fixed:{type:Boolean,default:!0},safeAreaInsetBottom:{type:Boolean,default:!1},swiperStyle:{type:Object,default:function(){return{}}}},mounted(){this.$nextTick(()=>{this.systemInfo=this._getSystemInfoSync(),setTimeout(this.updateFixedLayout,100)}),this.updateLeftAndRightWidth(),this.swiperContentStyle={flex:"1"},this.swiperContentStyle={width:"100%",height:"100%"}},computed:{finalSwiperStyle(){const e={...this.swiperStyle};if(!this.systemInfo)return e;const t=this.windowTop,a=this.systemInfo.windowBottom;if(this.fixed&&(t&&!e.top&&(e.top=t+"px"),!e.bottom)){let t=a||0;t+=this.safeAreaInsetBottom?this.safeAreaBottom:0,t>0&&(e.bottom=t+"px")}return e}},methods:{updateLeftAndRightWidth(){this.isOldWebView&&this.$nextTick(()=>this._updateLeftAndRightWidth(this.swiperContentStyle,"zp-swiper"))}}},[["render",function(t,a,o,i,n,l){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(o.fixed?"zp-swiper-container zp-swiper-container-fixed":"zp-swiper-container"),style:e.normalizeStyle([l.finalSwiperStyle])},[t.zSlots.top?e.renderSlot(t.$slots,"top",{key:0},void 0,!0):e.createCommentVNode("",!0),e.createElementVNode("view",{class:"zp-swiper-super"},[t.zSlots.left?(e.openBlock(),e.createElementBlock("view",{key:0,class:e.normalizeClass({"zp-swiper-left":!0,"zp-absoulte":t.isOldWebView})},[e.renderSlot(t.$slots,"left",{},void 0,!0)],2)):e.createCommentVNode("",!0),e.createElementVNode("view",{class:e.normalizeClass({"zp-swiper":!0,"zp-absoulte":t.isOldWebView}),style:e.normalizeStyle([n.swiperContentStyle])},[e.renderSlot(t.$slots,"default",{},void 0,!0)],6),t.zSlots.right?(e.openBlock(),e.createElementBlock("view",{key:1,class:e.normalizeClass({"zp-swiper-right":!0,"zp-absoulte zp-right":t.isOldWebView})},[e.renderSlot(t.$slots,"right",{},void 0,!0)],2)):e.createCommentVNode("",!0)]),t.zSlots.bottom?e.renderSlot(t.$slots,"bottom",{key:1},void 0,!0):e.createCommentVNode("",!0)],6)}],["__scopeId","data-v-64f864c6"]]);const bc=ze({},[["render",function(t,a){return e.openBlock(),e.createElementBlock("view",{class:"scroll_div"},[e.createElementVNode("scroll-view",{class:"scroll-Y","show-scrollbar":!1},[e.createElementVNode("view",{class:"item"},[e.createElementVNode("image",{src:"/static/images/common/default_img_2.png",mode:"aspectFit"})])])])}],["__scopeId","data-v-82e28cf5"]]),xc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkBAMAAACCzIhnAAAAD1BMVEVHcExRUVFMTExRUV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vKWBPIVo9kqDQSRk9/3cWoikcCFPAd33v4dIChPyEvLzBA6RlEYWke4JEUnhKXkLeUEKxRHJFfKCQHGucIW8IdZSRkLeEGMpYyEjiK2UsZARxFTKRMgYYillImQMMZQyFTKB2EmZCplAuFLIHT8TMoWwpQwiIVMIUwqpZP5bp5CCvCTiQKr5f5lCQN+tPCBn2ZvVDFJwIDUP0m1BYAfZYRNSsCB7BqTbhoARePIxtZ9tgwWkoJcwCalmv3MBAemtO4R6dah2HaKQqj8Zvp9sQDjvJ21+SPCBHPJDDk6QITekEV7gqCC19CpKAym9IMfckKv4olMBCeIrWwVEfvkshzQekO9r9P1/ALk+IG1eSPCDiCJfyG+FyU+A6ZCa/piZDinpz7LpkCv5gdkAEshP5emQhv7onw6pGeULyZCSUYiRDAmMkpJkCKs4JhFSq8p8hJBSVbAkhARV6ZUQoisik0FqXTmcDHLVFfbJIEFXoiiCNMpiSxGkVJaNiiBBWQArgTTaUl4JpNQWJUsgQVteXQg+AKkLxQWFGKW+5J2+eVp4S168X3CF1CltCKdTJ8lb84YK2bUBO+wZW0Pqv9nk4tKu49N45NJC5dMM5tLW5tOg59Jq6NM06dL+abFXwr/RkuvTXJwae1abtE/Dt0/ruksTvs84AZ/BCC4jHnyGVfiM3VBQFANEXEah+Ax18RlP4zNox2dkkM/wI58xTn8yDCXGYCDV3W5RGSajtXyGhG1jbpbjzpwGt/0MJft8jqC7iUbQ/QZaxdnKqcIftwAAAABJRU5ErkJggg==";const Tc=ze({name:"z-paging-empty-view",data:()=>({}),props:{emptyViewText:{type:String,default:"没有数据哦~"},emptyViewImg:{type:String,default:""},showEmptyViewReload:{type:Boolean,default:!1},emptyViewReloadText:{type:String,default:"重新加载"},isLoadFailed:{type:Boolean,default:!1},emptyViewStyle:{type:Object,default:function(){return{}}},emptyViewImgStyle:{type:Object,default:function(){return{}}},emptyViewTitleStyle:{type:Object,default:function(){return{}}},emptyViewReloadStyle:{type:Object,default:function(){return{}}},emptyViewZIndex:{type:Number,default:9},emptyViewFixed:{type:Boolean,default:!0},unit:{type:String,default:"rpx"}},computed:{emptyImg(){return this.isLoadFailed?Bc:Vc},finalEmptyViewStyle(){return this.emptyViewStyle["z-index"]=this.emptyViewZIndex,this.emptyViewStyle}},methods:{reloadClick(){this.$emit("reload")},emptyViewClick(){this.$emit("viewClick")}}},[["render",function(t,a,o,i,n,l){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass({"zp-container":!0,"zp-container-fixed":o.emptyViewFixed}),style:e.normalizeStyle([l.finalEmptyViewStyle]),onClick:a[1]||(a[1]=(...e)=>l.emptyViewClick&&l.emptyViewClick(...e))},[e.createElementVNode("view",{class:"zp-main"},[o.emptyViewImg.length?o.showEmptyViewReload?(e.openBlock(),e.createElementBlock("image",{key:1,class:e.normalizeClass({"zp-main-image-rpx":"rpx"===o.unit,"zp-main-image-px":"px"===o.unit}),mode:"aspectFit",style:e.normalizeStyle([o.emptyViewImgStyle]),src:o.emptyViewImg},null,14,["src"])):(e.openBlock(),e.createElementBlock("image",{key:2,class:e.normalizeClass({"zp-main-empty-image-rpx":"rpx"===o.unit,"zp-main-empty-image-px":"px"===o.unit}),mode:"aspectFit",style:e.normalizeStyle([o.emptyViewImgStyle]),src:o.emptyViewImg},null,14,["src"])):(e.openBlock(),e.createElementBlock("image",{key:0,class:e.normalizeClass({"zp-main-image-rpx":"rpx"===o.unit,"zp-main-image-px":"px"===o.unit}),style:e.normalizeStyle([o.emptyViewImgStyle]),src:l.emptyImg},null,14,["src"])),e.createElementVNode("text",{class:e.normalizeClass(["zp-main-title",{"zp-main-title-rpx":"rpx"===o.unit,"zp-main-title-px":"px"===o.unit}]),style:e.normalizeStyle([o.emptyViewTitleStyle])},e.toDisplayString(o.emptyViewText),7),o.showEmptyViewReload?(e.openBlock(),e.createElementBlock("text",{key:3,class:e.normalizeClass({"zp-main-error-btn":!0,"zp-main-error-btn-rpx":"rpx"===o.unit,"zp-main-error-btn-px":"px"===o.unit}),style:e.normalizeStyle([o.emptyViewReloadStyle]),onClick:a[0]||(a[0]=e.withModifiers((...e)=>l.reloadClick&&l.reloadClick(...e),["stop"]))},e.toDisplayString(o.emptyViewReloadText),7)):e.createCommentVNode("",!0)])],6)}],["__scopeId","data-v-a45b233d"]]),Dc={LoadingType:{Refresher:"refresher",LoadMore:"load-more"},Refresher:{Default:"default",ReleaseToRefresh:"release-to-refresh",Loading:"loading",Complete:"complete",GoF2:"go-f2"},More:{Default:"default",Loading:"loading",NoMore:"no-more",Fail:"fail"},QueryFrom:{UserPullDown:"user-pull-down",Reload:"reload",Refresh:"refresh",LoadMore:"load-more"},CellHeightMode:{Fixed:"fixed",Dynamic:"dynamic"},CacheMode:{Default:"default",Always:"always"}};const Ac=ze({name:"z-paging-refresh",data:()=>({R:Dc.Refresher,refresherTimeText:"",zTheme:{title:{white:"#efefef",black:"#555555"},arrow:{white:Cc,black:xc},flower:{white:Sc,black:_c},success:{white:Nc,black:Ec},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["status","defaultThemeStyle","defaultText","pullingText","refreshingText","completeText","goF2Text","defaultImg","pullingImg","refreshingImg","completeImg","refreshingAnimated","showUpdateTime","updateTimeKey","imgStyle","titleStyle","updateTimeStyle","updateTimeTextMap","unit","isIos"],computed:{ts(){return this.defaultThemeStyle},statusTextMap(){this.updateTime();const{R:e,defaultText:t,pullingText:a,refreshingText:o,completeText:i,goF2Text:n}=this;return{[e.Default]:t,[e.ReleaseToRefresh]:a,[e.Loading]:o,[e.Complete]:i,[e.GoF2]:n}},currentTitle(){return this.statusTextMap[this.status]||this.defaultText},leftImageClass(){const e=`zp-r-left-image-pre-size-${this.unit}`;return this.status===this.R.Complete?e:`zp-r-left-image ${e} ${this.status===this.R.Default?"zp-r-arrow-down":"zp-r-arrow-top"}`},leftImageStyle(){const e=this.showUpdateTime,t=e?yc.addUnit(36,this.unit):yc.addUnit(34,this.unit);return{width:t,height:t,"margin-right":e?yc.addUnit(20,this.unit):yc.addUnit(9,this.unit)}},leftImageSrc(){const e=this.R,t=this.status;return t===e.Default?this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.ReleaseToRefresh?this.pullingImg?this.pullingImg:this.defaultImg?this.defaultImg:this.zTheme.arrow[this.ts]:t===e.Loading?this.refreshingImg?this.refreshingImg:this.zTheme.flower[this.ts]:t===e.Complete?this.completeImg?this.completeImg:this.zTheme.success[this.ts]:t===e.GoF2?this.zTheme.arrow[this.ts]:""},rightTextStyle(){let e={};return e.color=this.zTheme.title[this.ts],e["font-size"]=yc.addUnit(30,this.unit),e}},methods:{addUnit:(e,t)=>yc.addUnit(e,t),updateTime(){this.showUpdateTime&&(this.refresherTimeText=yc.getRefesrherFormatTimeByKey(this.updateTimeKey,this.updateTimeTextMap))}}},[["render",function(t,a,o,i,n,l){return e.openBlock(),e.createElementBlock("view",{style:{height:"100%"}},[e.createElementVNode("view",{class:e.normalizeClass(o.showUpdateTime?"zp-r-container zp-r-container-padding":"zp-r-container")},[e.createElementVNode("view",{class:"zp-r-left"},[o.status!==n.R.Loading?(e.openBlock(),e.createElementBlock("image",{key:0,class:e.normalizeClass(l.leftImageClass),style:e.normalizeStyle([l.leftImageStyle,o.imgStyle]),src:l.leftImageSrc},null,14,["src"])):(e.openBlock(),e.createElementBlock("image",{key:1,class:e.normalizeClass({"zp-line-loading-image":o.refreshingAnimated,"zp-r-left-image":!0,"zp-r-left-image-pre-size-rpx":"rpx"===o.unit,"zp-r-left-image-pre-size-px":"px"===o.unit}),style:e.normalizeStyle([l.leftImageStyle,o.imgStyle]),src:l.leftImageSrc},null,14,["src"]))]),e.createElementVNode("view",{class:"zp-r-right"},[e.createElementVNode("text",{class:"zp-r-right-text",style:e.normalizeStyle([l.rightTextStyle,o.titleStyle])},e.toDisplayString(l.currentTitle),5),o.showUpdateTime&&n.refresherTimeText.length?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass(["zp-r-right-text",{"zp-r-right-time-text-rpx":"rpx"===o.unit,"zp-r-right-time-text-px":"px"===o.unit}]),style:e.normalizeStyle([{color:n.zTheme.title[l.ts]},o.updateTimeStyle])},e.toDisplayString(n.refresherTimeText),7)):e.createCommentVNode("",!0)])],2)])}],["__scopeId","data-v-041f95b5"]]);const Rc=ze({name:"z-paging-load-more",data:()=>({M:Dc.More,zTheme:{title:{white:"#efefef",black:"#a4a4a4"},line:{white:"#efefef",black:"#eeeeee"},circleBorder:{white:"#aaaaaa",black:"#c8c8c8"},circleBorderTop:{white:"#ffffff",black:"#444444"},flower:{white:Sc,black:_c},indicator:{white:"#eeeeee",black:"#777777"}}}),props:["zConfig"],computed:{ts(){return this.c.defaultThemeStyle},c(){return this.zConfig||{}},ownLoadingMoreText(){return{[this.M.Default]:this.c.defaultText,[this.M.Loading]:this.c.loadingText,[this.M.NoMore]:this.c.noMoreText,[this.M.Fail]:this.c.failText}[this.finalStatus]},finalStatus(){return this.c.defaultAsLoading&&this.c.status===this.M.Default?this.M.Loading:this.c.status},finalLoadingIconType(){return this.c.loadingIconType}},methods:{doClick(){this.$emit("doClick")}}},[["render",function(t,a,o,i,n,l){return e.openBlock(),e.createElementBlock("view",{class:e.normalizeClass(["zp-l-container",{"zp-l-container-rpx":"rpx"===l.c.unit,"zp-l-container-px":"px"===l.c.unit}]),style:e.normalizeStyle([l.c.customStyle]),onClick:a[0]||(a[0]=(...e)=>l.doClick&&l.doClick(...e))},[l.c.hideContent?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[l.c.showNoMoreLine&&l.finalStatus===n.M.NoMore?(e.openBlock(),e.createElementBlock("text",{key:0,class:e.normalizeClass({"zp-l-line-rpx":"rpx"===l.c.unit,"zp-l-line-px":"px"===l.c.unit}),style:e.normalizeStyle([{backgroundColor:n.zTheme.line[l.ts]},l.c.noMoreLineCustomStyle])},null,6)):e.createCommentVNode("",!0),l.finalStatus===n.M.Loading&&l.c.loadingIconCustomImage?(e.openBlock(),e.createElementBlock("image",{key:1,src:l.c.loadingIconCustomImage,style:e.normalizeStyle([l.c.iconCustomStyle]),class:e.normalizeClass({"zp-l-line-loading-custom-image":!0,"zp-l-line-loading-custom-image-animated":l.c.loadingAnimated,"zp-l-line-loading-custom-image-rpx":"rpx"===l.c.unit,"zp-l-line-loading-custom-image-px":"px"===l.c.unit})},null,14,["src"])):e.createCommentVNode("",!0),l.finalStatus!==n.M.Loading||"flower"!==l.finalLoadingIconType||l.c.loadingIconCustomImage.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("image",{key:2,class:e.normalizeClass({"zp-line-loading-image":!0,"zp-line-loading-image-rpx":"rpx"===l.c.unit,"zp-line-loading-image-px":"px"===l.c.unit}),style:e.normalizeStyle([l.c.iconCustomStyle]),src:n.zTheme.flower[l.ts]},null,14,["src"])),l.finalStatus!==n.M.Loading||"circle"!==l.finalLoadingIconType||l.c.loadingIconCustomImage.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("text",{key:3,class:e.normalizeClass(["zp-l-circle-loading-view",{"zp-l-circle-loading-view-rpx":"rpx"===l.c.unit,"zp-l-circle-loading-view-px":"px"===l.c.unit}]),style:e.normalizeStyle([{borderColor:n.zTheme.circleBorder[l.ts],borderTopColor:n.zTheme.circleBorderTop[l.ts]},l.c.iconCustomStyle])},null,6)),!l.c.isChat||!l.c.chatDefaultAsLoading&&l.finalStatus===n.M.Default||l.finalStatus===n.M.Fail?(e.openBlock(),e.createElementBlock("text",{key:4,class:e.normalizeClass({"zp-l-text-rpx":"rpx"===l.c.unit,"zp-l-text-px":"px"===l.c.unit}),style:e.normalizeStyle([{color:n.zTheme.title[l.ts]},l.c.titleCustomStyle])},e.toDisplayString(l.ownLoadingMoreText),7)):e.createCommentVNode("",!0),l.c.showNoMoreLine&&l.finalStatus===n.M.NoMore?(e.openBlock(),e.createElementBlock("text",{key:5,class:e.normalizeClass({"zp-l-line-rpx":"rpx"===l.c.unit,"zp-l-line-px":"px"===l.c.unit}),style:e.normalizeStyle([{backgroundColor:n.zTheme.line[l.ts]},l.c.noMoreLineCustomStyle])},null,6)):e.createCommentVNode("",!0)],64))],6)}],["__scopeId","data-v-843c3383"]]),zc="Query",Fc="FetchParams",Mc="FetchResult",Lc="Language2Local";function Pc(){return getApp()}function $c(){return Pc()&&Pc().globalData}function Oc(e,t){try{setTimeout(function(){$c()&&(Pc().globalData[`zp_handle${e}Callback`]=t)},1)}catch(a){}}function jc(e){return $c()?Pc().globalData[`zp_handle${e}Callback`]:null}const Hc={handleQuery:function(e){return Oc(zc,e),this},_handleQuery:function(e,t,a,o){const i=jc(zc);return i?i(e,t,a,o):[e,t,a]},handleFetchParams:function(e){return Oc(Fc,e),this},_handleFetchParams:function(e,t){const a=jc(Fc);return a?a(e,t||{}):{pageNo:e.pageNo,pageSize:e.pageSize,...t||{}}},handleFetchResult:function(e){return Oc(Mc,e),this},_handleFetchResult:function(e,t,a){const o=jc(Mc);return o&&o(e,t,a),!!o},handleLanguage2Local:function(e){return Oc(Lc,e),this},_handleLanguage2Local:function(e,t){const a=jc(Lc);return a?a(e,t):t}},Uc={props:{defaultPageNo:{type:Number,default:yc.gc("defaultPageNo",1),observer:function(e){this.pageNo=e}},defaultPageSize:{type:Number,default:yc.gc("defaultPageSize",10),validator:e=>(e<=0&&yc.consoleErr("default-page-size必须大于0!"),e>0)},dataKey:{type:[Number,String,Object],default:yc.gc("dataKey",null)},useCache:{type:Boolean,default:yc.gc("useCache",!1)},cacheKey:{type:String,default:yc.gc("cacheKey",null)},cacheMode:{type:String,default:yc.gc("cacheMode",Dc.CacheMode.Default)},autowireListName:{type:String,default:yc.gc("autowireListName","")},autowireQueryName:{type:String,default:yc.gc("autowireQueryName","")},fetch:{type:Function,default:null},fetchParams:{type:Object,default:yc.gc("fetchParams",null)},auto:{type:Boolean,default:yc.gc("auto",!0)},reloadWhenRefresh:{type:Boolean,default:yc.gc("reloadWhenRefresh",!0)},autoScrollToTopWhenReload:{type:Boolean,default:yc.gc("autoScrollToTopWhenReload",!0)},autoCleanListWhenReload:{type:Boolean,default:yc.gc("autoCleanListWhenReload",!0)},showRefresherWhenReload:{type:Boolean,default:yc.gc("showRefresherWhenReload",!1)},showLoadingMoreWhenReload:{type:Boolean,default:yc.gc("showLoadingMoreWhenReload",!1)},createdReload:{type:Boolean,default:yc.gc("createdReload",!1)},localPagingLoadingTime:{type:[Number,String],default:yc.gc("localPagingLoadingTime",200)},concat:{type:Boolean,default:yc.gc("concat",!0)},callNetworkReject:{type:Boolean,default:yc.gc("callNetworkReject",!0)},value:{type:Array,default:function(){return[]}},modelValue:{type:Array,default:function(){return[]}}},data(){return{currentData:[],totalData:[],realTotalData:[],totalLocalPagingList:[],dataPromiseResultMap:{reload:null,complete:null,localPaging:null},isSettingCacheList:!1,pageNo:1,currentRefreshPageSize:0,isLocalPaging:!1,isAddedData:!1,isTotalChangeFromAddData:!1,privateConcat:!0,myParentQuery:-1,firstPageLoaded:!1,pagingLoaded:!1,loaded:!1,isUserReload:!0,fromEmptyViewReload:!1,queryFrom:"",listRendering:!1,isHandlingRefreshToPage:!1,isFirstPageAndNoMore:!1,totalDataChangeThrow:!0,addDataFromTopBufferedInsert:yc.useBufferedInsert(this._addDataFromTop)}},computed:{pageSize(){return this.defaultPageSize},finalConcat(){return this.concat&&this.privateConcat},finalUseCache(){return this.useCache&&!this.cacheKey&&yc.consoleErr("use-cache为true时,必须设置cache-key,否则缓存无效!"),this.useCache&&!!this.cacheKey},finalCacheKey(){return this.cacheKey?`${lc}-${this.cacheKey}`:null},isFirstPage(){return this.pageNo===this.defaultPageNo}},watch:{totalData(e,t){const a=!!this.isSettingCacheList||this.totalDataChangeThrow;this._totalDataChange(e,t,a),this.totalDataChangeThrow=!0},currentData(e,t){this._currentDataChange(e,t)},useChatRecordMode(e,t){e&&(this.nLoadingMoreFixedHeight=!1)},value:{handler(e){e!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=e)},immediate:!0},modelValue:{handler(e){e!==this.totalData&&(this.totalDataChangeThrow=!1,this.totalData=e)},immediate:!0}},methods:{complete(e,t=!0){return this.customNoMore=-1,this.addData(e,t)},completeByKey(e,t=null,a=!0){return null!==t&&null!==this.dataKey&&t!==this.dataKey?(this.isFirstPage&&this.endRefresh(),new Promise(e=>e())):(this.customNoMore=-1,this.addData(e,a))},completeByTotal(e,t,a=!0){if("undefined"==t)this.customNoMore=-1;else{const o=this._checkDataType(e,a,!1);if(e=o.data,a=o.success,t>=0&&a)return new Promise((o,i)=>{this.$nextTick(()=>{let n=!1;let l=(this.pageNo==this.defaultPageNo?0:this.realTotalData.length)+(this.privateConcat?e.length:0)-t;l>=0&&(n=!0,l=this.defaultPageSize-l,this.privateConcat&&l>0&&lo(e)).catch(()=>i())})})}return this.addData(e,a)},completeByNoMore(e,t,a=!0){return"undefined"!=t&&(this.customNoMore=1==t?1:0),this.addData(e,a)},completeByError(e){return this.customerEmptyViewErrorText=e,this.complete(!1)},addData(e,t=!0){this.fromCompleteEmit||(this.disabledCompleteEmit=!0,this.fromCompleteEmit=!1);const a=yc.getTime()-this.requestTimeStamp;let o=this.minDelay;this.isFirstPage&&this.finalShowRefresherWhenReload&&(o=Math.max(400,o));const i=this.requestTimeStamp>0&&a{yc.delay(()=>{this._addData(e,t,!1)},this.delay>0?this.delay:i)}),new Promise((e,t)=>{this.dataPromiseResultMap.complete={resolve:e,reject:t}})},addDataFromTop(e,t=!0,a=!0){(this.finalUseVirtualList?this.addDataFromTopBufferedInsert:this._addDataFromTop)(e,t,a)},resetTotalData(e){this.isTotalChangeFromAddData=!0,e="[object Array]"!==Object.prototype.toString.call(e)?[e]:e,this.totalData=e},setLocalPaging(e,t=!0){return this.isLocalPaging=!0,this.$nextTick(()=>{this._addData(e,t,!0)}),new Promise((e,t)=>{this.dataPromiseResultMap.localPaging={resolve:e,reject:t}})},reload(e=this.showRefresherWhenReload){return e&&(this.privateShowRefresherWhenReload=e,this.isUserPullDown=!0),this.showLoadingMoreWhenReload||(this.listRendering=!0),this.$nextTick(()=>{this._preReload(e,!1)}),new Promise((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}})},refresh(){return this._handleRefreshWithDisPageNo(this.pageNo-this.defaultPageNo+1)},refreshToPage(e){return this.isHandlingRefreshToPage=!0,this._handleRefreshWithDisPageNo(e+this.defaultPageNo-1)},updateCache(){this.finalUseCache&&this.totalData.length&&this._saveLocalCache(this.totalData.slice(0,Math.min(this.totalData.length,this.pageSize)))},clean(){this._reload(!0),this._addData([],!0,!1)},clear(){this.clean()},_preReload(e=this.showRefresherWhenReload,t=!0,a=0){const o=this.finalRefresherEnabled&&this.useCustomRefresher;-1===this.customRefresherHeight&&o?yc.delay(()=>{++a%10==0&&this._updateCustomRefresherHeight(),this._preReload(e,t,a)},oc/2):(this.isUserReload=!0,this.loadingType=Dc.LoadingType.Refresher,e?(this.privateShowRefresherWhenReload=e,this.useCustomRefresher?this._doRefresherRefreshAnimate():this.refresherTriggered=!0):this._refresherEnd(!1,!1,!1,!1),this._reload(!1,t))},_reload(e=!1,t=!1,a=!1){if(this.isAddedData=!1,this.insideOfPaging=-1,this.cacheScrollNodeHeight=-1,this.pageNo=this.defaultPageNo,this._cleanRefresherEndTimeout(),!this.privateShowRefresherWhenReload&&!e&&this._startLoading(!0),this.firstPageLoaded=!0,this.isTotalChangeFromAddData=!1,this.isSettingCacheList||(this.totalData=[]),!e){this._emitQuery(this.pageNo,this.defaultPageSize,a?Dc.QueryFrom.UserPullDown:Dc.QueryFrom.Reload);let e=0;yc.delay(this._callMyParentQuery,e),!t&&this.autoScrollToTopWhenReload&&this._scrollToTop(!1)}},_addData(e,t,a){this.isAddedData=!0,this.fromEmptyViewReload=!1,this.isTotalChangeFromAddData=!0,this.refresherTriggered=!1,this._endSystemLoadingAndRefresh();const o=this.isUserPullDown;this.showRefresherUpdateTime&&this.isFirstPage&&(yc.setRefesrherTime(yc.getTime(),this.refresherUpdateTimeKey),this.$refs.refresh&&this.$refs.refresh.updateTime()),!a&&o&&this.isFirstPage&&(this.isUserPullDown=!1),this.listRendering=!0,this.$nextTick(()=>{yc.delay(()=>this.listRendering=!1)});let i=this._checkDataType(e,t,a);e=i.data,t=i.success;let n=oc;if(this.useChatRecordMode&&(n=0),this.loadingForNow=!1,yc.delay(()=>{this.pagingLoaded=!0,this.$nextTick(()=>{!a&&this._refresherEnd(n>0,!0,o)})}),this.isFirstPage&&(this.isLoadFailed=!t,this.$emit("isLoadFailedChange",this.isLoadFailed),this.finalUseCache&&t&&(this.cacheMode===Dc.CacheMode.Always||this.isSettingCacheList)&&this._saveLocalCache(e)),this.isSettingCacheList=!1,t){if((!1!==this.privateConcat||this.isHandlingRefreshToPage||this.loadingStatus!==Dc.More.NoMore)&&(this.loadingStatus=Dc.More.Default),a){this.totalLocalPagingList=e;const t=this.defaultPageNo,a=this.queryFrom!==Dc.QueryFrom.Refresh?this.defaultPageSize:this.currentRefreshPageSize;this._localPagingQueryList(t,a,0,e=>{yc.delay(()=>{this.completeByTotal(e,this.totalLocalPagingList.length)},0)})}else{let t=0;yc.delay(()=>{this._currentDataChange(e,this.currentData),this._callDataPromise(!0,this.totalData)},t)}this.isHandlingRefreshToPage&&(this.isHandlingRefreshToPage=!1,this.pageNo=this.defaultPageNo+Math.ceil(e.length/this.pageSize)-1,e.length%this.pageSize!==0&&(this.customNoMore=1))}else this._currentDataChange(e,this.currentData),this._callDataPromise(!1),this.loadingStatus=Dc.More.Fail,this.isHandlingRefreshToPage=!1,this.loadingType===Dc.LoadingType.LoadMore&&this.pageNo--},_totalDataChange(e,t,a=!0){(this.isUserReload&&this.autoCleanListWhenReload||!this.firstPageLoaded||e.length||!t.length)&&(this._doCheckScrollViewShouldFullHeight(e),this.realTotalData.length||e.length||(a=!1),this.realTotalData=e,a&&(this.$emit("input",e),this.$emit("update:modelValue",e),this.$emit("update:list",e),this.$emit("listChange",e),this._callMyParentList(e)),this.firstPageLoaded=!1,this.isTotalChangeFromAddData=!1,this.$nextTick(()=>{yc.delay(()=>{this._getNodeClientRect(".zp-paging-container-content").then(e=>{e&&this.$emit("contentHeightChanged",e[0].height)})},oc*(this.isIos?1:3))}))},_currentDataChange(e,t){e=[...e],this.finalUseVirtualList&&this._setCellIndex(e,"bottom"),this.isFirstPage&&this.finalConcat&&(this.totalData=[]),-1!==this.customNoMore?(1===this.customNoMore||0!==this.customNoMore&&!e.length)&&(this.loadingStatus=Dc.More.NoMore):(!e.length||e.length&&e.length=1){this.loading=!0,this.privateConcat=!1;const t=e*this.pageSize;this.currentRefreshPageSize=t,this.isLocalPaging&&this.isHandlingRefreshToPage?this._localPagingQueryList(this.defaultPageNo,t,0,e=>{this.complete(e)}):(this._emitQuery(this.defaultPageNo,t,Dc.QueryFrom.Refresh),this._callMyParentQuery(this.defaultPageNo,t))}return new Promise((e,t)=>{this.dataPromiseResultMap.reload={resolve:e,reject:t}})},_localPagingQueryList(e,t,a,o){e=Math.max(1,e),t=Math.max(1,t);const i=[...this.totalLocalPagingList],n=(e-1)*t,l=Math.min(i.length,n+t),r=i.splice(n,l-n);yc.delay(()=>o(r),a)},_addDataFromTop(e,t=!0,a=!0){let o=!this.isChatRecordModeAndNotInversion;e="[object Array]"!==Object.prototype.toString.call(e)?[e]:o?e.reverse():e,this.finalUseVirtualList&&this._setCellIndex(e,"top"),this.totalData=o?[...e,...this.totalData]:[...this.totalData,...e],t&&yc.delay(()=>this.useChatRecordMode?this.scrollToBottom(a):this.scrollToTop(a))},_saveLocalCache(e){uni.setStorageSync(this.finalCacheKey,e)},_setListByLocalCache(){this.totalData=uni.getStorageSync(this.finalCacheKey)||[],this.isSettingCacheList=!0},_callMyParentList(e){if(this.autowireListName.length){const t=yc.getParent(this.$parent);t&&t[this.autowireListName]&&(t[this.autowireListName]=e)}},_callMyParentQuery(e=0,t=0){if(this.autowireQueryName){if(-1===this.myParentQuery){const e=yc.getParent(this.$parent);e&&e[this.autowireQueryName]&&(this.myParentQuery=e[this.autowireQueryName])}-1!==this.myParentQuery&&(t>0?this.myParentQuery(e,t):this.myParentQuery(this.pageNo,this.defaultPageSize))}},_emitQuery(e,t,a){this.queryFrom=a,this.requestTimeStamp=yc.getTime();const[o]=this.realTotalData.slice(-1);if(this.fetch){const i=Hc._handleFetchParams({pageNo:e,pageSize:t,from:a,lastItem:o||null},this.fetchParams),n=this.fetch(i);Hc._handleFetchResult(n,this,i)||(yc.isPromise(n)?n.then(e=>{this.complete(e)}).catch(e=>{this.complete(!1)}):this.complete(n))}else this.$emit("query",...Hc._handleQuery(e,t,a,o||null))},_callDataPromise(e,t){for(const a in this.dataPromiseResultMap){const o=this.dataPromiseResultMap[a];o&&(e?o.resolve({totalList:t,noMore:this.loadingStatus===Dc.More.NoMore}):this.callNetworkReject&&o.reject(`z-paging-${a}-error`))}},_checkDataType(e,t,a){const o=Object.prototype.toString.call(e);return"[object Boolean]"===o?(t=e,e=[]):"[object Array]"!==o&&(e=[],"[object Undefined]"!==o&&"[object Null]"!==o&&yc.consoleErr((a?"setLocalPaging":"complete")+"参数类型不正确,第一个参数类型必须为Array!")),{data:e,success:t}}}},Wc=["{","}"];const qc=/^(?:\d)+/,Zc=/^(?:\w)+/;const Gc="zh-Hans",Yc="zh-Hant",Qc="en",Jc=Object.prototype.hasOwnProperty,Kc=(e,t)=>Jc.call(e,t),Xc=new class{constructor(){this._caches=Object.create(null)}interpolate(e,t,a=Wc){if(!t)return[e];let o=this._caches[e];return o||(o=function(e,[t,a]){const o=[];let i=0,n="";for(;i-1?Gc:e.indexOf("-hant")>-1?Yc:(a=e,["-tw","-hk","-mo","-cht"].find(e=>-1!==a.indexOf(e))?Yc:Gc);var a;let o=[Qc,"fr","es"];t&&Object.keys(t).length>0&&(o=Object.keys(t));const i=function(e,t){return t.find(t=>0===e.indexOf(t))}(e,o);return i||void 0}class tu{constructor({locale:e,fallbackLocale:t,messages:a,watcher:o,formater:i}){this.locale=Qc,this.fallbackLocale=Qc,this.message={},this.messages={},this.watchers=[],t&&(this.fallbackLocale=t),this.formater=i||Xc,this.messages=a||{},this.setLocale(e||Qc),o&&this.watchLocale(o)}setLocale(e){const t=this.locale;this.locale=eu(e,this.messages)||this.fallbackLocale,this.messages[this.locale]||(this.messages[this.locale]={}),this.message=this.messages[this.locale],t!==this.locale&&this.watchers.forEach(e=>{e(this.locale,t)})}getLocale(){return this.locale}watchLocale(e){const t=this.watchers.push(e)-1;return()=>{this.watchers.splice(t,1)}}add(e,t,a=!0){const o=this.messages[e];o?a?Object.assign(o,t):Object.keys(t).forEach(e=>{Kc(o,e)||(o[e]=t[e])}):this.messages[e]=t}f(e,t,a){return this.formater.interpolate(e,t,a).join("")}t(e,t,a){let o=this.message;return"string"==typeof t?(t=eu(t,this.messages))&&(o=this.messages[t]):a=t,Kc(o,e)?this.formater.interpolate(o[e],a).join(""):(console.warn(`Cannot translate the value of keypath ${e}. Use the value of keypath as default.`),e)}}const au={en:{"zp.refresher.default":"Pull down to refresh","zp.refresher.pulling":"Release to refresh","zp.refresher.refreshing":"Refreshing...","zp.refresher.complete":"Refresh succeeded","zp.refresher.f2":"Refresh to enter 2f","zp.loadingMore.default":"Click to load more","zp.loadingMore.loading":"Loading...","zp.loadingMore.noMore":"No more data","zp.loadingMore.fail":"Load failed,click to reload","zp.emptyView.title":"No data","zp.emptyView.reload":"Reload","zp.emptyView.error":"Sorry,load failed","zp.refresherUpdateTime.title":"Last update: ","zp.refresherUpdateTime.none":"None","zp.refresherUpdateTime.today":"Today","zp.refresherUpdateTime.yesterday":"Yesterday","zp.systemLoading.title":"Loading..."},"zh-Hans":{"zp.refresher.default":"继续下拉刷新","zp.refresher.pulling":"松开立即刷新","zp.refresher.refreshing":"正在刷新...","zp.refresher.complete":"刷新成功","zp.refresher.f2":"松手进入二楼","zp.loadingMore.default":"点击加载更多","zp.loadingMore.loading":"正在加载...","zp.loadingMore.noMore":"没有更多了","zp.loadingMore.fail":"加载失败,点击重新加载","zp.emptyView.title":"没有数据哦~","zp.emptyView.reload":"重新加载","zp.emptyView.error":"很抱歉,加载失败","zp.refresherUpdateTime.title":"最后更新:","zp.refresherUpdateTime.none":"无","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加载中..."},"zh-Hant":{"zp.refresher.default":"繼續下拉重繪","zp.refresher.pulling":"鬆開立即重繪","zp.refresher.refreshing":"正在重繪...","zp.refresher.complete":"重繪成功","zp.refresher.f2":"鬆手進入二樓","zp.loadingMore.default":"點擊加載更多","zp.loadingMore.loading":"正在加載...","zp.loadingMore.noMore":"沒有更多了","zp.loadingMore.fail":"加載失敗,點擊重新加載","zp.emptyView.title":"沒有數據哦~","zp.emptyView.reload":"重新加載","zp.emptyView.error":"很抱歉,加載失敗","zp.refresherUpdateTime.title":"最後更新:","zp.refresherUpdateTime.none":"無","zp.refresherUpdateTime.today":"今天","zp.refresherUpdateTime.yesterday":"昨天","zp.systemLoading.title":"加載中..."}},{t:ou}=function(e,t={},a,o){if("string"!=typeof e){const a=[t,e];e=a[0],t=a[1]}"string"!=typeof e&&(e="undefined"!=typeof uni&&uni.getLocale?uni.getLocale():"undefined"!=typeof global&&global.getLocale?global.getLocale():Qc),"string"!=typeof a&&(a="undefined"!=typeof __uniConfig&&__uniConfig.fallbackLocale||Qc);const i=new tu({locale:e,fallbackLocale:a,messages:t,watcher:o});let n=(e,t)=>{if("function"!=typeof getApp)n=function(e,t){return i.t(e,t)};else{let e=!1;n=function(t,a){const o=getApp().$vm;return o&&(o.$locale,e||(e=!0,function(e,t){e.$watchLocale?e.$watchLocale(e=>{t.setLocale(e)}):e.$watch(()=>e.$locale,e=>{t.setLocale(e)})}(o,i))),i.t(t,a)}}return n(e,t)};return{i18n:i,f:(e,t,a)=>i.f(e,t,a),t:(e,t)=>n(e,t),add:(e,t,a=!0)=>i.add(e,t,a),watch:e=>i.watchLocale(e),getLocale:()=>i.getLocale(),setLocale:e=>i.setLocale(e)}}(au),iu={computed:{finalLanguage(){try{const e=uni.getLocale(),t=this.systemInfo.appLanguage;return"auto"===e?Hc._handleLanguage2Local(t,this._language2Local(t)):e}catch(e){return"zh-Hans"}},finalRefresherDefaultText(){return this._getI18nText("zp.refresher.default",this.refresherDefaultText)},finalRefresherPullingText(){return this._getI18nText("zp.refresher.pulling",this.refresherPullingText)},finalRefresherRefreshingText(){return this._getI18nText("zp.refresher.refreshing",this.refresherRefreshingText)},finalRefresherCompleteText(){return this._getI18nText("zp.refresher.complete",this.refresherCompleteText)},finalRefresherUpdateTimeTextMap:()=>({title:ou("zp.refresherUpdateTime.title"),none:ou("zp.refresherUpdateTime.none"),today:ou("zp.refresherUpdateTime.today"),yesterday:ou("zp.refresherUpdateTime.yesterday")}),finalRefresherGoF2Text(){return this._getI18nText("zp.refresher.f2",this.refresherGoF2Text)},finalLoadingMoreDefaultText(){return this._getI18nText("zp.loadingMore.default",this.loadingMoreDefaultText)},finalLoadingMoreLoadingText(){return this._getI18nText("zp.loadingMore.loading",this.loadingMoreLoadingText)},finalLoadingMoreNoMoreText(){return this._getI18nText("zp.loadingMore.noMore",this.loadingMoreNoMoreText)},finalLoadingMoreFailText(){return this._getI18nText("zp.loadingMore.fail",this.loadingMoreFailText)},finalEmptyViewText(){return this.isLoadFailed?this.finalEmptyViewErrorText:this._getI18nText("zp.emptyView.title",this.emptyViewText)},finalEmptyViewReloadText(){return this._getI18nText("zp.emptyView.reload",this.emptyViewReloadText)},finalEmptyViewErrorText(){return this.customerEmptyViewErrorText||this._getI18nText("zp.emptyView.error",this.emptyViewErrorText)},finalSystemLoadingText(){return this._getI18nText("zp.systemLoading.title",this.systemLoadingText)}},methods:{getLanguage(){return this.finalLanguage},_getI18nText(e,t){const a=Object.prototype.toString.call(t);if("[object Object]"===a){const e=t[this.finalLanguage];if(e)return e}else if("[object String]"===a)return t;return ou(e)},_language2Local(e){const t=e.toLowerCase().replace(new RegExp("_",""),"-");return-1!==t.indexOf("zh")?"zh"===t||"zh-cn"===t||-1!==t.indexOf("zh-hans")?"zh-Hans":"zh-Hant":-1!==t.indexOf("en")?"en":e}}},nu={props:{},data:()=>({nRefresherLoading:!1,nListIsDragging:!1,nShowBottom:!0,nFixFreezing:!1,nShowRefresherReveal:!1,nLoadingMoreFixedHeight:!1,nShowRefresherRevealHeight:0,nOldShowRefresherRevealHeight:-1,nRefresherWidth:yc.rpx2px(750),nListHeight:0,nF2Opacity:0}),computed:{},mounted(){},methods:{}},lu={props:{hideEmptyView:{type:Boolean,default:yc.gc("hideEmptyView",!1)},emptyViewText:{type:[String,Object],default:yc.gc("emptyViewText",null)},showEmptyViewReload:{type:Boolean,default:yc.gc("showEmptyViewReload",!1)},showEmptyViewReloadWhenError:{type:Boolean,default:yc.gc("showEmptyViewReloadWhenError",!0)},emptyViewReloadText:{type:[String,Object],default:yc.gc("emptyViewReloadText",null)},emptyViewImg:{type:String,default:yc.gc("emptyViewImg","")},emptyViewErrorText:{type:[String,Object],default:yc.gc("emptyViewErrorText",null)},emptyViewErrorImg:{type:String,default:yc.gc("emptyViewErrorImg","")},emptyViewStyle:{type:Object,default:yc.gc("emptyViewStyle",{})},emptyViewSuperStyle:{type:Object,default:yc.gc("emptyViewSuperStyle",{})},emptyViewImgStyle:{type:Object,default:yc.gc("emptyViewImgStyle",{})},emptyViewTitleStyle:{type:Object,default:yc.gc("emptyViewTitleStyle",{})},emptyViewReloadStyle:{type:Object,default:yc.gc("emptyViewReloadStyle",{})},emptyViewFixed:{type:Boolean,default:yc.gc("emptyViewFixed",!1)},emptyViewCenter:{type:Boolean,default:yc.gc("emptyViewCenter",!0)},autoHideEmptyViewWhenLoading:{type:Boolean,default:yc.gc("autoHideEmptyViewWhenLoading",!0)},autoHideEmptyViewWhenPull:{type:Boolean,default:yc.gc("autoHideEmptyViewWhenPull",!0)},emptyViewZIndex:{type:Number,default:yc.gc("emptyViewZIndex",9)}},data:()=>({customerEmptyViewErrorText:""}),computed:{finalEmptyViewImg(){return this.isLoadFailed?this.emptyViewErrorImg:this.emptyViewImg},finalShowEmptyViewReload(){return this.isLoadFailed?this.showEmptyViewReloadWhenError:this.showEmptyViewReload},showEmpty(){return!(this.isOnly||this.hideEmptyView||this.realTotalData.length)&&(!this.autoHideEmptyViewWhenLoading||(!(!this.isAddedData||this.firstPageLoaded||this.loading)||!this.autoHideEmptyViewWhenPull&&!this.isUserReload))}},methods:{_emptyViewReload(){let e=!1;this.$emit("emptyViewReload",t=>{void 0!==t&&!0!==t||(this.fromEmptyViewReload=!0,this.reload().catch(()=>{})),e=!0}),this.$nextTick(()=>{e||(this.fromEmptyViewReload=!0,this.reload().catch(()=>{}))})},_emptyViewClick(){this.$emit("emptyViewClick")}}},ru={props:{refresherThemeStyle:{type:String,default:yc.gc("refresherThemeStyle","")},refresherImgStyle:{type:Object,default:yc.gc("refresherImgStyle",{})},refresherTitleStyle:{type:Object,default:yc.gc("refresherTitleStyle",{})},refresherUpdateTimeStyle:{type:Object,default:yc.gc("refresherUpdateTimeStyle",{})},watchRefresherTouchmove:{type:Boolean,default:yc.gc("watchRefresherTouchmove",!1)},loadingMoreThemeStyle:{type:String,default:yc.gc("loadingMoreThemeStyle","")},refresherOnly:{type:Boolean,default:yc.gc("refresherOnly",!1)},refresherDefaultDuration:{type:[Number,String],default:yc.gc("refresherDefaultDuration",100)},refresherCompleteDelay:{type:[Number,String],default:yc.gc("refresherCompleteDelay",0)},refresherCompleteDuration:{type:[Number,String],default:yc.gc("refresherCompleteDuration",300)},refresherRefreshingScrollable:{type:Boolean,default:yc.gc("refresherRefreshingScrollable",!0)},refresherCompleteScrollable:{type:Boolean,default:yc.gc("refresherCompleteScrollable",!1)},useCustomRefresher:{type:Boolean,default:yc.gc("useCustomRefresher",!0)},refresherFps:{type:[Number,String],default:yc.gc("refresherFps",40)},refresherMaxAngle:{type:[Number,String],default:yc.gc("refresherMaxAngle",40)},refresherAngleEnableChangeContinued:{type:Boolean,default:yc.gc("refresherAngleEnableChangeContinued",!1)},refresherDefaultText:{type:[String,Object],default:yc.gc("refresherDefaultText",null)},refresherPullingText:{type:[String,Object],default:yc.gc("refresherPullingText",null)},refresherRefreshingText:{type:[String,Object],default:yc.gc("refresherRefreshingText",null)},refresherCompleteText:{type:[String,Object],default:yc.gc("refresherCompleteText",null)},refresherGoF2Text:{type:[String,Object],default:yc.gc("refresherGoF2Text",null)},refresherDefaultImg:{type:String,default:yc.gc("refresherDefaultImg",null)},refresherPullingImg:{type:String,default:yc.gc("refresherPullingImg",null)},refresherRefreshingImg:{type:String,default:yc.gc("refresherRefreshingImg",null)},refresherCompleteImg:{type:String,default:yc.gc("refresherCompleteImg",null)},refresherRefreshingAnimated:{type:Boolean,default:yc.gc("refresherRefreshingAnimated",!0)},refresherEndBounceEnabled:{type:Boolean,default:yc.gc("refresherEndBounceEnabled",!0)},refresherEnabled:{type:Boolean,default:yc.gc("refresherEnabled",!0)},refresherThreshold:{type:[Number,String],default:yc.gc("refresherThreshold","80rpx")},refresherDefaultStyle:{type:String,default:yc.gc("refresherDefaultStyle","black")},refresherBackground:{type:String,default:yc.gc("refresherBackground","transparent")},refresherFixedBackground:{type:String,default:yc.gc("refresherFixedBackground","transparent")},refresherFixedBacHeight:{type:[Number,String],default:yc.gc("refresherFixedBacHeight",0)},refresherOutRate:{type:Number,default:yc.gc("refresherOutRate",.65)},refresherF2Enabled:{type:Boolean,default:yc.gc("refresherF2Enabled",!1)},refresherF2Threshold:{type:[Number,String],default:yc.gc("refresherF2Threshold","200rpx")},refresherF2Duration:{type:[Number,String],default:yc.gc("refresherF2Duration",200)},showRefresherF2:{type:Boolean,default:yc.gc("showRefresherF2",!0)},refresherPullRate:{type:Number,default:yc.gc("refresherPullRate",.75)},showRefresherUpdateTime:{type:Boolean,default:yc.gc("showRefresherUpdateTime",!1)},refresherUpdateTimeKey:{type:String,default:yc.gc("refresherUpdateTimeKey","default")},refresherVibrate:{type:Boolean,default:yc.gc("refresherVibrate",!1)},refresherNoTransform:{type:Boolean,default:yc.gc("refresherNoTransform",!1)},useRefresherStatusBarPlaceholder:{type:Boolean,default:yc.gc("useRefresherStatusBarPlaceholder",!1)}},data:()=>({R:Dc.Refresher,refresherStatus:Dc.Refresher.Default,refresherTouchstartY:0,lastRefresherTouchmove:null,refresherReachMaxAngle:!0,refresherTransform:"translateY(0px)",refresherTransition:"",finalRefresherDefaultStyle:"black",refresherRevealStackCount:0,refresherCompleteTimeout:null,refresherCompleteSubTimeout:null,refresherEndTimeout:null,isTouchmovingTimeout:null,refresherTriggered:!1,isTouchmoving:!1,isTouchEnded:!1,isUserPullDown:!1,privateRefresherEnabled:-1,privateShowRefresherWhenReload:!1,customRefresherHeight:-1,showCustomRefresher:!1,doRefreshAnimateAfter:!1,isRefresherInComplete:!1,showF2:!1,f2Transform:"",pullDownTimeStamp:0,moveDis:0,oldMoveDis:0,currentDis:0,oldCurrentMoveDis:0,oldRefresherTouchmoveY:0,oldTouchDirection:"",oldEmitedTouchDirection:"",oldPullingDistance:-1,refresherThresholdUpdateTag:0}),watch:{refresherDefaultStyle:{handler(e){e.length&&(this.finalRefresherDefaultStyle=e)},immediate:!0},refresherStatus(e){e===Dc.Refresher.Loading&&this._cleanRefresherEndTimeout(),this.refresherVibrate&&(e===Dc.Refresher.ReleaseToRefresh||e===Dc.Refresher.GoF2)&&this._doVibrateShort(),this.$emit("refresherStatusChange",e),this.$emit("update:refresherStatus",e)},refresherEnabled(e){!e&&this.endRefresh()}},computed:{pullDownDisTimeStamp(){return 1e3/this.refresherFps},refresherThresholdUnitConverted(){return yc.addUnit(this.refresherThreshold,this.unit)},finalRefresherEnabled(){return!this.layoutOnly&&!this.useChatRecordMode&&(-1===this.privateRefresherEnabled?this.refresherEnabled:1===this.privateRefresherEnabled)},finalRefresherThreshold(){let e=this.refresherThresholdUnitConverted,t=!1;return e===yc.addUnit(80,this.unit)&&(t=!0,this.showRefresherUpdateTime&&(e=yc.addUnit(120,this.unit))),t&&this.customRefresherHeight>0?this.customRefresherHeight+this.finalRefresherThresholdPlaceholder:yc.convertToPx(e)+this.finalRefresherThresholdPlaceholder},finalRefresherF2Threshold(){return yc.convertToPx(yc.addUnit(this.refresherF2Threshold,this.unit))},finalRefresherThresholdPlaceholder(){return this.useRefresherStatusBarPlaceholder?this.statusBarHeight:0},finalRefresherFixedBacHeight(){return yc.convertToPx(this.refresherFixedBacHeight)},finalRefresherThemeStyle(){return this.refresherThemeStyle.length?this.refresherThemeStyle:this.defaultThemeStyle},finalRefresherOutRate(){let e=this.refresherOutRate;return e=Math.max(0,e),e=Math.min(1,e),e},finalRefresherPullRate(){let e=this.refresherPullRate;return e=Math.max(0,e),e},finalRefresherTransform(){return this.refresherNoTransform||"translateY(0px)"===this.refresherTransform?"none":this.refresherTransform},finalShowRefresherWhenReload(){return this.showRefresherWhenReload||this.privateShowRefresherWhenReload},finalRefresherTriggered(){return!(!this.finalRefresherEnabled||this.useCustomRefresher)&&this.refresherTriggered},showRefresher(){const e=this.finalRefresherEnabled||this.useCustomRefresher&&!this.useChatRecordMode;return this.active&&-1===this.customRefresherHeight&&e&&this.updateCustomRefresherHeight(),e},hasTouchmove(){return this.watchRefresherTouchmove}},methods:{endRefresh(){this.totalData=this.realTotalData,this._refresherEnd(),this._endSystemLoadingAndRefresh(),this._handleScrollViewBounce({bounce:!0}),this.$nextTick(()=>{this.refresherTriggered=!1})},updateCustomRefresherHeight(){yc.delay(()=>this.$nextTick(this._updateCustomRefresherHeight))},goF2(){this._handleGoF2()},closeF2(){this._handleCloseF2()},_onRefresh(e=!1,t=!0){(!e||this.finalRefresherEnabled&&!this.useCustomRefresher)&&(this.$emit("onRefresh"),this.$emit("Refresh"),this.loading||this.isRefresherInComplete||(this.loadingType=Dc.LoadingType.Refresher,this.nShowRefresherReveal||(this.isUserPullDown=t,this.isUserReload=!t,this._startLoading(!0),this.refresherTriggered=!0,this.reloadWhenRefresh&&t&&(this.useChatRecordMode?this._onLoadingMore("click"):this._reload(!1,!1,t)))))},_onRestore(){this.refresherTriggered="restore",this.$emit("onRestore"),this.$emit("Restore")},_handleRefresherTouchstart(e){!this.loading&&this.isTouchEnded&&(this.isTouchmoving=!1),this.loadingType=Dc.LoadingType.Refresher,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchEnded=!1,this.refresherTransition="",this.refresherTouchstartY=e.touchY,this.$emit("refresherTouchstart",this.refresherTouchstartY),this.lastRefresherTouchmove=e,this._cleanRefresherCompleteTimeout(),this._cleanRefresherEndTimeout()},_handleRefresherTouchmove(e,t){this.refresherReachMaxAngle=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.isTouchmoving=!0,this.isTouchEnded=!1,e>=this.finalRefresherThreshold?this.refresherStatus=this.refresherF2Enabled&&e>=this.finalRefresherF2Threshold?Dc.Refresher.GoF2:Dc.Refresher.ReleaseToRefresh:this.refresherStatus=Dc.Refresher.Default,this.moveDis=e},_handleRefresherTouchend(e){this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this.refresherReachMaxAngle=!0,this.isTouchEnded=!0;const t=this.finalRefresherThreshold;e>=t&&[Dc.Refresher.ReleaseToRefresh,Dc.Refresher.GoF2].indexOf(this.refresherStatus)>=0?this.refresherStatus===Dc.Refresher.GoF2?(this._handleGoF2(),this._refresherEnd()):(yc.delay(()=>{this._emitTouchmove({pullingDistance:t,dy:this.moveDis-t})},.1),this.moveDis=t,this.refresherStatus=Dc.Refresher.Loading,this._doRefresherLoad()):(this._refresherEnd(),this.isTouchmovingTimeout=yc.delay(()=>{this.isTouchmoving=!1},this.refresherDefaultDuration)),this.scrollEnable=!0,this.$emit("refresherTouchend",e)},_handleListTouchstart(){this.useChatRecordMode&&this.autoHideKeyboardWhenChat&&(uni.hideKeyboard(),this.$emit("hidedKeyboard"))},_handleScrollViewBounce({bounce:e}){this.usePageScroll||this.scrollToTopBounceEnabled||(this.wxsScrollTop<=5?(this.refresherTransition="",this.scrollEnable=e):e&&(this.scrollEnable=e))},_handleWxsPullingDownStatusChange(e){this.wxsOnPullingDown=e,e&&!this.useChatRecordMode&&(this.renderPropScrollTop=0)},_handleWxsPullingDown({moveDis:e,diffDis:t}){this._emitTouchmove({pullingDistance:e,dy:t})},_handleTouchDirectionChange({direction:e}){this.$emit("touchDirectionChange",e)},_handlePropUpdate(){this.wxsPropType=yc.getTime().toString()},_refresherEnd(e=!0,t=!1,a=!1,o=!0){if(this.loadingType===Dc.LoadingType.Refresher){const e=t&&(a||this.finalShowRefresherWhenReload)?this.refresherCompleteDelay:0,o=e>0?Dc.Refresher.Complete:Dc.Refresher.Default;if(this.finalShowRefresherWhenReload){const e=this.refresherRevealStackCount;if(this.refresherRevealStackCount--,e>1)return}this._cleanRefresherEndTimeout(),this.refresherEndTimeout=yc.delay(()=>{this.refresherStatus=o,o!==Dc.Refresher.Complete&&(this.isRefresherInComplete=!1)},this.refresherStatus!==Dc.Refresher.Default&&o===Dc.Refresher.Default?this.refresherCompleteDuration:0),e>0&&(this.isRefresherInComplete=!0),this._cleanRefresherCompleteTimeout(),this.refresherCompleteTimeout=yc.delay(()=>{let e=1;const a=this.refresherEndBounceEnabled&&t?"cubic-bezier(0.19,1.64,0.42,0.72)":"linear";t&&(e=this.refresherEndBounceEnabled?this.refresherCompleteDuration/1e3:this.refresherCompleteDuration/3e3),this.refresherTransition=`transform ${t?e:this.refresherDefaultDuration/1e3}s ${a}`,this.wxsPropType=this.refresherTransition+"end"+yc.getTime(),this.moveDis=0,o===Dc.Refresher.Complete&&(this.refresherCompleteSubTimeout&&(clearTimeout(this.refresherCompleteSubTimeout),this.refresherCompleteSubTimeout=null),this.refresherCompleteSubTimeout=yc.delay(()=>{this.$nextTick(()=>{this.refresherStatus=Dc.Refresher.Default,this.isRefresherInComplete=!1})},800*e)),this._emitTouchmove({pullingDistance:0,dy:this.moveDis})},e)}o&&(yc.delay(()=>this.loading=!1,e?10:0),a&&this._onRestore())},_handleGoF2(){!this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","go"),this.showRefresherF2&&(this.f2Transform=`translateY(${-this.superContentHeight}px)`,this.showF2=!0,yc.delay(()=>{this.f2Transform="translateY(0px)"},100,"f2ShowDelay")))},_handleCloseF2(){this.showF2&&this.refresherF2Enabled&&(this.$emit("refresherF2Change","close"),this.showRefresherF2&&(this.f2Transform=`translateY(${-this.superContentHeight}px)`,yc.delay(()=>{this.showF2=!1,this.nF2Opacity=0},this.refresherF2Duration,"f2CloseDelay")))},_doRefresherRefreshAnimate(){this._cleanRefresherCompleteTimeout();!this.doRefreshAnimateAfter&&this.finalShowRefresherWhenReload&&-1===this.customRefresherHeight&&this.refresherThreshold===yc.addUnit(80,this.unit)?this.doRefreshAnimateAfter=!0:(this.refresherRevealStackCount++,this.wxsPropType="begin"+yc.getTime(),this.moveDis=this.finalRefresherThreshold,this.refresherStatus=Dc.Refresher.Loading,this.isTouchmoving=!0,this.isTouchmovingTimeout&&clearTimeout(this.isTouchmovingTimeout),this._doRefresherLoad(!1))},_doRefresherLoad(e=!0){this._onRefresh(!1,e),this.loading=!0},_updateCustomRefresherHeight(){this._getNodeClientRect(".zp-custom-refresher-slot-view").then(e=>{this.customRefresherHeight=e?e[0].height:0,this.showCustomRefresher=this.customRefresherHeight>0,this.doRefreshAnimateAfter&&(this.doRefreshAnimateAfter=!1,this._doRefresherRefreshAnimate())})},_emitTouchmove(e){e.viewHeight=this.finalRefresherThreshold,e.rate=e.viewHeight>0?e.pullingDistance/e.viewHeight:0,this.hasTouchmove&&this.oldPullingDistance!==e.pullingDistance&&this.$emit("refresherTouchmove",e),this.oldPullingDistance=e.pullingDistance},_cleanRefresherCompleteTimeout(){this.refresherCompleteTimeout=this._cleanTimeout(this.refresherCompleteTimeout)},_cleanRefresherEndTimeout(){this.refresherEndTimeout=this._cleanTimeout(this.refresherEndTimeout)}}},su={props:{loadingMoreCustomStyle:{type:Object,default:yc.gc("loadingMoreCustomStyle",{})},loadingMoreTitleCustomStyle:{type:Object,default:yc.gc("loadingMoreTitleCustomStyle",{})},loadingMoreLoadingIconCustomStyle:{type:Object,default:yc.gc("loadingMoreLoadingIconCustomStyle",{})},loadingMoreLoadingIconType:{type:String,default:yc.gc("loadingMoreLoadingIconType","flower")},loadingMoreLoadingIconCustomImage:{type:String,default:yc.gc("loadingMoreLoadingIconCustomImage","")},loadingMoreLoadingAnimated:{type:Boolean,default:yc.gc("loadingMoreLoadingAnimated",!0)},loadingMoreEnabled:{type:Boolean,default:yc.gc("loadingMoreEnabled",!0)},toBottomLoadingMoreEnabled:{type:Boolean,default:yc.gc("toBottomLoadingMoreEnabled",!0)},loadingMoreDefaultAsLoading:{type:Boolean,default:yc.gc("loadingMoreDefaultAsLoading",!1)},loadingMoreDefaultText:{type:[String,Object],default:yc.gc("loadingMoreDefaultText",null)},loadingMoreLoadingText:{type:[String,Object],default:yc.gc("loadingMoreLoadingText",null)},loadingMoreNoMoreText:{type:[String,Object],default:yc.gc("loadingMoreNoMoreText",null)},loadingMoreFailText:{type:[String,Object],default:yc.gc("loadingMoreFailText",null)},hideNoMoreInside:{type:Boolean,default:yc.gc("hideNoMoreInside",!1)},hideNoMoreByLimit:{type:Number,default:yc.gc("hideNoMoreByLimit",0)},showDefaultLoadingMoreText:{type:Boolean,default:yc.gc("showDefaultLoadingMoreText",!0)},showLoadingMoreNoMoreView:{type:Boolean,default:yc.gc("showLoadingMoreNoMoreView",!0)},showLoadingMoreNoMoreLine:{type:Boolean,default:yc.gc("showLoadingMoreNoMoreLine",!0)},loadingMoreNoMoreLineCustomStyle:{type:Object,default:yc.gc("loadingMoreNoMoreLineCustomStyle",{})},insideMore:{type:Boolean,default:yc.gc("insideMore",!1)},lowerThreshold:{type:[Number,String],default:yc.gc("lowerThreshold","100rpx")}},data:()=>({M:Dc.More,loadingStatus:Dc.More.Default,loadingStatusAfterRender:Dc.More.Default,loadingMoreTimeStamp:0,loadingMoreDefaultSlot:null,showLoadingMore:!1,customNoMore:-1}),computed:{zLoadMoreConfig(){return{status:this.loadingStatusAfterRender,defaultAsLoading:this.loadingMoreDefaultAsLoading||this.useChatRecordMode&&this.chatLoadingMoreDefaultAsLoading,defaultThemeStyle:this.finalLoadingMoreThemeStyle,customStyle:this.loadingMoreCustomStyle,titleCustomStyle:this.loadingMoreTitleCustomStyle,iconCustomStyle:this.loadingMoreLoadingIconCustomStyle,loadingIconType:this.loadingMoreLoadingIconType,loadingIconCustomImage:this.loadingMoreLoadingIconCustomImage,loadingAnimated:this.loadingMoreLoadingAnimated,showNoMoreLine:this.showLoadingMoreNoMoreLine,noMoreLineCustomStyle:this.loadingMoreNoMoreLineCustomStyle,defaultText:this.finalLoadingMoreDefaultText,loadingText:this.finalLoadingMoreLoadingText,noMoreText:this.finalLoadingMoreNoMoreText,failText:this.finalLoadingMoreFailText,hideContent:!this.loadingMoreDefaultAsLoading&&this.listRendering,unit:this.unit,isChat:this.useChatRecordMode,chatDefaultAsLoading:this.chatLoadingMoreDefaultAsLoading}},finalLoadingMoreThemeStyle(){return this.loadingMoreThemeStyle.length?this.loadingMoreThemeStyle:this.defaultThemeStyle},finalLowerThreshold(){return yc.convertToPx(this.lowerThreshold)},showLoadingMoreDefault(){return this._showLoadingMore("Default")},showLoadingMoreLoading(){return this._showLoadingMore("Loading")},showLoadingMoreNoMore(){return this._showLoadingMore("NoMore")},showLoadingMoreFail(){return this._showLoadingMore("Fail")},showLoadingMoreCustom(){return this._showLoadingMore("Custom")},loadingMoreFixedHeight(){return yc.addUnit("80rpx",this.unit)}},methods:{pageReachBottom(){!this.useChatRecordMode&&this.toBottomLoadingMoreEnabled&&this._onLoadingMore("toBottom")},doLoadMore(e){this._onLoadingMore(e)},_checkScrolledToBottom(e,t=!1){-1===this.cacheScrollNodeHeight?this._getNodeClientRect(".zp-scroll-view").then(t=>{if(t){const a=t[0].height;this.cacheScrollNodeHeight=a,e-a<=this.finalLowerThreshold&&this._onLoadingMore("toBottom")}}):(e-this.cacheScrollNodeHeight<=this.finalLowerThreshold?this._onLoadingMore("toBottom"):e-this.cacheScrollNodeHeight<=500&&!t&&yc.delay(()=>{this._getNodeClientRect(".zp-scroll-view",!0,!0).then(e=>{if(e){this.oldScrollTop=e[0].scrollTop;const t=e[0].scrollHeight-this.oldScrollTop;this._checkScrolledToBottom(t,!0)}})},150,"checkScrolledToBottomDelay"),this.oldScrollTop<=150&&0!==this.oldScrollTop&&yc.delay(()=>{0!==this.oldScrollTop&&this._getNodeClientRect(".zp-scroll-view",!0,!0).then(e=>{e&&0===e[0].scrollTop&&0!==this.oldScrollTop&&this._onScrollToUpper()})},150,"checkScrolledToTopDelay"))},_onLoadingMore(e="click"){this.isIos&&"toBottom"===e&&!this.scrollToBottomBounceEnabled&&this.scrollEnable&&(this.scrollEnable=!1,this.$nextTick(()=>{this.scrollEnable=!0})),this._emitScrollEvent("scrolltolower"),this.isOnly||!this.loadingMoreEnabled||this.loadingStatus!==Dc.More.Default&&this.loadingStatus!==Dc.More.Fail||this.loading||this.showEmpty||this._doLoadingMore()},_doLoadingMore(){this.pageNo>=this.defaultPageNo&&this.loadingStatus!==Dc.More.NoMore&&(this.pageNo++,this._startLoading(!1),this.isLocalPaging?this._localPagingQueryList(this.pageNo,this.defaultPageSize,this.localPagingLoadingTime,e=>{this.completeByTotal(e,this.totalLocalPagingList.length),this.queryFrom=Dc.QueryFrom.LoadMore}):(this._emitQuery(this.pageNo,this.defaultPageSize,Dc.QueryFrom.LoadMore),this._callMyParentQuery()),this.loadingType=Dc.LoadingType.LoadMore)},_preCheckShowNoMoreInside(e,t,a){this.loadingStatus===Dc.More.NoMore&&this.hideNoMoreByLimit>0&&e.length?this.showLoadingMore=e.length>this.hideNoMoreByLimit:this.loadingStatus===Dc.More.NoMore&&this.hideNoMoreInside&&e.length||this.insideMore&&!1!==this.insideOfPaging&&e.length?(this.$nextTick(()=>{this._checkShowNoMoreInside(e,t,a)}),this.insideMore&&!1!==this.insideOfPaging&&e.length&&(this.showLoadingMore=e.length)):this.showLoadingMore=e.length},async _checkShowNoMoreInside(e,t,a){try{const e=t||await this._getNodeClientRect(".zp-scroll-view");if(this.usePageScroll){if(e){const t=e[0].top+e[0].height;this.insideOfPaging=t({loading:!1,loadingForNow:!1}),watch:{loadingStatus(e){this.$emit("loadingStatusChange",e),this.$nextTick(()=>{this.loadingStatusAfterRender=e}),!this.useChatRecordMode||!this.isFirstPage||e!==Dc.More.NoMore&&e!==Dc.More.Fail?this.isFirstPageAndNoMore=!1:this.isFirstPageAndNoMore=!0},loading(e){e&&(this.loadingForNow=e)}},computed:{showLoading(){return!(this.firstPageLoaded||!this.loading||!this.loadingForNow)&&(this.finalShowSystemLoading&&uni.showLoading({title:this.finalSystemLoadingText,mask:this.systemLoadingMask}),this.autoHideLoadingAfterFirstLoaded?!!this.fromEmptyViewReload||!this.pagingLoaded:this.loadingType===Dc.LoadingType.Refresher)},finalShowSystemLoading(){return this.autoShowSystemLoading&&this.loadingType===Dc.LoadingType.Refresher}},methods:{_startLoading(e=!1){(this.showLoadingMoreWhenReload&&!this.isUserPullDown||!e)&&(this.loadingStatus=Dc.More.Loading),this.loading=!0},_endSystemLoadingAndRefresh(){this.finalShowSystemLoading&&uni.hideLoading(),!this.useCustomRefresher&&uni.stopPullDownRefresh()}}},uu={props:{useChatRecordMode:{type:Boolean,default:yc.gc("useChatRecordMode",!1)},chatRecordMoreOffset:{type:[Number,String],default:yc.gc("chatRecordMoreOffset","0rpx")},autoHideKeyboardWhenChat:{type:Boolean,default:yc.gc("autoHideKeyboardWhenChat",!0)},autoAdjustPositionWhenChat:{type:Boolean,default:yc.gc("autoAdjustPositionWhenChat",!0)},chatAdjustPositionOffset:{type:[Number,String],default:yc.gc("chatAdjustPositionOffset","0rpx")},autoToBottomWhenChat:{type:Boolean,default:yc.gc("autoToBottomWhenChat",!1)},showChatLoadingWhenReload:{type:Boolean,default:yc.gc("showChatLoadingWhenReload",!1)},chatLoadingMoreDefaultAsLoading:{type:Boolean,default:yc.gc("chatLoadingMoreDefaultAsLoading",!0)}},data:()=>({keyboardHeight:0,isKeyboardHeightChanged:!1}),computed:{finalChatRecordMoreOffset(){return yc.convertToPx(this.chatRecordMoreOffset)},finalChatAdjustPositionOffset(){return yc.convertToPx(this.chatAdjustPositionOffset)},chatRecordRotateStyle(){let e;return e=this.useChatRecordMode?{transform:"scaleY(-1)"}:{},this.$emit("update:cellStyle",e),this.$emit("cellStyleChange",e),this.$nextTick(()=>{this.isFirstPage&&this.isChatRecordModeAndNotInversion&&this.$nextTick(()=>{this._scrollToBottom(!1),yc.delay(()=>{this._scrollToBottom(!1),yc.delay(()=>{this._scrollToBottom(!1)},50)},50)})}),e},isChatRecordModeHasTransform(){return this.useChatRecordMode&&this.chatRecordRotateStyle&&this.chatRecordRotateStyle.transform},isChatRecordModeAndNotInversion(){return this.isChatRecordModeHasTransform&&"scaleY(1)"===this.chatRecordRotateStyle.transform},isChatRecordModeAndInversion(){return this.isChatRecordModeHasTransform&&"scaleY(-1)"===this.chatRecordRotateStyle.transform},chatRecordModeSafeAreaBottom(){return this.safeAreaInsetBottom&&!this.keyboardHeight?this.safeAreaBottom:0}},mounted(){this.addKeyboardHeightChangeListener()},methods:{addChatRecordData(e,t=!0,a=!0){this.useChatRecordMode&&(this.isTotalChangeFromAddData=!0,this.addDataFromTop(e,t,a))},doChatRecordLoadMore(){this.useChatRecordMode&&this._onLoadingMore("click")},addKeyboardHeightChangeListener(){this.useChatRecordMode&&uni.onKeyboardHeightChange(this._handleKeyboardHeightChange)},_handleKeyboardHeightChange(e){this.$emit("keyboardHeightChange",e),this.autoAdjustPositionWhenChat&&(this.isKeyboardHeightChanged=!0,this.keyboardHeight=e.height>0?e.height+this.finalChatAdjustPositionOffset:e.height),this.autoToBottomWhenChat&&this.keyboardHeight>0&&yc.delay(()=>{this.scrollToBottom(!1),yc.delay(()=>{this.scrollToBottom(!1)})})}}},du={props:{usePageScroll:{type:Boolean,default:yc.gc("usePageScroll",!1)},scrollable:{type:Boolean,default:yc.gc("scrollable",!0)},showScrollbar:{type:Boolean,default:yc.gc("showScrollbar",!0)},scrollX:{type:Boolean,default:yc.gc("scrollX",!1)},scrollToTopBounceEnabled:{type:Boolean,default:yc.gc("scrollToTopBounceEnabled",!1)},scrollToBottomBounceEnabled:{type:Boolean,default:yc.gc("scrollToBottomBounceEnabled",!0)},scrollWithAnimation:{type:Boolean,default:yc.gc("scrollWithAnimation",!1)},scrollIntoView:{type:String,default:yc.gc("scrollIntoView","")},inSwiperSlot:{type:Boolean,default:!1}},data:()=>({scrollTop:0,oldScrollTop:0,scrollLeft:0,oldScrollLeft:0,scrollViewStyle:{},scrollViewContainerStyle:{},scrollViewInStyle:{},pageScrollTop:-1,scrollEnable:!0,privateScrollWithAnimation:-1,cacheScrollNodeHeight:-1,superContentHeight:0,lastScrollHeight:0,lastScrollDirection:"",setContentHeightPending:!1}),watch:{oldScrollTop(e){!this.usePageScroll&&this._scrollTopChange(e,!1)},pageScrollTop(e){this.usePageScroll&&this._scrollTopChange(e,!0)},usePageScroll:{handler(e){this.loaded&&this.autoHeight&&this._setAutoHeight(!e)},immediate:!0},finalScrollTop(e){this.renderPropScrollTop=e<6?0:10}},computed:{finalScrollWithAnimation(){return-1!==this.privateScrollWithAnimation?1===this.privateScrollWithAnimation:this.scrollWithAnimation},finalScrollViewStyle(){return 1!=this.superContentZIndex&&(this.scrollViewStyle["z-index"]=this.superContentZIndex,this.scrollViewStyle.position="relative"),this.scrollViewStyle},finalScrollTop(){return this.usePageScroll?this.pageScrollTop:this.oldScrollTop},finalIsOldWebView(){return this.isOldWebView&&!this.usePageScroll},finalScrollable(){return this.scrollable&&!this.usePageScroll&&this.scrollEnable&&(!!this.refresherCompleteScrollable||this.refresherStatus!==Dc.Refresher.Complete)&&(!!this.refresherRefreshingScrollable||this.refresherStatus!==Dc.Refresher.Loading)}},methods:{scrollToTop(e,t=!0){this.useChatRecordMode&&t&&!this.isChatRecordModeAndNotInversion?this.scrollToBottom(e,!1):this.$nextTick(()=>{this._scrollToTop(e,!1)})},scrollToBottom(e,t=!0){this.useChatRecordMode&&t&&!this.isChatRecordModeAndNotInversion?this.scrollToTop(e,!1):this.$nextTick(()=>{this._scrollToBottom(e)})},scrollIntoViewById(e,t,a){this._scrollIntoView(e,t,a)},scrollIntoViewByNodeTop(e,t,a){this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._scrollIntoViewByNodeTop(e,t,a)})},scrollToY(e,t,a){this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._scrollToY(e,t,a)})},scrollToX(e,t,a){this.scrollLeft=this.oldScrollLeft,this.$nextTick(()=>{this._scrollToX(e,t,a)})},scrollIntoViewByIndex(e,t,a){e>=this.realTotalData.length?yc.consoleErr("当前滚动的index超出已渲染列表长度,请先通过refreshToPage加载到对应index页并等待渲染成功后再调用此方法!"):this.$nextTick(()=>{if(this.finalUseVirtualList){const o=this.cellHeightMode===Dc.CellHeightMode.Fixed;yc.delay(()=>{if(this.finalUseVirtualList){const i=o?this.virtualCellHeight*e:this.virtualHeightCacheList[e].lastTotalHeight;this.scrollToY(i,t,a)}},o?0:100)}})},scrollIntoViewByView(e,t,a){this._scrollIntoView(e,t,a)},updatePageScrollTop(e){this.pageScrollTop=e},updatePageScrollTopHeight(){this._updatePageScrollTopOrBottomHeight("top")},updatePageScrollBottomHeight(){this._updatePageScrollTopOrBottomHeight("bottom")},updateLeftAndRightWidth(){this.finalIsOldWebView&&this.$nextTick(()=>this._updateLeftAndRightWidth(this.scrollViewContainerStyle,"zp-page"))},updateScrollViewScrollTop(e,t=!0){this._updatePrivateScrollWithAnimation(t),this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=e,this.oldScrollTop=this.scrollTop})},_onScrollToUpper(){this._emitScrollEvent("scrolltoupper"),this.$emit("scrollTopChange",0),this.$nextTick(()=>{this.oldScrollTop=0})},_onScrollToLower(e){(!e.detail||!e.detail.direction||"bottom"===e.detail.direction)&&this.toBottomLoadingMoreEnabled&&this._onLoadingMore(this.useChatRecordMode?"click":"toBottom")},_scrollToTop(e=!0,t=!0){this.usePageScroll?this.$nextTick(()=>{uni.pageScrollTo({scrollTop:0,duration:e?100:0})}):(this._updatePrivateScrollWithAnimation(e),this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=0,this.oldScrollTop=this.scrollTop}),yc.delay(()=>{this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=0,this.oldScrollTop=this.scrollTop})},500))},async _scrollToBottom(e=!0){if(this.usePageScroll)this.$nextTick(()=>{uni.pageScrollTo({scrollTop:Number.MAX_VALUE,duration:e?100:0})});else try{this._updatePrivateScrollWithAnimation(e);const t=await this._getNodeClientRect(".zp-paging-container"),a=await this._getNodeClientRect(".zp-scroll-view"),o=t?t[0].height:0,i=a?a[0].height:0;o>i&&(this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this.scrollTop=o-i+this.virtualPlaceholderTopHeight,this.oldScrollTop=this.scrollTop}))}catch(t){}},_scrollIntoView(e,t=0,a=!1,o){try{this.scrollTop=this.oldScrollTop,this.$nextTick(()=>{this._getNodeClientRect("#"+e.replace("#",""),!1).then(i=>{i?this._getNodeClientRect(".zp-scroll-view-container").then(e=>{e&&(this._scrollIntoViewByNodeTop(i[0].top-e[0].top,t,a),o&&o())}):yc.consoleErr(`无法获取${e}的节点信息,请检查!`)})})}catch(i){}},_scrollIntoViewByNodeTop(e,t=0,a=!1){this.isChatRecordModeAndInversion?this._getNodeClientRect(".zp-scroll-view").then(o=>{o&&this._scrollToY(o[0].height-e,t,a,!0)}):this._scrollToY(e,t,a,!0)},_scrollToY(e,t=0,a=!1,o=!1){this._updatePrivateScrollWithAnimation(a),yc.delay(()=>{if(this.usePageScroll){o&&-1!==this.pageScrollTop&&(e+=this.pageScrollTop);const i=e-t;uni.pageScrollTo({scrollTop:i,duration:a?100:0})}else o&&(e+=this.oldScrollTop),this.scrollTop=e-t},10)},_scrollToX(e,t=0,a=!1){this._updatePrivateScrollWithAnimation(a),yc.delay(()=>{this.usePageScroll?yc.consoleErr("使用页面滚动时不支持scrollToX"):this.scrollLeft=e-t},10)},_scroll(e){this.$emit("scroll",e);const{scrollTop:t,scrollLeft:a,scrollHeight:o}=e.detail;if(this.watchScrollDirectionChange){let e=this.oldScrollTop>t?"top":"bottom";(t<=0||!this.scrollEnable)&&(e="top"),t>this.lastScrollHeight-this.scrollViewHeight-1&&this.scrollEnable&&(e="bottom"),e!==this.lastScrollDirection&&(this.$emit("scrollDirectionChange",e),this.lastScrollDirection=e),this.lastScrollHeight===o||this.setContentHeightPending||(this.setContentHeightPending=!0,yc.delay(()=>{this.lastScrollHeight=o,this.setContentHeightPending=!1}))}if(this.finalUseVirtualList&&this._updateVirtualScroll(t,this.oldScrollTop-t),this.oldScrollTop=t,this.oldScrollLeft=a,!this.isIos){const t=e.detail.scrollHeight-this.oldScrollTop;this._checkScrolledToBottom(t)}},_emitScrollEvent(e){const t="scrolltolower"===e?"scrolltoupper":"scrolltolower",a=this.useChatRecordMode&&!this.isChatRecordModeAndNotInversion?t:e;this.$emit(a)},_updatePrivateScrollWithAnimation(e){this.privateScrollWithAnimation=e?1:0,yc.delay(()=>this.$nextTick(()=>{this.privateScrollWithAnimation=-1}),100,"updateScrollWithAnimationDelay")},_doCheckScrollViewShouldFullHeight(e){this.autoFullHeight&&this.usePageScroll&&this.isTotalChangeFromAddData?this.$nextTick(()=>{this._checkScrollViewShouldFullHeight((t,a)=>{this._preCheckShowNoMoreInside(e,t,a)})}):this._preCheckShowNoMoreInside(e)},async _checkScrollViewShouldFullHeight(e){try{const t=await this._getNodeClientRect(".zp-scroll-view"),a=await this._getNodeClientRect(".zp-paging-container-content");if(!t||!a)return;const o=a[0].height,i=t[0].top;this.isAddedData&&o+i<=this.windowHeight?(this._setAutoHeight(!0,t),e(t,a)):(this._setAutoHeight(!1),e(null,null))}catch(t){e(null,null)}},async _updateCachedSuperContentHeight(){const e=await this._getNodeClientRect(".z-paging-content");e&&(this.superContentHeight=e[0].height)},_scrollTopChange(e,t){this.$emit("scrollTopChange",e),this.$emit("update:scrollTop",e),this._checkShouldShowBackToTop(e);const a=e>5?6:0;t&&this.wxsPageScrollTop!==a?this.wxsPageScrollTop=a:t||this.wxsScrollTop===a||(this.wxsScrollTop=a,a>6&&(this.scrollEnable=!0))},_updatePageScrollTopOrBottomHeight(e){if(!this.usePageScroll)return;this._doCheckScrollViewShouldFullHeight(this.realTotalData);const t=`.zp-page-${e}`,a=`margin${e.slice(0,1).toUpperCase()+e.slice(1)}`,o=this.safeAreaInsetBottom&&!this.zSlots.bottom&&!this.useSafeAreaPlaceholder;this.$nextTick(()=>{yc.delay(()=>{this._getNodeClientRect(t).then(t=>{if(t){let i=t[0].height;"bottom"===e?o&&(i+=this.safeAreaBottom):this.cacheTopHeight=i,this.$set(this.scrollViewStyle,a,`${i}px`)}else o&&this.$set(this.scrollViewStyle,a,`${this.safeAreaBottom}px`)})},0)})}}},hu={props:{autoShowBackToTop:{type:Boolean,default:yc.gc("autoShowBackToTop",!1)},backToTopThreshold:{type:[Number,String],default:yc.gc("backToTopThreshold","400rpx")},backToTopImg:{type:String,default:yc.gc("backToTopImg","")},backToTopWithAnimate:{type:Boolean,default:yc.gc("backToTopWithAnimate",!0)},backToTopBottom:{type:[Number,String],default:yc.gc("backToTopBottom","160rpx")},backToTopStyle:{type:Object,default:yc.gc("backToTopStyle",{})},enableBackToTop:{type:Boolean,default:yc.gc("enableBackToTop",!0)}},data:()=>({backToTopClass:"zp-back-to-top zp-back-to-top-hide",lastBackToTopShowTime:0,showBackToTopClass:!1}),computed:{backToTopThresholdUnitConverted(){return yc.addUnit(this.backToTopThreshold,this.unit)},backToTopBottomUnitConverted(){return yc.addUnit(this.backToTopBottom,this.unit)},finalEnableBackToTop(){return!this.usePageScroll&&this.enableBackToTop},finalBackToTopThreshold(){return yc.convertToPx(this.backToTopThresholdUnitConverted)},finalBackToTopStyle(){const e=this.backToTopStyle;return e.bottom||(e.bottom=this.windowBottom+yc.convertToPx(this.backToTopBottomUnitConverted)+"px"),e.position||(e.position=this.usePageScroll?"fixed":"absolute"),e},finalBackToTopClass(){return`${this.backToTopClass} zp-back-to-top-${this.unit}`}},methods:{_backToTopClick(){let e=!1;this.$emit("backToTopClick",t=>{(void 0===t||!0===t)&&this._handleToTop(),e=!0}),this.$nextTick(()=>{!e&&this._handleToTop()})},_handleToTop(){!this.backToTopWithAnimate&&this._checkShouldShowBackToTop(0),this.useChatRecordMode?this.scrollToBottom(this.backToTopWithAnimate):this.scrollToTop(this.backToTopWithAnimate)},_checkShouldShowBackToTop(e){this.autoShowBackToTop?e>this.finalBackToTopThreshold?this.showBackToTopClass||(this.showBackToTopClass=!0,this.lastBackToTopShowTime=(new Date).getTime(),yc.delay(()=>{this.backToTopClass="zp-back-to-top zp-back-to-top-show"},300)):this.showBackToTopClass&&(this.backToTopClass="zp-back-to-top zp-back-to-top-hide",yc.delay(()=>{this.showBackToTopClass=!1},(new Date).getTime()-this.lastBackToTopShowTime<500?0:300)):this.showBackToTopClass=!1}}},mu={props:{useVirtualList:{type:Boolean,default:yc.gc("useVirtualList",!1)},useCompatibilityMode:{type:Boolean,default:yc.gc("useCompatibilityMode",!1)},extraData:{type:Object,default:yc.gc("extraData",{})},useInnerList:{type:Boolean,default:yc.gc("useInnerList",!1)},forceCloseInnerList:{type:Boolean,default:yc.gc("forceCloseInnerList",!1)},cellKeyName:{type:String,default:yc.gc("cellKeyName","")},innerListStyle:{type:Object,default:yc.gc("innerListStyle",{})},innerCellStyle:{type:Object,default:yc.gc("innerCellStyle",{})},preloadPage:{type:[Number,String],default:yc.gc("preloadPage",12),validator:e=>(e<=0&&yc.consoleErr("preload-page必须大于0!"),e>0)},cellHeightMode:{type:String,default:yc.gc("cellHeightMode",Dc.CellHeightMode.Fixed)},fixedCellHeight:{type:[Number,String],default:yc.gc("fixedCellHeight",0)},virtualListCol:{type:[Number,String],default:yc.gc("virtualListCol",1)},virtualScrollFps:{type:[Number,String],default:yc.gc("virtualScrollFps",80)},virtualCellIdPrefix:{type:String,default:yc.gc("virtualCellIdPrefix","")},virtualInSwiperSlot:{type:Boolean,default:!1}},data:()=>({virtualListKey:yc.getInstanceId(),virtualCellHeight:0,virtualScrollTimeStamp:0,virtualList:[],virtualPlaceholderTopHeight:0,virtualPlaceholderBottomHeight:0,virtualTopRangeIndex:0,virtualBottomRangeIndex:0,lastVirtualTopRangeIndex:0,lastVirtualBottomRangeIndex:0,virtualItemInsertedCount:0,virtualHeightCacheList:[],getCellHeightRetryCount:{fixed:0,dynamic:0},updateVirtualListFromDataChange:!1}),watch:{realTotalData(){this.updateVirtualListRender()},virtualList(e){this.$emit("update:virtualList",e),this.$emit("virtualListChange",e)},virtualPlaceholderTopHeight(e){this.$emit("virtualTopHeightChange",e)}},computed:{virtualCellIndexKey:()=>rc,finalUseVirtualList(){return this.useVirtualList&&this.usePageScroll&&yc.consoleErr("使用页面滚动时,开启虚拟列表无效!"),this.useVirtualList&&!this.usePageScroll},finalUseInnerList(){return this.useInnerList||this.finalUseVirtualList&&!this.forceCloseInnerList},finalCellKeyName(){return this.cellKeyName},finalVirtualPageHeight(){return this.scrollViewHeight>0?this.scrollViewHeight:this.windowHeight},finalFixedCellHeight(){return yc.convertToPx(this.fixedCellHeight)},fianlVirtualCellIdPrefix(){return(this.virtualCellIdPrefix?this.virtualCellIdPrefix+"-":"")+"zp-id"},finalPlaceholderTopHeightStyle:()=>({}),virtualRangePageHeight(){return this.finalVirtualPageHeight*this.preloadPage},virtualScrollDisTimeStamp(){return 1e3/this.virtualScrollFps}},methods:{doInsertVirtualListItem(e,t){if(this.cellHeightMode!==Dc.CellHeightMode.Dynamic)return;this.realTotalData.splice(t,0,e),this.realTotalData=[...this.realTotalData],this.virtualItemInsertedCount++,e&&"[object Object]"===Object.prototype.toString.call(e)||(e={item:e});const a=this.virtualCellIndexKey;e[a]=`custom-${this.virtualItemInsertedCount}`,e[sc]=`${this.virtualListKey}-${e[a]}`,this.$nextTick(async()=>{let o=0;for(;o<=10;){await yc.wait(oc);const i=await this._getVirtualCellNodeByIndex(e[a]);if(!i){o++;continue}const n=i?i[0].height:0,l=this.virtualHeightCacheList[t-1],r=l?l.totalHeight:0;this.virtualHeightCacheList.splice(t,0,{height:n,lastTotalHeight:r,totalHeight:r+n});for(let e=t+1;e{this._getVirtualCellNodeByIndex(e).then(a=>{const o=a?a[0].height:0,i=o-t.height;t.height=o,t.totalHeight=t.lastTotalHeight+o;for(let t=e+1;t{this.getCellHeightRetryCount.fixed=0,this.realTotalData.length?this.cellHeightMode===Dc.CellHeightMode.Fixed&&this.isFirstPage&&this._updateFixedCellHeight():this._resetDynamicListState(!this.isUserPullDown),this._updateVirtualScroll(this.oldScrollTop)}))},_updateFixedCellHeight(){this.finalFixedCellHeight?this.virtualCellHeight=this.finalFixedCellHeight:this.$nextTick(()=>{yc.delay(()=>{this._getVirtualCellNodeByIndex(0).then(e=>{if(e)this.virtualCellHeight=e[0].height,this._updateVirtualScroll(this.oldScrollTop);else{if(this.getCellHeightRetryCount.fixed>10)return;this.getCellHeightRetryCount.fixed++,this._updateFixedCellHeight()}})},oc,"updateFixedCellHeightDelay")})},_updateDynamicCellHeight(e,t="bottom"){const a="top"===t,o=this.virtualHeightCacheList,i=a?[]:o;let n=0;this.$nextTick(()=>{yc.delay(async()=>{for(let l=0;l=0&&this._resetDynamicListState(),this.totalData.length&&this.queryFrom!==Dc.QueryFrom.Refresh){if("bottom"===t){a=this.realTotalData.length;const e=this.realTotalData.length?this.realTotalData.slice(-1)[0]:null;e&&void 0!==e[o]&&(a=e[o]+1)}else if("top"===t){const t=this.realTotalData.length?this.realTotalData[0]:null;t&&void 0!==t[o]&&(a=t[o]-e.length)}}else this._resetDynamicListState();for(let i=0;i0?"top":"bottom",o=this.virtualRangePageHeight,i=e-o,n=e+this.finalVirtualPageHeight+o;let l=0,r=0,s=!1;const c=this.virtualHeightCacheList,u=c?c.slice(-1)[0]:null;let d=this.virtualTopRangeIndex;if("bottom"===a)for(let e=d;e