@opendesign-plus-test/components 0.0.1-rc.185 → 0.0.1-rc.187
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.cjs.js +2 -2
- package/dist/components.css +2 -2
- package/dist/components.es.js +16 -18
- package/dist/treeshaking/components/user-center/OAccountSecurity.css +51 -46
- package/dist/treeshaking/components/user-center/OAccountSecurity.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAccountSetting.css +72 -48
- package/dist/treeshaking/components/user-center/OAccountSetting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OAccountSetting.vue2.mjs +5 -5
- package/dist/treeshaking/components/user-center/OAsideBar.css +16 -16
- package/dist/treeshaking/components/user-center/OAsideBar.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheAccountManage.css +8 -8
- package/dist/treeshaking/components/user-center/OTheAccountManage.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.css +12 -10
- package/dist/treeshaking/components/user-center/OTheCreateMeeting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OTheMeeting.css +36 -33
- package/dist/treeshaking/components/user-center/OTheMeeting.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.css +35 -24
- package/dist/treeshaking/components/user-center/OThirdPartyBindings.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.css +83 -80
- package/dist/treeshaking/components/user-center/OUserInfo.vue.mjs +1 -1
- package/dist/treeshaking/components/user-center/OUserInfo.vue2.mjs +4 -6
- package/dist/treeshaking/components/user-center/OUserInfo3.css +4 -4
- package/dist/treeshaking/components/user-center/styles/variables.css +1 -3
- package/package.json +3 -3
package/dist/components.cjs.js
CHANGED
|
@@ -237,7 +237,7 @@ ${Ar(t)}`),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),
|
|
|
237
237
|
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
238
238
|
* derived from CryptoJS.mode.CTR
|
|
239
239
|
* Jan Hruby jhruby.web@gmail.com
|
|
240
|
-
*/return n.mode.CTRGladman=(function(){var i=n.lib.BlockCipherMode.extend();function s(l){if((l>>24&255)===255){var u=l>>16&255,c=l>>8&255,d=l&255;u===255?(u=0,c===255?(c=0,d===255?d=0:++d):++c):++u,l=0,l+=u<<16,l+=c<<8,l+=d}else l+=1<<24;return l}function a(l){return(l[0]=s(l[0]))===0&&(l[1]=s(l[1])),l}var o=i.Encryptor=i.extend({processBlock:function(l,u){var c=this._cipher,d=c.blockSize,f=this._iv,g=this._counter;f&&(g=this._counter=f.slice(0),this._iv=void 0),a(g);var v=g.slice(0);c.encryptBlock(v,0);for(var x=0;x<d;x++)l[u+x]^=v[x]}});return i.Decryptor=o,i})(),n.mode.CTRGladman})})(bo)),bo.exports}var Eo={exports:{}},QO=Eo.exports,V1;function YO(){return V1||(V1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(QO,function(n){return n.mode.OFB=(function(){var i=n.lib.BlockCipherMode.extend(),s=i.Encryptor=i.extend({processBlock:function(a,o){var l=this._cipher,u=l.blockSize,c=this._iv,d=this._keystream;c&&(d=this._keystream=c.slice(0),this._iv=void 0),l.encryptBlock(d,0);for(var f=0;f<u;f++)a[o+f]^=d[f]}});return i.Decryptor=s,i})(),n.mode.OFB})})(Eo)),Eo.exports}var Ao={exports:{}},WO=Ao.exports,N1;function KO(){return N1||(N1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(WO,function(n){return n.mode.ECB=(function(){var i=n.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(s,a){this._cipher.encryptBlock(s,a)}}),i.Decryptor=i.extend({processBlock:function(s,a){this._cipher.decryptBlock(s,a)}}),i})(),n.mode.ECB})})(Ao)),Ao.exports}var ko={exports:{}},JO=ko.exports,I1;function ZO(){return I1||(I1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(JO,function(n){return n.pad.AnsiX923={pad:function(i,s){var a=i.sigBytes,o=s*4,l=o-a%o,u=a+l-1;i.clamp(),i.words[u>>>2]|=l<<24-u%4*8,i.sigBytes+=l},unpad:function(i){var s=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=s}},n.pad.Ansix923})})(ko)),ko.exports}var _o={exports:{}},$O=_o.exports,O1;function eP(){return O1||(O1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})($O,function(n){return n.pad.Iso10126={pad:function(i,s){var a=s*4,o=a-i.sigBytes%a;i.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(i){var s=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=s}},n.pad.Iso10126})})(_o)),_o.exports}var To={exports:{}},tP=To.exports,P1;function nP(){return P1||(P1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(tP,function(n){return n.pad.Iso97971={pad:function(i,s){i.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(i,s)},unpad:function(i){n.pad.ZeroPadding.unpad(i),i.sigBytes--}},n.pad.Iso97971})})(To)),To.exports}var wo={exports:{}},iP=wo.exports,L1;function rP(){return L1||(L1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(iP,function(n){return n.pad.ZeroPadding={pad:function(i,s){var a=s*4;i.clamp(),i.sigBytes+=a-(i.sigBytes%a||a)},unpad:function(i){for(var s=i.words,a=i.sigBytes-1,a=i.sigBytes-1;a>=0;a--)if(s[a>>>2]>>>24-a%4*8&255){i.sigBytes=a+1;break}}},n.pad.ZeroPadding})})(wo)),wo.exports}var So={exports:{}},sP=So.exports,M1;function aP(){return M1||(M1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(sP,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(So)),So.exports}var Do={exports:{}},oP=Do.exports,R1;function lP(){return R1||(R1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(oP,function(n){return(function(i){var s=n,a=s.lib,o=a.CipherParams,l=s.enc,u=l.Hex,c=s.format;c.Hex={stringify:function(d){return d.ciphertext.toString(u)},parse:function(d){var f=u.parse(d);return o.create({ciphertext:f})}}})(),n.format.Hex})})(Do)),Do.exports}var Bo={exports:{}},cP=Bo.exports,F1;function uP(){return F1||(F1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(cP,function(n){return(function(){var i=n,s=i.lib,a=s.BlockCipher,o=i.algo,l=[],u=[],c=[],d=[],f=[],g=[],v=[],x=[],p=[],m=[];(function(){for(var E=[],w=0;w<256;w++)w<128?E[w]=w<<1:E[w]=w<<1^283;for(var P=0,T=0,w=0;w<256;w++){var _=T^T<<1^T<<2^T<<3^T<<4;_=_>>>8^_&255^99,l[P]=_,u[_]=P;var I=E[P],D=E[I],B=E[D],N=E[_]*257^_*16843008;c[P]=N<<24|N>>>8,d[P]=N<<16|N>>>16,f[P]=N<<8|N>>>24,g[P]=N;var N=B*16843009^D*65537^I*257^P*16843008;v[_]=N<<24|N>>>8,x[_]=N<<16|N>>>16,p[_]=N<<8|N>>>24,m[_]=N,P?(P=I^E[E[E[B^I]]],T^=E[E[T]]):P=T=1}})();var b=[0,1,2,4,8,16,32,64,128,27,54],C=o.AES=a.extend({_doReset:function(){var E;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var w=this._keyPriorReset=this._key,P=w.words,T=w.sigBytes/4,_=this._nRounds=T+6,I=(_+1)*4,D=this._keySchedule=[],B=0;B<I;B++)B<T?D[B]=P[B]:(E=D[B-1],B%T?T>6&&B%T==4&&(E=l[E>>>24]<<24|l[E>>>16&255]<<16|l[E>>>8&255]<<8|l[E&255]):(E=E<<8|E>>>24,E=l[E>>>24]<<24|l[E>>>16&255]<<16|l[E>>>8&255]<<8|l[E&255],E^=b[B/T|0]<<24),D[B]=D[B-T]^E);for(var N=this._invKeySchedule=[],M=0;M<I;M++){var B=I-M;if(M%4)var E=D[B];else var E=D[B-4];M<4||B<=4?N[M]=E:N[M]=v[l[E>>>24]]^x[l[E>>>16&255]]^p[l[E>>>8&255]]^m[l[E&255]]}}},encryptBlock:function(E,w){this._doCryptBlock(E,w,this._keySchedule,c,d,f,g,l)},decryptBlock:function(E,w){var P=E[w+1];E[w+1]=E[w+3],E[w+3]=P,this._doCryptBlock(E,w,this._invKeySchedule,v,x,p,m,u);var P=E[w+1];E[w+1]=E[w+3],E[w+3]=P},_doCryptBlock:function(E,w,P,T,_,I,D,B){for(var N=this._nRounds,M=E[w]^P[0],O=E[w+1]^P[1],F=E[w+2]^P[2],q=E[w+3]^P[3],Y=4,z=1;z<N;z++){var Q=T[M>>>24]^_[O>>>16&255]^I[F>>>8&255]^D[q&255]^P[Y++],X=T[O>>>24]^_[F>>>16&255]^I[q>>>8&255]^D[M&255]^P[Y++],j=T[F>>>24]^_[q>>>16&255]^I[M>>>8&255]^D[O&255]^P[Y++],R=T[q>>>24]^_[M>>>16&255]^I[O>>>8&255]^D[F&255]^P[Y++];M=Q,O=X,F=j,q=R}var Q=(B[M>>>24]<<24|B[O>>>16&255]<<16|B[F>>>8&255]<<8|B[q&255])^P[Y++],X=(B[O>>>24]<<24|B[F>>>16&255]<<16|B[q>>>8&255]<<8|B[M&255])^P[Y++],j=(B[F>>>24]<<24|B[q>>>16&255]<<16|B[M>>>8&255]<<8|B[O&255])^P[Y++],R=(B[q>>>24]<<24|B[M>>>16&255]<<16|B[O>>>8&255]<<8|B[F&255])^P[Y++];E[w]=Q,E[w+1]=X,E[w+2]=j,E[w+3]=R},keySize:256/32});i.AES=a._createHelper(C)})(),n.AES})})(Bo)),Bo.exports}var Vo={exports:{}},dP=Vo.exports,q1;function hP(){return q1||(q1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(dP,function(n){return(function(){var i=n,s=i.lib,a=s.WordArray,o=s.BlockCipher,l=i.algo,u=[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],c=[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],d=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{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}],g=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],v=l.DES=o.extend({_doReset:function(){for(var b=this._key,C=b.words,E=[],w=0;w<56;w++){var P=u[w]-1;E[w]=C[P>>>5]>>>31-P%32&1}for(var T=this._subKeys=[],_=0;_<16;_++){for(var I=T[_]=[],D=d[_],w=0;w<24;w++)I[w/6|0]|=E[(c[w]-1+D)%28]<<31-w%6,I[4+(w/6|0)]|=E[28+(c[w+24]-1+D)%28]<<31-w%6;I[0]=I[0]<<1|I[0]>>>31;for(var w=1;w<7;w++)I[w]=I[w]>>>(w-1)*4+3;I[7]=I[7]<<5|I[7]>>>27}for(var B=this._invSubKeys=[],w=0;w<16;w++)B[w]=T[15-w]},encryptBlock:function(b,C){this._doCryptBlock(b,C,this._subKeys)},decryptBlock:function(b,C){this._doCryptBlock(b,C,this._invSubKeys)},_doCryptBlock:function(b,C,E){this._lBlock=b[C],this._rBlock=b[C+1],x.call(this,4,252645135),x.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),x.call(this,1,1431655765);for(var w=0;w<16;w++){for(var P=E[w],T=this._lBlock,_=this._rBlock,I=0,D=0;D<8;D++)I|=f[D][((_^P[D])&g[D])>>>0];this._lBlock=_,this._rBlock=T^I}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,x.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),b[C]=this._lBlock,b[C+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(b,C){var E=(this._lBlock>>>b^this._rBlock)&C;this._rBlock^=E,this._lBlock^=E<<b}function p(b,C){var E=(this._rBlock>>>b^this._lBlock)&C;this._lBlock^=E,this._rBlock^=E<<b}i.DES=o._createHelper(v);var m=l.TripleDES=o.extend({_doReset:function(){var b=this._key,C=b.words;if(C.length!==2&&C.length!==4&&C.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var E=C.slice(0,2),w=C.length<4?C.slice(0,2):C.slice(2,4),P=C.length<6?C.slice(0,2):C.slice(4,6);this._des1=v.createEncryptor(a.create(E)),this._des2=v.createEncryptor(a.create(w)),this._des3=v.createEncryptor(a.create(P))},encryptBlock:function(b,C){this._des1.encryptBlock(b,C),this._des2.decryptBlock(b,C),this._des3.encryptBlock(b,C)},decryptBlock:function(b,C){this._des3.decryptBlock(b,C),this._des2.encryptBlock(b,C),this._des1.decryptBlock(b,C)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=o._createHelper(m)})(),n.TripleDES})})(Vo)),Vo.exports}var No={exports:{}},fP=No.exports,z1;function pP(){return z1||(z1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(fP,function(n){return(function(){var i=n,s=i.lib,a=s.StreamCipher,o=i.algo,l=o.RC4=a.extend({_doReset:function(){for(var d=this._key,f=d.words,g=d.sigBytes,v=this._S=[],x=0;x<256;x++)v[x]=x;for(var x=0,p=0;x<256;x++){var m=x%g,b=f[m>>>2]>>>24-m%4*8&255;p=(p+v[x]+b)%256;var C=v[x];v[x]=v[p],v[p]=C}this._i=this._j=0},_doProcessBlock:function(d,f){d[f]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var d=this._S,f=this._i,g=this._j,v=0,x=0;x<4;x++){f=(f+1)%256,g=(g+d[f])%256;var p=d[f];d[f]=d[g],d[g]=p,v|=d[(d[f]+d[g])%256]<<24-x*8}return this._i=f,this._j=g,v}i.RC4=a._createHelper(l);var c=o.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var d=this.cfg.drop;d>0;d--)u.call(this)}});i.RC4Drop=a._createHelper(c)})(),n.RC4})})(No)),No.exports}var Io={exports:{}},mP=Io.exports,U1;function gP(){return U1||(U1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(mP,function(n){return(function(){var i=n,s=i.lib,a=s.StreamCipher,o=i.algo,l=[],u=[],c=[],d=o.Rabbit=a.extend({_doReset:function(){for(var g=this._key.words,v=this.cfg.iv,x=0;x<4;x++)g[x]=(g[x]<<8|g[x]>>>24)&16711935|(g[x]<<24|g[x]>>>8)&4278255360;var p=this._X=[g[0],g[3]<<16|g[2]>>>16,g[1],g[0]<<16|g[3]>>>16,g[2],g[1]<<16|g[0]>>>16,g[3],g[2]<<16|g[1]>>>16],m=this._C=[g[2]<<16|g[2]>>>16,g[0]&4294901760|g[1]&65535,g[3]<<16|g[3]>>>16,g[1]&4294901760|g[2]&65535,g[0]<<16|g[0]>>>16,g[2]&4294901760|g[3]&65535,g[1]<<16|g[1]>>>16,g[3]&4294901760|g[0]&65535];this._b=0;for(var x=0;x<4;x++)f.call(this);for(var x=0;x<8;x++)m[x]^=p[x+4&7];if(v){var b=v.words,C=b[0],E=b[1],w=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,P=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T=w>>>16|P&4294901760,_=P<<16|w&65535;m[0]^=w,m[1]^=T,m[2]^=P,m[3]^=_,m[4]^=w,m[5]^=T,m[6]^=P,m[7]^=_;for(var x=0;x<4;x++)f.call(this)}},_doProcessBlock:function(g,v){var x=this._X;f.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,g[v+p]^=l[p]},blockSize:128/32,ivSize:64/32});function f(){for(var g=this._X,v=this._C,x=0;x<8;x++)u[x]=v[x];v[0]=v[0]+1295307597+this._b|0,v[1]=v[1]+3545052371+(v[0]>>>0<u[0]>>>0?1:0)|0,v[2]=v[2]+886263092+(v[1]>>>0<u[1]>>>0?1:0)|0,v[3]=v[3]+1295307597+(v[2]>>>0<u[2]>>>0?1:0)|0,v[4]=v[4]+3545052371+(v[3]>>>0<u[3]>>>0?1:0)|0,v[5]=v[5]+886263092+(v[4]>>>0<u[4]>>>0?1:0)|0,v[6]=v[6]+1295307597+(v[5]>>>0<u[5]>>>0?1:0)|0,v[7]=v[7]+3545052371+(v[6]>>>0<u[6]>>>0?1:0)|0,this._b=v[7]>>>0<u[7]>>>0?1:0;for(var x=0;x<8;x++){var p=g[x]+v[x],m=p&65535,b=p>>>16,C=((m*m>>>17)+m*b>>>15)+b*b,E=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=C^E}g[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,g[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,g[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,g[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,g[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,g[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,g[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,g[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}i.Rabbit=a._createHelper(d)})(),n.Rabbit})})(Io)),Io.exports}var Oo={exports:{}},vP=Oo.exports,H1;function yP(){return H1||(H1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(vP,function(n){return(function(){var i=n,s=i.lib,a=s.StreamCipher,o=i.algo,l=[],u=[],c=[],d=o.RabbitLegacy=a.extend({_doReset:function(){var g=this._key.words,v=this.cfg.iv,x=this._X=[g[0],g[3]<<16|g[2]>>>16,g[1],g[0]<<16|g[3]>>>16,g[2],g[1]<<16|g[0]>>>16,g[3],g[2]<<16|g[1]>>>16],p=this._C=[g[2]<<16|g[2]>>>16,g[0]&4294901760|g[1]&65535,g[3]<<16|g[3]>>>16,g[1]&4294901760|g[2]&65535,g[0]<<16|g[0]>>>16,g[2]&4294901760|g[3]&65535,g[1]<<16|g[1]>>>16,g[3]&4294901760|g[0]&65535];this._b=0;for(var m=0;m<4;m++)f.call(this);for(var m=0;m<8;m++)p[m]^=x[m+4&7];if(v){var b=v.words,C=b[0],E=b[1],w=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,P=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T=w>>>16|P&4294901760,_=P<<16|w&65535;p[0]^=w,p[1]^=T,p[2]^=P,p[3]^=_,p[4]^=w,p[5]^=T,p[6]^=P,p[7]^=_;for(var m=0;m<4;m++)f.call(this)}},_doProcessBlock:function(g,v){var x=this._X;f.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,g[v+p]^=l[p]},blockSize:128/32,ivSize:64/32});function f(){for(var g=this._X,v=this._C,x=0;x<8;x++)u[x]=v[x];v[0]=v[0]+1295307597+this._b|0,v[1]=v[1]+3545052371+(v[0]>>>0<u[0]>>>0?1:0)|0,v[2]=v[2]+886263092+(v[1]>>>0<u[1]>>>0?1:0)|0,v[3]=v[3]+1295307597+(v[2]>>>0<u[2]>>>0?1:0)|0,v[4]=v[4]+3545052371+(v[3]>>>0<u[3]>>>0?1:0)|0,v[5]=v[5]+886263092+(v[4]>>>0<u[4]>>>0?1:0)|0,v[6]=v[6]+1295307597+(v[5]>>>0<u[5]>>>0?1:0)|0,v[7]=v[7]+3545052371+(v[6]>>>0<u[6]>>>0?1:0)|0,this._b=v[7]>>>0<u[7]>>>0?1:0;for(var x=0;x<8;x++){var p=g[x]+v[x],m=p&65535,b=p>>>16,C=((m*m>>>17)+m*b>>>15)+b*b,E=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=C^E}g[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,g[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,g[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,g[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,g[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,g[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,g[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,g[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}i.RabbitLegacy=a._createHelper(d)})(),n.RabbitLegacy})})(Oo)),Oo.exports}var Po={exports:{}},xP=Po.exports,j1;function CP(){return j1||(j1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(xP,function(n){return(function(){var i=n,s=i.lib,a=s.BlockCipher,o=i.algo;const l=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var d={pbox:[],sbox:[]};function f(m,b){let C=b>>24&255,E=b>>16&255,w=b>>8&255,P=b&255,T=m.sbox[0][C]+m.sbox[1][E];return T=T^m.sbox[2][w],T=T+m.sbox[3][P],T}function g(m,b,C){let E=b,w=C,P;for(let T=0;T<l;++T)E=E^m.pbox[T],w=f(m,E)^w,P=E,E=w,w=P;return P=E,E=w,w=P,w=w^m.pbox[l],E=E^m.pbox[l+1],{left:E,right:w}}function v(m,b,C){let E=b,w=C,P;for(let T=l+1;T>1;--T)E=E^m.pbox[T],w=f(m,E)^w,P=E,E=w,w=P;return P=E,E=w,w=P,w=w^m.pbox[1],E=E^m.pbox[0],{left:E,right:w}}function x(m,b,C){for(let _=0;_<4;_++){m.sbox[_]=[];for(let I=0;I<256;I++)m.sbox[_][I]=c[_][I]}let E=0;for(let _=0;_<l+2;_++)m.pbox[_]=u[_]^b[E],E++,E>=C&&(E=0);let w=0,P=0,T=0;for(let _=0;_<l+2;_+=2)T=g(m,w,P),w=T.left,P=T.right,m.pbox[_]=w,m.pbox[_+1]=P;for(let _=0;_<4;_++)for(let I=0;I<256;I+=2)T=g(m,w,P),w=T.left,P=T.right,m.sbox[_][I]=w,m.sbox[_][I+1]=P;return!0}var p=o.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var m=this._keyPriorReset=this._key,b=m.words,C=m.sigBytes/4;x(d,b,C)}},encryptBlock:function(m,b){var C=g(d,m[b],m[b+1]);m[b]=C.left,m[b+1]=C.right},decryptBlock:function(m,b){var C=v(d,m[b],m[b+1]);m[b]=C.left,m[b+1]=C.right},blockSize:64/32,keySize:128/32,ivSize:64/32});i.Blowfish=a._createHelper(p)})(),n.Blowfish})})(Po)),Po.exports}var bP=$a.exports,X1;function EP(){return X1||(X1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Ll(),yO(),CO(),gr(),AO(),vr(),Og(),Xu(),SO(),Pg(),VO(),IO(),PO(),Gu(),RO(),ji(),Yt(),UO(),jO(),GO(),YO(),KO(),ZO(),eP(),nP(),rP(),aP(),lP(),uP(),hP(),pP(),gP(),yP(),CP())})(bP,function(n){return n})})($a)),$a.exports}var AP=EP();const Ss=pr(AP);function G1(r,t){const n=Ss.enc.Utf8.parse(t),i=Ss.enc.Utf8.parse(r);return Ss.AES.encrypt(i,n,{mode:Ss.mode.ECB,padding:Ss.pad.Pkcs7}).toString()}function kP(r){let t,n,i,s;const a=r.$el.parentNode.offsetWidth||window.offsetWidth,o=r.$el.parentNode.offsetHeight||window.offsetHeight;return r.imgSize.width.indexOf("%")!==-1?t=parseInt(r.imgSize.width)/100*a+"px":t=r.imgSize.width,r.imgSize.height.indexOf("%")!==-1?n=parseInt(r.imgSize.height)/100*o+"px":n=r.imgSize.height,r.barSize.width.indexOf("%")!==-1?i=parseInt(r.barSize.width)/100*a+"px":i=r.barSize.width,r.barSize.height.indexOf("%")!==-1?s=parseInt(r.barSize.height)/100*o+"px":s=r.barSize.height,{imgWidth:t,imgHeight:n,barWidth:i,barHeight:s}}const _P={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function TP(r,t){return e.openBlock(),e.createElementBlock("svg",_P,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const Q1={name:"user-center-icon-chevron-right",render:TP},wP={viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"};function SP(r,t){return e.openBlock(),e.createElementBlock("svg",wP,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472a.7.7 0 0 1 .074.903l-.074.087L12.988 12l.006.006-.989.989-.006-.006-5.538 5.54a.7.7 0 0 1-1.064-.903l.074-.087L11.009 12 5.471 6.462l-.074-.087a.7.7 0 0 1 .977-.977l.087.074 5.538 5.539 5.539-5.539a.7.7 0 0 1 .99 0m-3.977 8.089 3.978 3.978.074.087a.7.7 0 0 1-.977.977l-.087-.074-3.978-3.978a.7.7 0 0 1 .99-.99"},null,-1)])])}const z0={name:"user-center-icon-close",render:SP},DP={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function BP(r,t){return e.openBlock(),e.createElementBlock("svg",DP,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M20.402 5.956c0.274-0.273 0.717-0.272 0.99 0.001 0.246 0.246 0.27 0.63 0.073 0.903l-0.074 0.087-10.491 10.465c-0.53 0.529-1.367 0.562-1.936 0.101l-0.11-0.099-5.231-5.202c-0.274-0.273-0.275-0.716-0.003-0.99 0.245-0.247 0.629-0.272 0.903-0.076l0.087 0.074 5.231 5.202c0.013 0.013 0.031 0.017 0.048 0.013l0.023-0.013 10.491-10.465z"},null,-1)])])}const VP={name:"user-center-icon-done",render:BP},NP={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24",height:"24",fill:"none",customFrame:"#000000"};function IP(r,t){return e.openBlock(),e.createElementBlock("svg",NP,[...t[0]||(t[0]=[e.createElementVNode("g",{id:"编组 14"},[e.createElementVNode("rect",{id:"矩形",width:"24",height:"24",x:"0",y:"0",fill:"rgb(216,216,216)","fill-opacity":"0"}),e.createElementVNode("rect",{id:"矩形",width:"23",height:"23",x:"0.5",y:"0.5",stroke:"rgb(151,151,151)","stroke-opacity":"0","stroke-width":"1"}),e.createElementVNode("path",{id:"形状结合",d:"M2.84911 9.19103C4.39452 4.13544 9.74608 1.29006 14.8017 2.83572C16.3022 3.2944 17.6396 4.09918 18.7285 5.17552L18.729 3.92534C18.729 3.57096 18.9922 3.27809 19.334 3.23174L19.4287 3.22534C19.7832 3.22534 20.0762 3.48869 20.1225 3.83035L20.1289 3.92534L20.1289 6.57845C20.1289 7.06564 19.7622 7.46718 19.2895 7.52206L19.1787 7.52845L16.5259 7.52845C16.1391 7.52845 15.8257 7.21505 15.8257 6.82845C15.8257 6.47407 16.0889 6.18119 16.4307 6.13484L16.5259 6.12845L17.7002 6.12818C16.7793 5.23134 15.6538 4.56033 14.3921 4.17455C10.0762 2.85495 5.50731 5.28417 4.18798 9.60036C2.86815 13.9165 5.29735 18.4852 9.61376 19.8048C13.9297 21.1244 18.4985 18.6952 19.8183 14.379C20.2558 12.9466 20.291 11.4544 19.939 10.033C19.8462 9.65774 20.0747 9.27818 20.4502 9.18525C20.8252 9.09232 21.2051 9.32119 21.2978 9.69645C21.7104 11.362 21.6694 13.112 21.1567 14.7883C19.6113 19.8439 14.2598 22.6893 9.20409 21.1437C4.14891 19.598 1.30321 14.2466 2.84911 9.19103Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"})],-1)])])}const OP={name:"user-center-icon-refresh",render:IP},PP={name:"VerifySlide",components:{OIcon:S.OIcon,IconRefresh:OP},props:{captchaType:{type:String},mode:{type:String,default:"fixed"},vSpace:{type:Number,default:15},explain:{type:String,default:"向右滑动完成验证"},imgSize:{type:Object,default(){return{width:"310px",height:"155px"}}},blockSize:{type:Object,default(){return{width:"50px",height:"50px"}}},barSize:{type:Object,default(){return{width:"310px",height:"40px"}}},apiType:{type:String,default:"ACCOUNT"},community:{type:String,default:"openeuler"},captchaApis:{type:Object,required:!0}},setup(r){const{mode:t,captchaType:n,blockSize:i,apiType:s}=e.toRefs(r),{t:a}=be.useI18n(),o=e.computed(()=>a("common.SWIPE_RIGHT")),{proxy:l}=e.getCurrentInstance(),u=e.ref(""),c=e.ref(""),d=e.ref(""),f=e.ref(""),g=e.ref(""),v=e.ref(0),x=e.ref(0),p=e.ref(""),m=e.ref(""),b=e.ref(""),C=e.ref(""),E=e.reactive({imgHeight:0,imgWidth:0,barHeight:0,barWidth:0}),w=e.ref(0),P=e.ref(0),T=e.ref(void 0),_=e.ref(void 0),I=e.ref(void 0),D=e.ref(void 0),B=e.ref(void 0),N=e.shallowRef(Q1),M=e.ref(!1),O=e.ref(!1),F=e.ref(!0),q=e.ref(""),Y=e.ref(""),z=e.ref(0),Q=e.computed(()=>l.$el.querySelector(".verify-bar-area"));function X(){const W={captchaType:n.value};(s.value==="ACCOUNT"?r.captchaApis.reqGet:r.captchaApis.getImgToken)(W).then(ue=>{ue.repCode==="0000"?(d.value=ue.repData.originalImageBase64,f.value=ue.repData.jigsawImageBase64,g.value=ue.repData.token,u.value=ue.repData.secretKey):m.value=ue.repMsg})}const j=()=>{F.value=!0,C.value="",q.value="left .2s",T.value=0,_.value=void 0,Y.value="width .2s",D.value=void 0,I.value=void 0,B.value=void 0,N.value=Q1,O.value=!1,X(),setTimeout(()=>{Y.value="",q.value="",b.value=o.value},300)};function R(W){W=W||window.event;let oe;if(W.touches?oe=W.touches[0].pageX:oe=W.clientX,z.value=Math.floor(oe-Q.value.getBoundingClientRect().left),v.value=Number(new Date),O.value===!1){const pe={openeuler:"#002fa7",opengauss:"#6e1be8",mindspore:"#0080f2",openmind:"#121212"}[r.community];b.value="",I.value=pe,D.value=pe,B.value="#fff",W.stopPropagation(),M.value=!0}}function U(W){if(W=W||window.event,M.value&&O.value===!1){let oe;W.touches?oe=W.touches[0].pageX:oe=W.clientX;const ue=Q.value.getBoundingClientRect().left;let pe=oe-ue;pe>=Q.value.offsetWidth-parseInt(i.value.width)/2-2&&(pe=Q.value.offsetWidth-parseInt(i.value.width)/2-2),pe<=0&&(pe=parseInt(i.value.width)/2),T.value=pe-z.value+"px",_.value=pe-z.value+5+"px"}}function K(){if(x.value=Number(new Date),M.value&&O.value===!1){let W=parseInt((T.value||"").replace("px",""));W=W*310/parseInt(String(E.imgWidth));const oe={captchaType:n.value,pointJson:u.value?G1(JSON.stringify({x:W,y:5}),u.value):JSON.stringify({x:W,y:5}),token:g.value};(s.value==="ACCOUNT"?r.captchaApis.reqCheck:r.captchaApis.checkImgToken)(oe).then(pe=>{if(pe.repCode==="0000"){I.value="#6dc335",D.value="#6dc335",B.value="#fff",N.value=VP,F.value=!1,O.value=!0,t.value==="pop"&&setTimeout(()=>{l.$parent.clickShow=!1,j()},1500),c.value=!0,m.value=a("common.VERIFY_SUCCESS",{second:`${((x.value-v.value)/1e3).toFixed(2)}`});const me=u.value?G1(g.value+"---"+JSON.stringify({x:W,y:5}),u.value):g.value+"---"+JSON.stringify({x:W,y:5});setTimeout(()=>{m.value="",l.$parent.closeBox(),l.$parent.$emit("success",{captchaVerification:me})},1e3)}else{O.value=!0,I.value="rgb(var(--varify-error-color2))",D.value="rgb(var(--varify-error-color2))",B.value="#fff",N.value=z0,c.value=!1,setTimeout(()=>{j()},1e3),l.$parent.$emit("error",l);const me={6111:"VERIFY_FAILED",6110:"VERIFY_FAILED_INVALID"};m.value=a(`common.${me[pe==null?void 0:pe.repCode]}`)||a("common.VERIFY_FAILED"),setTimeout(()=>{m.value=""},1e3)}}).catch(()=>{O.value=!0,I.value="rgb(var(--varify-error-color2))",D.value="rgb(var(--varify-error-color2))",B.value="#fff",N.value=z0,c.value=!1,setTimeout(()=>{j()},1e3),l.$parent.$emit("error",l),m.value=a("common.VERIFY_FAILED"),setTimeout(()=>{m.value=""},1e3)}),M.value=!1}}function te(){b.value=o.value,X(),e.nextTick(()=>{const{imgHeight:W,imgWidth:oe,barHeight:ue,barWidth:pe}=kP(l);E.imgHeight=W,E.imgWidth=oe,E.barHeight=ue,E.barWidth=pe,l.$parent.$emit("ready",l)}),window.removeEventListener("touchmove",W=>{U(W)}),window.removeEventListener("mousemove",W=>{U(W)}),window.removeEventListener("touchend",()=>{K()}),window.removeEventListener("mouseup",()=>{K()}),window.addEventListener("touchmove",W=>{U(W)}),window.addEventListener("mousemove",W=>{U(W)}),window.addEventListener("touchend",()=>{K()}),window.addEventListener("mouseup",()=>{K()})}return e.onMounted(()=>{te(),l.$el.onselectstart=function(){return!1}}),{secretKey:u,passFlag:c,backImgBase:d,blockBackImgBase:f,backToken:g,startMoveTime:v,endMovetime:x,tipsBackColor:p,tipWords:m,text:b,finishText:C,setSize:E,top:w,left:P,moveBlockLeft:T,leftBarWidth:_,moveBlockBackgroundColor:I,leftBarBorderColor:D,iconColor:B,iconComponent:N,status:M,isEnd:O,showRefresh:F,transitionLeft:q,transitionWidth:Y,barArea:Q,refresh:j,start:R}}},LP={style:{position:"relative"}},MP=["src"],RP={class:"iconfont icon-refresh"},FP=["textContent"],qP=["textContent"],zP=["src"];function UP(r,t,n,i,s,a){const o=e.resolveComponent("IconRefresh"),l=e.resolveComponent("OIcon");return e.openBlock(),e.createElementBlock("div",LP,[e.createElementVNode("div",{class:"verify-img-out",style:e.normalizeStyle({height:parseInt(i.setSize.imgHeight)+n.vSpace+"px"})},[e.createElementVNode("div",{class:"verify-img-panel",style:e.normalizeStyle({width:i.setSize.imgWidth,height:i.setSize.imgHeight})},[i.backImgBase?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("img",{src:"data:image/png;base64,"+i.backImgBase,alt:"",style:{width:"100%",height:"100%",display:"block"}},null,8,MP),e.withDirectives(e.createElementVNode("div",{class:"verify-refresh",onClick:t[0]||(t[0]=(...u)=>i.refresh&&i.refresh(...u)),onTouchstart:t[1]||(t[1]=e.withModifiers((...u)=>i.refresh&&i.refresh(...u),["prevent"]))},[e.createElementVNode("i",RP,[e.createVNode(o)])],544),[[e.vShow,i.showRefresh]]),e.createVNode(e.Transition,{name:"tips"},{default:e.withCtx(()=>[i.tipWords?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["verify-tips",i.passFlag?"suc-bg":"err-bg"])}," "+e.toDisplayString(i.tipWords),3)):e.createCommentVNode("",!0)]),_:1})],64)):e.createCommentVNode("",!0)],4)],4),e.createElementVNode("div",{class:"verify-bar-area",style:e.normalizeStyle({width:i.setSize.imgWidth,height:n.barSize.height,"line-height":n.barSize.height})},[e.createElementVNode("span",{class:"verify-msg",textContent:e.toDisplayString(i.text)},null,8,FP),e.createElementVNode("div",{class:e.normalizeClass(["verify-left-bar",i.isEnd?i.passFlag?"suc-bg":"err-bg":""]),style:e.normalizeStyle({width:i.leftBarWidth,height:n.barSize.height,"border-color":i.leftBarWidth!==void 0?i.leftBarBorderColor:"transparent",transaction:i.transitionWidth})},[e.createElementVNode("span",{class:"verify-msg",textContent:e.toDisplayString(i.finishText)},null,8,qP),e.createElementVNode("div",{class:"verify-move-block",style:e.normalizeStyle({width:n.barSize.height,height:n.barSize.height,"background-color":i.moveBlockBackgroundColor,"border-color":i.moveBlockBackgroundColor,left:i.moveBlockLeft,transition:i.transitionLeft}),onTouchstart:t[2]||(t[2]=e.withModifiers((...u)=>i.start&&i.start(...u),["prevent"])),onMousedown:t[3]||(t[3]=e.withModifiers((...u)=>i.start&&i.start(...u),["prevent"]))},[e.createVNode(l,{class:"verify-icon",style:e.normalizeStyle({color:i.iconColor})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.iconComponent)))]),_:1},8,["style"]),e.createElementVNode("div",{class:"verify-sub-block",style:e.normalizeStyle({width:Math.floor(parseInt(i.setSize.imgWidth)*47/310)+"px",height:i.setSize.imgHeight,top:"-"+(parseInt(i.setSize.imgHeight)+n.vSpace)+"px","background-size":i.setSize.imgWidth+" "+i.setSize.imgHeight})},[i.blockBackImgBase?(e.openBlock(),e.createElementBlock("img",{key:0,src:"data:image/png;base64,"+i.blockBackImgBase,alt:"",style:{width:"100%",height:"100%",display:"block","-webkit-user-drag":"none"}},null,8,zP)):e.createCommentVNode("",!0)],4)],36)],6)],4)])}const HP=be._export_sfc(PP,[["render",UP]]),jP={name:"Vue2Verify",components:{VerifySlide:HP,IconClose:z0},props:{captchaType:{type:String,required:!0},figure:{type:Number},arith:{type:Number},mode:{type:String,default:"pop"},vSpace:{type:Number},explain:{type:String},imgSize:{type:Object,default(){return{width:"310px",height:"155px"}}},blockSize:{type:Object},barSize:{type:Object},apiType:{type:String,default:"ACCOUNT"},community:{type:String,default:"openeuler"},captchaApis:{type:Object,required:!0}},setup(){const r=e.ref(!1),t=e.ref("VerifySlide"),{t:n}=be.useI18n();return{clickShow:r,componentType:t,closeBox:()=>{r.value=!1},show:()=>{r.value=!0},t:n}}},XP={key:0,class:"verifybox-top"},GP={class:"iconfont icon-close"};function QP(r,t,n,i,s,a){const o=e.resolveComponent("IconClose");return i.clickShow?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(n.mode=="pop"?"mask":""),onTouchstart:e.withModifiers(()=>{},["prevent"])},[e.createElementVNode("div",{class:e.normalizeClass(n.mode=="pop"?"verifybox":""),style:e.normalizeStyle({"max-width":parseInt(n.imgSize.width)+64+"px"})},[n.mode=="pop"?(e.openBlock(),e.createElementBlock("div",XP,[e.createTextVNode(e.toDisplayString(i.t("common.PLEASE_DRAG_SLIDER"))+" ",1),e.createElementVNode("span",{class:"verifybox-close",onClick:t[0]||(t[0]=(...l)=>i.closeBox&&i.closeBox(...l)),onTouchstart:t[1]||(t[1]=e.withModifiers((...l)=>i.closeBox&&i.closeBox(...l),["prevent"]))},[e.createElementVNode("i",GP,[e.createVNode(o)])],32)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"verifybox-bottom",style:e.normalizeStyle({padding:n.mode=="pop"?"15px":"0"})},[i.componentType?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.componentType),{key:0,ref:"instance","captcha-type":n.captchaType,figure:n.figure,arith:n.arith,mode:n.mode,"v-space":n.vSpace,explain:n.explain,"img-size":n.imgSize,"block-size":n.blockSize,"bar-size":n.barSize,"api-type":n.apiType,community:n.community,"captcha-apis":n.captchaApis},null,8,["captcha-type","figure","arith","mode","v-space","explain","img-size","block-size","bar-size","api-type","community","captcha-apis"])):e.createCommentVNode("",!0)],4)],6)],34)):e.createCommentVNode("",!0)}const Qu=be._export_sfc(jP,[["render",QP]]),YP="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%20customFrame='%23000000'%3e%3crect%20id='警示-dark'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20/%3e%3ccircle%20id='椭圆形'%20cx='12'%20cy='12'%20r='9'%20fill='rgb(251,143,43)'%20/%3e%3ccircle%20id='椭圆形'%20cx='12'%20cy='12'%20r='8.5'%20stroke='rgb(151,151,151)'%20stroke-opacity='0'%20stroke-width='1'%20/%3e%3cpath%20id='形状结合'%20d='M2%201C2%200.447715%201.55228%200%201%200C0.447715%200%200%200.447715%200%201C0%201.55228%200.447715%202%201%202C1.55228%202%202%201.55228%202%201ZM1.56068%209.65039C1.66524%209.65039%201.75%209.56563%201.75%209.46107L1.75%203.90039C1.75%203.48618%201.41421%203.15039%201%203.15039C0.585786%203.15039%200.25%203.48618%200.25%203.90039L0.25%209.46107C0.25%209.56563%200.334762%209.65039%200.43932%209.65039L1.56068%209.65039Z'%20fill='rgb(255,255,255)'%20fill-rule='evenodd'%20transform='matrix(1,0,0,-1,11,16.6709)'%20/%3e%3cpath%20id='形状结合'%20d='M1%200C1.55228%200%202%200.447715%202%201C2%201.55228%201.55228%202%201%202C0.447715%202%200%201.55228%200%201C0%200.447715%200.447715%200%201%200ZM1.75%209.46107C1.75%209.56563%201.66524%209.65039%201.56068%209.65039L0.43932%209.65039C0.334762%209.65039%200.25%209.56563%200.25%209.46107L0.25%203.90039C0.25%203.48618%200.585786%203.15039%201%203.15039C1.41421%203.15039%201.75%203.48618%201.75%203.90039L1.75%209.46107Z'%20fill='rgb(151,151,151)'%20fill-opacity='0'%20fill-rule='evenodd'%20transform='matrix(1,0,0,-1,11,16.6709)'%20/%3e%3c/svg%3e",WP="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%20customFrame='%23000000'%3e%3crect%20id='图标%20Icon/警示'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20/%3e%3ccircle%20id='椭圆形'%20cx='12'%20cy='12'%20r='9'%20fill='rgb(250,115,5)'%20/%3e%3ccircle%20id='椭圆形'%20cx='12'%20cy='12'%20r='8.5'%20stroke='rgb(151,151,151)'%20stroke-opacity='0'%20stroke-width='1'%20/%3e%3cpath%20id='形状结合'%20d='M2%201C2%200.447715%201.55228%200%201%200C0.447715%200%200%200.447715%200%201C0%201.55228%200.447715%202%201%202C1.55228%202%202%201.55228%202%201ZM1.56068%209.65039C1.66524%209.65039%201.75%209.56563%201.75%209.46107L1.75%203.90039C1.75%203.48618%201.41421%203.15039%201%203.15039C0.585786%203.15039%200.25%203.48618%200.25%203.90039L0.25%209.46107C0.25%209.56563%200.334762%209.65039%200.43932%209.65039L1.56068%209.65039Z'%20fill='rgb(255,255,255)'%20fill-rule='evenodd'%20transform='matrix(1,0,0,-1,11,16.6709)'%20/%3e%3cpath%20id='形状结合'%20d='M1%200C1.55228%200%202%200.447715%202%201C2%201.55228%201.55228%202%201%202C0.447715%202%200%201.55228%200%201C0%200.447715%200.447715%200%201%200ZM1.75%209.46107C1.75%209.56563%201.66524%209.65039%201.56068%209.65039L0.43932%209.65039C0.334762%209.65039%200.25%209.56563%200.25%209.46107L0.25%203.90039C0.25%203.48618%200.585786%203.15039%201%203.15039C1.41421%203.15039%201.75%203.48618%201.75%203.90039L1.75%209.46107Z'%20fill='rgb(151,151,151)'%20fill-opacity='0'%20fill-rule='evenodd'%20transform='matrix(1,0,0,-1,11,16.6709)'%20/%3e%3c/svg%3e",KP={class:"header"},JP={class:"delete-tip1"},ZP=["src"],$P={key:0,class:"content-tip"},eL={key:0,class:"divider"},tL=e.defineComponent({__name:"ODeleteAccountModal",props:{modelValue:{type:Boolean,default:!1},userInfo:{type:Object,required:!0},clientId:{type:String,required:!0},sendCodeCaptchaPost:{type:Function,required:!0},captchaApis:{type:Object,required:!0}},emits:["update:modelValue","submit","binding"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=S.useMessage(null),{lePadV:s}=et.useScreen(),{isLight:a}=Bn(),o=r,{modelValue:l}=e.toRefs(o),u=t,c=e.ref(),d=e.ref(),f=e.reactive({account:"",code:""}),g=e.ref(""),v=e.computed(()=>a.value?WP:YP);e.watchEffect(()=>{var _,I,D;l.value&&(wn((_=o.userInfo)==null?void 0:_.email)?(g.value="email",f.account=(I=o.userInfo)==null?void 0:I.email):(g.value="phone",f.account=(D=o.userInfo)==null?void 0:D.phoneCountry))});const x=()=>{var _,I,D,B,N,M,O;if(g.value==="email"&&!((_=o.userInfo)!=null&&_.phoneCountry)){u("binding","phone");return}if(g.value==="phone"&&!wn((I=o.userInfo)==null?void 0:I.email)){u("binding","email");return}if(g.value==="email"&&((D=o.userInfo)!=null&&D.phoneCountry))g.value="phone",f.account=(B=o.userInfo)==null?void 0:B.phoneCountry;else if(g.value==="phone"&&wn((N=o.userInfo)==null?void 0:N.email))g.value="email",f.account=(M=o.userInfo)==null?void 0:M.email;else return;(O=c.value)==null||O.resetFields("code")},p=[{required:!0,message:n("common.NOT_EMPTY"),trigger:"blur"}],m=ju(n),b=e.ref(!1),C=_=>{_&&$n(_,"account").subscribe(I=>{if(I)d.value.show();else return!1})},E=_=>{const I={channel:"channel_delete_account",account:f.account,captchaVerification:_.captchaVerification,client_id:o.clientId};o.sendCodeCaptchaPost(I).then(()=>{b.value=!0,i.success({content:n("common.SEND_SUCCESS")})})},w=()=>{var _;u("update:modelValue",!1),(_=c.value)==null||_.resetFields(),f.account="",f.code="",b.value=!1},P=_=>{$n(_).subscribe(I=>{if(I){const D={account:f.account,code:f.code};u("submit",D)}else return!1})},T=_=>{_||w()};return(_,I)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(S.ODialog),{visible:e.unref(l),"onUpdate:visible":I[6]||(I[6]=D=>e.isRef(l)?l.value=D:null),class:"delete-account-dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"690px","--dlg-radius":"4px","--o-radius_control-s":0,"--dlg-edge-gap":"32px","--dlg-header-gap":"32px","--dlg-inner-gap":0},"mask-close":!1,onChange:T},{header:e.withCtx(()=>[e.createElementVNode("h5",KP,e.toDisplayString(e.unref(n)("common.DELETE_ACCOUNT_TITLE")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["footer",{"footer-pad":e.unref(s)}])},[e.createVNode(e.unref(S.OButton),{class:"confirm-btn",size:"large",color:"primary",variant:"outline",disabled:!f.code,onClick:I[5]||(I[5]=D=>P(c.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM_DETELE_ACCOUNT")),1)]),_:1},8,["disabled"]),e.unref(s)?(e.openBlock(),e.createElementBlock("div",eL)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",onClick:w,class:"think-again"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.THINK_AGAIN")),1)]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(S.OForm),{ref_key:"formRef",ref:c,"label-width":"0",model:f,style:e.normalizeStyle([{"max-width":"480px"},{"--form-item-display":"block","--form-label-main-gap":0,"--o-line_height-tip2":"24px","--form-label-gap-top":0,margin:"auto"}]),class:"form"},{default:e.withCtx(()=>[e.createElementVNode("div",JP,[e.createElementVNode("img",{src:v.value,alt:""},null,8,ZP),e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("common.DELETE_ACCOUNT_WARNING")),1)]),g.value?(e.openBlock(),e.createElementBlock("span",$P,e.toDisplayString(g.value==="email"?e.unref(n)("common.EMAIL_CHECK"):e.unref(n)("common.PHONE_CHECK")),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OFormItem),{field:"account",rules:p,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:f.account,"onUpdate:modelValue":I[0]||(I[0]=D=>f.account=D),placeholder:e.unref(n)("common.ENTER_YOUR_EMAIL_OR_PHONE"),disabled:!0,class:"form-input",size:"large",onInput:I[1]||(I[1]=D=>{var B;return(B=c.value)==null?void 0:B.resetFields("code")})},null,8,["modelValue","placeholder"])]),_:1}),e.createVNode(e.unref(S.OFormItem),{field:"code",rules:e.unref(m),style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:f.code,"onUpdate:modelValue":I[4]||(I[4]=D=>f.code=D),class:"form-input",size:"large",placeholder:g.value==="email"?e.unref(n)("common.INPUT_EMAIL_CODE"):e.unref(n)("common.INPUT_PHONE_CODE"),maxlength:"6"},{suffix:e.withCtx(()=>[e.createVNode(cl,{modelValue:b.value,"onUpdate:modelValue":I[2]||(I[2]=D=>b.value=D),color:"primary",size:"small",onClick:I[3]||(I[3]=D=>C(c.value))},null,8,["modelValue"])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),g.value?(e.openBlock(),e.createElementBlock("a",{key:1,onClick:x,class:"content-tip"},e.toDisplayString(g.value==="email"?e.unref(n)("common.USE_PHONE_DELETE_ACCOUNT"):e.unref(n)("common.USE_EMAIL_DELETE_ACCOUNT")),1)):e.createCommentVNode("",!0)]),_:1},8,["model"])]),_:1},8,["visible"]),e.unref(l)?(e.openBlock(),e.createBlock(Qu,{key:0,ref_key:"verify",ref:d,mode:"pop","captcha-type":"blockPuzzle","img-size":e.unref(Uu)(),"captcha-apis":r.captchaApis,onSuccess:E},null,8,["img-size","captcha-apis"])):e.createCommentVNode("",!0)],64))}}),nL=be._export_sfc(tL,[["__scopeId","data-v-87ec4994"]]),iL={class:"header"},rL={class:"main"},sL={class:"confirm-tip"},aL={key:0,class:"divider"},oL=e.defineComponent({__name:"OToBindingTipModal",props:{modelValue:{type:Boolean,default:!1},account:{type:String,required:!0},isDelete:{type:Boolean,default:!1}},emits:["update:modelValue","confirm"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=r,{modelValue:s}=e.toRefs(i),a=t,{lePadV:o}=et.useScreen(),l=()=>{a("confirm"),u()},u=()=>{a("update:modelValue",!1)},c=f=>{f||u()},d=e.computed(()=>i.isDelete?i.account==="email"?n("common.DELETE_EMAIL_BINDING_TIP"):n("common.DELETE_MOBILE_BINDING_TIP"):i.account==="email"?n("common.TO_BINDING_EMAIL_TIP"):n("common.TO_BINDING_MOBILE_TIP"));return(f,g)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{visible:e.unref(s),"onUpdate:visible":g[2]||(g[2]=v=>e.isRef(s)?s.value=v:null),class:"dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"444px","--dlg-radius":"4px","--o-radius_control-s":0,"--dlg-header-gap":"24px","--dlg-inner-gap":"28px","--dlg-edge-gap":"32px"},"mask-close":!1,onChange:c},{header:e.withCtx(()=>[e.createElementVNode("h5",iL,e.toDisplayString(i.account==="email"?e.unref(n)("common.BIND_EMAIL"):e.unref(n)("common.BIND_MOBILE")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["footer",{"footer-pad":e.unref(o)}])},[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit",onClick:g[0]||(g[0]=v=>l())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.TO_BINDING")),1)]),_:1}),e.unref(o)?(e.openBlock(),e.createElementBlock("div",aL)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",type:"submit",onClick:g[1]||(g[1]=v=>u())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1})],2)]),default:e.withCtx(()=>[e.createElementVNode("div",rL,[e.createElementVNode("div",sL,e.toDisplayString(d.value),1)])]),_:1},8,["visible"]))}}),lL=be._export_sfc(oL,[["__scopeId","data-v-54a23ceb"]]),cL={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function uL(r,t){return e.openBlock(),e.createElementBlock("svg",cL,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M27.2 7.936c0.368-0.368 0.944-0.368 1.312 0 0.336 0.32 0.368 0.832 0.096 1.2l-0.096 0.112-13.984 13.968c-0.704 0.704-1.824 0.736-2.592 0.128l-0.144-0.128-6.976-6.944c-0.352-0.368-0.368-0.944 0-1.312 0.336-0.336 0.848-0.368 1.2-0.112l0.128 0.096 6.976 6.944c0.016 0.016 0.032 0.016 0.064 0.016l0.016-0.016 14-13.952z"},null,-1)])])}const Y1={name:"user-center-icon-check",render:uL},dL={class:"form-item-label"},hL={class:"valid-tip-content"},fL={class:"tip-title"},pL={class:"tip-desc"},mL={class:"tip-desc"},gL={id:"form-item-extra",class:"form-item-extra"},vL={key:0,class:"error-tip error-color"},yL=e.defineComponent({__name:"OPasswordPopInput",props:{modelValue:{type:String,default:""},label:{type:String,default:""},username:{type:String,default:""},account:{type:String,default:""}},emits:["update:modelValue"],setup(r,{expose:t,emit:n}){const{t:i}=be.useI18n(),s=r,a=e.ref(!1),o=n,l=e.ref(),u=e.reactive({password:""});u.password=s.modelValue;const c=()=>{o("update:modelValue",u.password),g()},d=e.ref(!1),f=e.ref(!1),g=()=>{const p=u.password;d.value=p.length>0&&Tg.test(p),f.value=p.length>2&&wg.test(p)},v=e.computed(()=>u.password&&(!d.value||!f.value));return t({doValidate:()=>u.password&&d.value&&f.value}),(p,m)=>(e.openBlock(),e.createBlock(e.unref(S.OForm),{ref_key:"formRef",ref:l,style:{"--form-label-main-gap":"0"},"label-width":"0",model:u,class:"password-form",onSubmit:b=>{}},{default:e.withCtx(()=>[e.createElementVNode("div",dL,e.toDisplayString(s.label?s.label:e.unref(i)("common.PASSWORD")),1),e.createVNode(e.unref(S.OFormItem),{field:"password"},{extra:e.withCtx(()=>[e.createElementVNode("div",gL,[v.value&&!a.value?(e.openBlock(),e.createElementBlock("span",vL,e.toDisplayString(e.unref(i)("common.VALID_PASSWORD_ERROR_TIP")),1)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createVNode(e.unref(S.OPopover),{"onUpdate:visible":m[1]||(m[1]=b=>a.value=b),position:"top",trigger:"click-outclick"},{target:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:u.password,"onUpdate:modelValue":m[0]||(m[0]=b=>u.password=b),class:e.normalizeClass({"danger-color":v.value}),size:"large",type:"password",placeholder:e.unref(i)("common.PLEASE_INPUT_PWD"),onInput:c,onFocus:c},null,8,["modelValue","class","placeholder"])]),default:e.withCtx(()=>[e.createElementVNode("div",hL,[e.createElementVNode("div",fL,e.toDisplayString(e.unref(i)("common.PASSWORD_DEMAND")),1),e.createElementVNode("div",{class:e.normalizeClass(["tip-item",{active:d.value}])},[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Y1))]),_:1}),e.createElementVNode("div",pL,e.toDisplayString(e.unref(i)("common.PWD_VAILD_NEW")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(["tip-item",{active:f.value}])},[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Y1))]),_:1}),e.createElementVNode("div",mL,e.toDisplayString(e.unref(i)("common.PWD_REPEAT_VAILD")),1)],2)])]),_:1})]),_:1})]),_:1},8,["model"]))}}),xL=be._export_sfc(yL,[["__scopeId","data-v-1c28a218"]]),CL={class:"header"},bL={key:0},EL={key:0,class:"content-tip"},AL={key:1},kL={class:"footer"},_L={key:2,class:"divider"},TL=e.defineComponent({__name:"OModifyPwd",props:{modelValue:{type:Boolean,default:!1},userInfo:{type:Object,required:!0},clientId:{type:String,required:!0},community:{type:String,required:!0},oneidUrl:{type:String,required:!0},appId:{type:String,required:!0},resetPwd:{type:Function,required:!0},resetPwdVerify:{type:Function,required:!0},sendCodeCaptchaPost:{type:Function,required:!0},captchaApis:{type:Object,required:!0},rsaEncrypt:{type:Function,required:!0}},emits:["update:modelValue","binding","logout"],setup(r,{emit:t}){const{t:n}=be.useI18n(),{lePadV:i}=et.useScreen(),s=r,{modelValue:a}=e.toRefs(s),o=t,l=S.useMessage(null),u=e.ref(),c=e.reactive({account:"",code:"",password:"",confirmPwd:""}),d=e.ref("");e.watchEffect(()=>{var M,O,F;a.value&&(wn((M=s.userInfo)==null?void 0:M.email)?(d.value="email",c.account=(O=s.userInfo)==null?void 0:O.email):(d.value="phone",c.account=(F=s.userInfo)==null?void 0:F.phoneCountry))});const f=()=>{var M,O,F,q,Y,z,Q;if(d.value==="email"&&!((M=s.userInfo)!=null&&M.phoneCountry)){o("binding","phone");return}if(d.value==="phone"&&!wn((O=s.userInfo)==null?void 0:O.email)){o("binding","email");return}if(d.value==="email"&&((F=s.userInfo)!=null&&F.phoneCountry))d.value="phone",c.account=(q=s.userInfo)==null?void 0:q.phoneCountry;else if(d.value==="phone"&&wn((Y=s.userInfo)==null?void 0:Y.email))d.value="email",c.account=(z=s.userInfo)==null?void 0:z.email;else return;(Q=u.value)==null||Q.resetFields("code")},g=[{required:!0,message:n("common.NOT_EMPTY"),trigger:"blur"}],v=ju(n),x=M=>{if(M&&!zu.test(M)&&!_g.test(M))return{type:"danger",message:n("common.ENTER_VAILD_EMAIL_OR_PHONE")}},p=[...g,{validator:x,triggers:"blur"}],m=[...g,...hO(n)],b=M=>{if(M&&M!==c.password)return{type:"danger",message:n("common.CONFIRM_NOT_MATCH_PWD")}},C=[...g,{validator:b,triggers:["change","blur"]}],E=e.ref(!1),w=e.ref(),P=M=>{M&&$n(M,"account").subscribe(O=>{if(O)w.value.show();else return!1})},T=M=>{const O={channel:"channel_reset_password",account:c.account,captchaVerification:M.captchaVerification,client_id:s.clientId};s.sendCodeCaptchaPost(O).then(()=>{E.value=!0,l.success({content:n("common.SEND_SUCCESS")})})},_=e.ref(""),I=M=>{$n(M).subscribe(O=>{if(O){const F={client_id:s.clientId,account:c.account,code:c.code};s.resetPwdVerify(F).then(q=>{_.value=q.data})}else return!1})},D=()=>{var M;o("update:modelValue",!1),(M=u.value)==null||M.resetFields(),c.account="",c.code="",_.value="",E.value=!1},B=M=>{$n(M).subscribe(async O=>{if(O){const F=await s.rsaEncrypt(c.password),q={pwd_reset_token:_.value,new_pwd:F};s.resetPwd(q).then(()=>{l.success({content:n("common.MODIFY_SUCCESS")});const Y=`${s.oneidUrl}/login?redirect_uri=${location.href}`,z={community:s.community};z.community==="opengauss"&&(z.client_id=s.appId),o("logout",{url:Y,param:z})}).catch(Y=>{var z,Q,X,j;((X=(Q=(z=Y==null?void 0:Y.response)==null?void 0:z.data)==null?void 0:Q.msg)==null?void 0:X.code)==="E00056"&&((j=u.value)==null||j.resetFields(["code","password","confirmPwd"]),c.code="",_.value="",E.value=!1)})}else return!1})},N=M=>{M||D()};return(M,O)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(S.ODialog),{visible:e.unref(a),"onUpdate:visible":O[9]||(O[9]=F=>e.isRef(a)?a.value=F:null),class:"modify-dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"690px","--dlg-radius":"2px","--o-radius_control-s":0,"--dlg-edge-gap":"0"},"mask-close":!1,onChange:N},{header:e.withCtx(()=>[e.createElementVNode("h5",CL,e.toDisplayString(e.unref(n)("common.MODIFY_PASSWORD_NEW")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",kL,[_.value?(e.openBlock(),e.createBlock(e.unref(S.OButton),{key:1,size:"large",color:"primary",variant:"solid",onClick:O[8]||(O[8]=F=>B(u.value)),disabled:!c.password||!c.confirmPwd},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1},8,["disabled"])):(e.openBlock(),e.createBlock(e.unref(S.OButton),{key:0,size:"large",color:"primary",variant:"solid",type:"submit",disabled:!c.code,onClick:O[7]||(O[7]=F=>I(u.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.NEXT_STEP")),1)]),_:1},8,["disabled"])),e.unref(i)?(e.openBlock(),e.createElementBlock("div",_L)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"outline",type:"submit",onClick:D},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(e.unref(S.OForm),{ref_key:"formRef",ref:u,"label-width":"0",model:c,style:e.normalizeStyle([{"max-width":"480px"},{"--form-item-display":"block","--form-label-main-gap":0,"--o-line_height-tip2":"24px","--form-label-gap-top":0,margin:"auto"}]),class:"form"},{default:e.withCtx(()=>[_.value?(e.openBlock(),e.createElementBlock("span",AL,[e.createVNode(e.unref(S.OFormItem),{class:"pwd-item",field:"password",rules:m,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(xL,{modelValue:c.password,"onUpdate:modelValue":O[5]||(O[5]=F=>c.password=F),account:c.account,label:e.unref(n)("common.NEW_PWD"),false:"",ref:"passwordPopRef"},null,8,["modelValue","account","label"])]),_:1}),e.createElementVNode("div",null,e.toDisplayString(e.unref(n)("common.CONFIRM_PWD")),1),e.createVNode(e.unref(S.OFormItem),{field:"confirmPwd",rules:C,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:c.confirmPwd,"onUpdate:modelValue":O[6]||(O[6]=F=>c.confirmPwd=F),class:"form-input",size:"large",placeholder:e.unref(n)("common.PLEASE_INPUT_PWD"),type:"password"},null,8,["modelValue","placeholder"])]),_:1})])):(e.openBlock(),e.createElementBlock("span",bL,[d.value?(e.openBlock(),e.createElementBlock("span",EL,e.toDisplayString(d.value==="email"?e.unref(n)("common.EMAIL_CHECK"):e.unref(n)("common.PHONE_CHECK")),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OFormItem),{field:"account",rules:p,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:c.account,"onUpdate:modelValue":O[0]||(O[0]=F=>c.account=F),placeholder:e.unref(n)("common.ENTER_YOUR_EMAIL_OR_PHONE"),disabled:!0,class:"form-input",size:"large",onInput:O[1]||(O[1]=F=>{var q;return(q=u.value)==null?void 0:q.resetFields("code")})},null,8,["modelValue","placeholder"])]),_:1}),e.createVNode(e.unref(S.OFormItem),{field:"code",rules:e.unref(v),style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:c.code,"onUpdate:modelValue":O[4]||(O[4]=F=>c.code=F),class:"form-input",size:"large",placeholder:d.value==="email"?e.unref(n)("common.INPUT_EMAIL_CODE"):e.unref(n)("common.INPUT_PHONE_CODE"),maxlength:"6"},{suffix:e.withCtx(()=>[e.createVNode(cl,{modelValue:E.value,"onUpdate:modelValue":O[2]||(O[2]=F=>E.value=F),color:"primary",size:"small",onClick:O[3]||(O[3]=F=>P(u.value))},null,8,["modelValue"])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),d.value?(e.openBlock(),e.createElementBlock("a",{key:1,onClick:f,class:"content-tip"},e.toDisplayString(d.value==="email"?e.unref(n)("common.USE_PHONE"):e.unref(n)("common.USE_EMAIL")),1)):e.createCommentVNode("",!0)]))]),_:1},8,["model"])]),_:1},8,["visible"]),e.unref(a)?(e.openBlock(),e.createBlock(Qu,{key:0,ref_key:"verify",ref:w,mode:"pop","captcha-type":"blockPuzzle","img-size":e.unref(Uu)(),"captcha-apis":r.captchaApis,onSuccess:T},null,8,["img-size","captcha-apis"])):e.createCommentVNode("",!0)],64))}}),wL=be._export_sfc(TL,[["__scopeId","data-v-aa1ff724"]]),SL={class:"header"},DL={class:"main"},BL={key:0,class:"main-content"},VL={key:0,class:"item-label"},NL={key:1,class:"old-account"},IL={key:2,class:"item-label"},OL={key:4,class:"item-label"},PL={key:6,class:"item-label"},LL={class:"footer"},ML={key:0,class:"divider"},RL=e.defineComponent({__name:"OAppDialog",props:{modelValue:{type:Boolean,default:!1},config:{type:Object,default:()=>({})},operateKey:{type:String,required:!0},userInfo:{type:Object,required:!0},sendCodePost:{type:Function,required:!0},captchaApis:{type:Object,required:!0}},emits:["update:modelValue"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=S.useMessage(null),{lePadV:s}=et.useScreen(),a=e.ref(),o=r,l=e.ref(),{modelValue:u,config:c,operateKey:d}=e.toRefs(o),f=t,g=e.reactive({oldaccount:"",oldcode:"",account:"",code:""}),v=e.computed(()=>{var X;return d.value==="bind_email"||d.value==="bind_phone"||d.value==="modify_email"&&!wn((X=o.userInfo)==null?void 0:X.email)?!g.account||!g.code:d.value==="modify_email"||d.value==="modify_phone"?!g.oldcode||!g.account||!g.code:d.value==="unbind_phone"?!g.code:!1}),x=X=>new Promise((j,R)=>{o.sendCodePost(X).then(()=>{j(!0)}).catch(U=>{R(U)})}),p=e.ref(!1),m=e.ref(!0),b=e.ref(""),C=(X,j)=>{X&&(b.value=j||"account",$n(X,b.value).subscribe(R=>{R&&l.value.show()}))},E=X=>{var R,U,K,te;const j={account:g[b.value],captchaVerification:X.captchaVerification};if((R=c==null?void 0:c.value)!=null&&R.key.includes("unbind"))Object.assign(j,{account_type:c.value.account_type});else{const W=(U=c==null?void 0:c.value)!=null&&U.account_type.includes("phone")?"channel_bind_phone":"channel_bind_email";Object.assign(j,{channel:W})}(((te=(K=c==null?void 0:c.value)==null?void 0:K.code)==null?void 0:te.getCode)||x)(j).then(()=>{i.success({content:n("common.SEND_SUCCESS")}),b.value==="oldaccount"?p.value=!0:m.value=!0})},w=X=>{g.account?$n(X,"account").subscribe(j=>{var R;m.value=!j,(R=a.value)==null||R.clearValidate("account")}):m.value=!0},P=()=>{g.oldaccount="",g.oldcode="",g.account="",g.code="",p.value=!1,m.value=!0},T=()=>{var X,j;P(),g.oldaccount=c.value.account_type==="email"?(X=o.userInfo)==null?void 0:X.email:(j=o.userInfo)==null?void 0:j.phoneCountry,m.value=c.value.key!=="unbind_phone"};T(),e.onBeforeUpdate(()=>{T()});const _=()=>{P(),f("update:modelValue",!1)},I=X=>{X&&$n(X).subscribe(j=>{var R;j&&((R=c==null?void 0:c.value)==null||R.confirm({account_type:c.value.account_type,...g}))})},D=[{validator:Vg(n),triggers:"change"}],B=(X,j,R)=>{var U;if(j)if(g.oldaccount&&g.oldaccount===j){const K=((U=c==null?void 0:c.value)==null?void 0:U.account_type)==="email"?n("common.SAME_EMAIL2"):n("common.SAME_PHONE");R(K)}else R()},N=ju(n),M=[{validator:B,triggers:"change"}],O=[...D,{validator:dO(n),triggers:"change"},...M],F=[...D,{validator:fO(n),triggers:"change"},...M],q=e.computed(()=>{var X,j;return n(`common.${((j=(X=c==null?void 0:c.value)==null?void 0:X.account)==null?void 0:j.placeholder)??"ENTER_NEW_EMAIL"}`)}),Y=e.computed(()=>{var X,j;return n(`common.${((j=(X=c==null?void 0:c.value)==null?void 0:X.code)==null?void 0:j.placeholder)??"ENTER_RECEIVED_CODE"}`)}),z=e.computed(()=>{var j,R,U;return((j=c==null?void 0:c.value)==null?void 0:j.code)&&(c.value.key!=="unbind_phone"||!((R=o.userInfo)!=null&&R.phoneCountryCode)||((U=o.userInfo)==null?void 0:U.phoneCountryCode.includes("+86")))}),Q=X=>{X||_()};return(X,j)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{visible:e.unref(u),"onUpdate:visible":j[10]||(j[10]=R=>e.isRef(u)?u.value=R:null),class:"dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"690px","--dlg-radius":"4px","--o-radius_control-s":0,"--dlg-edge-gap":"32px","--dlg-header-gap":"24px","--dlg-inner-gap":0},"mask-close":!1,onChange:Q},{header:e.withCtx(()=>[e.createElementVNode("h5",SL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).header}`)),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",LL,[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit",disabled:v.value,onClick:j[9]||(j[9]=R=>I(a.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1},8,["disabled"]),e.unref(s)?(e.openBlock(),e.createElementBlock("div",ML)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"outline",type:"submit",onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",DL,[e.unref(c).content?(e.openBlock(),e.createElementBlock("div",BL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).content}`)),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OForm),{ref_key:"formRef",ref:a,"label-width":"0","label-align":"top",model:g,style:e.normalizeStyle([{"max-width":"480px"},{"--form-item-display":"block","--form-label-main-gap":0,"--o-line_height-tip2":"24px","--form-label-gap-top":0,margin:"auto"}]),class:"form",onSubmit:j[8]||(j[8]=e.withModifiers(()=>{},["prevent"]))},{default:e.withCtx(()=>{var R,U,K,te,W,oe,ue,pe,me,Te,Me,he,Ce;return[(R=e.unref(c))!=null&&R.oldaccount&&((U=e.unref(c).oldaccount)!=null&&U.label)?(e.openBlock(),e.createElementBlock("p",VL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).oldaccount.label}`)),1)):e.createCommentVNode("",!0),(K=e.unref(c))!=null&&K.oldaccount?(e.openBlock(),e.createElementBlock("p",NL,e.toDisplayString(g.oldaccount),1)):e.createCommentVNode("",!0),(te=e.unref(c))!=null&&te.oldcode&&((W=e.unref(c).oldcode)!=null&&W.label)?(e.openBlock(),e.createElementBlock("p",IL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).oldcode.label}`)),1)):e.createCommentVNode("",!0),(oe=e.unref(c))!=null&&oe.oldcode&&e.unref(wn)(g==null?void 0:g.oldaccount)?(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:3,field:"oldcode",rules:e.unref(N),style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:g.oldcode,"onUpdate:modelValue":j[2]||(j[2]=Ae=>g.oldcode=Ae),modelModifiers:{trim:!0},placeholder:Y.value,class:"form-input",clearable:!1,size:"large",maxlength:"6"},{suffix:e.withCtx(()=>[e.createVNode(cl,{modelValue:p.value,"onUpdate:modelValue":j[0]||(j[0]=Ae=>p.value=Ae),color:"primary",size:"small",onClick:j[1]||(j[1]=Ae=>C(a.value,"oldaccount"))},null,8,["modelValue"])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"])):e.createCommentVNode("",!0),(ue=e.unref(c))!=null&&ue.account&&((pe=e.unref(c).account)!=null&&pe.label)?(e.openBlock(),e.createElementBlock("p",OL,e.toDisplayString(e.unref(n)(`common.${(Te=(me=e.unref(c))==null?void 0:me.account)==null?void 0:Te.label}`)),1)):e.createCommentVNode("",!0),(Me=e.unref(c))!=null&&Me.account?(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:5,field:"account",rules:e.unref(c).account_type==="email"?O:F,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:g.account,"onUpdate:modelValue":j[3]||(j[3]=Ae=>g.account=Ae),modelModifiers:{trim:!0},placeholder:q.value,class:"form-input",size:"large",onInput:j[4]||(j[4]=Ae=>w(a.value))},null,8,["modelValue","placeholder"])]),_:1},8,["rules"])):e.createCommentVNode("",!0),(he=e.unref(c))!=null&&he.code&&((Ce=e.unref(c).code)!=null&&Ce.label)?(e.openBlock(),e.createElementBlock("p",PL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).code.label}`)),1)):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:7,field:"code",rules:e.unref(N),style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:g.code,"onUpdate:modelValue":j[7]||(j[7]=Ae=>g.code=Ae),modelModifiers:{trim:!0},placeholder:Y.value,class:"form-input",maxlength:"6",size:"large"},{suffix:e.withCtx(()=>[e.createVNode(cl,{modelValue:m.value,"onUpdate:modelValue":j[5]||(j[5]=Ae=>m.value=Ae),color:"primary",size:"small",onClick:j[6]||(j[6]=Ae=>C(a.value))},null,8,["modelValue"])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"])):e.createCommentVNode("",!0)]}),_:1},8,["model"])]),e.createVNode(Qu,{ref_key:"verify",ref:l,mode:"pop","captcha-type":"blockPuzzle","img-size":e.unref(Uu)(),"captcha-apis":r.captchaApis,onSuccess:E},null,8,["img-size","captcha-apis"])]),_:1},8,["visible"]))}}),Yu=be._export_sfc(RL,[["__scopeId","data-v-f3458686"]]),Kn="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%20customFrame='%23000000'%3e%3crect%20id='左箭头'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20fill='rgb(0,%200,%200,%200.6)'%20fill-opacity='0'%20/%3e%3cpath%20id='路径'%20d='M9.29591%205.20665L9.3292%205.23971L14.4679%2010.648C15.1626%2011.3791%2015.1771%2012.5551%2014.5113%2013.3048L14.4679%2013.3521L9.3292%2018.7604C9.19541%2018.9012%209.02504%2018.98%208.85028%2018.9969L8.80254%2019L8.75472%2019C8.56349%2018.9939%208.37401%2018.914%208.22805%2018.7604C7.93484%2018.4518%207.92437%2017.9583%208.19664%2017.6365L8.22805%2017.6015L12.9997%2012.5795C13.2929%2012.2709%2013.3034%2011.7774%2013.0311%2011.4556L12.9997%2011.4206L8.22805%206.39863C7.92398%206.0786%207.92398%205.55974%208.22805%205.23971C8.37466%205.08541%208.56519%205.00551%208.75728%205L8.80531%205.00017C8.98137%205.00649%209.15577%205.07531%209.29591%205.20665Z'%20fill='rgb(0,0,0,%200.6)'%20fill-opacity='0.800000012'%20fill-rule='evenodd'%20/%3e%3cpath%20id='路径'%20d='M13.0311%2011.4556C13.3034%2011.7774%2013.2929%2012.2709%2012.9997%2012.5795L8.22805%2017.6015L8.19664%2017.6365C7.92437%2017.9583%207.93484%2018.4518%208.22805%2018.7604C8.37401%2018.914%208.56349%2018.9939%208.75472%2019L8.80254%2019L8.85028%2018.9969C9.02504%2018.98%209.19541%2018.9012%209.3292%2018.7604L14.4679%2013.3521L14.5113%2013.3048C15.1771%2012.5551%2015.1626%2011.3791%2014.4679%2010.648L9.3292%205.23971L9.29591%205.20665C9.15577%205.07531%208.98137%205.00649%208.80531%205.00017L8.75728%205C8.56519%205.00551%208.37466%205.08541%208.22805%205.23971C7.92398%205.55974%207.92398%206.0786%208.22805%206.39863L12.9997%2011.4206L13.0311%2011.4556Z'%20fill='rgb(0,%200,%200,%200.6)'%20fill-opacity='0'%20fill-rule='evenodd'%20/%3e%3c/svg%3e",Jn="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%20customFrame='%23000000'%3e%3crect%20id='左箭头'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20fill='rgb(255,255,255,%200.6)'%20fill-opacity='0'%20/%3e%3cpath%20id='路径'%20d='M9.29591%205.20665L9.3292%205.23971L14.4679%2010.648C15.1626%2011.3791%2015.1771%2012.5551%2014.5113%2013.3048L14.4679%2013.3521L9.3292%2018.7604C9.19541%2018.9012%209.02504%2018.98%208.85028%2018.9969L8.80254%2019L8.75472%2019C8.56349%2018.9939%208.37401%2018.914%208.22805%2018.7604C7.93484%2018.4518%207.92437%2017.9583%208.19664%2017.6365L8.22805%2017.6015L12.9997%2012.5795C13.2929%2012.2709%2013.3034%2011.7774%2013.0311%2011.4556L12.9997%2011.4206L8.22805%206.39863C7.92398%206.0786%207.92398%205.55974%208.22805%205.23971C8.37466%205.08541%208.56519%205.00551%208.75728%205L8.80531%205.00017C8.98137%205.00649%209.15577%205.07531%209.29591%205.20665Z'%20fill='rgb(255,%20255,%20255,%200.6)'%20fill-opacity='0.800000012'%20fill-rule='evenodd'%20/%3e%3cpath%20id='路径'%20d='M13.0311%2011.4556C13.3034%2011.7774%2013.2929%2012.2709%2012.9997%2012.5795L8.22805%2017.6015L8.19664%2017.6365C7.92437%2017.9583%207.93484%2018.4518%208.22805%2018.7604C8.37401%2018.914%208.56349%2018.9939%208.75472%2019L8.80254%2019L8.85028%2018.9969C9.02504%2018.98%209.19541%2018.9012%209.3292%2018.7604L14.4679%2013.3521L14.5113%2013.3048C15.1771%2012.5551%2015.1626%2011.3791%2014.4679%2010.648L9.3292%205.23971L9.29591%205.20665C9.15577%205.07531%208.98137%205.00649%208.80531%205.00017L8.75728%205C8.56519%205.00551%208.37466%205.08541%208.22805%205.23971C7.92398%205.55974%207.92398%206.0786%208.22805%206.39863L12.9997%2011.4206L13.0311%2011.4556Z'%20fill='rgb(255,%20255,%20255,%200.6)'%20fill-opacity='0'%20fill-rule='evenodd'%20/%3e%3c/svg%3e",FL={key:0,class:"title"},qL={class:"tips-title"},zL={class:"tips-content"},UL={class:"tips-desc"},HL={key:0,class:"forget-btn"},jL=["src"],XL={class:"tips"},GL={class:"tips-title"},QL={class:"tips-content tips-bg"},YL=["href"],WL=["href"],KL={key:0},JL={class:"tips-title"},ZL={class:"tips-content"},$L={class:"tips-desc"},eM=["src"],tM=e.defineComponent({__name:"OAccountSecurity",props:{userInfo:{},mainDomainUrl:{},clientId:{},community:{},oneidUrl:{},appId:{},pwdVisible:{type:Boolean,default:!0},deleteAccount:{},bindAccountPost:{},sendCodePost:{},rsaEncrypt:{},captchaApis:{},resetPwd:{},resetPwdVerify:{},sendCodeCaptchaPost:{}},emits:["refresh","logout"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),s=S.useMessage(null),{lePadV:a}=et.useScreen(),{isLight:o}=Bn(),l=r,u=t,c=e.ref(!1),d=e.ref(!1),f=e.ref(!1),g=e.ref("email"),v=e.ref(!1),x=B=>{g.value=B,v.value=!0},p=e.ref(!1),m=e.ref("bind_email"),b={bind_email:{key:"bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",account:{label:"EMAIL",placeholder:"INPUT_NEW_EMAIL"},code:{label:"EMAIL_CODE",placeholder:"ENTER_EMAIL_CODE"},confirm:B=>{w(B)}},bind_phone:{key:"bind_phone",account_type:"phone",field:"change",header:"BIND_PHONE",account:{label:"PHONE",placeholder:"INPUT_NEW_PHONE"},code:{label:"SMS_CODE",placeholder:"INPUT_PHONE_CODE"},confirm:B=>{w(B)}}},C=()=>{!wn(l.userInfo.email)&&!l.userInfo.phone?(v.value=!0,f.value=!0):c.value=!0},E=B=>{l.deleteAccount(B).then(()=>{s.success({content:n("common.DELETE_SUCCESS")}),c.value=!1,u("logout")})},w=B=>{l.bindAccountPost(B).then(()=>{s.success({content:n("common.BIND_SUCCESS")}),p.value=!1,u("refresh")})},P=e.computed(()=>[{url:`${l.mainDomainUrl}/privacy`,urlEn:`${l.mainDomainUrl}/privacy/en`},{url:`${l.mainDomainUrl}/legal`,urlEn:`${l.mainDomainUrl}/legal/en`}]),T=()=>{!wn(l.userInfo.email)&&!l.userInfo.phone?v.value=!0:d.value=!0},_=(B,N)=>{const M=`${B}_${N}`;m.value=M,p.value=!0},I=()=>{c.value=!1,f.value=!1,g.value==="email"?(d.value=!1,_("bind","email")):(d.value=!1,_("bind","phone"))},D=B=>{g.value=B,v.value=!0,f.value=!0};return(B,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass({"security-pad":e.unref(a)})},[e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",FL,e.toDisplayString(e.unref(n)("common.SECURITY")),1)),r.pwdVisible?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["tips",{"tips-inline":e.unref(a)}])},[e.createElementVNode("div",qL,e.toDisplayString(e.unref(n)("common.LOGIN_PASSWORD")),1),e.createElementVNode("div",zL,[e.createElementVNode("span",UL,e.toDisplayString(e.unref(n)("common.MODIFY_PWD_TIP")),1),e.unref(a)?(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(o)?e.unref(Kn):e.unref(Jn),alt:"",class:"arrow",onClick:T},null,8,jL)):(e.openBlock(),e.createElementBlock("div",HL,[e.createVNode(e.unref(S.OLink),{color:"primary",class:"nowrap",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.MODIFY")),1)]),_:1})]))])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",XL,[e.createElementVNode("div",GL,e.toDisplayString(e.unref(n)("common.SIGNED_AGREEMENT")),1),e.createElementVNode("div",QL,[e.createElementVNode("span",null,[e.createElementVNode("a",{href:e.unref(i)==="zh"?P.value[0].url:P.value[0].urlEn,target:"_blank"},e.toDisplayString(e.unref(n)("common.PRIVACY_POLICY")),9,YL),e.createTextVNode(" "+e.toDisplayString(e.unref(n)("common.AND"))+" ",1),e.createElementVNode("a",{href:e.unref(i)==="zh"?P.value[1].url:P.value[1].urlEn,target:"_blank"},e.toDisplayString(e.unref(n)("common.LEGAL_NOTICE")),9,WL),r.userInfo.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",KL,e.toDisplayString(e.unref(n)("common.SIGN"))+e.toDisplayString(e.unref(KI)(r.userInfo.privacySignedTime,e.unref(i))),1))])])]),e.createElementVNode("div",{class:e.normalizeClass(["tips",{"tips-inline":e.unref(a)}])},[e.createElementVNode("div",JL,e.toDisplayString(e.unref(n)("common.DELETE_ACCOUNT_TITLE")),1),e.createElementVNode("div",ZL,[e.createElementVNode("span",$L,e.toDisplayString(e.unref(n)("common.DELETE_ACCOUNT_TIPS")),1),e.unref(a)?(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(o)?e.unref(Kn):e.unref(Jn),alt:"",class:"arrow",onClick:C},null,8,eM)):(e.openBlock(),e.createElementBlock("div",{key:0,class:"text-btn red",onClick:C},e.toDisplayString(e.unref(n)("common.DEREGISTER")),1))])],2)],2),e.createVNode(nL,{modelValue:c.value,"onUpdate:modelValue":N[0]||(N[0]=M=>c.value=M),"user-info":r.userInfo,"client-id":r.clientId,"send-code-captcha-post":r.sendCodeCaptchaPost,"captcha-apis":r.captchaApis,onSubmit:E,onBinding:D},null,8,["modelValue","user-info","client-id","send-code-captcha-post","captcha-apis"]),e.createVNode(wL,{modelValue:d.value,"onUpdate:modelValue":N[1]||(N[1]=M=>d.value=M),"rsa-encrypt":r.rsaEncrypt,"user-info":r.userInfo,"client-id":r.clientId,community:r.community,"oneid-url":r.oneidUrl,"app-id":r.appId,"reset-pwd":r.resetPwd,"reset-pwd-verify":r.resetPwdVerify,"send-code-captcha-post":r.sendCodeCaptchaPost,"captcha-apis":r.captchaApis,onBinding:x,onLogout:N[2]||(N[2]=M=>u("logout",M))},null,8,["modelValue","rsa-encrypt","user-info","client-id","community","oneid-url","app-id","reset-pwd","reset-pwd-verify","send-code-captcha-post","captcha-apis"]),e.createVNode(lL,{modelValue:v.value,"onUpdate:modelValue":N[3]||(N[3]=M=>v.value=M),account:g.value,onConfirm:I,isDelete:f.value},null,8,["modelValue","account","isDelete"]),e.createVNode(Yu,{modelValue:p.value,"onUpdate:modelValue":N[4]||(N[4]=M=>p.value=M),config:b[m.value],"operate-key":m.value,"user-info":r.userInfo,"send-code-post":r.sendCodePost,"captcha-apis":r.captchaApis},null,8,["modelValue","config","operate-key","user-info","send-code-post","captcha-apis"])],64))}}),W1=be._export_sfc(tM,[["__scopeId","data-v-b82ab288"]]),nM={width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};function iM(r,t){return e.openBlock(),e.createElementBlock("svg",nM,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M19.7302143,3.7590332 C20.8347769,3.7590332 21.7302074,4.65446353 21.7302074,5.7590332 L21.7302074,11.2494191 C21.7302074,11.6360247 21.4168126,11.9494212 21.0302108,11.9494212 C20.643609,11.9494212 20.3302142,11.6360247 20.3302142,11.2494191 L20.3304289,6.00074187 C19.2986037,6.85443694 16.9329556,8.81168905 13.2334847,11.8724982 C12.4849639,12.4917966 11.399646,12.4836263 10.6605433,11.853125 C10.6605433,11.853125 8.29408169,9.83438585 3.56115837,5.79690763 L3.56137022,18.2997234 C3.56137022,18.6310996 3.83001113,18.8997205 4.16137695,18.8997205 L19.7302143,18.8997205 C20.0615733,18.8997205 20.3302142,18.6310996 20.3302142,18.2997234 L20.3302142,14.2535395 C20.3302142,13.8669339 20.643609,13.5535374 21.0302108,13.5535374 C21.4168126,13.5535374 21.7302074,13.8669339 21.7302074,14.2535395 L21.7302074,18.2997234 C21.7302074,19.4042943 20.8347769,20.2997246 19.7302143,20.2997246 L4.16137695,20.2997246 C3.0568075,20.2997246 2.16137695,19.4042943 2.16137695,18.2997234 L2.16137695,5.7590332 C2.16137695,4.65446353 3.0568075,3.7590332 4.16137695,3.7590332 L19.7302143,3.7590332 Z M19.1508914,5.15959067 L4.97116245,5.15953281 C6.08234646,6.10744194 8.28167148,7.9836031 11.5691375,10.7880163 C11.7908756,10.9771675 12.1164692,10.9796194 12.3410309,10.7938315 C12.3410309,10.7938315 14.6109844,8.91575122 19.1508914,5.15959067 Z",id:"形状结合",fill:"currentColor"},null,-1)])])}const rM={name:"user-center-icon-email",render:iM},sM={width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};function aM(r,t){return e.openBlock(),e.createElementBlock("svg",sM,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M16.6999228,2.30001831 C17.8044982,2.30001831 18.6999264,3.19544469 18.6999264,4.30002247 L18.6999264,8.65146179 C18.6999264,9.03804558 18.3865272,9.35145257 17.9999238,9.35145257 C17.6133338,9.35145257 17.2999268,9.03804558 17.2999268,8.65146179 L17.2999268,4.30002247 C17.2999268,3.96865108 17.0312914,3.70001793 16.6999228,3.70001793 L7.29992676,3.70001793 C6.96856171,3.70001793 6.69993192,3.96865108 6.69993192,4.30002247 L6.69993192,19.7000179 C6.69993192,20.0313852 6.96856171,20.300017 7.29992676,20.300017 L16.6999228,20.300017 C17.0312914,20.300017 17.2999268,20.0313852 17.2999268,19.7000179 L17.2999268,11.0556261 C17.2999268,10.6690229 17.6133338,10.355616 17.9999238,10.355616 C18.3865272,10.355616 18.6999264,10.6690229 18.6999264,11.0556261 L18.6999264,19.7000179 C18.6999264,20.8045915 17.8044982,21.7000179 16.6999228,21.7000179 L7.29992676,21.7000179 C6.19535493,21.7000179 5.29992676,20.8045915 5.29992676,19.7000179 L5.29992676,4.30002247 C5.29992676,3.19544469 6.19535493,2.30001831 7.29992676,2.30001831 Z M11.9949341,16.4677582 C12.8233601,16.4677582 13.4949341,17.1393322 13.4949341,17.9677582 C13.4949341,18.7961842 12.8233601,19.4677582 11.9949341,19.4677582 C11.1665081,19.4677582 10.4949341,18.7961842 10.4949341,17.9677582 C10.4949341,17.1393322 11.1665081,16.4677582 11.9949341,16.4677582 Z M11.9949341,17.4677582 C11.7187921,17.4677582 11.4949341,17.6916162 11.4949341,17.9677582 C11.4949341,18.2439002 11.7187921,18.4677582 11.9949341,18.4677582 C12.2710761,18.4677582 12.4949341,18.2439002 12.4949341,17.9677582 C12.4949341,17.6916162 12.2710761,17.4677582 11.9949341,17.4677582 Z M14.999939,4.50001526 C15.552227,4.50001526 15.999939,4.94772626 15.999939,5.50001526 L15.999939,14.5000153 C15.999939,15.0523043 15.552227,15.5000153 14.999939,15.5000153 L8.99993896,15.5000153 C8.44765096,15.5000153 7.99993896,15.0523043 7.99993896,14.5000153 L7.99993896,5.50001526 C7.99993896,4.94772626 8.44765096,4.50001526 8.99993896,4.50001526 L14.999939,4.50001526 Z M14.999939,5.50001526 L8.99993896,5.50001526 L8.99993896,14.5000153 L14.999939,14.5000153 L14.999939,5.50001526 Z",id:"形状结合",fill:"currentColor"},null,-1)])])}const oM={name:"user-center-icon-phone",render:aM},lM={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function cM(r,t){return e.openBlock(),e.createElementBlock("svg",lM,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M21.483 8.021c0.335 0.247 0.406 0.719 0.158 1.054-0.607 0.821-1.304 1.591-2.067 2.282 0.008 0.006 0.015 0.014 0.021 0.022l2.054 2.439c0.268 0.318 0.227 0.794-0.091 1.062s-0.794 0.227-1.062-0.091l-2.054-2.439-0.031-0.042c-0.79 0.581-1.63 1.077-2.499 1.46l0.965 3.406c0.113 0.4-0.119 0.817-0.519 0.93s-0.817-0.119-0.93-0.519l-0.935-3.301c-0.838 0.24-1.691 0.371-2.543 0.371-0.507 0-1.015-0.046-1.52-0.134l-0.869 3.067c-0.113 0.4-0.53 0.633-0.93 0.519s-0.633-0.53-0.519-0.93l0.858-3.028c-1.017-0.34-2.005-0.839-2.935-1.459l-1.817 2.158c-0.268 0.318-0.743 0.359-1.062 0.091s-0.359-0.743-0.091-1.062l1.76-2.089c-0.917-0.761-1.754-1.638-2.473-2.588-0.251-0.332-0.186-0.804 0.146-1.055s0.804-0.186 1.055 0.146c2.106 2.783 5.337 4.859 8.397 4.859 3.105 0 6.391-2.144 8.478-4.968 0.247-0.335 0.719-0.406 1.054-0.158z"},null,-1)])])}const uM={name:"user-center-icon-eye-off",render:cM},dM={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function hM(r,t){return e.openBlock(),e.createElementBlock("svg",dM,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12.028 4.789c1.794 0 3.578 0.6 5.242 1.658 0.326 0.208 0.422 0.64 0.215 0.966s-0.64 0.422-0.966 0.215c-1.453-0.925-2.985-1.439-4.491-1.439-2.045 0-4.153 0.957-5.97 2.53-1.428 1.236-2.473 2.745-2.473 3.279 0 0.536 1.040 2.047 2.461 3.283 1.809 1.574 3.91 2.531 5.955 2.531s4.146-0.958 5.955-2.532c1.421-1.236 2.461-2.748 2.461-3.284 0-0.448-0.785-1.685-1.934-2.806-0.277-0.27-0.282-0.713-0.012-0.99s0.713-0.282 0.99-0.012c1.398 1.365 2.356 2.874 2.356 3.808 0 2.596-5.311 7.216-9.816 7.216s-9.816-4.62-9.816-7.214c0-2.589 5.338-7.208 9.843-7.208zM11.987 8.392c2.005 0 3.63 1.625 3.63 3.63s-1.625 3.63-3.63 3.63c-2.005 0-3.63-1.625-3.63-3.63s1.625-3.63 3.63-3.63zM11.987 9.792c-1.232 0-2.23 0.998-2.23 2.23s0.998 2.23 2.23 2.23c1.232 0 2.23-0.998 2.23-2.23s-0.998-2.23-2.23-2.23z"},null,-1)])])}const fM={name:"user-center-icon-eye",render:hM},pM=e.defineComponent({__name:"OMaskEye",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(r,{emit:t}){const n=r,{modelValue:i}=e.toRefs(n),s=t,a=()=>{s("update:modelValue",!i.value)};return(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(i)?e.unref(uM):e.unref(fM)),{class:"eyes",onClick:a}))}}),mM=be._export_sfc(pM,[["__scopeId","data-v-a1344e1a"]]),gM={class:"user-info-setting"},vM={class:"title"},yM={key:0,class:"login-setting"},xM={class:"section-label"},CM={class:"center left-content"},bM={class:"center left-content"},EM={key:0,class:"content-info"},AM={class:"opt-label"},kM={key:1,class:"content-info"},_M={class:"center"},TM={key:0,class:"fs16 unbind"},wM=["src","onClick"],SM=["src","onClick"],DM=e.defineComponent({__name:"OAccountSetting",props:{userInfo:{},phoneUnbindable:{type:Boolean,default:!0},phoneVisible:{type:Boolean,default:!0},bindAccountPost:{},modifyAccountPost:{},sendUnbindCodePost:{},unbindAccountPost:{},captchaApis:{}},emits:["refresh"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),s=S.useMessage(null),{lePadV:a}=et.useScreen(),{isLight:o}=Bn(),l=r,u=t,c=e.ref([{key:"email",icon:rM,label:n("common.EMAIL_ADDRESS"),operate:[""],value:"",isMask:!0},{key:"phone",icon:oM,label:n("common.BINDING_PHONE"),operate:["unbind"],value:"",isMask:!0}]),d=e.computed(()=>c.value.filter(w=>w.key!=="phone"||l.phoneVisible)),f=()=>{c.value.forEach(w=>{if(w.key in l.userInfo){const P=w.key==="phone"?"phoneCountry":w.key;w.value=l.userInfo[P]}})},g=e.ref(!1),v=w=>{(wn(w==null?void 0:w.oldaccount)?l.modifyAccountPost:l.bindAccountPost)(w).then(()=>{s.success({content:n("common.MODIFY_SUCCESS")}),g.value=!1,u("refresh")})},x=w=>{l.bindAccountPost(w).then(()=>{s.success({content:n("common.BIND_SUCCESS")}),g.value=!1,u("refresh")})},p=w=>{l.unbindAccountPost(w).then(()=>{s.success({content:n("common.UNBIND_SUCCESS")}),g.value=!1,u("refresh")})},m=w=>new Promise((P,T)=>{l.sendUnbindCodePost(w).then(()=>{P(!0)}).catch(_=>{T(_)})}),b=e.ref("bind_email"),C={confirm_bind_email:{key:"confirm_bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",content:"CONFIRM_BIND_EMAIL",confirm:()=>{b.value="bind_email",g.value=!0}},bind_email:{key:"bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",account:{label:"EMAIL",placeholder:"INPUT_NEW_EMAIL"},code:{label:"EMAIL_CODE",placeholder:"ENTER_EMAIL_CODE"},confirm:w=>{x(w)}},modify_email:{key:"modify_email",account_type:"email",field:"change",header:"MODIFY_EMAIL",content:"",oldaccount:{label:"AUTHENTICATION"},oldcode:{placeholder:"INPUT_EMAIL_CODE"},account:{label:"BIND_NEW_EMAIL",placeholder:"INPUT_NEW_EMAIL"},code:{placeholder:"INPUT_EMAIL_CODE"},confirm:w=>{v(w)}},bind_phone:{key:"bind_phone",account_type:"phone",field:"change",header:"BIND_PHONE",account:{label:"PHONE",placeholder:"INPUT_NEW_PHONE"},code:{label:"SMS_CODE",placeholder:"INPUT_PHONE_CODE"},confirm:w=>{x(w)}},modify_phone:{key:"modify_phone",account_type:"phone",field:"change",header:"MODIFY_PHONE",content:"",oldaccount:{label:"AUTHENTICATION"},oldcode:{placeholder:"INPUT_PHONE_CODE"},account:{label:"BIND_NEW_PHONE",placeholder:"INPUT_NEW_PHONE"},code:{placeholder:"INPUT_PHONE_CODE"},confirm:w=>{v(w)}},unbind_phone:{key:"unbind_phone",account_type:"phone",field:"change",header:"UNBIND_PHONE",oldaccount:{label:"PHONE"},code:{placeholder:"INPUT_PHONE_CODE",getCode:w=>(w.account=l.userInfo.phoneCountry,m(w))},confirm:w=>{w.account=l.userInfo.phoneCountry,p(w)}}},E=(w,P)=>{if(!wn(l.userInfo.email)&&w==="unbind")b.value="confirm_bind_email";else{const T=`${w}_${P}`;b.value=T}g.value=!0};return e.onMounted(()=>{f()}),e.watch(()=>l.userInfo,()=>{f()}),(w,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",gM,[e.createElementVNode("div",vM,e.toDisplayString(e.unref(n)("common.settingText")),1),e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",yM,e.toDisplayString(e.unref(n)("common.settingTextDesc")),1)),e.createElementVNode("div",xM,e.toDisplayString(e.unref(n)("common.EMAIL_AND_PHONE_BIND")),1),e.createElementVNode("div",{class:e.normalizeClass(["setting-content",{"setting-content-pad":e.unref(a)}])},[e.createVNode(e.unref(S.OSkeleton),{animation:!0,loading:r.userInfo.loading},{template:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(T,_)=>(e.openBlock(),e.createElementBlock("div",{key:T.key,class:e.normalizeClass(["opt-item",{itemGap:_,"lang-en":e.unref(i)==="en"}])},[e.createElementVNode("div",CM,[e.createVNode(e.unref(S.OIcon),{class:"icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(T.icon)))]),_:2},1024),e.createElementVNode("span",{class:e.normalizeClass(["content-label nowrap",{"content-label-en":e.unref(i)==="en"}])},e.toDisplayString(T.label),3)]),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"skeleton-text"})],2))),128))]),default:e.withCtx(()=>[r.userInfo.loading?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(d.value,(T,_)=>{var I;return e.openBlock(),e.createElementBlock("div",{key:T.key,class:e.normalizeClass(["opt-item",{itemGap:_,"lang-en":e.unref(i)==="en"}])},[e.createElementVNode("div",bM,[e.createVNode(e.unref(S.OIcon),{class:"icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(T.icon)))]),_:2},1024),e.createElementVNode("span",{class:e.normalizeClass(["content-label nowrap",{"content-label-en":e.unref(i)==="en"}])},e.toDisplayString(T.label),3),T.value?(e.openBlock(),e.createElementBlock("span",EM,[e.createElementVNode("span",AM,e.toDisplayString(e.unref(WI)(T.value,T.isMask)),1)])):(e.openBlock(),e.createElementBlock("span",kM,e.toDisplayString(e.unref(n)("common.UNBIND")),1)),T.value&&!e.unref(a)?(e.openBlock(),e.createBlock(e.unref(S.OIcon),{key:2,class:"icon mask-icon"},{default:e.withCtx(()=>[e.createVNode(mM,{modelValue:T.isMask,"onUpdate:modelValue":D=>T.isMask=D},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):e.createCommentVNode("",!0)]),e.createElementVNode("div",_M,[e.unref(a)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[T.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:e.unref(o)?e.unref(Kn):e.unref(Jn),alt:"",onClick:D=>E("modify",T.key)},null,8,wM)):(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(o)?e.unref(Kn):e.unref(Jn),alt:"",onClick:D=>E("bind",T.key)},null,8,SM))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[T.value&&((I=T.operate)!=null&&I.includes("unbind"))&&r.phoneUnbindable?(e.openBlock(),e.createElementBlock("span",TM,[e.createVNode(e.unref(S.OLink),{onClick:D=>E("unbind",T.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.UNBIND_EMAIL")),1)]),_:1},8,["onClick"])])):e.createCommentVNode("",!0),T.value?(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:1,color:"primary",class:"fs16",onClick:D=>E("modify",T.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.MODIFY")),1)]),_:1},8,["onClick"])):(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:2,color:"primary",class:"fs16",onClick:D=>E("bind",T.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.BIND")),1)]),_:1},8,["onClick"]))],64))])],2)}),128))]),_:1},8,["loading"])],2)]),e.createVNode(Yu,{modelValue:g.value,"onUpdate:modelValue":P[0]||(P[0]=T=>g.value=T),config:C[b.value],"operate-key":b.value,"user-info":r.userInfo,"send-code-post":r.sendUnbindCodePost,"captcha-apis":r.captchaApis},null,8,["modelValue","config","operate-key","user-info","send-code-post","captcha-apis"])],64))}}),K1=be._export_sfc(DM,[["__scopeId","data-v-dcee759f"]]),BM={class:"common-header"},VM=e.defineComponent({__name:"OCommonHeader",props:{logo:{},navData:{},community:{default:""},bgLeft:{},bgRight:{},langOptions:{},theme:{default:"light"},activeIndex:{default:-1},simpleHeader:{type:Boolean,default:!1},headerTitle:{default:""},locale:{default:"zh"}},emits:["go-home","handle-click","go-back","lang-click","lang-change","theme-change"],setup(r,{emit:t}){const n=r,i=t,{lePadV:s}=et.useScreen(),a=e.computed(()=>n.locale==="zh"),o=e.computed(()=>n.theme),l=e.computed(()=>n.theme==="dark"),u=m=>{i("theme-change",m||(l.value?"light":"dark"))},c=e.computed(()=>{const m=n.logo;if(typeof m=="string")return m;const b=m.zh?a.value?m.zh:m.en:m;return l.value?b.dark:b.light}),d=e.computed(()=>n.activeIndex),f=e.computed(()=>n.simpleHeader),g=e.computed(()=>n.headerTitle),v=[{id:"zh",label:"简体中文",simple:"中"},{id:"en",label:"English",simple:"EN"}],x=e.computed(()=>{var m;return(m=n.langOptions)!=null&&m.length?n.langOptions:v}),p=m=>{i("lang-change",m)};return(m,b)=>(e.openBlock(),e.createElementBlock("header",BM,[e.unref(s)?(e.openBlock(),e.createBlock(w0,{key:0,logo:c.value,"nav-data":r.navData,"active-index":d.value,"is-simple-header":f.value,"header-title":g.value,community:r.community,"bg-left":r.bgLeft,"bg-right":r.bgRight,onGoBack:b[0]||(b[0]=C=>i("go-back")),onGoHome:b[1]||(b[1]=C=>i("go-home")),onHandleClick:b[2]||(b[2]=C=>i("handle-click",C)),onLangClick:b[3]||(b[3]=C=>i("lang-click",C))},e.createSlots({_:2},[m.$slots.rightConfig?{name:"rightConfig",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"rightConfig",{},void 0,!0)]),key:"0"}:void 0,m.$slots.toolbar?{name:"toolbar",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"toolbar",{isMobile:!0,theme:o.value,setTheme:u,isDark:l.value,locale:r.locale,onLangChange:p,langOptions:x.value},void 0,!0)]),key:"1"}:void 0,m.$slots.tool?{name:"tool",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"tool",{theme:o.value,setTheme:u,isMobile:!0},void 0,!0)]),key:"2"}:void 0]),1032,["logo","nav-data","active-index","is-simple-header","header-title","community","bg-left","bg-right"])):(e.openBlock(),e.createBlock(T0,{key:1,community:r.community,logo:c.value,"nav-data":r.navData,"active-index":d.value,"bg-left":r.bgLeft,"bg-right":r.bgRight,onGoHome:b[4]||(b[4]=C=>i("go-home")),onHandleClick:b[5]||(b[5]=C=>i("handle-click",C))},e.createSlots({_:2},[m.$slots.toolbar?{name:"toolbar",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"toolbar",{isMobile:!1,theme:o.value,setTheme:u,isDark:l.value,locale:r.locale,onLangChange:p,langOptions:x.value},void 0,!0)]),key:"0"}:void 0]),1032,["community","logo","nav-data","active-index","bg-left","bg-right"]))]))}}),NM=be._export_sfc(VM,[["__scopeId","data-v-9ee82b0c"]]),IM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAAABHNCSVQICAgIfAhkiAAAExdJREFUeJztnVusHEV6x/9fTc+lp+eMfcYGvDxY8vIIyAgr0fIAYhWBBIsgioODBS8rFuIliQQS2hf84AeQshFSgA0BlpC8gLyxxYpdQZBAkSx48CqRLSzDI2sJIePF8eXMTHX3zJmuLw+eGs+5z6W7q3umftJIHp/pqv9M/7uuX1URLBvSbrd3CSFuIaI9SqndRHQzgF0AbmDmBhHVAdQAuP3XMEH/1WbmJhFdBnARwAVmPi+E+IaZzymlvq7VahfS/F55gkwLyApSyjsB7COiO4jodqXUrUTUSCNvZr4shPiKmc8y8xcATnmedzqNvLPO3Bo0CIJ7lFL3ArhbCHEXM3umNQ1DRFIpdRLA50KIE67rfmZakwnmxqDMfGMYhg8x8wNEdD8z101rGgciajLzJ0T0caVS+ZCIvjetKQ1m2qDM3Oh0Oo9GUbSfiO4zrSdOmPnTQqHwfrlcPt5v384kM2lQKeXDRPQ4gAOmtaTEMWZ+z/O835sWEjczY9B2u31ToVD4GYAnmXmPaT0mIKJzAN6JoujfarXan0zriYPcG7Tb7e6NougZZn7atJYsQUS/LhQK/1oqlc6Y1jINuTWo7/t3AXgW81ONT8oxAK9Uq9WTpoVMQu4MKq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NsgWiS3BhUI6XcR0S/ADDTZ4kmwFHHcX456s7GWSF3BtX4vn8XgGdhjboVRwG8MsqBBVkktwbVdLvdvVEUPcPMT5vWkiWY+S3HcV7f6hyirJN7g2ra7fZNhULhZwCenNVTmreCiM4BeKdSqby92fGCeWJmDDqMlPJhInoc81P9H2Pm9zzP+71pIXEzkwbVMHOj0+k8GkXRfiK6z7SeOGHmTwuFwvvlcvk4EV02rScpZtqgwzDzjWEYPsTMDxDR/cxcN61pHIioycyfENHHlUrlw1mpwrdibgy6miAI7lFK3QvgbiHEXczsmdY0DBFJpdRJAJ8LIU64rvuZaU0mmFuDrkZKeSeAfUR0BxHdrpS6lYgaaeTNzJeFEF8x81lm/gLAKc/zTqeRd9axBt2Edru9SwhxCxHtUUrtJqKbAewCcAMzN4ioDqAGwO2/hgn6rzYzN/vtxIsALjDzeSHEN8x8Tin1da1Wu5Dm98oT/w8pdfSL5U+vDQAAAABJRU5ErkJggg==",OM={class:"header-toolbar"},PM={class:"header-user-mb"},LM=e.defineComponent({__name:"OAppHeader",props:{navData:{},logo:{},mainDomainUrl:{},homeUrl:{default:""},theme:{default:"light"},activeIndex:{default:-1},simpleHeader:{type:Boolean,default:!1},headerTitle:{default:""},getSearchWord:{},getSearchPop:{},user:{},onLogin:{},onLogout:{},langOptions:{default:()=>[{id:"zh",label:"简体中文",simple:"中"},{id:"en",label:"English",simple:"EN"}]}},emits:["navigate","theme-change"],setup(r,{emit:t}){const n=r,i=t,{t:s,locale:a}=be.useI18n(),o=e.computed(()=>n.langOptions),l=()=>{window.location.href=`${n.homeUrl}/zh/`},u=P=>{P.href&&(window.location.href=P.href)},c=()=>{i("navigate","/my/manage")},d=P=>{const T=P.id,{pathname:_,origin:I,search:D}=window.location,B=_.includes("/en");if(T==="en"&&B||T==="zh"&&!B)return;let N="";T==="zh"?N=_.replace("/en","")||"/":N=_.endsWith("/en")?_:_+"/en",window.location.href=I+N+D},f=e.ref(""),g=e.ref([]),v=e.ref([]),x=e.ref(!1),p=e.computed(()=>`${n.mainDomainUrl}/search${a.value==="en"?"/en":""}`),m=()=>{!n.getSearchPop||x.value||n.getSearchPop(a.value).then(P=>{g.value=P.obj??[]}).catch(()=>{g.value=[]}).finally(()=>{x.value=!0})},b=wt.useDebounceFn(()=>{n.getSearchWord&&n.getSearchWord({query:f.value,lang:a.value}).then(P=>{var _;const T=((_=P.obj)==null?void 0:_.word)??[];v.value=T.map(I=>({key:I.key,count:I.count}))}).catch(()=>{v.value=[]})},300,{maxWait:500});e.watch(f,P=>{P?b():v.value=[]});const C=e.computed(()=>{var P;return!!((P=n.user)!=null&&P.username)}),E=e.computed(()=>{var T,_;const P=((T=n.user)==null?void 0:T.photo)??"";return{username:((_=n.user)==null?void 0:_.username)??"",photo:P.includes("gitcode")?IM:P}}),w=e.computed(()=>[{id:"settings",label:s("common.ACCOUNT_MANAGE"),url:a.value==="zh"?"/my/settings":"/my/settings/en",target:"_self",total:0,logout:!1},{id:"logout",label:s("common.LOGOUT"),url:"",target:"_self",total:0,logout:!0}]);return(P,T)=>(e.openBlock(),e.createBlock(NM,{community:"openEuler",logo:r.logo,"nav-data":r.navData,"lang-options":o.value,theme:r.theme,"active-index":r.activeIndex,"simple-header":r.simpleHeader,"header-title":r.headerTitle,locale:e.unref(a),"theme-key":"openEuler-theme-appearance",onGoHome:l,onHandleClick:u,onGoBack:c,onLangChange:d,onThemeChange:T[1]||(T[1]=_=>i("theme-change",_))},{toolbar:e.withCtx(({theme:_,setTheme:I,onLangChange:D,langOptions:B})=>[e.createElementVNode("div",OM,[e.createVNode(B0,{modelValue:f.value,"onUpdate:modelValue":T[0]||(T[0]=N=>f.value=N),"hot-items":g.value,"suggest-items":v.value,"store-history":"","highlight-keyword":"","search-url":p.value,"search-url-open-blank":!1,onFocus:m},null,8,["modelValue","hot-items","suggest-items","search-url"]),e.createVNode(S0,{options:B,type:"common",auto:!1,onChange:D},null,8,["options","onChange"]),e.createVNode(al,{type:"common",theme:_,onChange:I},null,8,["theme","onChange"]),e.createVNode(ll,{token:C.value?"1":"","user-info":E.value,options:w.value,onLogin:r.onLogin,onLogout:r.onLogout},null,8,["token","user-info","options","onLogin","onLogout"])])]),tool:e.withCtx(({theme:_,setTheme:I})=>[e.createVNode(al,{type:"mobile",theme:_,onChange:I},null,8,["theme","onChange"])]),rightConfig:e.withCtx(()=>[e.createElementVNode("div",PM,[e.createVNode(ll,{token:C.value?"1":"","user-info":E.value,options:w.value,onLogin:r.onLogin,onLogout:r.onLogout},null,8,["token","user-info","options","onLogin","onLogout"])])]),_:1},8,["logo","nav-data","lang-options","theme","active-index","simple-header","header-title","locale"]))}}),J1=be._export_sfc(LM,[["__scopeId","data-v-42304ec4"]]),MM={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function RM(r,t){return e.openBlock(),e.createElementBlock("svg",MM,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M15.080 1.135l0.098 0.002 0.1 0.018 0.094 0.034 0.211 0.090c1.184 0.453 2.201 1.025 3.103 1.753l0.346 0.292 0.186 0.198c0.106 0.111 0.164 0.258 0.165 0.411l-0.009 0.114-0.368 2.428c-0.097 0.639 0.227 1.266 0.798 1.559l0.144 0.064 2.24 0.837c0.139 0.052 0.253 0.153 0.321 0.283l0.043 0.101 0.020 0.087 0.136 0.72c0.211 1.256 0.211 2.551-0 3.848l-0.090 0.493-0.047 0.3c-0.025 0.157-0.112 0.298-0.241 0.391l-0.084 0.052-0.090 0.036-2.129 0.744c-0.604 0.211-1.007 0.783-1.005 1.419l0.009 0.156 0.295 2.487c0.014 0.117-0.007 0.235-0.060 0.34l-0.057 0.093-0.059 0.067-0.236 0.244c-0.323 0.296-0.707 0.588-1.119 0.851l-0.312 0.19-0.353 0.211c-0.342 0.194-0.707 0.369-1.078 0.517l-0.377 0.141-0.273 0.115c-0.18 0.076-0.386 0.058-0.551-0.045l-0.084-0.062-1.754-1.484c-0.517-0.437-1.26-0.472-1.814-0.093l-0.131 0.101-1.684 1.481c-0.125 0.11-0.289 0.162-0.454 0.146l-0.101-0.018-0.095-0.035-0.173-0.076c-0.967-0.325-1.842-0.777-2.66-1.374l-0.354-0.27-0.61-0.511c-0.136-0.114-0.215-0.283-0.214-0.46l0.009-0.11 0.359-2.366c0.097-0.644-0.232-1.276-0.811-1.566l-0.146-0.063-2.315-0.836c-0.141-0.051-0.256-0.152-0.326-0.283l-0.044-0.102-0.020-0.088-0.136-0.74c-0.21-1.295-0.211-2.623-0.004-3.867l0.088-0.467 0.054-0.339c0.030-0.192 0.152-0.356 0.325-0.442l0.096-0.039 2.18-0.727c0.627-0.21 1.042-0.805 1.024-1.462l-0.013-0.161-0.365-2.494c-0.018-0.12 0.002-0.243 0.055-0.351l0.058-0.097 0.060-0.069 0.236-0.244c0.409-0.375 0.901-0.733 1.458-1.058 0.509-0.292 0.999-0.531 1.473-0.719l0.36-0.134 0.274-0.115 0.113-0.035c0.115-0.023 0.234-0.012 0.343 0.032l0.096 0.050 0.092 0.070 1.695 1.496c0.512 0.452 1.263 0.499 1.827 0.122l0.133-0.101 1.775-1.535c0.125-0.108 0.289-0.159 0.452-0.143zM15.208 2.29l-1.537 1.33c-0.92 0.796-2.271 0.84-3.238 0.112l-0.166-0.135-1.476-1.304-0.376 0.141c-0.322 0.128-0.649 0.28-0.986 0.459l-0.335 0.185c-0.4 0.234-0.769 0.488-1.058 0.727l-0.259 0.223 0.33 2.258c0.172 1.17-0.474 2.305-1.561 2.756l-0.185 0.069-1.908 0.637-0.101 0.524c-0.165 0.989-0.185 2.034-0.062 3.055l0.060 0.429 0.061 0.331 0.031 0.169 2.039 0.736c1.095 0.395 1.788 1.475 1.696 2.63l-0.022 0.193-0.319 2.109 0.379 0.32c0.709 0.564 1.454 0.996 2.256 1.31l0.423 0.152 1.443-1.269c0.905-0.796 2.239-0.858 3.212-0.157l0.167 0.131 1.537 1.298 0.39-0.146c0.22-0.088 0.432-0.183 0.632-0.284l0.284-0.152 0.384-0.229c0.368-0.214 0.731-0.466 1.017-0.703l0.265-0.228-0.269-2.259c-0.135-1.133 0.491-2.218 1.533-2.67l0.187-0.073 1.868-0.653 0.092-0.505c0.169-1.035 0.192-2.062 0.069-3.053l-0.060-0.415-0.060-0.321-0.031-0.167-1.971-0.735c-1.081-0.404-1.761-1.476-1.669-2.622l0.022-0.191 0.335-2.209-0.258-0.214c-0.717-0.579-1.515-1.049-2.453-1.444l-0.355-0.146zM12 7.384c0.289 0 0.575 0.027 0.856 0.079 0.293 0.055 0.486 0.337 0.431 0.63s-0.337 0.486-0.63 0.431c-0.216-0.040-0.435-0.061-0.657-0.061-1.953 0-3.536 1.583-3.536 3.536s1.583 3.536 3.536 3.536c1.953 0 3.536-1.583 3.536-3.536 0-0.743-0.229-1.455-0.657-2.054-0.173-0.243-0.117-0.58 0.125-0.753s0.58-0.117 0.753 0.125c0.559 0.782 0.859 1.714 0.859 2.682 0 2.55-2.067 4.616-4.616 4.616s-4.616-2.067-4.616-4.616c0-2.55 2.067-4.616 4.616-4.616z"},null,-1)])])}const FM={name:"user-center-icon-setting",render:RM},qM={class:"aside-content"},zM={key:0,class:"menu-divider"},UM=["onClick"],HM={class:"jump-url"},jM=["src"],XM=e.defineComponent({__name:"OAsideBar",props:{menus:{},currentPath:{}},emits:["navigate"],setup(r,{emit:t}){const n=r,i=t,{t:s,locale:a}=be.useI18n(),{isLight:o}=Bn(),{lePadV:l}=et.useScreen(),u=e.computed(()=>[{id:"meeting",name:s("common.ASIDE_MEETING"),icon:$0,url:a.value==="zh"?"/my/meeting":"/my/meeting/en",group:0},{id:"setting",name:s("common.ASIDE_SETTING"),icon:FM,url:a.value==="zh"?"/my/settings":"/my/settings/en",group:1}]),c=e.computed(()=>{var x;const g=(x=n.menus)!=null&&x.length?n.menus:u.value,v=new Map;return g.forEach(p=>{const m=p.group??0;v.has(m)||v.set(m,[]),v.get(m).push(p)}),Array.from(v.keys()).sort((p,m)=>p-m).map(p=>({group:p,items:v.get(p)}))}),d=g=>(n.currentPath??(typeof window<"u"?window.location.pathname:"")).includes(g.id),f=g=>{i("navigate",g.url)};return(g,v)=>(e.openBlock(),e.createElementBlock("div",qM,[e.renderSlot(g.$slots,"userinfo",{},void 0,!0),e.createElementVNode("div",{class:e.normalizeClass(["aside-menu",{"aside-menu-pad":e.unref(l)}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(x,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:x.group},[p>0?(e.openBlock(),e.createElementBlock("div",zM)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.items,m=>(e.openBlock(),e.createElementBlock("div",{key:m.id,class:e.normalizeClass(["aside-menu-item",{active:d(m)}]),onClick:b=>f(m)},[e.createVNode(e.unref(S.OIcon),{class:"menu-icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.icon)))]),_:2},1024),e.createElementVNode("span",HM,e.toDisplayString(m.name),1),e.unref(l)?(e.openBlock(),e.createElementBlock("img",{key:0,src:e.unref(o)?e.unref(Kn):e.unref(Jn),class:"left-arrow",alt:""},null,8,jM)):e.createCommentVNode("",!0)],10,UM))),128))],64))),128))],2)]))}}),Z1=be._export_sfc(XM,[["__scopeId","data-v-4864c54f"]]),GM={class:"main-page"},QM={key:0,class:"aside-bar"},YM={class:"main-content"},WM=e.defineComponent({__name:"OLayout",setup(r){const{lePadV:t}=et.useScreen();return(n,i)=>(e.openBlock(),e.createElementBlock("div",GM,[!e.unref(t)&&n.$slots.sidebar?(e.openBlock(),e.createElementBlock("aside",QM,[e.renderSlot(n.$slots,"sidebar",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("main",YM,[e.renderSlot(n.$slots,"user-main-content",{},void 0,!0)])]))}}),$1=be._export_sfc(WM,[["__scopeId","data-v-588133ac"]]),KM={class:"account-manage"},JM=e.defineComponent({__name:"OTheAccountManage",setup(r){const{lePadV:t}=et.useScreen();return(n,i)=>(e.openBlock(),e.createElementBlock("div",KM,[e.createElementVNode("div",{class:e.normalizeClass(["user-info",{"user-info-pad":e.unref(t)}])},[e.renderSlot(n.$slots,"user-info",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(["settings",{"settings-pad":e.unref(t)}])},[e.renderSlot(n.$slots,"user-setting",{},void 0,!0)],2)]))}}),ep=be._export_sfc(JM,[["__scopeId","data-v-69c69062"]]),ZM={class:"create-meeting"},$M={class:"page-title"},eR=e.defineComponent({__name:"OTheCreateMeeting",props:{slugParams:{},creatMeetingApi:{type:Function},editMeetingApi:{type:Function},editSubMeetingApi:{type:Function},getGroupInfosApi:{type:Function},getMyMeetingDetailApi:{type:Function},getPlatformsApi:{type:Function},groupType:{},enablePrivate:{type:Boolean}},emits:["navigate"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),s=r,a=t,o=e.computed(()=>{const _=s.slugParams||[];return Array.isArray(_)?_:_?[_]:[]}),l=e.computed(()=>o.value[0]==="en"),u=e.computed(()=>l.value?1:0),c=e.computed(()=>o.value[u.value]),d=e.computed(()=>o.value[u.value+1]),f=e.computed(()=>o.value[u.value+2]),g=e.computed(()=>c.value==="single"),v=e.computed(()=>!!d.value),x=e.computed(()=>v.value?n("common.EDIT_MEETING"):n("common.BOOK_MEETING")),p=()=>a("navigate",i.value==="en"?"/my/meeting/en":"/my/meeting"),m=_=>s.creatMeetingApi(_,i.value),b=(_,I)=>s.editMeetingApi(_,I,i.value),C=(_,I)=>s.editSubMeetingApi(_,I,i.value),E=()=>s.getGroupInfosApi(),w=()=>s.getPlatformsApi(),P=e.ref(null),T=async()=>{var _;if(d.value)try{const I=await s.getMyMeetingDetailApi(d.value),D=(_=I==null?void 0:I.data)==null?void 0:_.data;if(!D)return;const{start:B,end:N,is_cycle:M,cycle_start_date:O,cycle_end_date:F,cycle_point:q,cycle_interval:Y,cycle_start:z,cycle_end:Q}=D;P.value={...D,time:`${B}-${N}`,...M?{date_range:[O,F],cycle_point:(q==null?void 0:q.map(X=>parseInt(X)))||[],cycle_interval:Y||1,time:`${z}-${Q}`,start:z,end:Q}:{}}}catch{}};return e.watch(()=>d.value,()=>T(),{immediate:!0}),(_,I)=>(e.openBlock(),e.createElementBlock("div",ZM,[e.createElementVNode("div",$M,e.toDisplayString(x.value),1),e.createVNode(Hc,{createMeetingRequest:m,editMeetingRequest:b,editSubMeetingRequest:C,getGroupsRequest:E,getPlatformsRequest:w,data:P.value,subId:g.value?f.value:void 0,labelMap:{is_record:e.unref(n)("common.MEETING_RECORD")},"group-type":r.groupType??e.unref(en).SIG,"enable-private":r.enablePrivate??!1,onCancel:p,onConfirm:p},null,8,["data","subId","labelMap","group-type","enable-private"])]))}}),tp=be._export_sfc(eR,[["__scopeId","data-v-9d65e981"]]),tR="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='240px'%20height='240px'%20viewBox='0%200%20240%20240'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3clinearGradient%20x1='33.7879238%25'%20y1='100%25'%20x2='33.7879238%25'%20y2='0%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%2393ACD8'%20offset='67.1944225%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpolygon%20id='path-2'%20points='55.6223176%2039.8503818%20113.304721%2027.7437126%20113.304721%20130.498204%2059.6070557%20115.618373'%3e%3c/polygon%3e%3clinearGradient%20x1='33.7879238%25'%20y1='124.914444%25'%20x2='33.7879238%25'%20y2='-14.9207842%25'%20id='linearGradient-3'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpolygon%20id='path-4'%20points='112.274678%2049.2758152%20112.274678%2027.7437126%20181.287554%2034.92297%20123.979895%2051.3772455'%3e%3c/polygon%3e%3cfilter%20x='-1.4%25'%20y='-4.2%25'%20width='102.9%25'%20height='116.9%25'%20filterUnits='objectBoundingBox'%20id='filter-5'%3e%3cfeOffset%20dx='0'%20dy='2'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeColorMatrix%20values='0%200%200%200%200.247420715%200%200%200%200%200.339189888%200%200%200%200%200.519198653%200%200%200%201%200'%20type='matrix'%20in='shadowOffsetOuter1'%3e%3c/feColorMatrix%3e%3c/filter%3e%3clinearGradient%20x1='33.7879238%25'%20y1='154.422046%25'%20x2='33.7879238%25'%20y2='0%25'%20id='linearGradient-6'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpath%20d='M121.543192,50.3497006%20L121.196857,137.691018%20L53.5622318,120.25555%20L53.5622318,65.8826774%20L121.545064,50.3497006%20L121.543192,50.3497006%20Z%20M75.931755,79.5206161%20C74.5464135,79.3491869%2073.1573276,80.2100596%2072.9813517,81.5908102%20C72.807248,82.9696972%2073.6740225,84.3523111%2075.0612363,84.5256037%20L97.2585278,88.4926991%20C98.6438693,88.6659916%20100.034827,87.8032556%20100.207059,86.4243684%20C100.379291,85.0417546%2099.5143882,83.6610041%2098.1290466,83.4914382%20L75.931755,79.5206161%20L75.931755,79.5206161%20Z'%20id='path-7'%3e%3c/path%3e%3clinearGradient%20x1='43.0345206%25'%20y1='113.090249%25'%20x2='43.0345206%25'%20y2='-16.6761594%25'%20id='linearGradient-8'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpolygon%20id='path-9'%20points='183.347639%20116.629%20183.347639%2063.2928818%20121.545064%2050.3497006%20121.545064%20137.691018'%3e%3c/polygon%3e%3clinearGradient%20x1='33.7879238%25'%20y1='100%25'%20x2='33.7879238%25'%20y2='0%25'%20id='linearGradient-10'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpath%20d='M54.4693674,40.0742515%20L39.6540784,60.829428%20C38.3706068,62.6274813%2038.7877577,65.1255508%2040.585811,66.4090224%20C41.0487584,66.7394797%2041.5768589,66.9674046%2042.1348748,67.0775888%20L100.455166,78.5933461%20C102.067393,78.9116918%20103.710286,78.2115677%20104.597306,76.8281603%20L121.545064,50.3962184%20L121.545064,50.3962184%20L54.4693674,40.0742515%20Z'%20id='path-11'%3e%3c/path%3e%3cfilter%20x='-1.2%25'%20y='-2.6%25'%20width='103.5%25'%20height='110.2%25'%20filterUnits='objectBoundingBox'%20id='filter-12'%3e%3cfeOffset%20dx='1'%20dy='2'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeColorMatrix%20values='0%200%200%200%200.895200955%200%200%200%200%200.915633914%200%200%200%200%200.947742849%200%200%200%201%200'%20type='matrix'%20in='shadowOffsetOuter1'%3e%3c/feColorMatrix%3e%3c/filter%3e%3clinearGradient%20x1='33.7879238%25'%20y1='100%25'%20x2='33.7879238%25'%20y2='0%25'%20id='linearGradient-13'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpath%20d='M195.583113,53.9457597%20L181.249118,34.9365269%20L181.249118,34.9365269%20L121.545064,50.5788488%20L138.752197,75.2519633%20C139.763571,76.7021617%20141.607048,77.3163517%20143.286103,76.7625221%20L193.642321,60.1527275%20C195.740279,59.4607247%20196.880031,57.1990146%20196.188028,55.1010568%20C196.050945,54.6854601%20195.846591,54.2951755%20195.583113,53.9457597%20Z'%20id='path-14'%3e%3c/path%3e%3cfilter%20x='-2.7%25'%20y='-2.4%25'%20width='104.0%25'%20height='109.6%25'%20filterUnits='objectBoundingBox'%20id='filter-15'%3e%3cfeOffset%20dx='-1'%20dy='2'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeColorMatrix%20values='0%200%200%200%200.895200955%200%200%200%200%200.915633914%200%200%200%200%200.947742849%200%200%200%201%200'%20type='matrix'%20in='shadowOffsetOuter1'%3e%3c/feColorMatrix%3e%3c/filter%3e%3cpath%20d='M145.236052,92.2570967%20C145.236052,91.5381629%20145.712732,90.906369%20146.404051,90.7090263%20L165.276916,85.3216088%20C165.762737,85.1829269%20166.268997,85.4643393%20166.407679,85.950161%20C166.430991,86.031826%20166.442817,86.1163395%20166.442817,86.2012667%20C166.442817,86.9199989%20165.969037,87.5527142%20165.279363,87.755015%20L151.251368,91.8698207%20C150.139479,92.1959689%20149.022005,92.5027668%20147.899453,92.7900752%20L146.412777,93.1705784%20C145.908275,93.2997018%20145.39462,92.9953972%20145.265496,92.4908952%20C145.245944,92.4145002%20145.236052,92.3359542%20145.236052,92.2570967%20Z%20M145.236052,101.52751%20C145.236052,100.770508%20145.732728,100.103184%20146.457874,99.885895%20L160.984029,95.5331473%20C161.484462,95.3831931%20162.011705,95.6673122%20162.161659,96.1677451%20C162.188055,96.2558344%20162.201464,96.3473021%20162.201464,96.4392612%20C162.201464,97.195514%20161.710377,97.864168%20160.988769,98.0904416%20L149.844731,101.584861%20C148.833709,101.901885%20147.812173,102.184353%20146.781904,102.431772%20L146.476287,102.505166%20C145.936343,102.634833%20145.393515,102.302238%20145.263848,101.762294%20C145.245381,101.685398%20145.236052,101.606592%20145.236052,101.52751%20Z%20M145.236052,110.060651%20C145.236052,109.333742%20145.713781,108.69326%20146.410531,108.486051%20L172.902774,100.607403%20C173.386594,100.463518%20173.895449,100.739089%20174.039334,101.222909%20C174.064481,101.307466%20174.077253,101.395219%20174.077253,101.483436%20C174.077253,102.210345%20173.599524,102.850827%20172.902774,103.058036%20L146.410531,110.936684%20C145.926711,111.080569%20145.417856,110.804998%20145.273971,110.321178%20C145.248824,110.236621%20145.236052,110.148868%20145.236052,110.060651%20Z'%20id='path-16'%3e%3c/path%3e%3cfilter%20x='-6.9%25'%20y='-3.9%25'%20width='113.9%25'%20height='115.6%25'%20filterUnits='objectBoundingBox'%20id='filter-17'%3e%3cfeOffset%20dx='0'%20dy='1'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeGaussianBlur%20stdDeviation='0.5'%20in='shadowOffsetOuter1'%20result='shadowBlurOuter1'%3e%3c/feGaussianBlur%3e%3cfeColorMatrix%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.199292163%200'%20type='matrix'%20in='shadowBlurOuter1'%3e%3c/feColorMatrix%3e%3c/filter%3e%3c/defs%3e%3cg%20id='空状态-404'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='状态'%20transform='translate(-170.000000,%20-249.000000)'%3e%3cg%20id='空状态'%20transform='translate(170.000000,%20249.000000)'%3e%3crect%20id='矩形'%20x='0'%20y='0'%20width='240'%20height='240'%3e%3c/rect%3e%3cg%20id='编组-9'%20transform='translate(0.000000,%2024.000000)'%20fill-rule='nonzero'%3e%3cpath%20d='M46.219693,144.512854%20C43.8651873,143.875755%2040.9997552,141.226051%2041.6132143,137.58398%20C41.9174593,135.777719%2043.0851846,134.608473%2044.2959797,133.852419%20C45.9707555,132.806651%2047.8781343,132.412572%2049.7162517,132.313015%20C51.8363987,132.198177%2053.95418,132.487727%2056.058489,132.793933%20C58.1358852,133.096229%2060.2134475,133.366904%2062.3001249,133.532166%20C70.4653254,134.173785%2078.6804501,133.562695%2086.6615222,131.720019%20C88.6313336,131.264619%2090.5893352,130.730361%2092.5355271,130.117245%20C94.3797712,129.573441%2096.1828683,128.898305%2097.9310424,128.096994%20C100.244882,126.984111%20104.00776,124.818527%20103.700936,120.807855%20C103.538244,118.681287%20102.288172,116.982838%20101.027263,115.799546%20C99.5026606,114.368792%2097.7384942,113.427435%2096.0106141,112.513301%20C87.9735208,108.261211%2079.9207387,104.059602%2071.875818,99.8331176%20C69.9982235,98.8467081%2068.1081459,97.8867191%2066.2859288,96.730765%20C64.5798848,95.6485064%2062.8818249,94.3913487%2061.5088794,92.6530883%20C60.3097197,91.1348493%2059.2381685,89.0966474%2059.2759747,86.8182524%20C59.307326,84.9287275%2060.1656352,83.3253087%2061.2168476,82.126967%20C63.8194431,79.1600954%2067.5010473,77.957171%2070.8284816,77.3270677%20C74.9624631,76.5442285%2079.156287,76.5482779%2083.2929684,75.792353%20C86.6330859,75.1819824%2090.2019795,74.0036817%2092.9184505,71.2425347%20C94.0675619,70.1194561%2094.8803263,68.6968643%2095.2649494,67.1354282%20C95.6118075,65.5000126%2095.4432054,63.7970485%2094.782431,62.2617558%20C94.0465817,60.5009521%2092.8728018,59.0982892%2091.6385828,57.949719%20C90.2208014,56.648696%2088.6128073,55.5724684%2086.8703294,54.7583358%20C83.2014934,53.0068697%2079.3435245,52.0949405%2075.5854621,50.7508497%20C73.7424227,50.091676%2071.880738,49.368852%2070.1693605,48.2366214%20C68.7194622,47.2773777%2067.1400354,45.9844031%2066.3333805,44.0616411%20C64.6690508,40.0945264%2068.6395755,37.730178%2070.8893925,36.8346036%20C72.418579,36.2535626%2073.9936525,35.8018411%2075.5981,35.4841747%20C75.9373476,35.4112037%2075.7934046,34.7328099%2075.4557486,34.805431%20C73.7668801,35.1352874%2072.1117289,35.6194603%2070.5110474,36.2518792%20C69.154342,36.8165882%2067.7544971,37.5587232%2066.6888116,38.8357857%20C65.7075754,40.0018775%2065.26663,41.5304747%2065.4757076,43.0411755%20C65.757975,44.9446341%2066.9849762,46.4113029%2068.1373393,47.4736416%20C69.6612132,48.8784682%2071.3986915,49.7959164%2073.1603244,50.5437803%20C75.0156486,51.3314179%2076.9103422,51.9452535%2078.8044015,52.5473607%20C82.5891388,53.7504932%2086.5436745,54.8226822%2089.9602596,57.3828633%20C92.3502739,59.1738041%2095.5970568,62.5317228%2094.8020487,66.6939212%20C94.4491398,68.5415428%2093.3774602,69.9860863%2092.2209587,71.0485612%20C90.8628364,72.2595227%2089.2966479,73.2135506%2087.5985023,73.8642838%20C80.0273192,76.9167854%2071.6947202,74.7338878%2064.3186643,78.8798261%20C61.8107588,80.2894662%2058.7645555,82.8560061%2058.7400348,86.8942383%20C58.7273043,88.9920128%2059.5666642,90.9159721%2060.6043683,92.4366812%20C61.8472435,94.2580732%2063.456683,95.6049651%2065.0941925,96.7306648%20C66.8184117,97.8725745%2068.6087313,98.9110076%2070.4557172,99.8404921%20C72.4734032,100.902214%2074.4915323,101.9625%2076.5101044,103.02135%20L88.7598784,109.456903%20L94.8462456,112.654414%20C96.7038297,113.630313%2098.6091185,114.566444%20100.298078,115.999016%20C101.680975,117.171996%20103.314834,119.096341%20103.173734,121.485852%20C103.061684,123.383517%20101.80332,124.752964%20100.653449,125.668543%20C99.1644835,126.854126%2097.491875,127.620957%2095.8276869,128.258185%20C93.9081535,128.993172%2091.9570573,129.602871%2090.0021796,130.151053%20C85.9978193,131.272296%2081.9110136,132.073664%2077.7801887,132.547623%20C73.6596261,133.022913%2069.5085186,133.177922%2065.3640712,133.011259%20C63.2700327,132.926837%2061.1792453,132.759037%2059.0917089,132.507857%20C56.9399029,132.248208%2054.7973063,131.848216%2052.6399536,131.670754%20C50.6885856,131.510234%2048.7184211,131.547437%2046.796709,132.063356%20C45.1921272,132.494137%2043.4969295,133.261985%2042.2789148,134.760246%20C41.3811568,135.904048%2040.9315935,137.337102%2041.0148153,138.789764%20C41.0972805,140.23945%2041.6132108,141.630745%2042.4955231,142.782749%20C43.39173,143.959358%2044.6509883,144.806234%2046.0773831,145.191621%20C46.4137327,145.28263%2046.5575813,144.604285%2046.2197346,144.512877%20L46.219693,144.512854%20Z'%20id='路径'%20fill='%23B6C7E5'%20transform='translate(72.361809,%2090.000000)%20scale(-1,%201)%20translate(-72.361809,%20-90.000000)%20'%3e%3c/path%3e%3cg%20id='空状态'%20transform='translate(0.000000,%2020.400000)'%3e%3cg%20id='编组-16'%20transform='translate(0.000000,%20102.754491)'%20opacity='0.5'%3e%3cpath%20d='M0,34.4199679%20C0,53.4321412%2053.7246742,68.845509%20120.001877,68.845509%20C186.275326,68.845509%20240,53.4339993%20240,34.4218258%20C240,15.4133682%20186.271571,0%20120.001877,0%20C53.728429,-0.00371517983%200,15.4115103%200,34.4199679%20Z'%20id='路径'%20fill='%23D7E1F2'%3e%3c/path%3e%3cpath%20d='M41.2017167,25.6886227%20C41.2017167,38.1748552%2076.4798802,48.2946108%20119.999062,48.2946108%20C163.52012,48.2946108%20198.798283,38.1748554%20198.798283,25.6886227%20C198.798283,13.2061051%20163.52012,3.08263473%20120.000938,3.08263473%20C76.4780034,3.08263473%2041.2017167,13.2023901%2041.2017167,25.6886227%20Z'%20id='路径'%20fill='%23BFCEE8'%3e%3c/path%3e%3c/g%3e%3cg%20id='路径'%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-2'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-1)'%20xlink:href='%23path-2'%3e%3c/use%3e%3c/g%3e%3cg%20id='路径'%3e%3cuse%20fill='black'%20fill-opacity='1'%20filter='url(%23filter-5)'%20xlink:href='%23path-4'%3e%3c/use%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-4'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-3)'%20xlink:href='%23path-4'%3e%3c/use%3e%3c/g%3e%3cg%20id='形状'%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-7'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-6)'%20xlink:href='%23path-7'%3e%3c/use%3e%3c/g%3e%3cg%20id='路径'%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-9'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-8)'%20xlink:href='%23path-9'%3e%3c/use%3e%3c/g%3e%3cg%20id='路径'%3e%3cuse%20fill='black'%20fill-opacity='1'%20filter='url(%23filter-12)'%20xlink:href='%23path-11'%3e%3c/use%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-11'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-10)'%20xlink:href='%23path-11'%3e%3c/use%3e%3c/g%3e%3cg%20id='形状'%3e%3cuse%20fill='black'%20fill-opacity='1'%20filter='url(%23filter-15)'%20xlink:href='%23path-14'%3e%3c/use%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-14'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-13)'%20xlink:href='%23path-14'%3e%3c/use%3e%3c/g%3e%3cg%20id='形状'%3e%3cuse%20fill='black'%20fill-opacity='1'%20filter='url(%23filter-17)'%20xlink:href='%23path-16'%3e%3c/use%3e%3cuse%20fill='%23FFFFFF'%20xlink:href='%23path-16'%3e%3c/use%3e%3c/g%3e%3cpath%20d='M101.97425,2.5716331%20C101.975268,3.48873855%20102.478643,4.33565097%20103.29476,4.79334662%20C104.110876,5.25104226%20105.115747,5.24998629%20105.930848,4.79057646%20C106.745948,4.33116663%20107.247444,3.48319824%20107.246429,2.56609279%20C107.244857,1.14837067%20106.063366,0.000320089271%20104.607495,0.00184847637%20C103.151624,0.00337991811%20101.972681,1.15391098%20101.97425,2.5716331%20Z%20M114.272833,2.5716331%20C114.274406,3.9893553%20115.455896,5.13740599%20116.911768,5.1358776%20C118.367639,5.13434616%20119.546582,3.98381499%20119.545013,2.56609279%20C119.54344,1.14837059%20118.361949,0.000319905061%20116.906078,0.00184829221%20C115.450207,0.00337973399%20114.271264,1.1539109%20114.272833,2.5716331%20Z%20M126.56952,2.5716331%20C126.570538,3.4893984%20127.074274,4.33692055%20127.890977,4.79494613%20C128.707681,5.25297171%20129.713275,5.25191573%20130.528962,4.79217597%20C131.344649,4.33243622%20131.846507,3.48385809%20131.845492,2.56609279%20C131.843919,1.14735065%20130.66158,-0.00152686506%20129.204661,1.5231798e-06%20C127.747743,0.00153296386%20126.56795,1.15289096%20126.56952,2.5716331%20L126.56952,2.5716331%20Z'%20id='形状'%20fill='%23C2D1E9'%3e%3c/path%3e%3c/g%3e%3cg%20id='编组-26'%20transform='translate(41.005025,%200.000000)'%3e%3cpath%20d='M39.9333552,8.3909613%20L2.13955655,0.1384045%20L1.64839085,0.0314077222%20C1.13797211,-0.0808076536%200.609165859,0.112840647%200.287816734,0.529648557%20C-0.03353239,0.946456467%20-0.0906216577,1.51274764%200.140930837,1.98666825%20L15.1466157,32.8327456%20C15.3436846,33.2349175%2015.7215958,33.5150135%2016.1598655,33.5837345%20C16.5996806,33.6529912%2017.0449661,33.4984395%2017.3502585,33.1705676%20L27.7728519,22.0462762%20C27.9227397,21.8822564%2028.133506,21.78908%2028.3542365,21.7892555%20C28.6566466,21.7849358%2028.9367582,21.949792%2029.0826561,22.2179581%20L31.2175032,26.2150341%20C31.4979219,26.7634226%2032.1113126,27.0479573%2032.7047496,26.904926%20L32.7153756,26.9025459%20C33.3162169,26.7737223%2033.7517952,26.2452237%2033.7693053,25.6237851%20L34.1969598,16.3971105%20C34.2020568,16.2819901%2034.2304615,16.1691567%2034.2804128,16.0656062%20C34.3340354,15.9631269%2034.4068141,15.8721677%2034.4947048,15.7977827%20L40.5075824,10.8015243%20C40.9108744,10.4664417%2041.0893686,9.92743593%2040.9670637,9.41401136%20C40.8447587,8.90058679%2040.4431939,8.50316352%2039.9333525,8.3909613%20L39.9333552,8.3909613%20Z%20M40.1642019,10.3767896%20L34.1513406,15.37307%20C34.0729911,15.4369572%2034.0019926,15.5095661%2033.9396853,15.5895262%20L2.07124471,0.959664277%20C2.0431371,0.94642694%202.01381441,0.93601263%201.9836979,0.928570961%20C1.73009901,0.862407026%201.46590052,0.988411243%201.35484583,1.22848945%20C1.24379115,1.46856766%201.31736082,1.75466512%201.52995828,1.90946602%20L27.7329494,21.3929836%20C27.5999797,21.4629625%2027.4799268,21.5556272%2027.3780676,21.6669047%20L16.9555965,32.7911356%20C16.7720395,32.9866416%2016.505715,33.0790659%2016.2422658,33.0386874%20C15.9788166,32.9983089%2015.7514608,32.8302189%2015.6333097,32.5884705%20L0.627633024,1.74239311%20C0.490765036,1.45803722%200.525983152,1.11958255%200.718375873,0.870332207%20C0.910768595,0.621081865%201.22668471,0.504631975%201.53236401,0.570287908%20L2.0351941,0.68027845%20L39.8171979,8.92986901%20C40.1233035,8.99695333%2040.3646184,9.23520564%2040.438504,9.54328994%20C40.5123895,9.85137425%2040.4058508,10.175105%2040.1642019,10.3767896%20L40.1642019,10.3767896%20Z'%20id='形状'%20fill='%23A5BADE'%3e%3c/path%3e%3cpath%20d='M39.9333552,8.3909613%20L2.13955655,0.1384045%20L1.64839085,0.0314077222%20C1.13797211,-0.0808076536%200.609165859,0.112840647%200.287816734,0.529648557%20C-0.03353239,0.946456467%20-0.0906216577,1.51274764%200.140930837,1.98666825%20L15.1466157,32.8327456%20C15.3436846,33.2349175%2015.7215958,33.5150135%2016.1598655,33.5837345%20C16.5996806,33.6529912%2017.0449661,33.4984395%2017.3502585,33.1705676%20L27.7728519,22.0462762%20C27.9227397,21.8822564%2028.133506,21.78908%2028.3542365,21.7892555%20C28.6566466,21.7849358%2028.9367582,21.949792%2029.0826561,22.2179581%20L31.2175032,26.2150341%20C31.4979219,26.7634226%2032.1113126,27.0479573%2032.7047496,26.904926%20L32.7153756,26.9025459%20C33.3162169,26.7737223%2033.7517952,26.2452237%2033.7693053,25.6237851%20L34.1969598,16.3971105%20C34.2020568,16.2819901%2034.2304615,16.1691567%2034.2804128,16.0656062%20C34.3340354,15.9631269%2034.4068141,15.8721677%2034.4947048,15.7977827%20L40.5075824,10.8015243%20C40.9108744,10.4664417%2041.0893686,9.92743593%2040.9670637,9.41401136%20C40.8447587,8.90058679%2040.4431939,8.50316352%2039.9333525,8.3909613%20L39.9333552,8.3909613%20Z%20M40.1642019,10.3767896%20L34.1513406,15.37307%20C34.0729911,15.4369572%2034.0019926,15.5095661%2033.9396853,15.5895262%20C33.8834978,15.6606595%2033.8349792,15.7376659%2033.7949556,15.8192343%20C33.7530162,15.9026554%2033.7199627,15.990356%2033.6963533,16.0808557%20L33.6969432,16.083544%20C33.6720302,16.1778112%2033.6576678,16.2746151%2033.6541266,16.3721312%20L33.2265972,25.5987756%20C33.219206,25.9724469%2032.9569592,26.2910332%2032.5952006,26.3658174%20L32.5898862,26.3670089%20C32.2335763,26.4566016%2031.8631863,26.2863353%2031.6953626,25.9558012%20L29.5599284,21.956045%20C29.3362376,21.5377519%2028.9145925,21.2664624%2028.445483,21.2390029%20L28.4428897,21.2395835%20C28.4118436,21.2381086%2028.3809116,21.2365732%2028.3505858,21.2377262%20C28.1352942,21.2378262%2027.9232809,21.2911212%2027.7329548,21.3929836%20C27.5999851,21.4629625%2027.4799323,21.5556272%2027.378073,21.6669047%20L16.9556019,32.7911356%20C16.7720449,32.9866416%2016.5057205,33.0790659%2016.2422713,33.0386874%20C15.978822,32.9983089%2015.7514662,32.8302189%2015.6333151,32.5884705%20L0.627633024,1.74239311%20C0.490765036,1.45803722%200.525983152,1.11958255%200.718375873,0.870332207%20C0.910768595,0.621081865%201.22668471,0.504631975%201.53236401,0.570287908%20L2.0351941,0.68027845%20L39.8171979,8.92986901%20C40.1233035,8.99695333%2040.3646184,9.23520564%2040.438504,9.54328994%20C40.5123895,9.85137425%2040.4058508,10.175105%2040.1642019,10.3767896%20L40.1642019,10.3767896%20Z'%20id='形状'%20fill='%233F3D56'%3e%3c/path%3e%3cpath%20d='M33.8291457,15.4239965%20L33.6042412,15.9140938%20L33.4653001,15.8535231%20L33.4647094,15.8508945%20L1.5756457,1.55990975%20L28.2036781,20.8949871%20L28.2062751,20.8944195%20L28.2767815,20.94789%20L27.9557134,21.3818182%20L27.4927178,21.0449705%20L1.25198056,1.99439755%20C1.03907685,1.8430365%200.965401187,1.56329643%201.07661585,1.32855301%20C1.18783052,1.0938096%201.45240959,0.970605332%201.7063738,1.03529903%20C1.73653369,1.04257534%201.76589862,1.05275823%201.79404672,1.06570142%20L33.7083947,15.3704722%20L33.8291457,15.4239965%20Z'%20id='路径'%20fill='%233F3D56'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",nR=e.defineComponent({__name:"OAppEmpty",props:{src:{},size:{default:"medium"},height:{default:"auto"}},setup(r){const{t}=be.useI18n();return(n,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["empty-wrap",`size-${r.size}`]),style:e.normalizeStyle({minHeight:`calc(${r.height} - var(--o-gap-8, 48px))`})},[e.createVNode(e.unref(S.OResult),null,{image:e.withCtx(()=>[e.createVNode(e.unref(S.OFigure),{class:"img",src:r.src??e.unref(tR)},null,8,["src"])]),default:e.withCtx(()=>[e.renderSlot(n.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("common.EMPTY")),1)],!0)]),_:3})],6))}}),iR=be._export_sfc(nR,[["__scopeId","data-v-7a03249c"]]),rR={key:0,class:"meeting-header"},sR={class:"title"},aR={class:"desc"},oR={class:"filter"},lR={class:"filter-label"},cR=["onClick"],uR=e.defineComponent({__name:"OTheMeeting",props:{getMyMeetingListApi:{},cancelSubMeetingApi:{},deleteMeetingApi:{},username:{},groupType:{default:en.SIG},createVisible:{type:Boolean,default:!0}},emits:["navigate"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),{lePadV:s}=et.useScreen(),a=r,o=t,l=Date.now(),u=()=>{o("navigate",i.value==="en"?"/my/create-meeting/en":"/my/create-meeting")},c=(v,x)=>{const p=x||"whole",m=v==null?void 0:v.id;if(!m)return;const b=v!=null&&v.sub_id?`/${v.sub_id}`:"",C=i.value==="en"?`/my/edit-meeting/en/${p}/${m}${b}`:`/my/edit-meeting/${p}/${m}${b}`;o("navigate",C)},d=e.ref("all"),f=e.computed(()=>[{value:"all",label:n("common.MEETING_ALL")},{value:"mine",label:n("common.MEETING_MY_BOOKED")}]),g=v=>{const x={...v};return d.value==="mine"&&a.username&&(x.sponsor=a.username),a.getMyMeetingListApi(x)};return(v,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["meeting-view",{"is-pad":e.unref(s)}])},[e.unref(s)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",rR,[e.createElementVNode("div",null,[e.createElementVNode("div",sR,e.toDisplayString(e.unref(n)("common.MY_MEETINGS")),1),e.createElementVNode("div",aR,e.toDisplayString(e.unref(n)("common.MY_MEETING_DESC")),1)]),r.createVisible?(e.openBlock(),e.createBlock(e.unref(S.OButton),{key:0,color:"primary",variant:"solid",size:"large",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.BOOK_MEETING")),1)]),_:1})):e.createCommentVNode("",!0)])),e.createElementVNode("div",oR,[e.createElementVNode("span",lR,e.toDisplayString(e.unref(n)("common.MEETING_FILTER")),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,p=>(e.openBlock(),e.createElementBlock("span",{key:p.value,class:e.normalizeClass(["filter-btn",{active:d.value===p.value}]),onClick:m=>d.value=p.value},e.toDisplayString(p.label),11,cR))),128))]),(e.openBlock(),e.createBlock(C0,{key:`${d.value}-${e.unref(l)}`,"get-meeting-list-request":g,"cancel-sub-meeting-request":r.cancelSubMeetingApi,"delete-meeting-request":r.deleteMeetingApi,"group-type":r.groupType??e.unref(en).SIG,onEdit:c},{empty:e.withCtx(()=>[e.createVNode(iR,{height:"360px"},{description:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString(r.createVisible?e.unref(n)("meeting.emptyMeeting"):e.unref(n)("common.EMPTY_MEETING")),1),r.createVisible?(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:0,color:"primary","hover-underline":"",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.BOOK_MEETING")),1)]),_:1})):e.createCommentVNode("",!0)])]),_:1})]),_:1},8,["cancel-sub-meeting-request","delete-meeting-request","group-type"]))],2))}}),np=be._export_sfc(uR,[["__scopeId","data-v-d2832c4d"]]),dR={class:"header"},hR={class:"main"},fR={key:0},pR={class:"footer"},mR={key:0,class:"divider"},gR=e.defineComponent({__name:"OUnbindingThirdpartyAccountModal",props:{modelValue:{type:Boolean,default:!1},config:{type:Object,default:()=>({})}},emits:["update:modelValue","submit"],setup(r,{emit:t}){const{t:n}=be.useI18n(),{lePadV:i}=et.useScreen(),s=r,{modelValue:a,config:o}=e.toRefs(s),l=t,u=()=>{var f;(f=o==null?void 0:o.value)==null||f.confirm({account_type:o.value.account_type})},c=()=>{l("update:modelValue",!1)},d=f=>{f||c()};return(f,g)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{visible:e.unref(a),"onUpdate:visible":g[0]||(g[0]=v=>e.isRef(a)?a.value=v:null),class:"dialog unbind-three-party-dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"450px","--dlg-radius":"4px","--o-radius_control-s":0,"--dlg-edge-gap":"32px","--dlg-inner-gap":0},"mask-close":!1,onChange:d},{header:e.withCtx(()=>[e.createElementVNode("h5",dR,e.toDisplayString(e.unref(n)(`common.${e.unref(o).header}`)),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",pR,[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"outline",type:"submit",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1}),e.unref(i)?(e.openBlock(),e.createElementBlock("div",mR)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit",onClick:c},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",hR,[e.unref(o).content?(e.openBlock(),e.createElementBlock("div",fR,e.toDisplayString(e.unref(n)(`common.${e.unref(o).content}`,{name:e.unref(o).label})),1)):e.createCommentVNode("",!0)])]),_:1},8,["visible"]))}}),vR=be._export_sfc(gR,[["__scopeId","data-v-188e517c"]]),yR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function xR(r,t){return e.openBlock(),e.createElementBlock("svg",yR,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M22.899 11.962c0.021 2.314-0.714 4.572-2.094 6.43-1.329 1.856-3.214 3.241-5.383 3.953-0.193 0.054-0.4 0.016-0.563-0.102-0.117-0.111-0.18-0.268-0.172-0.43v-3c0.063-0.751-0.208-1.491-0.742-2.023 0.49-0.048 0.975-0.132 1.453-0.25 0.469-0.126 0.918-0.315 1.336-0.563 0.438-0.239 0.827-0.557 1.148-0.938 0.353-0.446 0.618-0.955 0.781-1.5 0.207-0.697 0.307-1.421 0.297-2.148 0.024-1.088-0.383-2.141-1.133-2.93 0.352-0.945 0.313-1.991-0.109-2.906-0.39-0.071-0.792-0.016-1.148 0.156-0.457 0.164-0.897 0.374-1.313 0.625l-0.539 0.336c-1.789-0.5-3.68-0.5-5.469 0-0.156-0.109-0.352-0.227-0.602-0.383-0.389-0.227-0.797-0.42-1.219-0.578-0.378-0.192-0.807-0.26-1.227-0.195-0.421 0.924-0.458 1.978-0.102 2.93-0.739 0.801-1.142 1.855-1.125 2.945-0.011 0.722 0.089 1.441 0.297 2.133 0.17 0.542 0.434 1.050 0.781 1.5 0.314 0.392 0.705 0.716 1.148 0.953 0.423 0.236 0.871 0.425 1.336 0.563 0.48 0.119 0.969 0.203 1.461 0.25-0.409 0.385-0.66 0.909-0.703 1.469-0.206 0.098-0.424 0.166-0.648 0.203-0.258 0.048-0.519 0.072-0.781 0.070-0.359 0.002-0.709-0.11-1-0.32-0.324-0.235-0.591-0.539-0.781-0.891-0.172-0.294-0.407-0.548-0.687-0.742-0.209-0.16-0.448-0.277-0.703-0.344h-0.281c-0.141-0.008-0.282 0.013-0.414 0.063-0.078 0.047-0.102 0.102-0.070 0.164 0.037 0.070 0.082 0.135 0.133 0.195 0.057 0.066 0.119 0.126 0.188 0.18l0.102 0.063c0.245 0.132 0.459 0.316 0.625 0.539 0.174 0.223 0.324 0.464 0.445 0.719l0.141 0.328c0.111 0.352 0.329 0.661 0.625 0.883 0.281 0.204 0.604 0.343 0.945 0.406 0.324 0.068 0.654 0.102 0.984 0.102 0.262 0.005 0.523-0.014 0.781-0.055l0.328-0.055v2.047c0.003 0.164-0.065 0.321-0.188 0.43-0.165 0.117-0.375 0.154-0.57 0.102-2.162-0.721-4.037-2.115-5.352-3.977-1.387-1.845-2.123-4.098-2.094-6.406-0.011-1.922 0.496-3.811 1.469-5.469 0.955-1.664 2.336-3.045 4-4 1.658-0.973 3.547-1.48 5.469-1.469 1.922-0.011 3.811 0.496 5.469 1.469 1.664 0.955 3.045 2.336 4 4 0.973 1.657 1.481 3.547 1.469 5.469z"},null,-1)])])}const CR={name:"user-center-icon-github",render:xR},bR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function ER(r,t){return e.openBlock(),e.createElementBlock("svg",bR,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"#c71d23",d:"M16 32c-8.837 0-16-7.163-16-16s7.163-16 16-16c8.837 0 16 7.163 16 16s-7.163 16-16 16zM24.099 14.223l-9.086 0c-0.436 0-0.79 0.354-0.79 0.79l-0.001 1.975c-0 0.436 0.354 0.79 0.79 0.79l5.532-0c0.436 0 0.79 0.354 0.79 0.79v0 0.395c0 1.309-1.061 2.37-2.37 2.37l-7.507-0c-0.436 0-0.79-0.354-0.79-0.79l-0-7.506c-0-1.309 1.061-2.37 2.37-2.37l11.060-0c0.436 0 0.79-0.353 0.79-0.79l0.002-1.975c0-0.436-0.353-0.79-0.79-0.791-0 0-0 0-0 0l-11.062 0.001c-3.273 0-5.926 2.653-5.926 5.926v11.061c0 0.436 0.354 0.79 0.79 0.79h11.654c2.945 0 5.333-2.388 5.333-5.333v-4.543c0-0.436-0.354-0.79-0.79-0.79v0z"},null,-1)])])}const AR={name:"user-center-icon-gitee",render:ER},kR={width:"32.000000",height:"32.000000",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};function _R(r,t){return e.openBlock(),e.createElementBlock("svg",kR,[...t[0]||(t[0]=[e.createStaticVNode('<rect id="微信" width="32.000000" height="32.000000" fill="#FFFFFF" fill-opacity="0"></rect><rect id="微信" width="32.000000" height="32.000000" fill="#000000" fill-opacity="0"></rect><g opacity="0.000000"><rect id="矩形备份" width="32.000000" height="32.000000" fill="#E4E4E4" fill-opacity="1.000000"></rect></g><path id="形状" d="M20.6248 10.9575C20.9526 10.9575 21.2761 10.9814 21.5962 11.0164C20.7239 6.99573 16.3792 4.00781 11.4204 4.00781C5.87598 4.00781 1.33423 7.74756 1.33423 12.496C1.33423 15.2365 2.8457 17.4872 5.37012 19.2329L4.36157 22.2361L7.88721 20.486C9.14941 20.7328 10.1611 20.9872 11.4204 20.9872C11.7368 20.9872 12.05 20.9718 12.3616 20.947C12.1646 20.2803 12.05 19.5811 12.05 18.8563C12.05 14.4962 15.8337 10.9575 20.6248 10.9575ZM8.14355 10.7468C7.38696 10.7468 6.62451 10.2456 6.62451 9.49768C6.62451 8.74658 7.38696 8.25159 8.14355 8.25159C8.89917 8.25159 9.40283 8.74658 9.40283 9.49768C9.40283 10.2457 8.89917 10.7468 8.14355 10.7468ZM16.4644 9.49768C16.4644 8.74658 15.9617 8.25159 15.2021 8.25159C14.4458 8.25159 13.6877 8.74658 13.6877 9.49768C13.6877 10.2456 14.4456 10.7468 15.2021 10.7468C15.9617 10.7468 16.4644 10.2456 16.4644 9.49768ZM21.2632 11.4944C25.7949 11.4944 29.8301 14.7468 29.8301 18.7372C29.8301 20.988 28.322 22.981 26.2969 24.4845L27.0557 26.9783L24.2888 25.4792C23.2803 25.7299 22.2671 25.9789 21.2632 25.9789C16.4644 25.9789 12.6853 22.7334 12.6853 18.7372C12.6853 14.7468 16.4644 11.4944 21.2632 11.4944ZM18.4819 17.4871C17.98 17.4871 17.4734 16.9928 17.4734 16.4884C17.4734 15.9911 17.98 15.4907 18.4819 15.4907C19.2446 15.4907 19.7441 15.9911 19.7441 16.4884C19.7441 16.9928 19.2446 17.4871 18.4819 17.4871ZM23.0281 16.4884C23.0281 16.9928 23.5317 17.4871 24.0298 17.4871C24.7861 17.4871 25.292 16.9928 25.292 16.4884C25.292 15.9911 24.7861 15.4907 24.0298 15.4907C23.5317 15.4907 23.0281 15.9911 23.0281 16.4884Z" clip-rule="evenodd" fill="#51B233" fill-opacity="1.000000" fill-rule="evenodd"></path>',4)])])}const TR={name:"user-center-icon-wechat",render:_R},wR={viewBox:"0 0 32 31.0303",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"32.000000",height:"31.030273",fill:"none"};function SR(r,t){return e.openBlock(),e.createElementBlock("svg",wR,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"gitcode 1",width:"32.000000",height:"31.030304",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 338",d:"M14.9413 28.8319C12.436 28.5468 9.72062 27.4817 8.05541 26.1465C7.11029 25.3964 5.5501 23.6862 4.96503 22.7861C3.1798 20.0258 2.45971 16.6053 2.99978 13.4999C3.52485 10.5146 4.755 8.17428 6.93027 6.04401C10.7107 2.33855 16.7565 1.16841 21.6021 3.20866C23.1923 3.88374 24.7225 4.82886 25.3526 5.51895C26.5827 6.88412 26.1327 9.1044 24.4825 9.9295C23.7774 10.2745 22.4722 10.2895 21.9621 9.9595C21.4521 9.62946 20.987 8.72935 20.867 7.81424C20.807 7.37918 20.732 7.01914 20.717 7.01914C20.687 7.01914 20.3119 7.22916 19.8919 7.46919C18.5117 8.27929 18.1067 8.39931 15.9914 8.53433C14.8813 8.59433 13.6511 8.69935 13.2761 8.75935C12.586 8.84937 11.7459 8.72935 10.4107 8.3093L9.70562 8.08427L9.73562 9.53945C9.75062 10.9496 9.73562 11.0246 9.13555 12.2698C8.35545 13.89 8.07041 14.8651 7.9504 16.3053C7.66536 19.7707 9.5556 22.3511 13.141 23.3712C15.4663 24.0313 19.3068 23.8962 21.3921 23.0711C23.3873 22.276 25.1425 20.4308 25.1425 19.1106C25.1425 18.5706 24.4525 17.8805 23.7024 17.7005C23.3873 17.6105 22.1872 17.5054 21.047 17.4604C18.6317 17.3554 16.9515 17.1304 16.4865 16.8304C16.0214 16.5303 15.7814 15.6902 15.9914 15.0601C16.2014 14.4001 16.5315 14.115 17.5066 13.755C18.1667 13.4999 18.6467 13.4549 20.567 13.4549C24.6475 13.4549 26.5677 13.965 28.0679 15.4652C29.7931 17.2054 29.9731 19.8457 28.518 22.186C26.3727 25.6215 23.8374 27.5867 20.402 28.4718C19.2468 28.7869 16.1864 28.9819 14.9413 28.8319L14.9413 28.8319Z",fill:"rgb(214,34,64)","fill-rule":"nonzero"},null,-1)])])}const DR={name:"user-center-icon-gitcode-new",render:SR},BR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1024",height:"1024",viewBox:"0 0 1024 1024"};function VR(r,t){return e.openBlock(),e.createElementBlock("svg",BR,[...t[0]||(t[0]=[e.createElementVNode("g",{id:"icomoon-ignore"},null,-1),e.createElementVNode("path",{fill:"#bf0002",d:"M886.32 295.615c30.093 58.484 47.12 124.814 47.12 195.105 0 20.301-1.434 40.227-4.128 59.747-92.742-54.426-192.784-89.875-295.082-106.016l-61.792-148.836h313.882zM436.464 437.456c23.373-2.048 46.816-3.069 70.256-3.069s46.883 1.056 70.256 3.069l-39.341-122.699c-4.506-13.99-17.709-21.019-30.88-21.053-13.206 0-26.41 7.063-30.88 21.053l-39.376 122.699h-0.035zM127.121 295.615h313.88l-61.792 148.836c-102.296 16.141-202.34 51.59-295.081 106.016-2.696-19.517-4.129-39.446-4.129-59.747 0-70.291 16.992-136.621 47.121-195.105v0zM903.994 646.826c-74.861-78.787-161.392-131.878-251.952-159.414l119.664 288.256c10.918 26.307 24.909 29.139 41.594 11.907 38.829-40.128 69.914-87.862 90.694-140.749v0zM109.447 646.826c20.78 52.886 51.864 100.621 90.694 140.749 16.685 17.232 30.675 14.4 41.594-11.907l119.664-288.256c-90.593 27.501-177.090 80.627-251.952 159.414v0zM713.802 863.939l-125.635-391.578c-27.024-4.57-54.218-6.925-81.446-7.098-27.229 0.173-54.422 2.528-81.446 7.098l-125.635 391.578c61.315 34.086 131.946 53.536 207.082 53.536s145.766-19.418 207.082-53.536v0zM506.72 64c136.179 0 257.478 63.807 335.616 163.133-109.085 25.966-221.651 39.376-335.616 39.376s-226.531-13.41-335.616-39.376c78.138-99.327 199.437-163.133 335.616-163.133z"},null,-1)])])}const NR={name:"user-center-icon-openatom",render:VR},IR={key:0,class:"title"},OR={class:"left-content"},PR={class:"common-value"},LR={class:"right-content"},MR=["src","onClick"],RR={key:1,class:"operate"},FR={class:"common-value"},qR=["src","onClick"],zR=e.defineComponent({__name:"OThirdPartyBindings",props:{userInfo:{},platforms:{},community:{},linkAccount:{type:Function},unlinkAccount:{type:Function},updateAuth:{type:Function},bindAccountPost:{type:Function},sendCodePost:{type:Function},captchaApis:{}},emits:["refresh"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),{isLight:s}=Bn(),a=S.useMessage(null),{lePadV:o}=et.useScreen(),l=r,u=t,c={github:CR,gitee:AR,wechat:TR,openatom:NR,gitcode:DR},d={github:"Github",gitee:"Gitee",openatom:"OpenAtom",gitcode:"AtomGit"},f={github:"social_github",gitee:"enterprise_gitee",wechat:"social_wechat",openatom:"enterprise_openatom",gitcode:"enterprise_gitcode"},g=e.shallowRef([]),v=()=>{var M;const N=(M=l.platforms)!=null&&M.length?l.platforms.filter(O=>O in c):Object.keys(c);g.value=N.map(O=>({key:O,label:O==="wechat"?n("common.WECHAT"):d[O]||O,icon:c[O],value:""}))},x=N=>{const{code:M,event:O,message:F}=N.data;if((O==null?void 0:O.source)!=="authing")return;if(M===200){u("refresh"),C();return}let q;try{q=JSON.parse(F)}catch{return}const{statusCode:Y}=q;Y===409?a.danger({content:n("common.REPEAT_BIND")}):a.danger({content:n("common.BIND_FAILED")})},p=()=>{window.addEventListener("message",x)},m=N=>{l.linkAccount().then(M=>{const{data:O=[]}=M,F=O.find(q=>q.name===f[N]);F&&window.open(F.authorizationUrl,"_blank",`width=500,height=700,left=${(screen.width-500)/2},top=${(screen.height-700)/2}`)})},b=e.ref(),C=()=>{(b.value==="gitee"||b.value==="gitcode")&&l.updateAuth(l.community).then()},E=N=>{b.value=N,l.unlinkAccount({platform:N}).then(()=>{a.success({content:n("common.UNBIND_SUCCESS")}),_.value=!1,u("refresh"),C()})},w=N=>{l.bindAccountPost(N).then(()=>{a.success({content:n("common.BIND_SUCCESS")}),I.value=!1,u("refresh")})},P=()=>{var N,M;v(),(M=(N=l.userInfo)==null?void 0:N.identities)!=null&&M.length&&g.value.forEach(O=>{var q;const F=(q=l.userInfo)==null?void 0:q.identities.find(Y=>Y.identity===O.key);F&&(O.value=F.user_name)})},T=e.ref("unbind_github"),_=e.ref(!1),I=e.ref(!1),D={confirm_bind_email:{key:"confirm_bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",content:"CONFIRM_BIND_EMAIL",confirm:()=>{T.value="bind_email",I.value=!0}},bind_email:{key:"bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",account:{label:"EMAIL",placeholder:"INPUT_NEW_EMAIL"},code:{label:"EMAIL_CODE",placeholder:"ENTER_EMAIL_CODE"},confirm:N=>{w(N)}},unbind_github:{key:"unbind_github",account_type:"github",label:"Github",field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",confirm:N=>{E(N.account_type)}},unbind_gitee:{key:"unbind_gitee",account_type:"gitee",label:"Gitee",field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",confirm:N=>{E(N.account_type)}},unbind_wechat:{key:"unbind_wechat",account_type:"wechat",label:n("common.WECHAT"),field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",confirm:N=>{E(N.account_type)}},unbind_openatom:{key:"unbind_openatom",account_type:"openatom",label:"OpenAtom",field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",confirm:N=>{E(N.account_type)}},unbind_gitcode:{key:"unbind_gitcode",account_type:"gitcode",field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",label:"AtomGit",confirm:N=>{E(N.account_type)}}},B=N=>{var O;if(!wn((O=l.userInfo)==null?void 0:O.email)){T.value="confirm_bind_email",I.value=!0;return}const M=`unbind_${N}`;T.value=M,_.value=!0};return e.onMounted(()=>{P(),p()}),e.onUnmounted(()=>{window.removeEventListener("message",x)}),e.watch(()=>l.userInfo,()=>{P()}),(N,M)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(o)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",IR,e.toDisplayString(e.unref(n)("common.THIRD_ACCOUNT_BIND")),1)),e.createVNode(e.unref(S.OSkeleton),{animation:!0,loading:r.userInfo.loading},{template:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,O=>(e.openBlock(),e.createElementBlock("div",{key:O.key,class:"third-party-item"},[e.createVNode(e.unref(S.OIcon),{class:"icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(O.icon)))]),_:2},1024),e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(i)==="zh","common-label-en":e.unref(i)==="en"})},e.toDisplayString(O.label),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"skeleton-text"})]))),128))]),default:e.withCtx(()=>[r.userInfo.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["third-seeting",{"third-seeting-pad":e.unref(o)}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,O=>(e.openBlock(),e.createElementBlock("div",{key:O.key,class:"third-party-item"},[e.createElementVNode("div",OR,[e.createVNode(e.unref(S.OIcon),{class:"icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(O.icon)))]),_:2},1024),e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(i)==="zh","common-label-en":e.unref(i)==="en"})},e.toDisplayString(O.label),3),e.createElementVNode("div",PR,e.toDisplayString(O.value),1)]),e.createElementVNode("div",LR,[e.unref(o)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[O.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:F=>B(O.key)},null,8,MR)):(e.openBlock(),e.createElementBlock("div",RR,[e.createElementVNode("span",FR,e.toDisplayString(e.unref(n)("common.UNBIND")),1),e.createElementVNode("img",{src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:F=>m(O.key)},null,8,qR)]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[O.value?(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:0,class:"unbind",color:"primary",onClick:F=>B(O.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.UNBIND_EMAIL")),1)]),_:1},8,["onClick"])):(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:1,onClick:F=>m(O.key),class:"bind"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.BIND")),1)]),_:1},8,["onClick"]))],64))])]))),128))],2))]),_:1},8,["loading"]),e.createVNode(vR,{modelValue:_.value,"onUpdate:modelValue":M[0]||(M[0]=O=>_.value=O),config:D[T.value]},null,8,["modelValue","config"]),e.createVNode(Yu,{modelValue:I.value,"onUpdate:modelValue":M[1]||(M[1]=O=>I.value=O),config:D[T.value],"operate-key":T.value,"user-info":r.userInfo,"send-code-post":r.sendCodePost,"captcha-apis":r.captchaApis},null,8,["modelValue","config","operate-key","user-info","send-code-post","captcha-apis"])],64))}}),ip=be._export_sfc(zR,[["__scopeId","data-v-d845c0b7"]]),UR=new Map([["maintainer",{id:"maintainer",name:"Maintainer",desc:"代码仓库的核心维护者,拥有代码合入权限。"}],["committer",{id:"committer",name:"Committer",desc:"具备审核者的所有职责,还主导组件的架构演进、质量保障和生态适配。"}],["creator",{id:"creator",name:"会议管理员",desc:"拥有创建会议的权限。"}]]),HR="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAIAAAAP3aGbAAAjJ0lEQVR4Xu3dCXgb5YHw8eY2uQlJONNyk0LTkgAJSQjkAALlLhTKR4FSAoTrC5SULbRbWqDdln5sPwrLwrZLDygLBUIJV7gCISFA7tuxnThObMe25Nu6NZrsKxkUWa9sj0Yzo3ml//v8nn3YdCQrsebvd8Yzr76yqk4DACV8Rf4jAHAnggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsGCldfVagz8W1vSYrmsxvaFD9/j1Bp9e2RKTNwayRbBgGW9AZErf9+UQwarv2E+UawfZQm4IFiywtl4LRfenKmOwOtV26PLDAYMIFiwgjgHTatVdsIS9NAtmESzkqjWUoVb7ug+WsJNjQ5hCsJCTLV4t9bxV6ughWB6fvlp6KqBXBAs56QhnrtW+HoMlVLUxyULWCBZyEutmerWvt2CJSZb8bEDPCBbM2+jR0iuVMno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PTXTnk5r4UqKiPqyaACMIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyvhfseFouJFq77wAAAAASUVORK5CYII=",jR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function XR(r,t){return e.openBlock(),e.createElementBlock("svg",jR,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M26.729 26.031c0.516 0 0.933 0.417 0.933 0.933 0 0.472-0.351 0.863-0.807 0.925l-0.127 0.008h-20.687c-0.516 0-0.933-0.417-0.933-0.933 0-0.472 0.351-0.863 0.807-0.925l0.127-0.008h20.687zM26.729 21.808c0.516 0 0.933 0.417 0.933 0.933 0 0.472-0.351 0.863-0.807 0.925l-0.127 0.008h-8.627c-0.516 0-0.933-0.417-0.933-0.933 0-0.472 0.351-0.863 0.807-0.925l0.127-0.008h8.627zM16.881 4.961c1.145-1.145 3.003-1.145 4.148 0v0l2.824 2.824c1.145 1.145 1.145 3.003 0 4.148v0l-10.744 10.744c-0.528 0.528-1.239 0.835-1.985 0.857v0l-4.612 0.14c-0.736 0.023-1.351-0.556-1.373-1.292v0-0.040l0.14-4.652c0.023-0.747 0.329-1.457 0.857-1.985v0zM19.709 6.281c-0.416-0.416-1.092-0.416-1.508 0v0l-10.744 10.744c-0.192 0.192-0.304 0.451-0.312 0.721v0l-0.123 4.045 4.045-0.123c0.217-0.007 0.425-0.079 0.599-0.207v0l0.123-0.105 10.744-10.744c0.416-0.416 0.416-1.092 0-1.508v0z"},null,-1)])])}const rp={name:"user-center-icon-edit-new",render:XR},GR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function QR(r,t){return e.openBlock(),e.createElementBlock("svg",GR,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"},null,-1)])])}const YR={name:"user-center-icon-tips",render:QR};/*!
|
|
240
|
+
*/return n.mode.CTRGladman=(function(){var i=n.lib.BlockCipherMode.extend();function s(l){if((l>>24&255)===255){var u=l>>16&255,c=l>>8&255,d=l&255;u===255?(u=0,c===255?(c=0,d===255?d=0:++d):++c):++u,l=0,l+=u<<16,l+=c<<8,l+=d}else l+=1<<24;return l}function a(l){return(l[0]=s(l[0]))===0&&(l[1]=s(l[1])),l}var o=i.Encryptor=i.extend({processBlock:function(l,u){var c=this._cipher,d=c.blockSize,f=this._iv,g=this._counter;f&&(g=this._counter=f.slice(0),this._iv=void 0),a(g);var v=g.slice(0);c.encryptBlock(v,0);for(var x=0;x<d;x++)l[u+x]^=v[x]}});return i.Decryptor=o,i})(),n.mode.CTRGladman})})(bo)),bo.exports}var Eo={exports:{}},QO=Eo.exports,V1;function YO(){return V1||(V1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(QO,function(n){return n.mode.OFB=(function(){var i=n.lib.BlockCipherMode.extend(),s=i.Encryptor=i.extend({processBlock:function(a,o){var l=this._cipher,u=l.blockSize,c=this._iv,d=this._keystream;c&&(d=this._keystream=c.slice(0),this._iv=void 0),l.encryptBlock(d,0);for(var f=0;f<u;f++)a[o+f]^=d[f]}});return i.Decryptor=s,i})(),n.mode.OFB})})(Eo)),Eo.exports}var Ao={exports:{}},WO=Ao.exports,N1;function KO(){return N1||(N1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(WO,function(n){return n.mode.ECB=(function(){var i=n.lib.BlockCipherMode.extend();return i.Encryptor=i.extend({processBlock:function(s,a){this._cipher.encryptBlock(s,a)}}),i.Decryptor=i.extend({processBlock:function(s,a){this._cipher.decryptBlock(s,a)}}),i})(),n.mode.ECB})})(Ao)),Ao.exports}var ko={exports:{}},JO=ko.exports,I1;function ZO(){return I1||(I1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(JO,function(n){return n.pad.AnsiX923={pad:function(i,s){var a=i.sigBytes,o=s*4,l=o-a%o,u=a+l-1;i.clamp(),i.words[u>>>2]|=l<<24-u%4*8,i.sigBytes+=l},unpad:function(i){var s=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=s}},n.pad.Ansix923})})(ko)),ko.exports}var _o={exports:{}},$O=_o.exports,O1;function eP(){return O1||(O1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})($O,function(n){return n.pad.Iso10126={pad:function(i,s){var a=s*4,o=a-i.sigBytes%a;i.concat(n.lib.WordArray.random(o-1)).concat(n.lib.WordArray.create([o<<24],1))},unpad:function(i){var s=i.words[i.sigBytes-1>>>2]&255;i.sigBytes-=s}},n.pad.Iso10126})})(_o)),_o.exports}var To={exports:{}},tP=To.exports,P1;function nP(){return P1||(P1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(tP,function(n){return n.pad.Iso97971={pad:function(i,s){i.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(i,s)},unpad:function(i){n.pad.ZeroPadding.unpad(i),i.sigBytes--}},n.pad.Iso97971})})(To)),To.exports}var wo={exports:{}},iP=wo.exports,L1;function rP(){return L1||(L1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(iP,function(n){return n.pad.ZeroPadding={pad:function(i,s){var a=s*4;i.clamp(),i.sigBytes+=a-(i.sigBytes%a||a)},unpad:function(i){for(var s=i.words,a=i.sigBytes-1,a=i.sigBytes-1;a>=0;a--)if(s[a>>>2]>>>24-a%4*8&255){i.sigBytes=a+1;break}}},n.pad.ZeroPadding})})(wo)),wo.exports}var So={exports:{}},sP=So.exports,M1;function aP(){return M1||(M1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(sP,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(So)),So.exports}var Do={exports:{}},oP=Do.exports,R1;function lP(){return R1||(R1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Yt())})(oP,function(n){return(function(i){var s=n,a=s.lib,o=a.CipherParams,l=s.enc,u=l.Hex,c=s.format;c.Hex={stringify:function(d){return d.ciphertext.toString(u)},parse:function(d){var f=u.parse(d);return o.create({ciphertext:f})}}})(),n.format.Hex})})(Do)),Do.exports}var Bo={exports:{}},cP=Bo.exports,F1;function uP(){return F1||(F1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(cP,function(n){return(function(){var i=n,s=i.lib,a=s.BlockCipher,o=i.algo,l=[],u=[],c=[],d=[],f=[],g=[],v=[],x=[],p=[],m=[];(function(){for(var E=[],w=0;w<256;w++)w<128?E[w]=w<<1:E[w]=w<<1^283;for(var P=0,T=0,w=0;w<256;w++){var _=T^T<<1^T<<2^T<<3^T<<4;_=_>>>8^_&255^99,l[P]=_,u[_]=P;var I=E[P],D=E[I],B=E[D],N=E[_]*257^_*16843008;c[P]=N<<24|N>>>8,d[P]=N<<16|N>>>16,f[P]=N<<8|N>>>24,g[P]=N;var N=B*16843009^D*65537^I*257^P*16843008;v[_]=N<<24|N>>>8,x[_]=N<<16|N>>>16,p[_]=N<<8|N>>>24,m[_]=N,P?(P=I^E[E[E[B^I]]],T^=E[E[T]]):P=T=1}})();var b=[0,1,2,4,8,16,32,64,128,27,54],C=o.AES=a.extend({_doReset:function(){var E;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var w=this._keyPriorReset=this._key,P=w.words,T=w.sigBytes/4,_=this._nRounds=T+6,I=(_+1)*4,D=this._keySchedule=[],B=0;B<I;B++)B<T?D[B]=P[B]:(E=D[B-1],B%T?T>6&&B%T==4&&(E=l[E>>>24]<<24|l[E>>>16&255]<<16|l[E>>>8&255]<<8|l[E&255]):(E=E<<8|E>>>24,E=l[E>>>24]<<24|l[E>>>16&255]<<16|l[E>>>8&255]<<8|l[E&255],E^=b[B/T|0]<<24),D[B]=D[B-T]^E);for(var N=this._invKeySchedule=[],M=0;M<I;M++){var B=I-M;if(M%4)var E=D[B];else var E=D[B-4];M<4||B<=4?N[M]=E:N[M]=v[l[E>>>24]]^x[l[E>>>16&255]]^p[l[E>>>8&255]]^m[l[E&255]]}}},encryptBlock:function(E,w){this._doCryptBlock(E,w,this._keySchedule,c,d,f,g,l)},decryptBlock:function(E,w){var P=E[w+1];E[w+1]=E[w+3],E[w+3]=P,this._doCryptBlock(E,w,this._invKeySchedule,v,x,p,m,u);var P=E[w+1];E[w+1]=E[w+3],E[w+3]=P},_doCryptBlock:function(E,w,P,T,_,I,D,B){for(var N=this._nRounds,M=E[w]^P[0],O=E[w+1]^P[1],F=E[w+2]^P[2],q=E[w+3]^P[3],Y=4,z=1;z<N;z++){var Q=T[M>>>24]^_[O>>>16&255]^I[F>>>8&255]^D[q&255]^P[Y++],X=T[O>>>24]^_[F>>>16&255]^I[q>>>8&255]^D[M&255]^P[Y++],j=T[F>>>24]^_[q>>>16&255]^I[M>>>8&255]^D[O&255]^P[Y++],R=T[q>>>24]^_[M>>>16&255]^I[O>>>8&255]^D[F&255]^P[Y++];M=Q,O=X,F=j,q=R}var Q=(B[M>>>24]<<24|B[O>>>16&255]<<16|B[F>>>8&255]<<8|B[q&255])^P[Y++],X=(B[O>>>24]<<24|B[F>>>16&255]<<16|B[q>>>8&255]<<8|B[M&255])^P[Y++],j=(B[F>>>24]<<24|B[q>>>16&255]<<16|B[M>>>8&255]<<8|B[O&255])^P[Y++],R=(B[q>>>24]<<24|B[M>>>16&255]<<16|B[O>>>8&255]<<8|B[F&255])^P[Y++];E[w]=Q,E[w+1]=X,E[w+2]=j,E[w+3]=R},keySize:256/32});i.AES=a._createHelper(C)})(),n.AES})})(Bo)),Bo.exports}var Vo={exports:{}},dP=Vo.exports,q1;function hP(){return q1||(q1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(dP,function(n){return(function(){var i=n,s=i.lib,a=s.WordArray,o=s.BlockCipher,l=i.algo,u=[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],c=[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],d=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],f=[{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}],g=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],v=l.DES=o.extend({_doReset:function(){for(var b=this._key,C=b.words,E=[],w=0;w<56;w++){var P=u[w]-1;E[w]=C[P>>>5]>>>31-P%32&1}for(var T=this._subKeys=[],_=0;_<16;_++){for(var I=T[_]=[],D=d[_],w=0;w<24;w++)I[w/6|0]|=E[(c[w]-1+D)%28]<<31-w%6,I[4+(w/6|0)]|=E[28+(c[w+24]-1+D)%28]<<31-w%6;I[0]=I[0]<<1|I[0]>>>31;for(var w=1;w<7;w++)I[w]=I[w]>>>(w-1)*4+3;I[7]=I[7]<<5|I[7]>>>27}for(var B=this._invSubKeys=[],w=0;w<16;w++)B[w]=T[15-w]},encryptBlock:function(b,C){this._doCryptBlock(b,C,this._subKeys)},decryptBlock:function(b,C){this._doCryptBlock(b,C,this._invSubKeys)},_doCryptBlock:function(b,C,E){this._lBlock=b[C],this._rBlock=b[C+1],x.call(this,4,252645135),x.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),x.call(this,1,1431655765);for(var w=0;w<16;w++){for(var P=E[w],T=this._lBlock,_=this._rBlock,I=0,D=0;D<8;D++)I|=f[D][((_^P[D])&g[D])>>>0];this._lBlock=_,this._rBlock=T^I}var B=this._lBlock;this._lBlock=this._rBlock,this._rBlock=B,x.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),b[C]=this._lBlock,b[C+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(b,C){var E=(this._lBlock>>>b^this._rBlock)&C;this._rBlock^=E,this._lBlock^=E<<b}function p(b,C){var E=(this._rBlock>>>b^this._lBlock)&C;this._lBlock^=E,this._rBlock^=E<<b}i.DES=o._createHelper(v);var m=l.TripleDES=o.extend({_doReset:function(){var b=this._key,C=b.words;if(C.length!==2&&C.length!==4&&C.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var E=C.slice(0,2),w=C.length<4?C.slice(0,2):C.slice(2,4),P=C.length<6?C.slice(0,2):C.slice(4,6);this._des1=v.createEncryptor(a.create(E)),this._des2=v.createEncryptor(a.create(w)),this._des3=v.createEncryptor(a.create(P))},encryptBlock:function(b,C){this._des1.encryptBlock(b,C),this._des2.decryptBlock(b,C),this._des3.encryptBlock(b,C)},decryptBlock:function(b,C){this._des3.decryptBlock(b,C),this._des2.encryptBlock(b,C),this._des1.decryptBlock(b,C)},keySize:192/32,ivSize:64/32,blockSize:64/32});i.TripleDES=o._createHelper(m)})(),n.TripleDES})})(Vo)),Vo.exports}var No={exports:{}},fP=No.exports,z1;function pP(){return z1||(z1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(fP,function(n){return(function(){var i=n,s=i.lib,a=s.StreamCipher,o=i.algo,l=o.RC4=a.extend({_doReset:function(){for(var d=this._key,f=d.words,g=d.sigBytes,v=this._S=[],x=0;x<256;x++)v[x]=x;for(var x=0,p=0;x<256;x++){var m=x%g,b=f[m>>>2]>>>24-m%4*8&255;p=(p+v[x]+b)%256;var C=v[x];v[x]=v[p],v[p]=C}this._i=this._j=0},_doProcessBlock:function(d,f){d[f]^=u.call(this)},keySize:256/32,ivSize:0});function u(){for(var d=this._S,f=this._i,g=this._j,v=0,x=0;x<4;x++){f=(f+1)%256,g=(g+d[f])%256;var p=d[f];d[f]=d[g],d[g]=p,v|=d[(d[f]+d[g])%256]<<24-x*8}return this._i=f,this._j=g,v}i.RC4=a._createHelper(l);var c=o.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var d=this.cfg.drop;d>0;d--)u.call(this)}});i.RC4Drop=a._createHelper(c)})(),n.RC4})})(No)),No.exports}var Io={exports:{}},mP=Io.exports,U1;function gP(){return U1||(U1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(mP,function(n){return(function(){var i=n,s=i.lib,a=s.StreamCipher,o=i.algo,l=[],u=[],c=[],d=o.Rabbit=a.extend({_doReset:function(){for(var g=this._key.words,v=this.cfg.iv,x=0;x<4;x++)g[x]=(g[x]<<8|g[x]>>>24)&16711935|(g[x]<<24|g[x]>>>8)&4278255360;var p=this._X=[g[0],g[3]<<16|g[2]>>>16,g[1],g[0]<<16|g[3]>>>16,g[2],g[1]<<16|g[0]>>>16,g[3],g[2]<<16|g[1]>>>16],m=this._C=[g[2]<<16|g[2]>>>16,g[0]&4294901760|g[1]&65535,g[3]<<16|g[3]>>>16,g[1]&4294901760|g[2]&65535,g[0]<<16|g[0]>>>16,g[2]&4294901760|g[3]&65535,g[1]<<16|g[1]>>>16,g[3]&4294901760|g[0]&65535];this._b=0;for(var x=0;x<4;x++)f.call(this);for(var x=0;x<8;x++)m[x]^=p[x+4&7];if(v){var b=v.words,C=b[0],E=b[1],w=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,P=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T=w>>>16|P&4294901760,_=P<<16|w&65535;m[0]^=w,m[1]^=T,m[2]^=P,m[3]^=_,m[4]^=w,m[5]^=T,m[6]^=P,m[7]^=_;for(var x=0;x<4;x++)f.call(this)}},_doProcessBlock:function(g,v){var x=this._X;f.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,g[v+p]^=l[p]},blockSize:128/32,ivSize:64/32});function f(){for(var g=this._X,v=this._C,x=0;x<8;x++)u[x]=v[x];v[0]=v[0]+1295307597+this._b|0,v[1]=v[1]+3545052371+(v[0]>>>0<u[0]>>>0?1:0)|0,v[2]=v[2]+886263092+(v[1]>>>0<u[1]>>>0?1:0)|0,v[3]=v[3]+1295307597+(v[2]>>>0<u[2]>>>0?1:0)|0,v[4]=v[4]+3545052371+(v[3]>>>0<u[3]>>>0?1:0)|0,v[5]=v[5]+886263092+(v[4]>>>0<u[4]>>>0?1:0)|0,v[6]=v[6]+1295307597+(v[5]>>>0<u[5]>>>0?1:0)|0,v[7]=v[7]+3545052371+(v[6]>>>0<u[6]>>>0?1:0)|0,this._b=v[7]>>>0<u[7]>>>0?1:0;for(var x=0;x<8;x++){var p=g[x]+v[x],m=p&65535,b=p>>>16,C=((m*m>>>17)+m*b>>>15)+b*b,E=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=C^E}g[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,g[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,g[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,g[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,g[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,g[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,g[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,g[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}i.Rabbit=a._createHelper(d)})(),n.Rabbit})})(Io)),Io.exports}var Oo={exports:{}},vP=Oo.exports,H1;function yP(){return H1||(H1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(vP,function(n){return(function(){var i=n,s=i.lib,a=s.StreamCipher,o=i.algo,l=[],u=[],c=[],d=o.RabbitLegacy=a.extend({_doReset:function(){var g=this._key.words,v=this.cfg.iv,x=this._X=[g[0],g[3]<<16|g[2]>>>16,g[1],g[0]<<16|g[3]>>>16,g[2],g[1]<<16|g[0]>>>16,g[3],g[2]<<16|g[1]>>>16],p=this._C=[g[2]<<16|g[2]>>>16,g[0]&4294901760|g[1]&65535,g[3]<<16|g[3]>>>16,g[1]&4294901760|g[2]&65535,g[0]<<16|g[0]>>>16,g[2]&4294901760|g[3]&65535,g[1]<<16|g[1]>>>16,g[3]&4294901760|g[0]&65535];this._b=0;for(var m=0;m<4;m++)f.call(this);for(var m=0;m<8;m++)p[m]^=x[m+4&7];if(v){var b=v.words,C=b[0],E=b[1],w=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,P=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,T=w>>>16|P&4294901760,_=P<<16|w&65535;p[0]^=w,p[1]^=T,p[2]^=P,p[3]^=_,p[4]^=w,p[5]^=T,p[6]^=P,p[7]^=_;for(var m=0;m<4;m++)f.call(this)}},_doProcessBlock:function(g,v){var x=this._X;f.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,g[v+p]^=l[p]},blockSize:128/32,ivSize:64/32});function f(){for(var g=this._X,v=this._C,x=0;x<8;x++)u[x]=v[x];v[0]=v[0]+1295307597+this._b|0,v[1]=v[1]+3545052371+(v[0]>>>0<u[0]>>>0?1:0)|0,v[2]=v[2]+886263092+(v[1]>>>0<u[1]>>>0?1:0)|0,v[3]=v[3]+1295307597+(v[2]>>>0<u[2]>>>0?1:0)|0,v[4]=v[4]+3545052371+(v[3]>>>0<u[3]>>>0?1:0)|0,v[5]=v[5]+886263092+(v[4]>>>0<u[4]>>>0?1:0)|0,v[6]=v[6]+1295307597+(v[5]>>>0<u[5]>>>0?1:0)|0,v[7]=v[7]+3545052371+(v[6]>>>0<u[6]>>>0?1:0)|0,this._b=v[7]>>>0<u[7]>>>0?1:0;for(var x=0;x<8;x++){var p=g[x]+v[x],m=p&65535,b=p>>>16,C=((m*m>>>17)+m*b>>>15)+b*b,E=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=C^E}g[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,g[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,g[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,g[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,g[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,g[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,g[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,g[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}i.RabbitLegacy=a._createHelper(d)})(),n.RabbitLegacy})})(Oo)),Oo.exports}var Po={exports:{}},xP=Po.exports,j1;function CP(){return j1||(j1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),gr(),vr(),ji(),Yt())})(xP,function(n){return(function(){var i=n,s=i.lib,a=s.BlockCipher,o=i.algo;const l=16,u=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var d={pbox:[],sbox:[]};function f(m,b){let C=b>>24&255,E=b>>16&255,w=b>>8&255,P=b&255,T=m.sbox[0][C]+m.sbox[1][E];return T=T^m.sbox[2][w],T=T+m.sbox[3][P],T}function g(m,b,C){let E=b,w=C,P;for(let T=0;T<l;++T)E=E^m.pbox[T],w=f(m,E)^w,P=E,E=w,w=P;return P=E,E=w,w=P,w=w^m.pbox[l],E=E^m.pbox[l+1],{left:E,right:w}}function v(m,b,C){let E=b,w=C,P;for(let T=l+1;T>1;--T)E=E^m.pbox[T],w=f(m,E)^w,P=E,E=w,w=P;return P=E,E=w,w=P,w=w^m.pbox[1],E=E^m.pbox[0],{left:E,right:w}}function x(m,b,C){for(let _=0;_<4;_++){m.sbox[_]=[];for(let I=0;I<256;I++)m.sbox[_][I]=c[_][I]}let E=0;for(let _=0;_<l+2;_++)m.pbox[_]=u[_]^b[E],E++,E>=C&&(E=0);let w=0,P=0,T=0;for(let _=0;_<l+2;_+=2)T=g(m,w,P),w=T.left,P=T.right,m.pbox[_]=w,m.pbox[_+1]=P;for(let _=0;_<4;_++)for(let I=0;I<256;I+=2)T=g(m,w,P),w=T.left,P=T.right,m.sbox[_][I]=w,m.sbox[_][I+1]=P;return!0}var p=o.Blowfish=a.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var m=this._keyPriorReset=this._key,b=m.words,C=m.sigBytes/4;x(d,b,C)}},encryptBlock:function(m,b){var C=g(d,m[b],m[b+1]);m[b]=C.left,m[b+1]=C.right},decryptBlock:function(m,b){var C=v(d,m[b],m[b+1]);m[b]=C.left,m[b+1]=C.right},blockSize:64/32,keySize:128/32,ivSize:64/32});i.Blowfish=a._createHelper(p)})(),n.Blowfish})})(Po)),Po.exports}var bP=$a.exports,X1;function EP(){return X1||(X1=1,(function(r,t){(function(n,i,s){r.exports=i(rt(),Ll(),yO(),CO(),gr(),AO(),vr(),Og(),Xu(),SO(),Pg(),VO(),IO(),PO(),Gu(),RO(),ji(),Yt(),UO(),jO(),GO(),YO(),KO(),ZO(),eP(),nP(),rP(),aP(),lP(),uP(),hP(),pP(),gP(),yP(),CP())})(bP,function(n){return n})})($a)),$a.exports}var AP=EP();const Ss=pr(AP);function G1(r,t){const n=Ss.enc.Utf8.parse(t),i=Ss.enc.Utf8.parse(r);return Ss.AES.encrypt(i,n,{mode:Ss.mode.ECB,padding:Ss.pad.Pkcs7}).toString()}function kP(r){let t,n,i,s;const a=r.$el.parentNode.offsetWidth||window.offsetWidth,o=r.$el.parentNode.offsetHeight||window.offsetHeight;return r.imgSize.width.indexOf("%")!==-1?t=parseInt(r.imgSize.width)/100*a+"px":t=r.imgSize.width,r.imgSize.height.indexOf("%")!==-1?n=parseInt(r.imgSize.height)/100*o+"px":n=r.imgSize.height,r.barSize.width.indexOf("%")!==-1?i=parseInt(r.barSize.width)/100*a+"px":i=r.barSize.width,r.barSize.height.indexOf("%")!==-1?s=parseInt(r.barSize.height)/100*o+"px":s=r.barSize.height,{imgWidth:t,imgHeight:n,barWidth:i,barHeight:s}}const _P={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function TP(r,t){return e.openBlock(),e.createElementBlock("svg",_P,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M9.246 5.764c-0.251 0.251-0.271 0.644-0.063 0.918l0.063 0.072 5.016 5.016c0.1 0.1 0.115 0.254 0.043 0.37l-0.043 0.054-5.062 5.062c-0.273 0.273-0.273 0.717 0 0.99 0.251 0.251 0.644 0.271 0.918 0.063l0.072-0.063 5.062-5.062c0.629-0.629 0.662-1.628 0.099-2.296l-0.099-0.108-5.016-5.016c-0.273-0.273-0.717-0.273-0.99 0z"},null,-1)])])}const Q1={name:"user-center-icon-chevron-right",render:TP},wP={viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"};function SP(r,t){return e.openBlock(),e.createElementBlock("svg",wP,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M18.528 5.472a.7.7 0 0 1 .074.903l-.074.087L12.988 12l.006.006-.989.989-.006-.006-5.538 5.54a.7.7 0 0 1-1.064-.903l.074-.087L11.009 12 5.471 6.462l-.074-.087a.7.7 0 0 1 .977-.977l.087.074 5.538 5.539 5.539-5.539a.7.7 0 0 1 .99 0m-3.977 8.089 3.978 3.978.074.087a.7.7 0 0 1-.977.977l-.087-.074-3.978-3.978a.7.7 0 0 1 .99-.99"},null,-1)])])}const z0={name:"user-center-icon-close",render:SP},DP={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function BP(r,t){return e.openBlock(),e.createElementBlock("svg",DP,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M20.402 5.956c0.274-0.273 0.717-0.272 0.99 0.001 0.246 0.246 0.27 0.63 0.073 0.903l-0.074 0.087-10.491 10.465c-0.53 0.529-1.367 0.562-1.936 0.101l-0.11-0.099-5.231-5.202c-0.274-0.273-0.275-0.716-0.003-0.99 0.245-0.247 0.629-0.272 0.903-0.076l0.087 0.074 5.231 5.202c0.013 0.013 0.031 0.017 0.048 0.013l0.023-0.013 10.491-10.465z"},null,-1)])])}const VP={name:"user-center-icon-done",render:BP},NP={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24",height:"24",fill:"none",customFrame:"#000000"};function IP(r,t){return e.openBlock(),e.createElementBlock("svg",NP,[...t[0]||(t[0]=[e.createElementVNode("g",{id:"编组 14"},[e.createElementVNode("rect",{id:"矩形",width:"24",height:"24",x:"0",y:"0",fill:"rgb(216,216,216)","fill-opacity":"0"}),e.createElementVNode("rect",{id:"矩形",width:"23",height:"23",x:"0.5",y:"0.5",stroke:"rgb(151,151,151)","stroke-opacity":"0","stroke-width":"1"}),e.createElementVNode("path",{id:"形状结合",d:"M2.84911 9.19103C4.39452 4.13544 9.74608 1.29006 14.8017 2.83572C16.3022 3.2944 17.6396 4.09918 18.7285 5.17552L18.729 3.92534C18.729 3.57096 18.9922 3.27809 19.334 3.23174L19.4287 3.22534C19.7832 3.22534 20.0762 3.48869 20.1225 3.83035L20.1289 3.92534L20.1289 6.57845C20.1289 7.06564 19.7622 7.46718 19.2895 7.52206L19.1787 7.52845L16.5259 7.52845C16.1391 7.52845 15.8257 7.21505 15.8257 6.82845C15.8257 6.47407 16.0889 6.18119 16.4307 6.13484L16.5259 6.12845L17.7002 6.12818C16.7793 5.23134 15.6538 4.56033 14.3921 4.17455C10.0762 2.85495 5.50731 5.28417 4.18798 9.60036C2.86815 13.9165 5.29735 18.4852 9.61376 19.8048C13.9297 21.1244 18.4985 18.6952 19.8183 14.379C20.2558 12.9466 20.291 11.4544 19.939 10.033C19.8462 9.65774 20.0747 9.27818 20.4502 9.18525C20.8252 9.09232 21.2051 9.32119 21.2978 9.69645C21.7104 11.362 21.6694 13.112 21.1567 14.7883C19.6113 19.8439 14.2598 22.6893 9.20409 21.1437C4.14891 19.598 1.30321 14.2466 2.84911 9.19103Z",fill:"rgb(255,255,255)","fill-rule":"evenodd"})],-1)])])}const OP={name:"user-center-icon-refresh",render:IP},PP={name:"VerifySlide",components:{OIcon:S.OIcon,IconRefresh:OP},props:{captchaType:{type:String},mode:{type:String,default:"fixed"},vSpace:{type:Number,default:15},explain:{type:String,default:"向右滑动完成验证"},imgSize:{type:Object,default(){return{width:"310px",height:"155px"}}},blockSize:{type:Object,default(){return{width:"50px",height:"50px"}}},barSize:{type:Object,default(){return{width:"310px",height:"40px"}}},apiType:{type:String,default:"ACCOUNT"},community:{type:String,default:"openeuler"},captchaApis:{type:Object,required:!0}},setup(r){const{mode:t,captchaType:n,blockSize:i,apiType:s}=e.toRefs(r),{t:a}=be.useI18n(),o=e.computed(()=>a("common.SWIPE_RIGHT")),{proxy:l}=e.getCurrentInstance(),u=e.ref(""),c=e.ref(""),d=e.ref(""),f=e.ref(""),g=e.ref(""),v=e.ref(0),x=e.ref(0),p=e.ref(""),m=e.ref(""),b=e.ref(""),C=e.ref(""),E=e.reactive({imgHeight:0,imgWidth:0,barHeight:0,barWidth:0}),w=e.ref(0),P=e.ref(0),T=e.ref(void 0),_=e.ref(void 0),I=e.ref(void 0),D=e.ref(void 0),B=e.ref(void 0),N=e.shallowRef(Q1),M=e.ref(!1),O=e.ref(!1),F=e.ref(!0),q=e.ref(""),Y=e.ref(""),z=e.ref(0),Q=e.computed(()=>l.$el.querySelector(".verify-bar-area"));function X(){const W={captchaType:n.value};(s.value==="ACCOUNT"?r.captchaApis.reqGet:r.captchaApis.getImgToken)(W).then(ue=>{ue.repCode==="0000"?(d.value=ue.repData.originalImageBase64,f.value=ue.repData.jigsawImageBase64,g.value=ue.repData.token,u.value=ue.repData.secretKey):m.value=ue.repMsg})}const j=()=>{F.value=!0,C.value="",q.value="left .2s",T.value=0,_.value=void 0,Y.value="width .2s",D.value=void 0,I.value=void 0,B.value=void 0,N.value=Q1,O.value=!1,X(),setTimeout(()=>{Y.value="",q.value="",b.value=o.value},300)};function R(W){W=W||window.event;let oe;if(W.touches?oe=W.touches[0].pageX:oe=W.clientX,z.value=Math.floor(oe-Q.value.getBoundingClientRect().left),v.value=Number(new Date),O.value===!1){const pe={openeuler:"#002fa7",opengauss:"#6e1be8",mindspore:"#0080f2",openmind:"#121212"}[r.community];b.value="",I.value=pe,D.value=pe,B.value="#fff",W.stopPropagation(),M.value=!0}}function U(W){if(W=W||window.event,M.value&&O.value===!1){let oe;W.touches?oe=W.touches[0].pageX:oe=W.clientX;const ue=Q.value.getBoundingClientRect().left;let pe=oe-ue;pe>=Q.value.offsetWidth-parseInt(i.value.width)/2-2&&(pe=Q.value.offsetWidth-parseInt(i.value.width)/2-2),pe<=0&&(pe=parseInt(i.value.width)/2),T.value=pe-z.value+"px",_.value=pe-z.value+5+"px"}}function K(){if(x.value=Number(new Date),M.value&&O.value===!1){let W=parseInt((T.value||"").replace("px",""));W=W*310/parseInt(String(E.imgWidth));const oe={captchaType:n.value,pointJson:u.value?G1(JSON.stringify({x:W,y:5}),u.value):JSON.stringify({x:W,y:5}),token:g.value};(s.value==="ACCOUNT"?r.captchaApis.reqCheck:r.captchaApis.checkImgToken)(oe).then(pe=>{if(pe.repCode==="0000"){I.value="#6dc335",D.value="#6dc335",B.value="#fff",N.value=VP,F.value=!1,O.value=!0,t.value==="pop"&&setTimeout(()=>{l.$parent.clickShow=!1,j()},1500),c.value=!0,m.value=a("common.VERIFY_SUCCESS",{second:`${((x.value-v.value)/1e3).toFixed(2)}`});const me=u.value?G1(g.value+"---"+JSON.stringify({x:W,y:5}),u.value):g.value+"---"+JSON.stringify({x:W,y:5});setTimeout(()=>{m.value="",l.$parent.closeBox(),l.$parent.$emit("success",{captchaVerification:me})},1e3)}else{O.value=!0,I.value="rgb(var(--varify-error-color2))",D.value="rgb(var(--varify-error-color2))",B.value="#fff",N.value=z0,c.value=!1,setTimeout(()=>{j()},1e3),l.$parent.$emit("error",l);const me={6111:"VERIFY_FAILED",6110:"VERIFY_FAILED_INVALID"};m.value=a(`common.${me[pe==null?void 0:pe.repCode]}`)||a("common.VERIFY_FAILED"),setTimeout(()=>{m.value=""},1e3)}}).catch(()=>{O.value=!0,I.value="rgb(var(--varify-error-color2))",D.value="rgb(var(--varify-error-color2))",B.value="#fff",N.value=z0,c.value=!1,setTimeout(()=>{j()},1e3),l.$parent.$emit("error",l),m.value=a("common.VERIFY_FAILED"),setTimeout(()=>{m.value=""},1e3)}),M.value=!1}}function te(){b.value=o.value,X(),e.nextTick(()=>{const{imgHeight:W,imgWidth:oe,barHeight:ue,barWidth:pe}=kP(l);E.imgHeight=W,E.imgWidth=oe,E.barHeight=ue,E.barWidth=pe,l.$parent.$emit("ready",l)}),window.removeEventListener("touchmove",W=>{U(W)}),window.removeEventListener("mousemove",W=>{U(W)}),window.removeEventListener("touchend",()=>{K()}),window.removeEventListener("mouseup",()=>{K()}),window.addEventListener("touchmove",W=>{U(W)}),window.addEventListener("mousemove",W=>{U(W)}),window.addEventListener("touchend",()=>{K()}),window.addEventListener("mouseup",()=>{K()})}return e.onMounted(()=>{te(),l.$el.onselectstart=function(){return!1}}),{secretKey:u,passFlag:c,backImgBase:d,blockBackImgBase:f,backToken:g,startMoveTime:v,endMovetime:x,tipsBackColor:p,tipWords:m,text:b,finishText:C,setSize:E,top:w,left:P,moveBlockLeft:T,leftBarWidth:_,moveBlockBackgroundColor:I,leftBarBorderColor:D,iconColor:B,iconComponent:N,status:M,isEnd:O,showRefresh:F,transitionLeft:q,transitionWidth:Y,barArea:Q,refresh:j,start:R}}},LP={style:{position:"relative"}},MP=["src"],RP={class:"iconfont icon-refresh"},FP=["textContent"],qP=["textContent"],zP=["src"];function UP(r,t,n,i,s,a){const o=e.resolveComponent("IconRefresh"),l=e.resolveComponent("OIcon");return e.openBlock(),e.createElementBlock("div",LP,[e.createElementVNode("div",{class:"verify-img-out",style:e.normalizeStyle({height:parseInt(i.setSize.imgHeight)+n.vSpace+"px"})},[e.createElementVNode("div",{class:"verify-img-panel",style:e.normalizeStyle({width:i.setSize.imgWidth,height:i.setSize.imgHeight})},[i.backImgBase?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("img",{src:"data:image/png;base64,"+i.backImgBase,alt:"",style:{width:"100%",height:"100%",display:"block"}},null,8,MP),e.withDirectives(e.createElementVNode("div",{class:"verify-refresh",onClick:t[0]||(t[0]=(...u)=>i.refresh&&i.refresh(...u)),onTouchstart:t[1]||(t[1]=e.withModifiers((...u)=>i.refresh&&i.refresh(...u),["prevent"]))},[e.createElementVNode("i",RP,[e.createVNode(o)])],544),[[e.vShow,i.showRefresh]]),e.createVNode(e.Transition,{name:"tips"},{default:e.withCtx(()=>[i.tipWords?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["verify-tips",i.passFlag?"suc-bg":"err-bg"])}," "+e.toDisplayString(i.tipWords),3)):e.createCommentVNode("",!0)]),_:1})],64)):e.createCommentVNode("",!0)],4)],4),e.createElementVNode("div",{class:"verify-bar-area",style:e.normalizeStyle({width:i.setSize.imgWidth,height:n.barSize.height,"line-height":n.barSize.height})},[e.createElementVNode("span",{class:"verify-msg",textContent:e.toDisplayString(i.text)},null,8,FP),e.createElementVNode("div",{class:e.normalizeClass(["verify-left-bar",i.isEnd?i.passFlag?"suc-bg":"err-bg":""]),style:e.normalizeStyle({width:i.leftBarWidth,height:n.barSize.height,"border-color":i.leftBarWidth!==void 0?i.leftBarBorderColor:"transparent",transaction:i.transitionWidth})},[e.createElementVNode("span",{class:"verify-msg",textContent:e.toDisplayString(i.finishText)},null,8,qP),e.createElementVNode("div",{class:"verify-move-block",style:e.normalizeStyle({width:n.barSize.height,height:n.barSize.height,"background-color":i.moveBlockBackgroundColor,"border-color":i.moveBlockBackgroundColor,left:i.moveBlockLeft,transition:i.transitionLeft}),onTouchstart:t[2]||(t[2]=e.withModifiers((...u)=>i.start&&i.start(...u),["prevent"])),onMousedown:t[3]||(t[3]=e.withModifiers((...u)=>i.start&&i.start(...u),["prevent"]))},[e.createVNode(l,{class:"verify-icon",style:e.normalizeStyle({color:i.iconColor})},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.iconComponent)))]),_:1},8,["style"]),e.createElementVNode("div",{class:"verify-sub-block",style:e.normalizeStyle({width:Math.floor(parseInt(i.setSize.imgWidth)*47/310)+"px",height:i.setSize.imgHeight,top:"-"+(parseInt(i.setSize.imgHeight)+n.vSpace)+"px","background-size":i.setSize.imgWidth+" "+i.setSize.imgHeight})},[i.blockBackImgBase?(e.openBlock(),e.createElementBlock("img",{key:0,src:"data:image/png;base64,"+i.blockBackImgBase,alt:"",style:{width:"100%",height:"100%",display:"block","-webkit-user-drag":"none"}},null,8,zP)):e.createCommentVNode("",!0)],4)],36)],6)],4)])}const HP=be._export_sfc(PP,[["render",UP]]),jP={name:"Vue2Verify",components:{VerifySlide:HP,IconClose:z0},props:{captchaType:{type:String,required:!0},figure:{type:Number},arith:{type:Number},mode:{type:String,default:"pop"},vSpace:{type:Number},explain:{type:String},imgSize:{type:Object,default(){return{width:"310px",height:"155px"}}},blockSize:{type:Object},barSize:{type:Object},apiType:{type:String,default:"ACCOUNT"},community:{type:String,default:"openeuler"},captchaApis:{type:Object,required:!0}},setup(){const r=e.ref(!1),t=e.ref("VerifySlide"),{t:n}=be.useI18n();return{clickShow:r,componentType:t,closeBox:()=>{r.value=!1},show:()=>{r.value=!0},t:n}}},XP={key:0,class:"verifybox-top"},GP={class:"iconfont icon-close"};function QP(r,t,n,i,s,a){const o=e.resolveComponent("IconClose");return i.clickShow?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(n.mode=="pop"?"mask":""),onTouchstart:e.withModifiers(()=>{},["prevent"])},[e.createElementVNode("div",{class:e.normalizeClass(n.mode=="pop"?"verifybox":""),style:e.normalizeStyle({"max-width":parseInt(n.imgSize.width)+64+"px"})},[n.mode=="pop"?(e.openBlock(),e.createElementBlock("div",XP,[e.createTextVNode(e.toDisplayString(i.t("common.PLEASE_DRAG_SLIDER"))+" ",1),e.createElementVNode("span",{class:"verifybox-close",onClick:t[0]||(t[0]=(...l)=>i.closeBox&&i.closeBox(...l)),onTouchstart:t[1]||(t[1]=e.withModifiers((...l)=>i.closeBox&&i.closeBox(...l),["prevent"]))},[e.createElementVNode("i",GP,[e.createVNode(o)])],32)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:"verifybox-bottom",style:e.normalizeStyle({padding:n.mode=="pop"?"15px":"0"})},[i.componentType?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(i.componentType),{key:0,ref:"instance","captcha-type":n.captchaType,figure:n.figure,arith:n.arith,mode:n.mode,"v-space":n.vSpace,explain:n.explain,"img-size":n.imgSize,"block-size":n.blockSize,"bar-size":n.barSize,"api-type":n.apiType,community:n.community,"captcha-apis":n.captchaApis},null,8,["captcha-type","figure","arith","mode","v-space","explain","img-size","block-size","bar-size","api-type","community","captcha-apis"])):e.createCommentVNode("",!0)],4)],6)],34)):e.createCommentVNode("",!0)}const Qu=be._export_sfc(jP,[["render",QP]]),YP="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%20customFrame='%23000000'%3e%3crect%20id='警示-dark'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20/%3e%3ccircle%20id='椭圆形'%20cx='12'%20cy='12'%20r='9'%20fill='rgb(251,143,43)'%20/%3e%3ccircle%20id='椭圆形'%20cx='12'%20cy='12'%20r='8.5'%20stroke='rgb(151,151,151)'%20stroke-opacity='0'%20stroke-width='1'%20/%3e%3cpath%20id='形状结合'%20d='M2%201C2%200.447715%201.55228%200%201%200C0.447715%200%200%200.447715%200%201C0%201.55228%200.447715%202%201%202C1.55228%202%202%201.55228%202%201ZM1.56068%209.65039C1.66524%209.65039%201.75%209.56563%201.75%209.46107L1.75%203.90039C1.75%203.48618%201.41421%203.15039%201%203.15039C0.585786%203.15039%200.25%203.48618%200.25%203.90039L0.25%209.46107C0.25%209.56563%200.334762%209.65039%200.43932%209.65039L1.56068%209.65039Z'%20fill='rgb(255,255,255)'%20fill-rule='evenodd'%20transform='matrix(1,0,0,-1,11,16.6709)'%20/%3e%3cpath%20id='形状结合'%20d='M1%200C1.55228%200%202%200.447715%202%201C2%201.55228%201.55228%202%201%202C0.447715%202%200%201.55228%200%201C0%200.447715%200.447715%200%201%200ZM1.75%209.46107C1.75%209.56563%201.66524%209.65039%201.56068%209.65039L0.43932%209.65039C0.334762%209.65039%200.25%209.56563%200.25%209.46107L0.25%203.90039C0.25%203.48618%200.585786%203.15039%201%203.15039C1.41421%203.15039%201.75%203.48618%201.75%203.90039L1.75%209.46107Z'%20fill='rgb(151,151,151)'%20fill-opacity='0'%20fill-rule='evenodd'%20transform='matrix(1,0,0,-1,11,16.6709)'%20/%3e%3c/svg%3e",WP="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%20customFrame='%23000000'%3e%3crect%20id='图标%20Icon/警示'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20/%3e%3ccircle%20id='椭圆形'%20cx='12'%20cy='12'%20r='9'%20fill='rgb(250,115,5)'%20/%3e%3ccircle%20id='椭圆形'%20cx='12'%20cy='12'%20r='8.5'%20stroke='rgb(151,151,151)'%20stroke-opacity='0'%20stroke-width='1'%20/%3e%3cpath%20id='形状结合'%20d='M2%201C2%200.447715%201.55228%200%201%200C0.447715%200%200%200.447715%200%201C0%201.55228%200.447715%202%201%202C1.55228%202%202%201.55228%202%201ZM1.56068%209.65039C1.66524%209.65039%201.75%209.56563%201.75%209.46107L1.75%203.90039C1.75%203.48618%201.41421%203.15039%201%203.15039C0.585786%203.15039%200.25%203.48618%200.25%203.90039L0.25%209.46107C0.25%209.56563%200.334762%209.65039%200.43932%209.65039L1.56068%209.65039Z'%20fill='rgb(255,255,255)'%20fill-rule='evenodd'%20transform='matrix(1,0,0,-1,11,16.6709)'%20/%3e%3cpath%20id='形状结合'%20d='M1%200C1.55228%200%202%200.447715%202%201C2%201.55228%201.55228%202%201%202C0.447715%202%200%201.55228%200%201C0%200.447715%200.447715%200%201%200ZM1.75%209.46107C1.75%209.56563%201.66524%209.65039%201.56068%209.65039L0.43932%209.65039C0.334762%209.65039%200.25%209.56563%200.25%209.46107L0.25%203.90039C0.25%203.48618%200.585786%203.15039%201%203.15039C1.41421%203.15039%201.75%203.48618%201.75%203.90039L1.75%209.46107Z'%20fill='rgb(151,151,151)'%20fill-opacity='0'%20fill-rule='evenodd'%20transform='matrix(1,0,0,-1,11,16.6709)'%20/%3e%3c/svg%3e",KP={class:"header"},JP={class:"delete-tip1"},ZP=["src"],$P={key:0,class:"content-tip"},eL={key:0,class:"divider"},tL=e.defineComponent({__name:"ODeleteAccountModal",props:{modelValue:{type:Boolean,default:!1},userInfo:{type:Object,required:!0},clientId:{type:String,required:!0},sendCodeCaptchaPost:{type:Function,required:!0},captchaApis:{type:Object,required:!0}},emits:["update:modelValue","submit","binding"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=S.useMessage(null),{lePadV:s}=et.useScreen(),{isLight:a}=Bn(),o=r,{modelValue:l}=e.toRefs(o),u=t,c=e.ref(),d=e.ref(),f=e.reactive({account:"",code:""}),g=e.ref(""),v=e.computed(()=>a.value?WP:YP);e.watchEffect(()=>{var _,I,D;l.value&&(wn((_=o.userInfo)==null?void 0:_.email)?(g.value="email",f.account=(I=o.userInfo)==null?void 0:I.email):(g.value="phone",f.account=(D=o.userInfo)==null?void 0:D.phoneCountry))});const x=()=>{var _,I,D,B,N,M,O;if(g.value==="email"&&!((_=o.userInfo)!=null&&_.phoneCountry)){u("binding","phone");return}if(g.value==="phone"&&!wn((I=o.userInfo)==null?void 0:I.email)){u("binding","email");return}if(g.value==="email"&&((D=o.userInfo)!=null&&D.phoneCountry))g.value="phone",f.account=(B=o.userInfo)==null?void 0:B.phoneCountry;else if(g.value==="phone"&&wn((N=o.userInfo)==null?void 0:N.email))g.value="email",f.account=(M=o.userInfo)==null?void 0:M.email;else return;(O=c.value)==null||O.resetFields("code")},p=[{required:!0,message:n("common.NOT_EMPTY"),trigger:"blur"}],m=ju(n),b=e.ref(!1),C=_=>{_&&$n(_,"account").subscribe(I=>{if(I)d.value.show();else return!1})},E=_=>{const I={channel:"channel_delete_account",account:f.account,captchaVerification:_.captchaVerification,client_id:o.clientId};o.sendCodeCaptchaPost(I).then(()=>{b.value=!0,i.success({content:n("common.SEND_SUCCESS")})})},w=()=>{var _;u("update:modelValue",!1),(_=c.value)==null||_.resetFields(),f.account="",f.code="",b.value=!1},P=_=>{$n(_).subscribe(I=>{if(I){const D={account:f.account,code:f.code};u("submit",D)}else return!1})},T=_=>{_||w()};return(_,I)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(S.ODialog),{visible:e.unref(l),"onUpdate:visible":I[6]||(I[6]=D=>e.isRef(l)?l.value=D:null),class:"delete-account-dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"690px","--dlg-radius":"4px","--o-radius_control-s":0,"--dlg-edge-gap":"32px","--dlg-header-gap":"32px","--dlg-inner-gap":0},"mask-close":!1,onChange:T},{header:e.withCtx(()=>[e.createElementVNode("h5",KP,e.toDisplayString(e.unref(n)("common.DELETE_ACCOUNT_TITLE")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["footer",{"footer-pad":e.unref(s)}])},[e.createVNode(e.unref(S.OButton),{class:"confirm-btn",size:"large",color:"primary",variant:"outline",disabled:!f.code,onClick:I[5]||(I[5]=D=>P(c.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM_DETELE_ACCOUNT")),1)]),_:1},8,["disabled"]),e.unref(s)?(e.openBlock(),e.createElementBlock("div",eL)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",onClick:w,class:"think-again"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.THINK_AGAIN")),1)]),_:1})],2)]),default:e.withCtx(()=>[e.createVNode(e.unref(S.OForm),{ref_key:"formRef",ref:c,"label-width":"0",model:f,style:e.normalizeStyle([{"max-width":"480px"},{"--form-item-display":"block","--form-label-main-gap":0,"--o-line_height-tip2":"24px","--form-label-gap-top":0,margin:"auto"}]),class:"form"},{default:e.withCtx(()=>[e.createElementVNode("div",JP,[e.createElementVNode("img",{src:v.value,alt:""},null,8,ZP),e.createElementVNode("span",null,e.toDisplayString(e.unref(n)("common.DELETE_ACCOUNT_WARNING")),1)]),g.value?(e.openBlock(),e.createElementBlock("span",$P,e.toDisplayString(g.value==="email"?e.unref(n)("common.EMAIL_CHECK"):e.unref(n)("common.PHONE_CHECK")),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OFormItem),{field:"account",rules:p,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:f.account,"onUpdate:modelValue":I[0]||(I[0]=D=>f.account=D),placeholder:e.unref(n)("common.ENTER_YOUR_EMAIL_OR_PHONE"),disabled:!0,class:"form-input",size:"large",onInput:I[1]||(I[1]=D=>{var B;return(B=c.value)==null?void 0:B.resetFields("code")})},null,8,["modelValue","placeholder"])]),_:1}),e.createVNode(e.unref(S.OFormItem),{field:"code",rules:e.unref(m),style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:f.code,"onUpdate:modelValue":I[4]||(I[4]=D=>f.code=D),class:"form-input",size:"large",placeholder:g.value==="email"?e.unref(n)("common.INPUT_EMAIL_CODE"):e.unref(n)("common.INPUT_PHONE_CODE"),maxlength:"6"},{suffix:e.withCtx(()=>[e.createVNode(cl,{modelValue:b.value,"onUpdate:modelValue":I[2]||(I[2]=D=>b.value=D),color:"primary",size:"small",onClick:I[3]||(I[3]=D=>C(c.value))},null,8,["modelValue"])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),g.value?(e.openBlock(),e.createElementBlock("a",{key:1,onClick:x,class:"content-tip"},e.toDisplayString(g.value==="email"?e.unref(n)("common.USE_PHONE_DELETE_ACCOUNT"):e.unref(n)("common.USE_EMAIL_DELETE_ACCOUNT")),1)):e.createCommentVNode("",!0)]),_:1},8,["model"])]),_:1},8,["visible"]),e.unref(l)?(e.openBlock(),e.createBlock(Qu,{key:0,ref_key:"verify",ref:d,mode:"pop","captcha-type":"blockPuzzle","img-size":e.unref(Uu)(),"captcha-apis":r.captchaApis,onSuccess:E},null,8,["img-size","captcha-apis"])):e.createCommentVNode("",!0)],64))}}),nL=be._export_sfc(tL,[["__scopeId","data-v-87ec4994"]]),iL={class:"header"},rL={class:"main"},sL={class:"confirm-tip"},aL={key:0,class:"divider"},oL=e.defineComponent({__name:"OToBindingTipModal",props:{modelValue:{type:Boolean,default:!1},account:{type:String,required:!0},isDelete:{type:Boolean,default:!1}},emits:["update:modelValue","confirm"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=r,{modelValue:s}=e.toRefs(i),a=t,{lePadV:o}=et.useScreen(),l=()=>{a("confirm"),u()},u=()=>{a("update:modelValue",!1)},c=f=>{f||u()},d=e.computed(()=>i.isDelete?i.account==="email"?n("common.DELETE_EMAIL_BINDING_TIP"):n("common.DELETE_MOBILE_BINDING_TIP"):i.account==="email"?n("common.TO_BINDING_EMAIL_TIP"):n("common.TO_BINDING_MOBILE_TIP"));return(f,g)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{visible:e.unref(s),"onUpdate:visible":g[2]||(g[2]=v=>e.isRef(s)?s.value=v:null),class:"dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"444px","--dlg-radius":"4px","--o-radius_control-s":0,"--dlg-header-gap":"24px","--dlg-inner-gap":"28px","--dlg-edge-gap":"32px"},"mask-close":!1,onChange:c},{header:e.withCtx(()=>[e.createElementVNode("h5",iL,e.toDisplayString(i.account==="email"?e.unref(n)("common.BIND_EMAIL"):e.unref(n)("common.BIND_MOBILE")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["footer",{"footer-pad":e.unref(o)}])},[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit",onClick:g[0]||(g[0]=v=>l())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.TO_BINDING")),1)]),_:1}),e.unref(o)?(e.openBlock(),e.createElementBlock("div",aL)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",type:"submit",onClick:g[1]||(g[1]=v=>u())},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1})],2)]),default:e.withCtx(()=>[e.createElementVNode("div",rL,[e.createElementVNode("div",sL,e.toDisplayString(d.value),1)])]),_:1},8,["visible"]))}}),lL=be._export_sfc(oL,[["__scopeId","data-v-54a23ceb"]]),cL={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function uL(r,t){return e.openBlock(),e.createElementBlock("svg",cL,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M27.2 7.936c0.368-0.368 0.944-0.368 1.312 0 0.336 0.32 0.368 0.832 0.096 1.2l-0.096 0.112-13.984 13.968c-0.704 0.704-1.824 0.736-2.592 0.128l-0.144-0.128-6.976-6.944c-0.352-0.368-0.368-0.944 0-1.312 0.336-0.336 0.848-0.368 1.2-0.112l0.128 0.096 6.976 6.944c0.016 0.016 0.032 0.016 0.064 0.016l0.016-0.016 14-13.952z"},null,-1)])])}const Y1={name:"user-center-icon-check",render:uL},dL={class:"form-item-label"},hL={class:"valid-tip-content"},fL={class:"tip-title"},pL={class:"tip-desc"},mL={class:"tip-desc"},gL={id:"form-item-extra",class:"form-item-extra"},vL={key:0,class:"error-tip error-color"},yL=e.defineComponent({__name:"OPasswordPopInput",props:{modelValue:{type:String,default:""},label:{type:String,default:""},username:{type:String,default:""},account:{type:String,default:""}},emits:["update:modelValue"],setup(r,{expose:t,emit:n}){const{t:i}=be.useI18n(),s=r,a=e.ref(!1),o=n,l=e.ref(),u=e.reactive({password:""});u.password=s.modelValue;const c=()=>{o("update:modelValue",u.password),g()},d=e.ref(!1),f=e.ref(!1),g=()=>{const p=u.password;d.value=p.length>0&&Tg.test(p),f.value=p.length>2&&wg.test(p)},v=e.computed(()=>u.password&&(!d.value||!f.value));return t({doValidate:()=>u.password&&d.value&&f.value}),(p,m)=>(e.openBlock(),e.createBlock(e.unref(S.OForm),{ref_key:"formRef",ref:l,style:{"--form-label-main-gap":"0"},"label-width":"0",model:u,class:"password-form",onSubmit:b=>{}},{default:e.withCtx(()=>[e.createElementVNode("div",dL,e.toDisplayString(s.label?s.label:e.unref(i)("common.PASSWORD")),1),e.createVNode(e.unref(S.OFormItem),{field:"password"},{extra:e.withCtx(()=>[e.createElementVNode("div",gL,[v.value&&!a.value?(e.openBlock(),e.createElementBlock("span",vL,e.toDisplayString(e.unref(i)("common.VALID_PASSWORD_ERROR_TIP")),1)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createVNode(e.unref(S.OPopover),{"onUpdate:visible":m[1]||(m[1]=b=>a.value=b),position:"top",trigger:"click-outclick"},{target:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:u.password,"onUpdate:modelValue":m[0]||(m[0]=b=>u.password=b),class:e.normalizeClass({"danger-color":v.value}),size:"large",type:"password",placeholder:e.unref(i)("common.PLEASE_INPUT_PWD"),onInput:c,onFocus:c},null,8,["modelValue","class","placeholder"])]),default:e.withCtx(()=>[e.createElementVNode("div",hL,[e.createElementVNode("div",fL,e.toDisplayString(e.unref(i)("common.PASSWORD_DEMAND")),1),e.createElementVNode("div",{class:e.normalizeClass(["tip-item",{active:d.value}])},[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Y1))]),_:1}),e.createElementVNode("div",pL,e.toDisplayString(e.unref(i)("common.PWD_VAILD_NEW")),1)],2),e.createElementVNode("div",{class:e.normalizeClass(["tip-item",{active:f.value}])},[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Y1))]),_:1}),e.createElementVNode("div",mL,e.toDisplayString(e.unref(i)("common.PWD_REPEAT_VAILD")),1)],2)])]),_:1})]),_:1})]),_:1},8,["model"]))}}),xL=be._export_sfc(yL,[["__scopeId","data-v-1c28a218"]]),CL={class:"header"},bL={key:0},EL={key:0,class:"content-tip"},AL={key:1},kL={class:"footer"},_L={key:2,class:"divider"},TL=e.defineComponent({__name:"OModifyPwd",props:{modelValue:{type:Boolean,default:!1},userInfo:{type:Object,required:!0},clientId:{type:String,required:!0},community:{type:String,required:!0},oneidUrl:{type:String,required:!0},appId:{type:String,required:!0},resetPwd:{type:Function,required:!0},resetPwdVerify:{type:Function,required:!0},sendCodeCaptchaPost:{type:Function,required:!0},captchaApis:{type:Object,required:!0},rsaEncrypt:{type:Function,required:!0}},emits:["update:modelValue","binding","logout"],setup(r,{emit:t}){const{t:n}=be.useI18n(),{lePadV:i}=et.useScreen(),s=r,{modelValue:a}=e.toRefs(s),o=t,l=S.useMessage(null),u=e.ref(),c=e.reactive({account:"",code:"",password:"",confirmPwd:""}),d=e.ref("");e.watchEffect(()=>{var M,O,F;a.value&&(wn((M=s.userInfo)==null?void 0:M.email)?(d.value="email",c.account=(O=s.userInfo)==null?void 0:O.email):(d.value="phone",c.account=(F=s.userInfo)==null?void 0:F.phoneCountry))});const f=()=>{var M,O,F,q,Y,z,Q;if(d.value==="email"&&!((M=s.userInfo)!=null&&M.phoneCountry)){o("binding","phone");return}if(d.value==="phone"&&!wn((O=s.userInfo)==null?void 0:O.email)){o("binding","email");return}if(d.value==="email"&&((F=s.userInfo)!=null&&F.phoneCountry))d.value="phone",c.account=(q=s.userInfo)==null?void 0:q.phoneCountry;else if(d.value==="phone"&&wn((Y=s.userInfo)==null?void 0:Y.email))d.value="email",c.account=(z=s.userInfo)==null?void 0:z.email;else return;(Q=u.value)==null||Q.resetFields("code")},g=[{required:!0,message:n("common.NOT_EMPTY"),trigger:"blur"}],v=ju(n),x=M=>{if(M&&!zu.test(M)&&!_g.test(M))return{type:"danger",message:n("common.ENTER_VAILD_EMAIL_OR_PHONE")}},p=[...g,{validator:x,triggers:"blur"}],m=[...g,...hO(n)],b=M=>{if(M&&M!==c.password)return{type:"danger",message:n("common.CONFIRM_NOT_MATCH_PWD")}},C=[...g,{validator:b,triggers:["change","blur"]}],E=e.ref(!1),w=e.ref(),P=M=>{M&&$n(M,"account").subscribe(O=>{if(O)w.value.show();else return!1})},T=M=>{const O={channel:"channel_reset_password",account:c.account,captchaVerification:M.captchaVerification,client_id:s.clientId};s.sendCodeCaptchaPost(O).then(()=>{E.value=!0,l.success({content:n("common.SEND_SUCCESS")})})},_=e.ref(""),I=M=>{$n(M).subscribe(O=>{if(O){const F={client_id:s.clientId,account:c.account,code:c.code};s.resetPwdVerify(F).then(q=>{_.value=q.data})}else return!1})},D=()=>{var M;o("update:modelValue",!1),(M=u.value)==null||M.resetFields(),c.account="",c.code="",_.value="",E.value=!1},B=M=>{$n(M).subscribe(async O=>{if(O){const F=await s.rsaEncrypt(c.password),q={pwd_reset_token:_.value,new_pwd:F};s.resetPwd(q).then(()=>{l.success({content:n("common.MODIFY_SUCCESS")});const Y=`${s.oneidUrl}/login?redirect_uri=${location.href}`,z={community:s.community};z.community==="opengauss"&&(z.client_id=s.appId),o("logout",{url:Y,param:z})}).catch(Y=>{var z,Q,X,j;((X=(Q=(z=Y==null?void 0:Y.response)==null?void 0:z.data)==null?void 0:Q.msg)==null?void 0:X.code)==="E00056"&&((j=u.value)==null||j.resetFields(["code","password","confirmPwd"]),c.code="",_.value="",E.value=!1)})}else return!1})},N=M=>{M||D()};return(M,O)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(e.unref(S.ODialog),{visible:e.unref(a),"onUpdate:visible":O[9]||(O[9]=F=>e.isRef(a)?a.value=F:null),class:"modify-dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"690px","--dlg-radius":"2px","--o-radius_control-s":0,"--dlg-edge-gap":"0"},"mask-close":!1,onChange:N},{header:e.withCtx(()=>[e.createElementVNode("h5",CL,e.toDisplayString(e.unref(n)("common.MODIFY_PASSWORD_NEW")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",kL,[_.value?(e.openBlock(),e.createBlock(e.unref(S.OButton),{key:1,size:"large",color:"primary",variant:"solid",onClick:O[8]||(O[8]=F=>B(u.value)),disabled:!c.password||!c.confirmPwd},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1},8,["disabled"])):(e.openBlock(),e.createBlock(e.unref(S.OButton),{key:0,size:"large",color:"primary",variant:"solid",type:"submit",disabled:!c.code,onClick:O[7]||(O[7]=F=>I(u.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.NEXT_STEP")),1)]),_:1},8,["disabled"])),e.unref(i)?(e.openBlock(),e.createElementBlock("div",_L)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"outline",type:"submit",onClick:D},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1})])]),default:e.withCtx(()=>[e.createVNode(e.unref(S.OForm),{ref_key:"formRef",ref:u,"label-width":"0",model:c,style:e.normalizeStyle([{"max-width":"480px"},{"--form-item-display":"block","--form-label-main-gap":0,"--o-line_height-tip2":"24px","--form-label-gap-top":0,margin:"auto"}]),class:"form"},{default:e.withCtx(()=>[_.value?(e.openBlock(),e.createElementBlock("span",AL,[e.createVNode(e.unref(S.OFormItem),{class:"pwd-item",field:"password",rules:m,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(xL,{modelValue:c.password,"onUpdate:modelValue":O[5]||(O[5]=F=>c.password=F),account:c.account,label:e.unref(n)("common.NEW_PWD"),false:"",ref:"passwordPopRef"},null,8,["modelValue","account","label"])]),_:1}),e.createElementVNode("div",null,e.toDisplayString(e.unref(n)("common.CONFIRM_PWD")),1),e.createVNode(e.unref(S.OFormItem),{field:"confirmPwd",rules:C,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:c.confirmPwd,"onUpdate:modelValue":O[6]||(O[6]=F=>c.confirmPwd=F),class:"form-input",size:"large",placeholder:e.unref(n)("common.PLEASE_INPUT_PWD"),type:"password"},null,8,["modelValue","placeholder"])]),_:1})])):(e.openBlock(),e.createElementBlock("span",bL,[d.value?(e.openBlock(),e.createElementBlock("span",EL,e.toDisplayString(d.value==="email"?e.unref(n)("common.EMAIL_CHECK"):e.unref(n)("common.PHONE_CHECK")),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OFormItem),{field:"account",rules:p,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:c.account,"onUpdate:modelValue":O[0]||(O[0]=F=>c.account=F),placeholder:e.unref(n)("common.ENTER_YOUR_EMAIL_OR_PHONE"),disabled:!0,class:"form-input",size:"large",onInput:O[1]||(O[1]=F=>{var q;return(q=u.value)==null?void 0:q.resetFields("code")})},null,8,["modelValue","placeholder"])]),_:1}),e.createVNode(e.unref(S.OFormItem),{field:"code",rules:e.unref(v),style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:c.code,"onUpdate:modelValue":O[4]||(O[4]=F=>c.code=F),class:"form-input",size:"large",placeholder:d.value==="email"?e.unref(n)("common.INPUT_EMAIL_CODE"):e.unref(n)("common.INPUT_PHONE_CODE"),maxlength:"6"},{suffix:e.withCtx(()=>[e.createVNode(cl,{modelValue:E.value,"onUpdate:modelValue":O[2]||(O[2]=F=>E.value=F),color:"primary",size:"small",onClick:O[3]||(O[3]=F=>P(u.value))},null,8,["modelValue"])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"]),d.value?(e.openBlock(),e.createElementBlock("a",{key:1,onClick:f,class:"content-tip"},e.toDisplayString(d.value==="email"?e.unref(n)("common.USE_PHONE"):e.unref(n)("common.USE_EMAIL")),1)):e.createCommentVNode("",!0)]))]),_:1},8,["model"])]),_:1},8,["visible"]),e.unref(a)?(e.openBlock(),e.createBlock(Qu,{key:0,ref_key:"verify",ref:w,mode:"pop","captcha-type":"blockPuzzle","img-size":e.unref(Uu)(),"captcha-apis":r.captchaApis,onSuccess:T},null,8,["img-size","captcha-apis"])):e.createCommentVNode("",!0)],64))}}),wL=be._export_sfc(TL,[["__scopeId","data-v-aa1ff724"]]),SL={class:"header"},DL={class:"main"},BL={key:0,class:"main-content"},VL={key:0,class:"item-label"},NL={key:1,class:"old-account"},IL={key:2,class:"item-label"},OL={key:4,class:"item-label"},PL={key:6,class:"item-label"},LL={class:"footer"},ML={key:0,class:"divider"},RL=e.defineComponent({__name:"OAppDialog",props:{modelValue:{type:Boolean,default:!1},config:{type:Object,default:()=>({})},operateKey:{type:String,required:!0},userInfo:{type:Object,required:!0},sendCodePost:{type:Function,required:!0},captchaApis:{type:Object,required:!0}},emits:["update:modelValue"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=S.useMessage(null),{lePadV:s}=et.useScreen(),a=e.ref(),o=r,l=e.ref(),{modelValue:u,config:c,operateKey:d}=e.toRefs(o),f=t,g=e.reactive({oldaccount:"",oldcode:"",account:"",code:""}),v=e.computed(()=>{var X;return d.value==="bind_email"||d.value==="bind_phone"||d.value==="modify_email"&&!wn((X=o.userInfo)==null?void 0:X.email)?!g.account||!g.code:d.value==="modify_email"||d.value==="modify_phone"?!g.oldcode||!g.account||!g.code:d.value==="unbind_phone"?!g.code:!1}),x=X=>new Promise((j,R)=>{o.sendCodePost(X).then(()=>{j(!0)}).catch(U=>{R(U)})}),p=e.ref(!1),m=e.ref(!0),b=e.ref(""),C=(X,j)=>{X&&(b.value=j||"account",$n(X,b.value).subscribe(R=>{R&&l.value.show()}))},E=X=>{var R,U,K,te;const j={account:g[b.value],captchaVerification:X.captchaVerification};if((R=c==null?void 0:c.value)!=null&&R.key.includes("unbind"))Object.assign(j,{account_type:c.value.account_type});else{const W=(U=c==null?void 0:c.value)!=null&&U.account_type.includes("phone")?"channel_bind_phone":"channel_bind_email";Object.assign(j,{channel:W})}(((te=(K=c==null?void 0:c.value)==null?void 0:K.code)==null?void 0:te.getCode)||x)(j).then(()=>{i.success({content:n("common.SEND_SUCCESS")}),b.value==="oldaccount"?p.value=!0:m.value=!0})},w=X=>{g.account?$n(X,"account").subscribe(j=>{var R;m.value=!j,(R=a.value)==null||R.clearValidate("account")}):m.value=!0},P=()=>{g.oldaccount="",g.oldcode="",g.account="",g.code="",p.value=!1,m.value=!0},T=()=>{var X,j;P(),g.oldaccount=c.value.account_type==="email"?(X=o.userInfo)==null?void 0:X.email:(j=o.userInfo)==null?void 0:j.phoneCountry,m.value=c.value.key!=="unbind_phone"};T(),e.onBeforeUpdate(()=>{T()});const _=()=>{P(),f("update:modelValue",!1)},I=X=>{X&&$n(X).subscribe(j=>{var R;j&&((R=c==null?void 0:c.value)==null||R.confirm({account_type:c.value.account_type,...g}))})},D=[{validator:Vg(n),triggers:"change"}],B=(X,j,R)=>{var U;if(j)if(g.oldaccount&&g.oldaccount===j){const K=((U=c==null?void 0:c.value)==null?void 0:U.account_type)==="email"?n("common.SAME_EMAIL2"):n("common.SAME_PHONE");R(K)}else R()},N=ju(n),M=[{validator:B,triggers:"change"}],O=[...D,{validator:dO(n),triggers:"change"},...M],F=[...D,{validator:fO(n),triggers:"change"},...M],q=e.computed(()=>{var X,j;return n(`common.${((j=(X=c==null?void 0:c.value)==null?void 0:X.account)==null?void 0:j.placeholder)??"ENTER_NEW_EMAIL"}`)}),Y=e.computed(()=>{var X,j;return n(`common.${((j=(X=c==null?void 0:c.value)==null?void 0:X.code)==null?void 0:j.placeholder)??"ENTER_RECEIVED_CODE"}`)}),z=e.computed(()=>{var j,R,U;return((j=c==null?void 0:c.value)==null?void 0:j.code)&&(c.value.key!=="unbind_phone"||!((R=o.userInfo)!=null&&R.phoneCountryCode)||((U=o.userInfo)==null?void 0:U.phoneCountryCode.includes("+86")))}),Q=X=>{X||_()};return(X,j)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{visible:e.unref(u),"onUpdate:visible":j[10]||(j[10]=R=>e.isRef(u)?u.value=R:null),class:"dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"690px","--dlg-radius":"4px","--o-radius_control-s":0,"--dlg-edge-gap":"32px","--dlg-header-gap":"24px","--dlg-inner-gap":0},"mask-close":!1,onChange:Q},{header:e.withCtx(()=>[e.createElementVNode("h5",SL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).header}`)),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",LL,[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit",disabled:v.value,onClick:j[9]||(j[9]=R=>I(a.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1},8,["disabled"]),e.unref(s)?(e.openBlock(),e.createElementBlock("div",ML)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"outline",type:"submit",onClick:_},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",DL,[e.unref(c).content?(e.openBlock(),e.createElementBlock("div",BL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).content}`)),1)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OForm),{ref_key:"formRef",ref:a,"label-width":"0","label-align":"top",model:g,style:e.normalizeStyle([{"max-width":"480px"},{"--form-item-display":"block","--form-label-main-gap":0,"--o-line_height-tip2":"24px","--form-label-gap-top":0,margin:"auto"}]),class:"form",onSubmit:j[8]||(j[8]=e.withModifiers(()=>{},["prevent"]))},{default:e.withCtx(()=>{var R,U,K,te,W,oe,ue,pe,me,Te,Me,he,Ce;return[(R=e.unref(c))!=null&&R.oldaccount&&((U=e.unref(c).oldaccount)!=null&&U.label)?(e.openBlock(),e.createElementBlock("p",VL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).oldaccount.label}`)),1)):e.createCommentVNode("",!0),(K=e.unref(c))!=null&&K.oldaccount?(e.openBlock(),e.createElementBlock("p",NL,e.toDisplayString(g.oldaccount),1)):e.createCommentVNode("",!0),(te=e.unref(c))!=null&&te.oldcode&&((W=e.unref(c).oldcode)!=null&&W.label)?(e.openBlock(),e.createElementBlock("p",IL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).oldcode.label}`)),1)):e.createCommentVNode("",!0),(oe=e.unref(c))!=null&&oe.oldcode&&e.unref(wn)(g==null?void 0:g.oldaccount)?(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:3,field:"oldcode",rules:e.unref(N),style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:g.oldcode,"onUpdate:modelValue":j[2]||(j[2]=Ae=>g.oldcode=Ae),modelModifiers:{trim:!0},placeholder:Y.value,class:"form-input",clearable:!1,size:"large",maxlength:"6"},{suffix:e.withCtx(()=>[e.createVNode(cl,{modelValue:p.value,"onUpdate:modelValue":j[0]||(j[0]=Ae=>p.value=Ae),color:"primary",size:"small",onClick:j[1]||(j[1]=Ae=>C(a.value,"oldaccount"))},null,8,["modelValue"])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"])):e.createCommentVNode("",!0),(ue=e.unref(c))!=null&&ue.account&&((pe=e.unref(c).account)!=null&&pe.label)?(e.openBlock(),e.createElementBlock("p",OL,e.toDisplayString(e.unref(n)(`common.${(Te=(me=e.unref(c))==null?void 0:me.account)==null?void 0:Te.label}`)),1)):e.createCommentVNode("",!0),(Me=e.unref(c))!=null&&Me.account?(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:5,field:"account",rules:e.unref(c).account_type==="email"?O:F,style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:g.account,"onUpdate:modelValue":j[3]||(j[3]=Ae=>g.account=Ae),modelModifiers:{trim:!0},placeholder:q.value,class:"form-input",size:"large",onInput:j[4]||(j[4]=Ae=>w(a.value))},null,8,["modelValue","placeholder"])]),_:1},8,["rules"])):e.createCommentVNode("",!0),(he=e.unref(c))!=null&&he.code&&((Ce=e.unref(c).code)!=null&&Ce.label)?(e.openBlock(),e.createElementBlock("p",PL,e.toDisplayString(e.unref(n)(`common.${e.unref(c).code.label}`)),1)):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:7,field:"code",rules:e.unref(N),style:{display:"flex"}},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:g.code,"onUpdate:modelValue":j[7]||(j[7]=Ae=>g.code=Ae),modelModifiers:{trim:!0},placeholder:Y.value,class:"form-input",maxlength:"6",size:"large"},{suffix:e.withCtx(()=>[e.createVNode(cl,{modelValue:m.value,"onUpdate:modelValue":j[5]||(j[5]=Ae=>m.value=Ae),color:"primary",size:"small",onClick:j[6]||(j[6]=Ae=>C(a.value))},null,8,["modelValue"])]),_:1},8,["modelValue","placeholder"])]),_:1},8,["rules"])):e.createCommentVNode("",!0)]}),_:1},8,["model"])]),e.createVNode(Qu,{ref_key:"verify",ref:l,mode:"pop","captcha-type":"blockPuzzle","img-size":e.unref(Uu)(),"captcha-apis":r.captchaApis,onSuccess:E},null,8,["img-size","captcha-apis"])]),_:1},8,["visible"]))}}),Yu=be._export_sfc(RL,[["__scopeId","data-v-f3458686"]]),Kn="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%20customFrame='%23000000'%3e%3crect%20id='左箭头'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20fill='rgb(0,%200,%200,%200.6)'%20fill-opacity='0'%20/%3e%3cpath%20id='路径'%20d='M9.29591%205.20665L9.3292%205.23971L14.4679%2010.648C15.1626%2011.3791%2015.1771%2012.5551%2014.5113%2013.3048L14.4679%2013.3521L9.3292%2018.7604C9.19541%2018.9012%209.02504%2018.98%208.85028%2018.9969L8.80254%2019L8.75472%2019C8.56349%2018.9939%208.37401%2018.914%208.22805%2018.7604C7.93484%2018.4518%207.92437%2017.9583%208.19664%2017.6365L8.22805%2017.6015L12.9997%2012.5795C13.2929%2012.2709%2013.3034%2011.7774%2013.0311%2011.4556L12.9997%2011.4206L8.22805%206.39863C7.92398%206.0786%207.92398%205.55974%208.22805%205.23971C8.37466%205.08541%208.56519%205.00551%208.75728%205L8.80531%205.00017C8.98137%205.00649%209.15577%205.07531%209.29591%205.20665Z'%20fill='rgb(0,0,0,%200.6)'%20fill-opacity='0.800000012'%20fill-rule='evenodd'%20/%3e%3cpath%20id='路径'%20d='M13.0311%2011.4556C13.3034%2011.7774%2013.2929%2012.2709%2012.9997%2012.5795L8.22805%2017.6015L8.19664%2017.6365C7.92437%2017.9583%207.93484%2018.4518%208.22805%2018.7604C8.37401%2018.914%208.56349%2018.9939%208.75472%2019L8.80254%2019L8.85028%2018.9969C9.02504%2018.98%209.19541%2018.9012%209.3292%2018.7604L14.4679%2013.3521L14.5113%2013.3048C15.1771%2012.5551%2015.1626%2011.3791%2014.4679%2010.648L9.3292%205.23971L9.29591%205.20665C9.15577%205.07531%208.98137%205.00649%208.80531%205.00017L8.75728%205C8.56519%205.00551%208.37466%205.08541%208.22805%205.23971C7.92398%205.55974%207.92398%206.0786%208.22805%206.39863L12.9997%2011.4206L13.0311%2011.4556Z'%20fill='rgb(0,%200,%200,%200.6)'%20fill-opacity='0'%20fill-rule='evenodd'%20/%3e%3c/svg%3e",Jn="data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='24.000000'%20height='24.000000'%20fill='none'%20customFrame='%23000000'%3e%3crect%20id='左箭头'%20width='24.000000'%20height='24.000000'%20x='0.000000'%20y='0.000000'%20fill='rgb(255,255,255,%200.6)'%20fill-opacity='0'%20/%3e%3cpath%20id='路径'%20d='M9.29591%205.20665L9.3292%205.23971L14.4679%2010.648C15.1626%2011.3791%2015.1771%2012.5551%2014.5113%2013.3048L14.4679%2013.3521L9.3292%2018.7604C9.19541%2018.9012%209.02504%2018.98%208.85028%2018.9969L8.80254%2019L8.75472%2019C8.56349%2018.9939%208.37401%2018.914%208.22805%2018.7604C7.93484%2018.4518%207.92437%2017.9583%208.19664%2017.6365L8.22805%2017.6015L12.9997%2012.5795C13.2929%2012.2709%2013.3034%2011.7774%2013.0311%2011.4556L12.9997%2011.4206L8.22805%206.39863C7.92398%206.0786%207.92398%205.55974%208.22805%205.23971C8.37466%205.08541%208.56519%205.00551%208.75728%205L8.80531%205.00017C8.98137%205.00649%209.15577%205.07531%209.29591%205.20665Z'%20fill='rgb(255,%20255,%20255,%200.6)'%20fill-opacity='0.800000012'%20fill-rule='evenodd'%20/%3e%3cpath%20id='路径'%20d='M13.0311%2011.4556C13.3034%2011.7774%2013.2929%2012.2709%2012.9997%2012.5795L8.22805%2017.6015L8.19664%2017.6365C7.92437%2017.9583%207.93484%2018.4518%208.22805%2018.7604C8.37401%2018.914%208.56349%2018.9939%208.75472%2019L8.80254%2019L8.85028%2018.9969C9.02504%2018.98%209.19541%2018.9012%209.3292%2018.7604L14.4679%2013.3521L14.5113%2013.3048C15.1771%2012.5551%2015.1626%2011.3791%2014.4679%2010.648L9.3292%205.23971L9.29591%205.20665C9.15577%205.07531%208.98137%205.00649%208.80531%205.00017L8.75728%205C8.56519%205.00551%208.37466%205.08541%208.22805%205.23971C7.92398%205.55974%207.92398%206.0786%208.22805%206.39863L12.9997%2011.4206L13.0311%2011.4556Z'%20fill='rgb(255,%20255,%20255,%200.6)'%20fill-opacity='0'%20fill-rule='evenodd'%20/%3e%3c/svg%3e",FL={key:0,class:"title"},qL={class:"tips-title"},zL={class:"tips-content"},UL={class:"tips-desc"},HL={key:0,class:"forget-btn"},jL=["src"],XL={class:"tips"},GL={class:"tips-title"},QL={class:"tips-content tips-bg"},YL=["href"],WL=["href"],KL={key:0},JL={class:"tips-title"},ZL={class:"tips-content"},$L={class:"tips-desc"},eM=["src"],tM=e.defineComponent({__name:"OAccountSecurity",props:{userInfo:{},mainDomainUrl:{},clientId:{},community:{},oneidUrl:{},appId:{},pwdVisible:{type:Boolean,default:!0},deleteAccount:{},bindAccountPost:{},sendCodePost:{},rsaEncrypt:{},captchaApis:{},resetPwd:{},resetPwdVerify:{},sendCodeCaptchaPost:{}},emits:["refresh","logout"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),s=S.useMessage(null),{lePadV:a}=et.useScreen(),{isLight:o}=Bn(),l=r,u=t,c=e.ref(!1),d=e.ref(!1),f=e.ref(!1),g=e.ref("email"),v=e.ref(!1),x=B=>{g.value=B,v.value=!0},p=e.ref(!1),m=e.ref("bind_email"),b={bind_email:{key:"bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",account:{label:"EMAIL",placeholder:"INPUT_NEW_EMAIL"},code:{label:"EMAIL_CODE",placeholder:"ENTER_EMAIL_CODE"},confirm:B=>{w(B)}},bind_phone:{key:"bind_phone",account_type:"phone",field:"change",header:"BIND_PHONE",account:{label:"PHONE",placeholder:"INPUT_NEW_PHONE"},code:{label:"SMS_CODE",placeholder:"INPUT_PHONE_CODE"},confirm:B=>{w(B)}}},C=()=>{!wn(l.userInfo.email)&&!l.userInfo.phone?(v.value=!0,f.value=!0):c.value=!0},E=B=>{l.deleteAccount(B).then(()=>{s.success({content:n("common.DELETE_SUCCESS")}),c.value=!1,u("logout")})},w=B=>{l.bindAccountPost(B).then(()=>{s.success({content:n("common.BIND_SUCCESS")}),p.value=!1,u("refresh")})},P=e.computed(()=>[{url:`${l.mainDomainUrl}/privacy`,urlEn:`${l.mainDomainUrl}/privacy/en`},{url:`${l.mainDomainUrl}/legal`,urlEn:`${l.mainDomainUrl}/legal/en`}]),T=()=>{!wn(l.userInfo.email)&&!l.userInfo.phone?v.value=!0:d.value=!0},_=(B,N)=>{const M=`${B}_${N}`;m.value=M,p.value=!0},I=()=>{c.value=!1,f.value=!1,g.value==="email"?(d.value=!1,_("bind","email")):(d.value=!1,_("bind","phone"))},D=B=>{g.value=B,v.value=!0,f.value=!0};return(B,N)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass({"security-pad":e.unref(a)})},[e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",FL,e.toDisplayString(e.unref(n)("common.SECURITY")),1)),r.pwdVisible?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["tips",{"tips-inline":e.unref(a)}])},[e.createElementVNode("div",qL,e.toDisplayString(e.unref(n)("common.LOGIN_PASSWORD")),1),e.createElementVNode("div",zL,[e.createElementVNode("span",UL,e.toDisplayString(e.unref(n)("common.MODIFY_PWD_TIP")),1),e.unref(a)?(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(o)?e.unref(Kn):e.unref(Jn),alt:"",class:"arrow",onClick:T},null,8,jL)):(e.openBlock(),e.createElementBlock("div",HL,[e.createVNode(e.unref(S.OLink),{color:"primary",class:"nowrap",onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.MODIFY")),1)]),_:1})]))])],2)):e.createCommentVNode("",!0),e.createElementVNode("div",XL,[e.createElementVNode("div",GL,e.toDisplayString(e.unref(n)("common.SIGNED_AGREEMENT")),1),e.createElementVNode("div",QL,[e.createElementVNode("span",null,[e.createElementVNode("a",{href:e.unref(i)==="zh"?P.value[0].url:P.value[0].urlEn,target:"_blank"},e.toDisplayString(e.unref(n)("common.PRIVACY_POLICY")),9,YL),e.createTextVNode(" "+e.toDisplayString(e.unref(n)("common.AND"))+" ",1),e.createElementVNode("a",{href:e.unref(i)==="zh"?P.value[1].url:P.value[1].urlEn,target:"_blank"},e.toDisplayString(e.unref(n)("common.LEGAL_NOTICE")),9,WL),r.userInfo.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",KL,e.toDisplayString(e.unref(n)("common.SIGN"))+e.toDisplayString(e.unref(KI)(r.userInfo.privacySignedTime,e.unref(i))),1))])])]),e.createElementVNode("div",{class:e.normalizeClass(["tips",{"tips-inline":e.unref(a)}])},[e.createElementVNode("div",JL,e.toDisplayString(e.unref(n)("common.DELETE_ACCOUNT_TITLE")),1),e.createElementVNode("div",ZL,[e.createElementVNode("span",$L,e.toDisplayString(e.unref(n)("common.DELETE_ACCOUNT_TIPS")),1),e.unref(a)?(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(o)?e.unref(Kn):e.unref(Jn),alt:"",class:"arrow",onClick:C},null,8,eM)):(e.openBlock(),e.createElementBlock("div",{key:0,class:"text-btn red",onClick:C},e.toDisplayString(e.unref(n)("common.DEREGISTER")),1))])],2)],2),e.createVNode(nL,{modelValue:c.value,"onUpdate:modelValue":N[0]||(N[0]=M=>c.value=M),"user-info":r.userInfo,"client-id":r.clientId,"send-code-captcha-post":r.sendCodeCaptchaPost,"captcha-apis":r.captchaApis,onSubmit:E,onBinding:D},null,8,["modelValue","user-info","client-id","send-code-captcha-post","captcha-apis"]),e.createVNode(wL,{modelValue:d.value,"onUpdate:modelValue":N[1]||(N[1]=M=>d.value=M),"rsa-encrypt":r.rsaEncrypt,"user-info":r.userInfo,"client-id":r.clientId,community:r.community,"oneid-url":r.oneidUrl,"app-id":r.appId,"reset-pwd":r.resetPwd,"reset-pwd-verify":r.resetPwdVerify,"send-code-captcha-post":r.sendCodeCaptchaPost,"captcha-apis":r.captchaApis,onBinding:x,onLogout:N[2]||(N[2]=M=>u("logout",M))},null,8,["modelValue","rsa-encrypt","user-info","client-id","community","oneid-url","app-id","reset-pwd","reset-pwd-verify","send-code-captcha-post","captcha-apis"]),e.createVNode(lL,{modelValue:v.value,"onUpdate:modelValue":N[3]||(N[3]=M=>v.value=M),account:g.value,onConfirm:I,isDelete:f.value},null,8,["modelValue","account","isDelete"]),e.createVNode(Yu,{modelValue:p.value,"onUpdate:modelValue":N[4]||(N[4]=M=>p.value=M),config:b[m.value],"operate-key":m.value,"user-info":r.userInfo,"send-code-post":r.sendCodePost,"captcha-apis":r.captchaApis},null,8,["modelValue","config","operate-key","user-info","send-code-post","captcha-apis"])],64))}}),W1=be._export_sfc(tM,[["__scopeId","data-v-e6936db3"]]),nM={width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};function iM(r,t){return e.openBlock(),e.createElementBlock("svg",nM,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M19.7302143,3.7590332 C20.8347769,3.7590332 21.7302074,4.65446353 21.7302074,5.7590332 L21.7302074,11.2494191 C21.7302074,11.6360247 21.4168126,11.9494212 21.0302108,11.9494212 C20.643609,11.9494212 20.3302142,11.6360247 20.3302142,11.2494191 L20.3304289,6.00074187 C19.2986037,6.85443694 16.9329556,8.81168905 13.2334847,11.8724982 C12.4849639,12.4917966 11.399646,12.4836263 10.6605433,11.853125 C10.6605433,11.853125 8.29408169,9.83438585 3.56115837,5.79690763 L3.56137022,18.2997234 C3.56137022,18.6310996 3.83001113,18.8997205 4.16137695,18.8997205 L19.7302143,18.8997205 C20.0615733,18.8997205 20.3302142,18.6310996 20.3302142,18.2997234 L20.3302142,14.2535395 C20.3302142,13.8669339 20.643609,13.5535374 21.0302108,13.5535374 C21.4168126,13.5535374 21.7302074,13.8669339 21.7302074,14.2535395 L21.7302074,18.2997234 C21.7302074,19.4042943 20.8347769,20.2997246 19.7302143,20.2997246 L4.16137695,20.2997246 C3.0568075,20.2997246 2.16137695,19.4042943 2.16137695,18.2997234 L2.16137695,5.7590332 C2.16137695,4.65446353 3.0568075,3.7590332 4.16137695,3.7590332 L19.7302143,3.7590332 Z M19.1508914,5.15959067 L4.97116245,5.15953281 C6.08234646,6.10744194 8.28167148,7.9836031 11.5691375,10.7880163 C11.7908756,10.9771675 12.1164692,10.9796194 12.3410309,10.7938315 C12.3410309,10.7938315 14.6109844,8.91575122 19.1508914,5.15959067 Z",id:"形状结合",fill:"currentColor"},null,-1)])])}const rM={name:"user-center-icon-email",render:iM},sM={width:"24px",height:"24px",viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};function aM(r,t){return e.openBlock(),e.createElementBlock("svg",sM,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M16.6999228,2.30001831 C17.8044982,2.30001831 18.6999264,3.19544469 18.6999264,4.30002247 L18.6999264,8.65146179 C18.6999264,9.03804558 18.3865272,9.35145257 17.9999238,9.35145257 C17.6133338,9.35145257 17.2999268,9.03804558 17.2999268,8.65146179 L17.2999268,4.30002247 C17.2999268,3.96865108 17.0312914,3.70001793 16.6999228,3.70001793 L7.29992676,3.70001793 C6.96856171,3.70001793 6.69993192,3.96865108 6.69993192,4.30002247 L6.69993192,19.7000179 C6.69993192,20.0313852 6.96856171,20.300017 7.29992676,20.300017 L16.6999228,20.300017 C17.0312914,20.300017 17.2999268,20.0313852 17.2999268,19.7000179 L17.2999268,11.0556261 C17.2999268,10.6690229 17.6133338,10.355616 17.9999238,10.355616 C18.3865272,10.355616 18.6999264,10.6690229 18.6999264,11.0556261 L18.6999264,19.7000179 C18.6999264,20.8045915 17.8044982,21.7000179 16.6999228,21.7000179 L7.29992676,21.7000179 C6.19535493,21.7000179 5.29992676,20.8045915 5.29992676,19.7000179 L5.29992676,4.30002247 C5.29992676,3.19544469 6.19535493,2.30001831 7.29992676,2.30001831 Z M11.9949341,16.4677582 C12.8233601,16.4677582 13.4949341,17.1393322 13.4949341,17.9677582 C13.4949341,18.7961842 12.8233601,19.4677582 11.9949341,19.4677582 C11.1665081,19.4677582 10.4949341,18.7961842 10.4949341,17.9677582 C10.4949341,17.1393322 11.1665081,16.4677582 11.9949341,16.4677582 Z M11.9949341,17.4677582 C11.7187921,17.4677582 11.4949341,17.6916162 11.4949341,17.9677582 C11.4949341,18.2439002 11.7187921,18.4677582 11.9949341,18.4677582 C12.2710761,18.4677582 12.4949341,18.2439002 12.4949341,17.9677582 C12.4949341,17.6916162 12.2710761,17.4677582 11.9949341,17.4677582 Z M14.999939,4.50001526 C15.552227,4.50001526 15.999939,4.94772626 15.999939,5.50001526 L15.999939,14.5000153 C15.999939,15.0523043 15.552227,15.5000153 14.999939,15.5000153 L8.99993896,15.5000153 C8.44765096,15.5000153 7.99993896,15.0523043 7.99993896,14.5000153 L7.99993896,5.50001526 C7.99993896,4.94772626 8.44765096,4.50001526 8.99993896,4.50001526 L14.999939,4.50001526 Z M14.999939,5.50001526 L8.99993896,5.50001526 L8.99993896,14.5000153 L14.999939,14.5000153 L14.999939,5.50001526 Z",id:"形状结合",fill:"currentColor"},null,-1)])])}const oM={name:"user-center-icon-phone",render:aM},lM={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function cM(r,t){return e.openBlock(),e.createElementBlock("svg",lM,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M21.483 8.021c0.335 0.247 0.406 0.719 0.158 1.054-0.607 0.821-1.304 1.591-2.067 2.282 0.008 0.006 0.015 0.014 0.021 0.022l2.054 2.439c0.268 0.318 0.227 0.794-0.091 1.062s-0.794 0.227-1.062-0.091l-2.054-2.439-0.031-0.042c-0.79 0.581-1.63 1.077-2.499 1.46l0.965 3.406c0.113 0.4-0.119 0.817-0.519 0.93s-0.817-0.119-0.93-0.519l-0.935-3.301c-0.838 0.24-1.691 0.371-2.543 0.371-0.507 0-1.015-0.046-1.52-0.134l-0.869 3.067c-0.113 0.4-0.53 0.633-0.93 0.519s-0.633-0.53-0.519-0.93l0.858-3.028c-1.017-0.34-2.005-0.839-2.935-1.459l-1.817 2.158c-0.268 0.318-0.743 0.359-1.062 0.091s-0.359-0.743-0.091-1.062l1.76-2.089c-0.917-0.761-1.754-1.638-2.473-2.588-0.251-0.332-0.186-0.804 0.146-1.055s0.804-0.186 1.055 0.146c2.106 2.783 5.337 4.859 8.397 4.859 3.105 0 6.391-2.144 8.478-4.968 0.247-0.335 0.719-0.406 1.054-0.158z"},null,-1)])])}const uM={name:"user-center-icon-eye-off",render:cM},dM={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function hM(r,t){return e.openBlock(),e.createElementBlock("svg",dM,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12.028 4.789c1.794 0 3.578 0.6 5.242 1.658 0.326 0.208 0.422 0.64 0.215 0.966s-0.64 0.422-0.966 0.215c-1.453-0.925-2.985-1.439-4.491-1.439-2.045 0-4.153 0.957-5.97 2.53-1.428 1.236-2.473 2.745-2.473 3.279 0 0.536 1.040 2.047 2.461 3.283 1.809 1.574 3.91 2.531 5.955 2.531s4.146-0.958 5.955-2.532c1.421-1.236 2.461-2.748 2.461-3.284 0-0.448-0.785-1.685-1.934-2.806-0.277-0.27-0.282-0.713-0.012-0.99s0.713-0.282 0.99-0.012c1.398 1.365 2.356 2.874 2.356 3.808 0 2.596-5.311 7.216-9.816 7.216s-9.816-4.62-9.816-7.214c0-2.589 5.338-7.208 9.843-7.208zM11.987 8.392c2.005 0 3.63 1.625 3.63 3.63s-1.625 3.63-3.63 3.63c-2.005 0-3.63-1.625-3.63-3.63s1.625-3.63 3.63-3.63zM11.987 9.792c-1.232 0-2.23 0.998-2.23 2.23s0.998 2.23 2.23 2.23c1.232 0 2.23-0.998 2.23-2.23s-0.998-2.23-2.23-2.23z"},null,-1)])])}const fM={name:"user-center-icon-eye",render:hM},pM=e.defineComponent({__name:"OMaskEye",props:{modelValue:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(r,{emit:t}){const n=r,{modelValue:i}=e.toRefs(n),s=t,a=()=>{s("update:modelValue",!i.value)};return(o,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(i)?e.unref(uM):e.unref(fM)),{class:"eyes",onClick:a}))}}),mM=be._export_sfc(pM,[["__scopeId","data-v-a1344e1a"]]),gM={class:"user-info-setting"},vM={class:"title"},yM={class:"login-setting"},xM={key:0,class:"section-label"},CM={class:"center left-content"},bM={class:"center left-content"},EM={key:0,class:"content-info"},AM={class:"opt-label"},kM={key:1,class:"content-info"},_M={class:"center"},TM={key:0,class:"fs16 unbind"},wM=["src","onClick"],SM=["src","onClick"],DM=e.defineComponent({__name:"OAccountSetting",props:{userInfo:{},phoneUnbindable:{type:Boolean,default:!0},phoneVisible:{type:Boolean,default:!0},bindAccountPost:{},modifyAccountPost:{},sendUnbindCodePost:{},unbindAccountPost:{},captchaApis:{}},emits:["refresh"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),s=S.useMessage(null),{lePadV:a}=et.useScreen(),{isLight:o}=Bn(),l=r,u=t,c=e.ref([{key:"email",icon:rM,label:n("common.EMAIL_ADDRESS"),operate:[""],value:"",isMask:!0},{key:"phone",icon:oM,label:n("common.BINDING_PHONE"),operate:["unbind"],value:"",isMask:!0}]),d=e.computed(()=>c.value.filter(w=>w.key!=="phone"||l.phoneVisible)),f=()=>{c.value.forEach(w=>{if(w.key in l.userInfo){const P=w.key==="phone"?"phoneCountry":w.key;w.value=l.userInfo[P]}})},g=e.ref(!1),v=w=>{(wn(w==null?void 0:w.oldaccount)?l.modifyAccountPost:l.bindAccountPost)(w).then(()=>{s.success({content:n("common.MODIFY_SUCCESS")}),g.value=!1,u("refresh")})},x=w=>{l.bindAccountPost(w).then(()=>{s.success({content:n("common.BIND_SUCCESS")}),g.value=!1,u("refresh")})},p=w=>{l.unbindAccountPost(w).then(()=>{s.success({content:n("common.UNBIND_SUCCESS")}),g.value=!1,u("refresh")})},m=w=>new Promise((P,T)=>{l.sendUnbindCodePost(w).then(()=>{P(!0)}).catch(_=>{T(_)})}),b=e.ref("bind_email"),C={confirm_bind_email:{key:"confirm_bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",content:"CONFIRM_BIND_EMAIL",confirm:()=>{b.value="bind_email",g.value=!0}},bind_email:{key:"bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",account:{label:"EMAIL",placeholder:"INPUT_NEW_EMAIL"},code:{label:"EMAIL_CODE",placeholder:"ENTER_EMAIL_CODE"},confirm:w=>{x(w)}},modify_email:{key:"modify_email",account_type:"email",field:"change",header:"MODIFY_EMAIL",content:"",oldaccount:{label:"AUTHENTICATION"},oldcode:{placeholder:"INPUT_EMAIL_CODE"},account:{label:"BIND_NEW_EMAIL",placeholder:"INPUT_NEW_EMAIL"},code:{placeholder:"INPUT_EMAIL_CODE"},confirm:w=>{v(w)}},bind_phone:{key:"bind_phone",account_type:"phone",field:"change",header:"BIND_PHONE",account:{label:"PHONE",placeholder:"INPUT_NEW_PHONE"},code:{label:"SMS_CODE",placeholder:"INPUT_PHONE_CODE"},confirm:w=>{x(w)}},modify_phone:{key:"modify_phone",account_type:"phone",field:"change",header:"MODIFY_PHONE",content:"",oldaccount:{label:"AUTHENTICATION"},oldcode:{placeholder:"INPUT_PHONE_CODE"},account:{label:"BIND_NEW_PHONE",placeholder:"INPUT_NEW_PHONE"},code:{placeholder:"INPUT_PHONE_CODE"},confirm:w=>{v(w)}},unbind_phone:{key:"unbind_phone",account_type:"phone",field:"change",header:"UNBIND_PHONE",oldaccount:{label:"PHONE"},code:{placeholder:"INPUT_PHONE_CODE",getCode:w=>(w.account=l.userInfo.phoneCountry,m(w))},confirm:w=>{w.account=l.userInfo.phoneCountry,p(w)}}},E=(w,P)=>{if(!wn(l.userInfo.email)&&w==="unbind")b.value="confirm_bind_email";else{const T=`${w}_${P}`;b.value=T}g.value=!0};return e.onMounted(()=>{f()}),e.watch(()=>l.userInfo,()=>{f()}),(w,P)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",gM,[e.createElementVNode("div",vM,e.toDisplayString(e.unref(n)("common.settingText")),1),e.createElementVNode("div",yM,e.toDisplayString(e.unref(n)("common.settingTextDesc")),1),e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",xM,e.toDisplayString(e.unref(n)("common.EMAIL_AND_PHONE_BIND")),1)),e.createElementVNode("div",{class:e.normalizeClass(["setting-content",{"setting-content-pad":e.unref(a)}])},[e.createVNode(e.unref(S.OSkeleton),{animation:!0,loading:r.userInfo.loading},{template:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.value,(T,_)=>(e.openBlock(),e.createElementBlock("div",{key:T.key,class:e.normalizeClass(["opt-item",{itemGap:_,"lang-en":e.unref(i)==="en"}])},[e.createElementVNode("div",CM,[e.createVNode(e.unref(S.OIcon),{class:"icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(T.icon)))]),_:2},1024),e.createElementVNode("span",{class:e.normalizeClass(["content-label nowrap",{"content-label-en":e.unref(i)==="en"}])},e.toDisplayString(T.label),3)]),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"skeleton-text"})],2))),128))]),default:e.withCtx(()=>[r.userInfo.loading?e.createCommentVNode("",!0):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(d.value,(T,_)=>{var I;return e.openBlock(),e.createElementBlock("div",{key:T.key,class:e.normalizeClass(["opt-item",{itemGap:_,"lang-en":e.unref(i)==="en"}])},[e.createElementVNode("div",bM,[e.createVNode(e.unref(S.OIcon),{class:"icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(T.icon)))]),_:2},1024),e.createElementVNode("span",{class:e.normalizeClass(["content-label nowrap",{"content-label-en":e.unref(i)==="en"}])},e.toDisplayString(T.label),3),T.value?(e.openBlock(),e.createElementBlock("span",EM,[e.createElementVNode("span",AM,e.toDisplayString(e.unref(WI)(T.value,T.isMask)),1)])):(e.openBlock(),e.createElementBlock("span",kM,e.toDisplayString(e.unref(n)("common.UNBIND")),1)),T.value&&!e.unref(a)?(e.openBlock(),e.createBlock(e.unref(S.OIcon),{key:2,class:"icon mask-icon"},{default:e.withCtx(()=>[e.createVNode(mM,{modelValue:T.isMask,"onUpdate:modelValue":D=>T.isMask=D},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)):e.createCommentVNode("",!0)]),e.createElementVNode("div",_M,[e.unref(a)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[T.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:e.unref(o)?e.unref(Kn):e.unref(Jn),alt:"",onClick:D=>E("modify",T.key)},null,8,wM)):(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(o)?e.unref(Kn):e.unref(Jn),alt:"",onClick:D=>E("bind",T.key)},null,8,SM))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[T.value&&((I=T.operate)!=null&&I.includes("unbind"))&&r.phoneUnbindable?(e.openBlock(),e.createElementBlock("span",TM,[e.createVNode(e.unref(S.OLink),{onClick:D=>E("unbind",T.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.UNBIND_EMAIL")),1)]),_:1},8,["onClick"])])):e.createCommentVNode("",!0),T.value?(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:1,color:"primary",class:"fs16",onClick:D=>E("modify",T.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.MODIFY")),1)]),_:1},8,["onClick"])):(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:2,color:"primary",class:"fs16",onClick:D=>E("bind",T.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.BIND")),1)]),_:1},8,["onClick"]))],64))])],2)}),128))]),_:1},8,["loading"])],2)]),e.createVNode(Yu,{modelValue:g.value,"onUpdate:modelValue":P[0]||(P[0]=T=>g.value=T),config:C[b.value],"operate-key":b.value,"user-info":r.userInfo,"send-code-post":r.sendUnbindCodePost,"captcha-apis":r.captchaApis},null,8,["modelValue","config","operate-key","user-info","send-code-post","captcha-apis"])],64))}}),K1=be._export_sfc(DM,[["__scopeId","data-v-9b7906bf"]]),BM={class:"common-header"},VM=e.defineComponent({__name:"OCommonHeader",props:{logo:{},navData:{},community:{default:""},bgLeft:{},bgRight:{},langOptions:{},theme:{default:"light"},activeIndex:{default:-1},simpleHeader:{type:Boolean,default:!1},headerTitle:{default:""},locale:{default:"zh"}},emits:["go-home","handle-click","go-back","lang-click","lang-change","theme-change"],setup(r,{emit:t}){const n=r,i=t,{lePadV:s}=et.useScreen(),a=e.computed(()=>n.locale==="zh"),o=e.computed(()=>n.theme),l=e.computed(()=>n.theme==="dark"),u=m=>{i("theme-change",m||(l.value?"light":"dark"))},c=e.computed(()=>{const m=n.logo;if(typeof m=="string")return m;const b=m.zh?a.value?m.zh:m.en:m;return l.value?b.dark:b.light}),d=e.computed(()=>n.activeIndex),f=e.computed(()=>n.simpleHeader),g=e.computed(()=>n.headerTitle),v=[{id:"zh",label:"简体中文",simple:"中"},{id:"en",label:"English",simple:"EN"}],x=e.computed(()=>{var m;return(m=n.langOptions)!=null&&m.length?n.langOptions:v}),p=m=>{i("lang-change",m)};return(m,b)=>(e.openBlock(),e.createElementBlock("header",BM,[e.unref(s)?(e.openBlock(),e.createBlock(w0,{key:0,logo:c.value,"nav-data":r.navData,"active-index":d.value,"is-simple-header":f.value,"header-title":g.value,community:r.community,"bg-left":r.bgLeft,"bg-right":r.bgRight,onGoBack:b[0]||(b[0]=C=>i("go-back")),onGoHome:b[1]||(b[1]=C=>i("go-home")),onHandleClick:b[2]||(b[2]=C=>i("handle-click",C)),onLangClick:b[3]||(b[3]=C=>i("lang-click",C))},e.createSlots({_:2},[m.$slots.rightConfig?{name:"rightConfig",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"rightConfig",{},void 0,!0)]),key:"0"}:void 0,m.$slots.toolbar?{name:"toolbar",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"toolbar",{isMobile:!0,theme:o.value,setTheme:u,isDark:l.value,locale:r.locale,onLangChange:p,langOptions:x.value},void 0,!0)]),key:"1"}:void 0,m.$slots.tool?{name:"tool",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"tool",{theme:o.value,setTheme:u,isMobile:!0},void 0,!0)]),key:"2"}:void 0]),1032,["logo","nav-data","active-index","is-simple-header","header-title","community","bg-left","bg-right"])):(e.openBlock(),e.createBlock(T0,{key:1,community:r.community,logo:c.value,"nav-data":r.navData,"active-index":d.value,"bg-left":r.bgLeft,"bg-right":r.bgRight,onGoHome:b[4]||(b[4]=C=>i("go-home")),onHandleClick:b[5]||(b[5]=C=>i("handle-click",C))},e.createSlots({_:2},[m.$slots.toolbar?{name:"toolbar",fn:e.withCtx(()=>[e.renderSlot(m.$slots,"toolbar",{isMobile:!1,theme:o.value,setTheme:u,isDark:l.value,locale:r.locale,onLangChange:p,langOptions:x.value},void 0,!0)]),key:"0"}:void 0]),1032,["community","logo","nav-data","active-index","bg-left","bg-right"]))]))}}),NM=be._export_sfc(VM,[["__scopeId","data-v-9ee82b0c"]]),IM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAAABHNCSVQICAgIfAhkiAAAExdJREFUeJztnVusHEV6x/9fTc+lp+eMfcYGvDxY8vIIyAgr0fIAYhWBBIsgioODBS8rFuIliQQS2hf84AeQshFSgA0BlpC8gLyxxYpdQZBAkSx48CqRLSzDI2sJIePF8eXMTHX3zJmuLw+eGs+5z6W7q3umftJIHp/pqv9M/7uuX1URLBvSbrd3CSFuIaI9SqndRHQzgF0AbmDmBhHVAdQAuP3XMEH/1WbmJhFdBnARwAVmPi+E+IaZzymlvq7VahfS/F55gkwLyApSyjsB7COiO4jodqXUrUTUSCNvZr4shPiKmc8y8xcATnmedzqNvLPO3Bo0CIJ7lFL3ArhbCHEXM3umNQ1DRFIpdRLA50KIE67rfmZakwnmxqDMfGMYhg8x8wNEdD8z101rGgciajLzJ0T0caVS+ZCIvjetKQ1m2qDM3Oh0Oo9GUbSfiO4zrSdOmPnTQqHwfrlcPt5v384kM2lQKeXDRPQ4gAOmtaTEMWZ+z/O835sWEjczY9B2u31ToVD4GYAnmXmPaT0mIKJzAN6JoujfarXan0zriYPcG7Tb7e6NougZZn7atJYsQUS/LhQK/1oqlc6Y1jINuTWo7/t3AXgW81ONT8oxAK9Uq9WTpoVMQu4MKqXcR0S/gDXmuBxj5n/yPO+UaSHjkBuDBkGwG8BhZn7KtJY8Q0RvA3jRdd1vTGsZhVwYNAiCw8x8BEDBtJYZISKiI67rvmhayFZk2qBSykeEEC8x862mtcwiRPSVUuoFz/N+Z1rLRmTSoEtLSw3HcV4mop+a1jIPMPN/9Hq957dt25a5Af/MGdT3/b8B8M8AfmBay5zxHYDnqtXqf5oWMkxmDMrMwvf914nokGkt8wwzv1mtVv+OiJRpLUBGDOr7/o8AvA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IioycyfENHHlUrlw1mpwrdibgy6miAI7lFK3QvgbiHEXczsmdY0DBFJpdRJAJ8LIU64rvuZaU0mmFuDrkZKeSeAfUR0BxHdrpS6lYgaaeTNzJeFEF8x81lm/gLAKc/zTqeRd9axBt2Edru9SwhxCxHtUUrtJqKbAewCcAMzN4ioDqAGwO2/hgn6rzYzN/vtxIsALjDzeSHEN8x8Tin1da1Wu5Dm98oT/w8pdfSL5U+vDQAAAABJRU5ErkJggg==",OM={class:"header-toolbar"},PM={class:"header-user-mb"},LM=e.defineComponent({__name:"OAppHeader",props:{navData:{},logo:{},mainDomainUrl:{},homeUrl:{default:""},theme:{default:"light"},activeIndex:{default:-1},simpleHeader:{type:Boolean,default:!1},headerTitle:{default:""},getSearchWord:{},getSearchPop:{},user:{},onLogin:{},onLogout:{},langOptions:{default:()=>[{id:"zh",label:"简体中文",simple:"中"},{id:"en",label:"English",simple:"EN"}]}},emits:["navigate","theme-change"],setup(r,{emit:t}){const n=r,i=t,{t:s,locale:a}=be.useI18n(),o=e.computed(()=>n.langOptions),l=()=>{window.location.href=`${n.homeUrl}/zh/`},u=P=>{P.href&&(window.location.href=P.href)},c=()=>{i("navigate","/my/manage")},d=P=>{const T=P.id,{pathname:_,origin:I,search:D}=window.location,B=_.includes("/en");if(T==="en"&&B||T==="zh"&&!B)return;let N="";T==="zh"?N=_.replace("/en","")||"/":N=_.endsWith("/en")?_:_+"/en",window.location.href=I+N+D},f=e.ref(""),g=e.ref([]),v=e.ref([]),x=e.ref(!1),p=e.computed(()=>`${n.mainDomainUrl}/search${a.value==="en"?"/en":""}`),m=()=>{!n.getSearchPop||x.value||n.getSearchPop(a.value).then(P=>{g.value=P.obj??[]}).catch(()=>{g.value=[]}).finally(()=>{x.value=!0})},b=wt.useDebounceFn(()=>{n.getSearchWord&&n.getSearchWord({query:f.value,lang:a.value}).then(P=>{var _;const T=((_=P.obj)==null?void 0:_.word)??[];v.value=T.map(I=>({key:I.key,count:I.count}))}).catch(()=>{v.value=[]})},300,{maxWait:500});e.watch(f,P=>{P?b():v.value=[]});const C=e.computed(()=>{var P;return!!((P=n.user)!=null&&P.username)}),E=e.computed(()=>{var T,_;const P=((T=n.user)==null?void 0:T.photo)??"";return{username:((_=n.user)==null?void 0:_.username)??"",photo:P.includes("gitcode")?IM:P}}),w=e.computed(()=>[{id:"settings",label:s("common.ACCOUNT_MANAGE"),url:a.value==="zh"?"/my/settings":"/my/settings/en",target:"_self",total:0,logout:!1},{id:"logout",label:s("common.LOGOUT"),url:"",target:"_self",total:0,logout:!0}]);return(P,T)=>(e.openBlock(),e.createBlock(NM,{community:"openEuler",logo:r.logo,"nav-data":r.navData,"lang-options":o.value,theme:r.theme,"active-index":r.activeIndex,"simple-header":r.simpleHeader,"header-title":r.headerTitle,locale:e.unref(a),"theme-key":"openEuler-theme-appearance",onGoHome:l,onHandleClick:u,onGoBack:c,onLangChange:d,onThemeChange:T[1]||(T[1]=_=>i("theme-change",_))},{toolbar:e.withCtx(({theme:_,setTheme:I,onLangChange:D,langOptions:B})=>[e.createElementVNode("div",OM,[e.createVNode(B0,{modelValue:f.value,"onUpdate:modelValue":T[0]||(T[0]=N=>f.value=N),"hot-items":g.value,"suggest-items":v.value,"store-history":"","highlight-keyword":"","search-url":p.value,"search-url-open-blank":!1,onFocus:m},null,8,["modelValue","hot-items","suggest-items","search-url"]),e.createVNode(S0,{options:B,type:"common",auto:!1,onChange:D},null,8,["options","onChange"]),e.createVNode(al,{type:"common",theme:_,onChange:I},null,8,["theme","onChange"]),e.createVNode(ll,{token:C.value?"1":"","user-info":E.value,options:w.value,onLogin:r.onLogin,onLogout:r.onLogout},null,8,["token","user-info","options","onLogin","onLogout"])])]),tool:e.withCtx(({theme:_,setTheme:I})=>[e.createVNode(al,{type:"mobile",theme:_,onChange:I},null,8,["theme","onChange"])]),rightConfig:e.withCtx(()=>[e.createElementVNode("div",PM,[e.createVNode(ll,{token:C.value?"1":"","user-info":E.value,options:w.value,onLogin:r.onLogin,onLogout:r.onLogout},null,8,["token","user-info","options","onLogin","onLogout"])])]),_:1},8,["logo","nav-data","lang-options","theme","active-index","simple-header","header-title","locale"]))}}),J1=be._export_sfc(LM,[["__scopeId","data-v-42304ec4"]]),MM={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function RM(r,t){return e.openBlock(),e.createElementBlock("svg",MM,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M15.080 1.135l0.098 0.002 0.1 0.018 0.094 0.034 0.211 0.090c1.184 0.453 2.201 1.025 3.103 1.753l0.346 0.292 0.186 0.198c0.106 0.111 0.164 0.258 0.165 0.411l-0.009 0.114-0.368 2.428c-0.097 0.639 0.227 1.266 0.798 1.559l0.144 0.064 2.24 0.837c0.139 0.052 0.253 0.153 0.321 0.283l0.043 0.101 0.020 0.087 0.136 0.72c0.211 1.256 0.211 2.551-0 3.848l-0.090 0.493-0.047 0.3c-0.025 0.157-0.112 0.298-0.241 0.391l-0.084 0.052-0.090 0.036-2.129 0.744c-0.604 0.211-1.007 0.783-1.005 1.419l0.009 0.156 0.295 2.487c0.014 0.117-0.007 0.235-0.060 0.34l-0.057 0.093-0.059 0.067-0.236 0.244c-0.323 0.296-0.707 0.588-1.119 0.851l-0.312 0.19-0.353 0.211c-0.342 0.194-0.707 0.369-1.078 0.517l-0.377 0.141-0.273 0.115c-0.18 0.076-0.386 0.058-0.551-0.045l-0.084-0.062-1.754-1.484c-0.517-0.437-1.26-0.472-1.814-0.093l-0.131 0.101-1.684 1.481c-0.125 0.11-0.289 0.162-0.454 0.146l-0.101-0.018-0.095-0.035-0.173-0.076c-0.967-0.325-1.842-0.777-2.66-1.374l-0.354-0.27-0.61-0.511c-0.136-0.114-0.215-0.283-0.214-0.46l0.009-0.11 0.359-2.366c0.097-0.644-0.232-1.276-0.811-1.566l-0.146-0.063-2.315-0.836c-0.141-0.051-0.256-0.152-0.326-0.283l-0.044-0.102-0.020-0.088-0.136-0.74c-0.21-1.295-0.211-2.623-0.004-3.867l0.088-0.467 0.054-0.339c0.030-0.192 0.152-0.356 0.325-0.442l0.096-0.039 2.18-0.727c0.627-0.21 1.042-0.805 1.024-1.462l-0.013-0.161-0.365-2.494c-0.018-0.12 0.002-0.243 0.055-0.351l0.058-0.097 0.060-0.069 0.236-0.244c0.409-0.375 0.901-0.733 1.458-1.058 0.509-0.292 0.999-0.531 1.473-0.719l0.36-0.134 0.274-0.115 0.113-0.035c0.115-0.023 0.234-0.012 0.343 0.032l0.096 0.050 0.092 0.070 1.695 1.496c0.512 0.452 1.263 0.499 1.827 0.122l0.133-0.101 1.775-1.535c0.125-0.108 0.289-0.159 0.452-0.143zM15.208 2.29l-1.537 1.33c-0.92 0.796-2.271 0.84-3.238 0.112l-0.166-0.135-1.476-1.304-0.376 0.141c-0.322 0.128-0.649 0.28-0.986 0.459l-0.335 0.185c-0.4 0.234-0.769 0.488-1.058 0.727l-0.259 0.223 0.33 2.258c0.172 1.17-0.474 2.305-1.561 2.756l-0.185 0.069-1.908 0.637-0.101 0.524c-0.165 0.989-0.185 2.034-0.062 3.055l0.060 0.429 0.061 0.331 0.031 0.169 2.039 0.736c1.095 0.395 1.788 1.475 1.696 2.63l-0.022 0.193-0.319 2.109 0.379 0.32c0.709 0.564 1.454 0.996 2.256 1.31l0.423 0.152 1.443-1.269c0.905-0.796 2.239-0.858 3.212-0.157l0.167 0.131 1.537 1.298 0.39-0.146c0.22-0.088 0.432-0.183 0.632-0.284l0.284-0.152 0.384-0.229c0.368-0.214 0.731-0.466 1.017-0.703l0.265-0.228-0.269-2.259c-0.135-1.133 0.491-2.218 1.533-2.67l0.187-0.073 1.868-0.653 0.092-0.505c0.169-1.035 0.192-2.062 0.069-3.053l-0.060-0.415-0.060-0.321-0.031-0.167-1.971-0.735c-1.081-0.404-1.761-1.476-1.669-2.622l0.022-0.191 0.335-2.209-0.258-0.214c-0.717-0.579-1.515-1.049-2.453-1.444l-0.355-0.146zM12 7.384c0.289 0 0.575 0.027 0.856 0.079 0.293 0.055 0.486 0.337 0.431 0.63s-0.337 0.486-0.63 0.431c-0.216-0.040-0.435-0.061-0.657-0.061-1.953 0-3.536 1.583-3.536 3.536s1.583 3.536 3.536 3.536c1.953 0 3.536-1.583 3.536-3.536 0-0.743-0.229-1.455-0.657-2.054-0.173-0.243-0.117-0.58 0.125-0.753s0.58-0.117 0.753 0.125c0.559 0.782 0.859 1.714 0.859 2.682 0 2.55-2.067 4.616-4.616 4.616s-4.616-2.067-4.616-4.616c0-2.55 2.067-4.616 4.616-4.616z"},null,-1)])])}const FM={name:"user-center-icon-setting",render:RM},qM={class:"aside-content"},zM={key:0,class:"menu-divider"},UM=["onClick"],HM={class:"jump-url"},jM=["src"],XM=e.defineComponent({__name:"OAsideBar",props:{menus:{},currentPath:{}},emits:["navigate"],setup(r,{emit:t}){const n=r,i=t,{t:s,locale:a}=be.useI18n(),{isLight:o}=Bn(),{lePadV:l}=et.useScreen(),u=e.computed(()=>[{id:"meeting",name:s("common.ASIDE_MEETING"),icon:$0,url:a.value==="zh"?"/my/meeting":"/my/meeting/en",group:0},{id:"setting",name:s("common.ASIDE_SETTING"),icon:FM,url:a.value==="zh"?"/my/settings":"/my/settings/en",group:1}]),c=e.computed(()=>{var x;const g=(x=n.menus)!=null&&x.length?n.menus:u.value,v=new Map;return g.forEach(p=>{const m=p.group??0;v.has(m)||v.set(m,[]),v.get(m).push(p)}),Array.from(v.keys()).sort((p,m)=>p-m).map(p=>({group:p,items:v.get(p)}))}),d=g=>(n.currentPath??(typeof window<"u"?window.location.pathname:"")).includes(g.id),f=g=>{i("navigate",g.url)};return(g,v)=>(e.openBlock(),e.createElementBlock("div",qM,[e.renderSlot(g.$slots,"userinfo",{},void 0,!0),e.createElementVNode("div",{class:e.normalizeClass(["aside-menu",{"aside-menu-pad":e.unref(l)}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.value,(x,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:x.group},[p>0?(e.openBlock(),e.createElementBlock("div",zM)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(x.items,m=>(e.openBlock(),e.createElementBlock("div",{key:m.id,class:e.normalizeClass(["aside-menu-item",{active:d(m)}]),onClick:b=>f(m)},[e.createVNode(e.unref(S.OIcon),{class:"menu-icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(m.icon)))]),_:2},1024),e.createElementVNode("span",HM,e.toDisplayString(m.name),1),e.unref(l)?(e.openBlock(),e.createElementBlock("img",{key:0,src:e.unref(o)?e.unref(Kn):e.unref(Jn),class:"left-arrow",alt:""},null,8,jM)):e.createCommentVNode("",!0)],10,UM))),128))],64))),128))],2)]))}}),Z1=be._export_sfc(XM,[["__scopeId","data-v-e00e6ef3"]]),GM={class:"main-page"},QM={key:0,class:"aside-bar"},YM={class:"main-content"},WM=e.defineComponent({__name:"OLayout",setup(r){const{lePadV:t}=et.useScreen();return(n,i)=>(e.openBlock(),e.createElementBlock("div",GM,[!e.unref(t)&&n.$slots.sidebar?(e.openBlock(),e.createElementBlock("aside",QM,[e.renderSlot(n.$slots,"sidebar",{},void 0,!0)])):e.createCommentVNode("",!0),e.createElementVNode("main",YM,[e.renderSlot(n.$slots,"user-main-content",{},void 0,!0)])]))}}),$1=be._export_sfc(WM,[["__scopeId","data-v-588133ac"]]),KM={class:"account-manage"},JM=e.defineComponent({__name:"OTheAccountManage",setup(r){const{lePadV:t}=et.useScreen();return(n,i)=>(e.openBlock(),e.createElementBlock("div",KM,[e.createElementVNode("div",{class:e.normalizeClass(["user-info",{"user-info-pad":e.unref(t)}])},[e.renderSlot(n.$slots,"user-info",{},void 0,!0)],2),e.createElementVNode("div",{class:e.normalizeClass(["settings",{"settings-pad":e.unref(t)}])},[e.renderSlot(n.$slots,"user-setting",{},void 0,!0)],2)]))}}),ep=be._export_sfc(JM,[["__scopeId","data-v-ee91fe37"]]),ZM={class:"create-meeting"},$M={class:"page-title"},eR=e.defineComponent({__name:"OTheCreateMeeting",props:{slugParams:{},creatMeetingApi:{type:Function},editMeetingApi:{type:Function},editSubMeetingApi:{type:Function},getGroupInfosApi:{type:Function},getMyMeetingDetailApi:{type:Function},getPlatformsApi:{type:Function},groupType:{},enablePrivate:{type:Boolean}},emits:["navigate"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),s=r,a=t,o=e.computed(()=>{const _=s.slugParams||[];return Array.isArray(_)?_:_?[_]:[]}),l=e.computed(()=>o.value[0]==="en"),u=e.computed(()=>l.value?1:0),c=e.computed(()=>o.value[u.value]),d=e.computed(()=>o.value[u.value+1]),f=e.computed(()=>o.value[u.value+2]),g=e.computed(()=>c.value==="single"),v=e.computed(()=>!!d.value),x=e.computed(()=>v.value?n("common.EDIT_MEETING"):n("common.BOOK_MEETING")),p=()=>a("navigate",i.value==="en"?"/my/meeting/en":"/my/meeting"),m=_=>s.creatMeetingApi(_,i.value),b=(_,I)=>s.editMeetingApi(_,I,i.value),C=(_,I)=>s.editSubMeetingApi(_,I,i.value),E=()=>s.getGroupInfosApi(),w=()=>s.getPlatformsApi(),P=e.ref(null),T=async()=>{var _;if(d.value)try{const I=await s.getMyMeetingDetailApi(d.value),D=(_=I==null?void 0:I.data)==null?void 0:_.data;if(!D)return;const{start:B,end:N,is_cycle:M,cycle_start_date:O,cycle_end_date:F,cycle_point:q,cycle_interval:Y,cycle_start:z,cycle_end:Q}=D;P.value={...D,time:`${B}-${N}`,...M?{date_range:[O,F],cycle_point:(q==null?void 0:q.map(X=>parseInt(X)))||[],cycle_interval:Y||1,time:`${z}-${Q}`,start:z,end:Q}:{}}}catch{}};return e.watch(()=>d.value,()=>T(),{immediate:!0}),(_,I)=>(e.openBlock(),e.createElementBlock("div",ZM,[e.createElementVNode("div",$M,e.toDisplayString(x.value),1),e.createVNode(Hc,{createMeetingRequest:m,editMeetingRequest:b,editSubMeetingRequest:C,getGroupsRequest:E,getPlatformsRequest:w,data:P.value,subId:g.value?f.value:void 0,labelMap:{is_record:e.unref(n)("common.MEETING_RECORD")},"group-type":r.groupType??e.unref(en).SIG,"enable-private":r.enablePrivate??!1,onCancel:p,onConfirm:p},null,8,["data","subId","labelMap","group-type","enable-private"])]))}}),tp=be._export_sfc(eR,[["__scopeId","data-v-6af56e3e"]]),tR="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20width='240px'%20height='240px'%20viewBox='0%200%20240%20240'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cdefs%3e%3clinearGradient%20x1='33.7879238%25'%20y1='100%25'%20x2='33.7879238%25'%20y2='0%25'%20id='linearGradient-1'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%2393ACD8'%20offset='67.1944225%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpolygon%20id='path-2'%20points='55.6223176%2039.8503818%20113.304721%2027.7437126%20113.304721%20130.498204%2059.6070557%20115.618373'%3e%3c/polygon%3e%3clinearGradient%20x1='33.7879238%25'%20y1='124.914444%25'%20x2='33.7879238%25'%20y2='-14.9207842%25'%20id='linearGradient-3'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpolygon%20id='path-4'%20points='112.274678%2049.2758152%20112.274678%2027.7437126%20181.287554%2034.92297%20123.979895%2051.3772455'%3e%3c/polygon%3e%3cfilter%20x='-1.4%25'%20y='-4.2%25'%20width='102.9%25'%20height='116.9%25'%20filterUnits='objectBoundingBox'%20id='filter-5'%3e%3cfeOffset%20dx='0'%20dy='2'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeColorMatrix%20values='0%200%200%200%200.247420715%200%200%200%200%200.339189888%200%200%200%200%200.519198653%200%200%200%201%200'%20type='matrix'%20in='shadowOffsetOuter1'%3e%3c/feColorMatrix%3e%3c/filter%3e%3clinearGradient%20x1='33.7879238%25'%20y1='154.422046%25'%20x2='33.7879238%25'%20y2='0%25'%20id='linearGradient-6'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpath%20d='M121.543192,50.3497006%20L121.196857,137.691018%20L53.5622318,120.25555%20L53.5622318,65.8826774%20L121.545064,50.3497006%20L121.543192,50.3497006%20Z%20M75.931755,79.5206161%20C74.5464135,79.3491869%2073.1573276,80.2100596%2072.9813517,81.5908102%20C72.807248,82.9696972%2073.6740225,84.3523111%2075.0612363,84.5256037%20L97.2585278,88.4926991%20C98.6438693,88.6659916%20100.034827,87.8032556%20100.207059,86.4243684%20C100.379291,85.0417546%2099.5143882,83.6610041%2098.1290466,83.4914382%20L75.931755,79.5206161%20L75.931755,79.5206161%20Z'%20id='path-7'%3e%3c/path%3e%3clinearGradient%20x1='43.0345206%25'%20y1='113.090249%25'%20x2='43.0345206%25'%20y2='-16.6761594%25'%20id='linearGradient-8'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpolygon%20id='path-9'%20points='183.347639%20116.629%20183.347639%2063.2928818%20121.545064%2050.3497006%20121.545064%20137.691018'%3e%3c/polygon%3e%3clinearGradient%20x1='33.7879238%25'%20y1='100%25'%20x2='33.7879238%25'%20y2='0%25'%20id='linearGradient-10'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpath%20d='M54.4693674,40.0742515%20L39.6540784,60.829428%20C38.3706068,62.6274813%2038.7877577,65.1255508%2040.585811,66.4090224%20C41.0487584,66.7394797%2041.5768589,66.9674046%2042.1348748,67.0775888%20L100.455166,78.5933461%20C102.067393,78.9116918%20103.710286,78.2115677%20104.597306,76.8281603%20L121.545064,50.3962184%20L121.545064,50.3962184%20L54.4693674,40.0742515%20Z'%20id='path-11'%3e%3c/path%3e%3cfilter%20x='-1.2%25'%20y='-2.6%25'%20width='103.5%25'%20height='110.2%25'%20filterUnits='objectBoundingBox'%20id='filter-12'%3e%3cfeOffset%20dx='1'%20dy='2'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeColorMatrix%20values='0%200%200%200%200.895200955%200%200%200%200%200.915633914%200%200%200%200%200.947742849%200%200%200%201%200'%20type='matrix'%20in='shadowOffsetOuter1'%3e%3c/feColorMatrix%3e%3c/filter%3e%3clinearGradient%20x1='33.7879238%25'%20y1='100%25'%20x2='33.7879238%25'%20y2='0%25'%20id='linearGradient-13'%3e%3cstop%20stop-color='%2392ABD7'%20offset='0%25'%3e%3c/stop%3e%3cstop%20stop-color='%23DDE6F4'%20offset='100%25'%3e%3c/stop%3e%3c/linearGradient%3e%3cpath%20d='M195.583113,53.9457597%20L181.249118,34.9365269%20L181.249118,34.9365269%20L121.545064,50.5788488%20L138.752197,75.2519633%20C139.763571,76.7021617%20141.607048,77.3163517%20143.286103,76.7625221%20L193.642321,60.1527275%20C195.740279,59.4607247%20196.880031,57.1990146%20196.188028,55.1010568%20C196.050945,54.6854601%20195.846591,54.2951755%20195.583113,53.9457597%20Z'%20id='path-14'%3e%3c/path%3e%3cfilter%20x='-2.7%25'%20y='-2.4%25'%20width='104.0%25'%20height='109.6%25'%20filterUnits='objectBoundingBox'%20id='filter-15'%3e%3cfeOffset%20dx='-1'%20dy='2'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeColorMatrix%20values='0%200%200%200%200.895200955%200%200%200%200%200.915633914%200%200%200%200%200.947742849%200%200%200%201%200'%20type='matrix'%20in='shadowOffsetOuter1'%3e%3c/feColorMatrix%3e%3c/filter%3e%3cpath%20d='M145.236052,92.2570967%20C145.236052,91.5381629%20145.712732,90.906369%20146.404051,90.7090263%20L165.276916,85.3216088%20C165.762737,85.1829269%20166.268997,85.4643393%20166.407679,85.950161%20C166.430991,86.031826%20166.442817,86.1163395%20166.442817,86.2012667%20C166.442817,86.9199989%20165.969037,87.5527142%20165.279363,87.755015%20L151.251368,91.8698207%20C150.139479,92.1959689%20149.022005,92.5027668%20147.899453,92.7900752%20L146.412777,93.1705784%20C145.908275,93.2997018%20145.39462,92.9953972%20145.265496,92.4908952%20C145.245944,92.4145002%20145.236052,92.3359542%20145.236052,92.2570967%20Z%20M145.236052,101.52751%20C145.236052,100.770508%20145.732728,100.103184%20146.457874,99.885895%20L160.984029,95.5331473%20C161.484462,95.3831931%20162.011705,95.6673122%20162.161659,96.1677451%20C162.188055,96.2558344%20162.201464,96.3473021%20162.201464,96.4392612%20C162.201464,97.195514%20161.710377,97.864168%20160.988769,98.0904416%20L149.844731,101.584861%20C148.833709,101.901885%20147.812173,102.184353%20146.781904,102.431772%20L146.476287,102.505166%20C145.936343,102.634833%20145.393515,102.302238%20145.263848,101.762294%20C145.245381,101.685398%20145.236052,101.606592%20145.236052,101.52751%20Z%20M145.236052,110.060651%20C145.236052,109.333742%20145.713781,108.69326%20146.410531,108.486051%20L172.902774,100.607403%20C173.386594,100.463518%20173.895449,100.739089%20174.039334,101.222909%20C174.064481,101.307466%20174.077253,101.395219%20174.077253,101.483436%20C174.077253,102.210345%20173.599524,102.850827%20172.902774,103.058036%20L146.410531,110.936684%20C145.926711,111.080569%20145.417856,110.804998%20145.273971,110.321178%20C145.248824,110.236621%20145.236052,110.148868%20145.236052,110.060651%20Z'%20id='path-16'%3e%3c/path%3e%3cfilter%20x='-6.9%25'%20y='-3.9%25'%20width='113.9%25'%20height='115.6%25'%20filterUnits='objectBoundingBox'%20id='filter-17'%3e%3cfeOffset%20dx='0'%20dy='1'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeGaussianBlur%20stdDeviation='0.5'%20in='shadowOffsetOuter1'%20result='shadowBlurOuter1'%3e%3c/feGaussianBlur%3e%3cfeColorMatrix%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.199292163%200'%20type='matrix'%20in='shadowBlurOuter1'%3e%3c/feColorMatrix%3e%3c/filter%3e%3c/defs%3e%3cg%20id='空状态-404'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%3e%3cg%20id='状态'%20transform='translate(-170.000000,%20-249.000000)'%3e%3cg%20id='空状态'%20transform='translate(170.000000,%20249.000000)'%3e%3crect%20id='矩形'%20x='0'%20y='0'%20width='240'%20height='240'%3e%3c/rect%3e%3cg%20id='编组-9'%20transform='translate(0.000000,%2024.000000)'%20fill-rule='nonzero'%3e%3cpath%20d='M46.219693,144.512854%20C43.8651873,143.875755%2040.9997552,141.226051%2041.6132143,137.58398%20C41.9174593,135.777719%2043.0851846,134.608473%2044.2959797,133.852419%20C45.9707555,132.806651%2047.8781343,132.412572%2049.7162517,132.313015%20C51.8363987,132.198177%2053.95418,132.487727%2056.058489,132.793933%20C58.1358852,133.096229%2060.2134475,133.366904%2062.3001249,133.532166%20C70.4653254,134.173785%2078.6804501,133.562695%2086.6615222,131.720019%20C88.6313336,131.264619%2090.5893352,130.730361%2092.5355271,130.117245%20C94.3797712,129.573441%2096.1828683,128.898305%2097.9310424,128.096994%20C100.244882,126.984111%20104.00776,124.818527%20103.700936,120.807855%20C103.538244,118.681287%20102.288172,116.982838%20101.027263,115.799546%20C99.5026606,114.368792%2097.7384942,113.427435%2096.0106141,112.513301%20C87.9735208,108.261211%2079.9207387,104.059602%2071.875818,99.8331176%20C69.9982235,98.8467081%2068.1081459,97.8867191%2066.2859288,96.730765%20C64.5798848,95.6485064%2062.8818249,94.3913487%2061.5088794,92.6530883%20C60.3097197,91.1348493%2059.2381685,89.0966474%2059.2759747,86.8182524%20C59.307326,84.9287275%2060.1656352,83.3253087%2061.2168476,82.126967%20C63.8194431,79.1600954%2067.5010473,77.957171%2070.8284816,77.3270677%20C74.9624631,76.5442285%2079.156287,76.5482779%2083.2929684,75.792353%20C86.6330859,75.1819824%2090.2019795,74.0036817%2092.9184505,71.2425347%20C94.0675619,70.1194561%2094.8803263,68.6968643%2095.2649494,67.1354282%20C95.6118075,65.5000126%2095.4432054,63.7970485%2094.782431,62.2617558%20C94.0465817,60.5009521%2092.8728018,59.0982892%2091.6385828,57.949719%20C90.2208014,56.648696%2088.6128073,55.5724684%2086.8703294,54.7583358%20C83.2014934,53.0068697%2079.3435245,52.0949405%2075.5854621,50.7508497%20C73.7424227,50.091676%2071.880738,49.368852%2070.1693605,48.2366214%20C68.7194622,47.2773777%2067.1400354,45.9844031%2066.3333805,44.0616411%20C64.6690508,40.0945264%2068.6395755,37.730178%2070.8893925,36.8346036%20C72.418579,36.2535626%2073.9936525,35.8018411%2075.5981,35.4841747%20C75.9373476,35.4112037%2075.7934046,34.7328099%2075.4557486,34.805431%20C73.7668801,35.1352874%2072.1117289,35.6194603%2070.5110474,36.2518792%20C69.154342,36.8165882%2067.7544971,37.5587232%2066.6888116,38.8357857%20C65.7075754,40.0018775%2065.26663,41.5304747%2065.4757076,43.0411755%20C65.757975,44.9446341%2066.9849762,46.4113029%2068.1373393,47.4736416%20C69.6612132,48.8784682%2071.3986915,49.7959164%2073.1603244,50.5437803%20C75.0156486,51.3314179%2076.9103422,51.9452535%2078.8044015,52.5473607%20C82.5891388,53.7504932%2086.5436745,54.8226822%2089.9602596,57.3828633%20C92.3502739,59.1738041%2095.5970568,62.5317228%2094.8020487,66.6939212%20C94.4491398,68.5415428%2093.3774602,69.9860863%2092.2209587,71.0485612%20C90.8628364,72.2595227%2089.2966479,73.2135506%2087.5985023,73.8642838%20C80.0273192,76.9167854%2071.6947202,74.7338878%2064.3186643,78.8798261%20C61.8107588,80.2894662%2058.7645555,82.8560061%2058.7400348,86.8942383%20C58.7273043,88.9920128%2059.5666642,90.9159721%2060.6043683,92.4366812%20C61.8472435,94.2580732%2063.456683,95.6049651%2065.0941925,96.7306648%20C66.8184117,97.8725745%2068.6087313,98.9110076%2070.4557172,99.8404921%20C72.4734032,100.902214%2074.4915323,101.9625%2076.5101044,103.02135%20L88.7598784,109.456903%20L94.8462456,112.654414%20C96.7038297,113.630313%2098.6091185,114.566444%20100.298078,115.999016%20C101.680975,117.171996%20103.314834,119.096341%20103.173734,121.485852%20C103.061684,123.383517%20101.80332,124.752964%20100.653449,125.668543%20C99.1644835,126.854126%2097.491875,127.620957%2095.8276869,128.258185%20C93.9081535,128.993172%2091.9570573,129.602871%2090.0021796,130.151053%20C85.9978193,131.272296%2081.9110136,132.073664%2077.7801887,132.547623%20C73.6596261,133.022913%2069.5085186,133.177922%2065.3640712,133.011259%20C63.2700327,132.926837%2061.1792453,132.759037%2059.0917089,132.507857%20C56.9399029,132.248208%2054.7973063,131.848216%2052.6399536,131.670754%20C50.6885856,131.510234%2048.7184211,131.547437%2046.796709,132.063356%20C45.1921272,132.494137%2043.4969295,133.261985%2042.2789148,134.760246%20C41.3811568,135.904048%2040.9315935,137.337102%2041.0148153,138.789764%20C41.0972805,140.23945%2041.6132108,141.630745%2042.4955231,142.782749%20C43.39173,143.959358%2044.6509883,144.806234%2046.0773831,145.191621%20C46.4137327,145.28263%2046.5575813,144.604285%2046.2197346,144.512877%20L46.219693,144.512854%20Z'%20id='路径'%20fill='%23B6C7E5'%20transform='translate(72.361809,%2090.000000)%20scale(-1,%201)%20translate(-72.361809,%20-90.000000)%20'%3e%3c/path%3e%3cg%20id='空状态'%20transform='translate(0.000000,%2020.400000)'%3e%3cg%20id='编组-16'%20transform='translate(0.000000,%20102.754491)'%20opacity='0.5'%3e%3cpath%20d='M0,34.4199679%20C0,53.4321412%2053.7246742,68.845509%20120.001877,68.845509%20C186.275326,68.845509%20240,53.4339993%20240,34.4218258%20C240,15.4133682%20186.271571,0%20120.001877,0%20C53.728429,-0.00371517983%200,15.4115103%200,34.4199679%20Z'%20id='路径'%20fill='%23D7E1F2'%3e%3c/path%3e%3cpath%20d='M41.2017167,25.6886227%20C41.2017167,38.1748552%2076.4798802,48.2946108%20119.999062,48.2946108%20C163.52012,48.2946108%20198.798283,38.1748554%20198.798283,25.6886227%20C198.798283,13.2061051%20163.52012,3.08263473%20120.000938,3.08263473%20C76.4780034,3.08263473%2041.2017167,13.2023901%2041.2017167,25.6886227%20Z'%20id='路径'%20fill='%23BFCEE8'%3e%3c/path%3e%3c/g%3e%3cg%20id='路径'%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-2'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-1)'%20xlink:href='%23path-2'%3e%3c/use%3e%3c/g%3e%3cg%20id='路径'%3e%3cuse%20fill='black'%20fill-opacity='1'%20filter='url(%23filter-5)'%20xlink:href='%23path-4'%3e%3c/use%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-4'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-3)'%20xlink:href='%23path-4'%3e%3c/use%3e%3c/g%3e%3cg%20id='形状'%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-7'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-6)'%20xlink:href='%23path-7'%3e%3c/use%3e%3c/g%3e%3cg%20id='路径'%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-9'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-8)'%20xlink:href='%23path-9'%3e%3c/use%3e%3c/g%3e%3cg%20id='路径'%3e%3cuse%20fill='black'%20fill-opacity='1'%20filter='url(%23filter-12)'%20xlink:href='%23path-11'%3e%3c/use%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-11'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-10)'%20xlink:href='%23path-11'%3e%3c/use%3e%3c/g%3e%3cg%20id='形状'%3e%3cuse%20fill='black'%20fill-opacity='1'%20filter='url(%23filter-15)'%20xlink:href='%23path-14'%3e%3c/use%3e%3cuse%20fill='%23D1DBF2'%20xlink:href='%23path-14'%3e%3c/use%3e%3cuse%20fill='url(%23linearGradient-13)'%20xlink:href='%23path-14'%3e%3c/use%3e%3c/g%3e%3cg%20id='形状'%3e%3cuse%20fill='black'%20fill-opacity='1'%20filter='url(%23filter-17)'%20xlink:href='%23path-16'%3e%3c/use%3e%3cuse%20fill='%23FFFFFF'%20xlink:href='%23path-16'%3e%3c/use%3e%3c/g%3e%3cpath%20d='M101.97425,2.5716331%20C101.975268,3.48873855%20102.478643,4.33565097%20103.29476,4.79334662%20C104.110876,5.25104226%20105.115747,5.24998629%20105.930848,4.79057646%20C106.745948,4.33116663%20107.247444,3.48319824%20107.246429,2.56609279%20C107.244857,1.14837067%20106.063366,0.000320089271%20104.607495,0.00184847637%20C103.151624,0.00337991811%20101.972681,1.15391098%20101.97425,2.5716331%20Z%20M114.272833,2.5716331%20C114.274406,3.9893553%20115.455896,5.13740599%20116.911768,5.1358776%20C118.367639,5.13434616%20119.546582,3.98381499%20119.545013,2.56609279%20C119.54344,1.14837059%20118.361949,0.000319905061%20116.906078,0.00184829221%20C115.450207,0.00337973399%20114.271264,1.1539109%20114.272833,2.5716331%20Z%20M126.56952,2.5716331%20C126.570538,3.4893984%20127.074274,4.33692055%20127.890977,4.79494613%20C128.707681,5.25297171%20129.713275,5.25191573%20130.528962,4.79217597%20C131.344649,4.33243622%20131.846507,3.48385809%20131.845492,2.56609279%20C131.843919,1.14735065%20130.66158,-0.00152686506%20129.204661,1.5231798e-06%20C127.747743,0.00153296386%20126.56795,1.15289096%20126.56952,2.5716331%20L126.56952,2.5716331%20Z'%20id='形状'%20fill='%23C2D1E9'%3e%3c/path%3e%3c/g%3e%3cg%20id='编组-26'%20transform='translate(41.005025,%200.000000)'%3e%3cpath%20d='M39.9333552,8.3909613%20L2.13955655,0.1384045%20L1.64839085,0.0314077222%20C1.13797211,-0.0808076536%200.609165859,0.112840647%200.287816734,0.529648557%20C-0.03353239,0.946456467%20-0.0906216577,1.51274764%200.140930837,1.98666825%20L15.1466157,32.8327456%20C15.3436846,33.2349175%2015.7215958,33.5150135%2016.1598655,33.5837345%20C16.5996806,33.6529912%2017.0449661,33.4984395%2017.3502585,33.1705676%20L27.7728519,22.0462762%20C27.9227397,21.8822564%2028.133506,21.78908%2028.3542365,21.7892555%20C28.6566466,21.7849358%2028.9367582,21.949792%2029.0826561,22.2179581%20L31.2175032,26.2150341%20C31.4979219,26.7634226%2032.1113126,27.0479573%2032.7047496,26.904926%20L32.7153756,26.9025459%20C33.3162169,26.7737223%2033.7517952,26.2452237%2033.7693053,25.6237851%20L34.1969598,16.3971105%20C34.2020568,16.2819901%2034.2304615,16.1691567%2034.2804128,16.0656062%20C34.3340354,15.9631269%2034.4068141,15.8721677%2034.4947048,15.7977827%20L40.5075824,10.8015243%20C40.9108744,10.4664417%2041.0893686,9.92743593%2040.9670637,9.41401136%20C40.8447587,8.90058679%2040.4431939,8.50316352%2039.9333525,8.3909613%20L39.9333552,8.3909613%20Z%20M40.1642019,10.3767896%20L34.1513406,15.37307%20C34.0729911,15.4369572%2034.0019926,15.5095661%2033.9396853,15.5895262%20L2.07124471,0.959664277%20C2.0431371,0.94642694%202.01381441,0.93601263%201.9836979,0.928570961%20C1.73009901,0.862407026%201.46590052,0.988411243%201.35484583,1.22848945%20C1.24379115,1.46856766%201.31736082,1.75466512%201.52995828,1.90946602%20L27.7329494,21.3929836%20C27.5999797,21.4629625%2027.4799268,21.5556272%2027.3780676,21.6669047%20L16.9555965,32.7911356%20C16.7720395,32.9866416%2016.505715,33.0790659%2016.2422658,33.0386874%20C15.9788166,32.9983089%2015.7514608,32.8302189%2015.6333097,32.5884705%20L0.627633024,1.74239311%20C0.490765036,1.45803722%200.525983152,1.11958255%200.718375873,0.870332207%20C0.910768595,0.621081865%201.22668471,0.504631975%201.53236401,0.570287908%20L2.0351941,0.68027845%20L39.8171979,8.92986901%20C40.1233035,8.99695333%2040.3646184,9.23520564%2040.438504,9.54328994%20C40.5123895,9.85137425%2040.4058508,10.175105%2040.1642019,10.3767896%20L40.1642019,10.3767896%20Z'%20id='形状'%20fill='%23A5BADE'%3e%3c/path%3e%3cpath%20d='M39.9333552,8.3909613%20L2.13955655,0.1384045%20L1.64839085,0.0314077222%20C1.13797211,-0.0808076536%200.609165859,0.112840647%200.287816734,0.529648557%20C-0.03353239,0.946456467%20-0.0906216577,1.51274764%200.140930837,1.98666825%20L15.1466157,32.8327456%20C15.3436846,33.2349175%2015.7215958,33.5150135%2016.1598655,33.5837345%20C16.5996806,33.6529912%2017.0449661,33.4984395%2017.3502585,33.1705676%20L27.7728519,22.0462762%20C27.9227397,21.8822564%2028.133506,21.78908%2028.3542365,21.7892555%20C28.6566466,21.7849358%2028.9367582,21.949792%2029.0826561,22.2179581%20L31.2175032,26.2150341%20C31.4979219,26.7634226%2032.1113126,27.0479573%2032.7047496,26.904926%20L32.7153756,26.9025459%20C33.3162169,26.7737223%2033.7517952,26.2452237%2033.7693053,25.6237851%20L34.1969598,16.3971105%20C34.2020568,16.2819901%2034.2304615,16.1691567%2034.2804128,16.0656062%20C34.3340354,15.9631269%2034.4068141,15.8721677%2034.4947048,15.7977827%20L40.5075824,10.8015243%20C40.9108744,10.4664417%2041.0893686,9.92743593%2040.9670637,9.41401136%20C40.8447587,8.90058679%2040.4431939,8.50316352%2039.9333525,8.3909613%20L39.9333552,8.3909613%20Z%20M40.1642019,10.3767896%20L34.1513406,15.37307%20C34.0729911,15.4369572%2034.0019926,15.5095661%2033.9396853,15.5895262%20C33.8834978,15.6606595%2033.8349792,15.7376659%2033.7949556,15.8192343%20C33.7530162,15.9026554%2033.7199627,15.990356%2033.6963533,16.0808557%20L33.6969432,16.083544%20C33.6720302,16.1778112%2033.6576678,16.2746151%2033.6541266,16.3721312%20L33.2265972,25.5987756%20C33.219206,25.9724469%2032.9569592,26.2910332%2032.5952006,26.3658174%20L32.5898862,26.3670089%20C32.2335763,26.4566016%2031.8631863,26.2863353%2031.6953626,25.9558012%20L29.5599284,21.956045%20C29.3362376,21.5377519%2028.9145925,21.2664624%2028.445483,21.2390029%20L28.4428897,21.2395835%20C28.4118436,21.2381086%2028.3809116,21.2365732%2028.3505858,21.2377262%20C28.1352942,21.2378262%2027.9232809,21.2911212%2027.7329548,21.3929836%20C27.5999851,21.4629625%2027.4799323,21.5556272%2027.378073,21.6669047%20L16.9556019,32.7911356%20C16.7720449,32.9866416%2016.5057205,33.0790659%2016.2422713,33.0386874%20C15.978822,32.9983089%2015.7514662,32.8302189%2015.6333151,32.5884705%20L0.627633024,1.74239311%20C0.490765036,1.45803722%200.525983152,1.11958255%200.718375873,0.870332207%20C0.910768595,0.621081865%201.22668471,0.504631975%201.53236401,0.570287908%20L2.0351941,0.68027845%20L39.8171979,8.92986901%20C40.1233035,8.99695333%2040.3646184,9.23520564%2040.438504,9.54328994%20C40.5123895,9.85137425%2040.4058508,10.175105%2040.1642019,10.3767896%20L40.1642019,10.3767896%20Z'%20id='形状'%20fill='%233F3D56'%3e%3c/path%3e%3cpath%20d='M33.8291457,15.4239965%20L33.6042412,15.9140938%20L33.4653001,15.8535231%20L33.4647094,15.8508945%20L1.5756457,1.55990975%20L28.2036781,20.8949871%20L28.2062751,20.8944195%20L28.2767815,20.94789%20L27.9557134,21.3818182%20L27.4927178,21.0449705%20L1.25198056,1.99439755%20C1.03907685,1.8430365%200.965401187,1.56329643%201.07661585,1.32855301%20C1.18783052,1.0938096%201.45240959,0.970605332%201.7063738,1.03529903%20C1.73653369,1.04257534%201.76589862,1.05275823%201.79404672,1.06570142%20L33.7083947,15.3704722%20L33.8291457,15.4239965%20Z'%20id='路径'%20fill='%233F3D56'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",nR=e.defineComponent({__name:"OAppEmpty",props:{src:{},size:{default:"medium"},height:{default:"auto"}},setup(r){const{t}=be.useI18n();return(n,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["empty-wrap",`size-${r.size}`]),style:e.normalizeStyle({minHeight:`calc(${r.height} - var(--o-gap-8, 48px))`})},[e.createVNode(e.unref(S.OResult),null,{image:e.withCtx(()=>[e.createVNode(e.unref(S.OFigure),{class:"img",src:r.src??e.unref(tR)},null,8,["src"])]),default:e.withCtx(()=>[e.renderSlot(n.$slots,"description",{},()=>[e.createTextVNode(e.toDisplayString(e.unref(t)("common.EMPTY")),1)],!0)]),_:3})],6))}}),iR=be._export_sfc(nR,[["__scopeId","data-v-7a03249c"]]),rR={key:0,class:"meeting-header"},sR={class:"title"},aR={class:"desc"},oR={class:"filter"},lR={class:"filter-label"},cR=["onClick"],uR=e.defineComponent({__name:"OTheMeeting",props:{getMyMeetingListApi:{},cancelSubMeetingApi:{},deleteMeetingApi:{},username:{},groupType:{default:en.SIG},createVisible:{type:Boolean,default:!0}},emits:["navigate"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),{lePadV:s}=et.useScreen(),a=r,o=t,l=Date.now(),u=()=>{o("navigate",i.value==="en"?"/my/create-meeting/en":"/my/create-meeting")},c=(v,x)=>{const p=x||"whole",m=v==null?void 0:v.id;if(!m)return;const b=v!=null&&v.sub_id?`/${v.sub_id}`:"",C=i.value==="en"?`/my/edit-meeting/en/${p}/${m}${b}`:`/my/edit-meeting/${p}/${m}${b}`;o("navigate",C)},d=e.ref("all"),f=e.computed(()=>[{value:"all",label:n("common.MEETING_ALL")},{value:"mine",label:n("common.MEETING_MY_BOOKED")}]),g=v=>{const x={...v};return d.value==="mine"&&a.username&&(x.sponsor=a.username),a.getMyMeetingListApi(x)};return(v,x)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["meeting-view",{"is-pad":e.unref(s)}])},[e.unref(s)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",rR,[e.createElementVNode("div",null,[e.createElementVNode("div",sR,e.toDisplayString(e.unref(n)("common.MY_MEETINGS")),1),e.createElementVNode("div",aR,e.toDisplayString(e.unref(n)("common.MY_MEETING_DESC")),1)]),r.createVisible?(e.openBlock(),e.createBlock(e.unref(S.OButton),{key:0,color:"primary",variant:"solid",size:"large",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.BOOK_MEETING")),1)]),_:1})):e.createCommentVNode("",!0)])),e.createElementVNode("div",oR,[e.createElementVNode("span",lR,e.toDisplayString(e.unref(n)("common.MEETING_FILTER")),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,p=>(e.openBlock(),e.createElementBlock("span",{key:p.value,class:e.normalizeClass(["filter-btn",{active:d.value===p.value}]),onClick:m=>d.value=p.value},e.toDisplayString(p.label),11,cR))),128))]),(e.openBlock(),e.createBlock(C0,{key:`${d.value}-${e.unref(l)}`,"get-meeting-list-request":g,"cancel-sub-meeting-request":r.cancelSubMeetingApi,"delete-meeting-request":r.deleteMeetingApi,"group-type":r.groupType??e.unref(en).SIG,onEdit:c},{empty:e.withCtx(()=>[e.createVNode(iR,{height:"360px"},{description:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("span",null,e.toDisplayString(r.createVisible?e.unref(n)("meeting.emptyMeeting"):e.unref(n)("common.EMPTY_MEETING")),1),r.createVisible?(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:0,color:"primary","hover-underline":"",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.BOOK_MEETING")),1)]),_:1})):e.createCommentVNode("",!0)])]),_:1})]),_:1},8,["cancel-sub-meeting-request","delete-meeting-request","group-type"]))],2))}}),np=be._export_sfc(uR,[["__scopeId","data-v-2e30b82b"]]),dR={class:"header"},hR={class:"main"},fR={key:0},pR={class:"footer"},mR={key:0,class:"divider"},gR=e.defineComponent({__name:"OUnbindingThirdpartyAccountModal",props:{modelValue:{type:Boolean,default:!1},config:{type:Object,default:()=>({})}},emits:["update:modelValue","submit"],setup(r,{emit:t}){const{t:n}=be.useI18n(),{lePadV:i}=et.useScreen(),s=r,{modelValue:a,config:o}=e.toRefs(s),l=t,u=()=>{var f;(f=o==null?void 0:o.value)==null||f.confirm({account_type:o.value.account_type})},c=()=>{l("update:modelValue",!1)},d=f=>{f||c()};return(f,g)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{visible:e.unref(a),"onUpdate:visible":g[0]||(g[0]=v=>e.isRef(a)?a.value=v:null),class:"dialog unbind-three-party-dialog",style:{"--dlg-body-padding":"58px","--dlg-padding-body-bottom":0,"--dlg-width":"450px","--dlg-radius":"4px","--o-radius_control-s":0,"--dlg-edge-gap":"32px","--dlg-inner-gap":0},"mask-close":!1,onChange:d},{header:e.withCtx(()=>[e.createElementVNode("h5",dR,e.toDisplayString(e.unref(n)(`common.${e.unref(o).header}`)),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",pR,[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"outline",type:"submit",onClick:u},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1}),e.unref(i)?(e.openBlock(),e.createElementBlock("div",mR)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit",onClick:c},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",hR,[e.unref(o).content?(e.openBlock(),e.createElementBlock("div",fR,e.toDisplayString(e.unref(n)(`common.${e.unref(o).content}`,{name:e.unref(o).label})),1)):e.createCommentVNode("",!0)])]),_:1},8,["visible"]))}}),vR=be._export_sfc(gR,[["__scopeId","data-v-188e517c"]]),yR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function xR(r,t){return e.openBlock(),e.createElementBlock("svg",yR,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M22.899 11.962c0.021 2.314-0.714 4.572-2.094 6.43-1.329 1.856-3.214 3.241-5.383 3.953-0.193 0.054-0.4 0.016-0.563-0.102-0.117-0.111-0.18-0.268-0.172-0.43v-3c0.063-0.751-0.208-1.491-0.742-2.023 0.49-0.048 0.975-0.132 1.453-0.25 0.469-0.126 0.918-0.315 1.336-0.563 0.438-0.239 0.827-0.557 1.148-0.938 0.353-0.446 0.618-0.955 0.781-1.5 0.207-0.697 0.307-1.421 0.297-2.148 0.024-1.088-0.383-2.141-1.133-2.93 0.352-0.945 0.313-1.991-0.109-2.906-0.39-0.071-0.792-0.016-1.148 0.156-0.457 0.164-0.897 0.374-1.313 0.625l-0.539 0.336c-1.789-0.5-3.68-0.5-5.469 0-0.156-0.109-0.352-0.227-0.602-0.383-0.389-0.227-0.797-0.42-1.219-0.578-0.378-0.192-0.807-0.26-1.227-0.195-0.421 0.924-0.458 1.978-0.102 2.93-0.739 0.801-1.142 1.855-1.125 2.945-0.011 0.722 0.089 1.441 0.297 2.133 0.17 0.542 0.434 1.050 0.781 1.5 0.314 0.392 0.705 0.716 1.148 0.953 0.423 0.236 0.871 0.425 1.336 0.563 0.48 0.119 0.969 0.203 1.461 0.25-0.409 0.385-0.66 0.909-0.703 1.469-0.206 0.098-0.424 0.166-0.648 0.203-0.258 0.048-0.519 0.072-0.781 0.070-0.359 0.002-0.709-0.11-1-0.32-0.324-0.235-0.591-0.539-0.781-0.891-0.172-0.294-0.407-0.548-0.687-0.742-0.209-0.16-0.448-0.277-0.703-0.344h-0.281c-0.141-0.008-0.282 0.013-0.414 0.063-0.078 0.047-0.102 0.102-0.070 0.164 0.037 0.070 0.082 0.135 0.133 0.195 0.057 0.066 0.119 0.126 0.188 0.18l0.102 0.063c0.245 0.132 0.459 0.316 0.625 0.539 0.174 0.223 0.324 0.464 0.445 0.719l0.141 0.328c0.111 0.352 0.329 0.661 0.625 0.883 0.281 0.204 0.604 0.343 0.945 0.406 0.324 0.068 0.654 0.102 0.984 0.102 0.262 0.005 0.523-0.014 0.781-0.055l0.328-0.055v2.047c0.003 0.164-0.065 0.321-0.188 0.43-0.165 0.117-0.375 0.154-0.57 0.102-2.162-0.721-4.037-2.115-5.352-3.977-1.387-1.845-2.123-4.098-2.094-6.406-0.011-1.922 0.496-3.811 1.469-5.469 0.955-1.664 2.336-3.045 4-4 1.658-0.973 3.547-1.48 5.469-1.469 1.922-0.011 3.811 0.496 5.469 1.469 1.664 0.955 3.045 2.336 4 4 0.973 1.657 1.481 3.547 1.469 5.469z"},null,-1)])])}const CR={name:"user-center-icon-github",render:xR},bR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function ER(r,t){return e.openBlock(),e.createElementBlock("svg",bR,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"#c71d23",d:"M16 32c-8.837 0-16-7.163-16-16s7.163-16 16-16c8.837 0 16 7.163 16 16s-7.163 16-16 16zM24.099 14.223l-9.086 0c-0.436 0-0.79 0.354-0.79 0.79l-0.001 1.975c-0 0.436 0.354 0.79 0.79 0.79l5.532-0c0.436 0 0.79 0.354 0.79 0.79v0 0.395c0 1.309-1.061 2.37-2.37 2.37l-7.507-0c-0.436 0-0.79-0.354-0.79-0.79l-0-7.506c-0-1.309 1.061-2.37 2.37-2.37l11.060-0c0.436 0 0.79-0.353 0.79-0.79l0.002-1.975c0-0.436-0.353-0.79-0.79-0.791-0 0-0 0-0 0l-11.062 0.001c-3.273 0-5.926 2.653-5.926 5.926v11.061c0 0.436 0.354 0.79 0.79 0.79h11.654c2.945 0 5.333-2.388 5.333-5.333v-4.543c0-0.436-0.354-0.79-0.79-0.79v0z"},null,-1)])])}const AR={name:"user-center-icon-gitee",render:ER},kR={width:"32.000000",height:"32.000000",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"};function _R(r,t){return e.openBlock(),e.createElementBlock("svg",kR,[...t[0]||(t[0]=[e.createStaticVNode('<rect id="微信" width="32.000000" height="32.000000" fill="#FFFFFF" fill-opacity="0"></rect><rect id="微信" width="32.000000" height="32.000000" fill="#000000" fill-opacity="0"></rect><g opacity="0.000000"><rect id="矩形备份" width="32.000000" height="32.000000" fill="#E4E4E4" fill-opacity="1.000000"></rect></g><path id="形状" d="M20.6248 10.9575C20.9526 10.9575 21.2761 10.9814 21.5962 11.0164C20.7239 6.99573 16.3792 4.00781 11.4204 4.00781C5.87598 4.00781 1.33423 7.74756 1.33423 12.496C1.33423 15.2365 2.8457 17.4872 5.37012 19.2329L4.36157 22.2361L7.88721 20.486C9.14941 20.7328 10.1611 20.9872 11.4204 20.9872C11.7368 20.9872 12.05 20.9718 12.3616 20.947C12.1646 20.2803 12.05 19.5811 12.05 18.8563C12.05 14.4962 15.8337 10.9575 20.6248 10.9575ZM8.14355 10.7468C7.38696 10.7468 6.62451 10.2456 6.62451 9.49768C6.62451 8.74658 7.38696 8.25159 8.14355 8.25159C8.89917 8.25159 9.40283 8.74658 9.40283 9.49768C9.40283 10.2457 8.89917 10.7468 8.14355 10.7468ZM16.4644 9.49768C16.4644 8.74658 15.9617 8.25159 15.2021 8.25159C14.4458 8.25159 13.6877 8.74658 13.6877 9.49768C13.6877 10.2456 14.4456 10.7468 15.2021 10.7468C15.9617 10.7468 16.4644 10.2456 16.4644 9.49768ZM21.2632 11.4944C25.7949 11.4944 29.8301 14.7468 29.8301 18.7372C29.8301 20.988 28.322 22.981 26.2969 24.4845L27.0557 26.9783L24.2888 25.4792C23.2803 25.7299 22.2671 25.9789 21.2632 25.9789C16.4644 25.9789 12.6853 22.7334 12.6853 18.7372C12.6853 14.7468 16.4644 11.4944 21.2632 11.4944ZM18.4819 17.4871C17.98 17.4871 17.4734 16.9928 17.4734 16.4884C17.4734 15.9911 17.98 15.4907 18.4819 15.4907C19.2446 15.4907 19.7441 15.9911 19.7441 16.4884C19.7441 16.9928 19.2446 17.4871 18.4819 17.4871ZM23.0281 16.4884C23.0281 16.9928 23.5317 17.4871 24.0298 17.4871C24.7861 17.4871 25.292 16.9928 25.292 16.4884C25.292 15.9911 24.7861 15.4907 24.0298 15.4907C23.5317 15.4907 23.0281 15.9911 23.0281 16.4884Z" clip-rule="evenodd" fill="#51B233" fill-opacity="1.000000" fill-rule="evenodd"></path>',4)])])}const TR={name:"user-center-icon-wechat",render:_R},wR={viewBox:"0 0 32 31.0303",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"32.000000",height:"31.030273",fill:"none"};function SR(r,t){return e.openBlock(),e.createElementBlock("svg",wR,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"gitcode 1",width:"32.000000",height:"31.030304",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("path",{id:"矢量 338",d:"M14.9413 28.8319C12.436 28.5468 9.72062 27.4817 8.05541 26.1465C7.11029 25.3964 5.5501 23.6862 4.96503 22.7861C3.1798 20.0258 2.45971 16.6053 2.99978 13.4999C3.52485 10.5146 4.755 8.17428 6.93027 6.04401C10.7107 2.33855 16.7565 1.16841 21.6021 3.20866C23.1923 3.88374 24.7225 4.82886 25.3526 5.51895C26.5827 6.88412 26.1327 9.1044 24.4825 9.9295C23.7774 10.2745 22.4722 10.2895 21.9621 9.9595C21.4521 9.62946 20.987 8.72935 20.867 7.81424C20.807 7.37918 20.732 7.01914 20.717 7.01914C20.687 7.01914 20.3119 7.22916 19.8919 7.46919C18.5117 8.27929 18.1067 8.39931 15.9914 8.53433C14.8813 8.59433 13.6511 8.69935 13.2761 8.75935C12.586 8.84937 11.7459 8.72935 10.4107 8.3093L9.70562 8.08427L9.73562 9.53945C9.75062 10.9496 9.73562 11.0246 9.13555 12.2698C8.35545 13.89 8.07041 14.8651 7.9504 16.3053C7.66536 19.7707 9.5556 22.3511 13.141 23.3712C15.4663 24.0313 19.3068 23.8962 21.3921 23.0711C23.3873 22.276 25.1425 20.4308 25.1425 19.1106C25.1425 18.5706 24.4525 17.8805 23.7024 17.7005C23.3873 17.6105 22.1872 17.5054 21.047 17.4604C18.6317 17.3554 16.9515 17.1304 16.4865 16.8304C16.0214 16.5303 15.7814 15.6902 15.9914 15.0601C16.2014 14.4001 16.5315 14.115 17.5066 13.755C18.1667 13.4999 18.6467 13.4549 20.567 13.4549C24.6475 13.4549 26.5677 13.965 28.0679 15.4652C29.7931 17.2054 29.9731 19.8457 28.518 22.186C26.3727 25.6215 23.8374 27.5867 20.402 28.4718C19.2468 28.7869 16.1864 28.9819 14.9413 28.8319L14.9413 28.8319Z",fill:"rgb(214,34,64)","fill-rule":"nonzero"},null,-1)])])}const DR={name:"user-center-icon-gitcode-new",render:SR},BR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"1024",height:"1024",viewBox:"0 0 1024 1024"};function VR(r,t){return e.openBlock(),e.createElementBlock("svg",BR,[...t[0]||(t[0]=[e.createElementVNode("g",{id:"icomoon-ignore"},null,-1),e.createElementVNode("path",{fill:"#bf0002",d:"M886.32 295.615c30.093 58.484 47.12 124.814 47.12 195.105 0 20.301-1.434 40.227-4.128 59.747-92.742-54.426-192.784-89.875-295.082-106.016l-61.792-148.836h313.882zM436.464 437.456c23.373-2.048 46.816-3.069 70.256-3.069s46.883 1.056 70.256 3.069l-39.341-122.699c-4.506-13.99-17.709-21.019-30.88-21.053-13.206 0-26.41 7.063-30.88 21.053l-39.376 122.699h-0.035zM127.121 295.615h313.88l-61.792 148.836c-102.296 16.141-202.34 51.59-295.081 106.016-2.696-19.517-4.129-39.446-4.129-59.747 0-70.291 16.992-136.621 47.121-195.105v0zM903.994 646.826c-74.861-78.787-161.392-131.878-251.952-159.414l119.664 288.256c10.918 26.307 24.909 29.139 41.594 11.907 38.829-40.128 69.914-87.862 90.694-140.749v0zM109.447 646.826c20.78 52.886 51.864 100.621 90.694 140.749 16.685 17.232 30.675 14.4 41.594-11.907l119.664-288.256c-90.593 27.501-177.090 80.627-251.952 159.414v0zM713.802 863.939l-125.635-391.578c-27.024-4.57-54.218-6.925-81.446-7.098-27.229 0.173-54.422 2.528-81.446 7.098l-125.635 391.578c61.315 34.086 131.946 53.536 207.082 53.536s145.766-19.418 207.082-53.536v0zM506.72 64c136.179 0 257.478 63.807 335.616 163.133-109.085 25.966-221.651 39.376-335.616 39.376s-226.531-13.41-335.616-39.376c78.138-99.327 199.437-163.133 335.616-163.133z"},null,-1)])])}const NR={name:"user-center-icon-openatom",render:VR},IR={key:0,class:"title"},OR={class:"left-content"},PR={class:"common-value"},LR={class:"right-content"},MR=["src","onClick"],RR={key:1,class:"operate"},FR={class:"common-value"},qR=["src","onClick"],zR=e.defineComponent({__name:"OThirdPartyBindings",props:{userInfo:{},platforms:{},community:{},linkAccount:{type:Function},unlinkAccount:{type:Function},updateAuth:{type:Function},bindAccountPost:{type:Function},sendCodePost:{type:Function},captchaApis:{}},emits:["refresh"],setup(r,{emit:t}){const{t:n,locale:i}=be.useI18n(),{isLight:s}=Bn(),a=S.useMessage(null),{lePadV:o}=et.useScreen(),l=r,u=t,c={github:CR,gitee:AR,wechat:TR,openatom:NR,gitcode:DR},d={github:"Github",gitee:"Gitee",openatom:"OpenAtom",gitcode:"AtomGit"},f={github:"social_github",gitee:"enterprise_gitee",wechat:"social_wechat",openatom:"enterprise_openatom",gitcode:"enterprise_gitcode"},g=e.shallowRef([]),v=()=>{var M;const N=(M=l.platforms)!=null&&M.length?l.platforms.filter(O=>O in c):Object.keys(c);g.value=N.map(O=>({key:O,label:O==="wechat"?n("common.WECHAT"):d[O]||O,icon:c[O],value:""}))},x=N=>{const{code:M,event:O,message:F}=N.data;if((O==null?void 0:O.source)!=="authing")return;if(M===200){u("refresh"),C();return}let q;try{q=JSON.parse(F)}catch{return}const{statusCode:Y}=q;Y===409?a.danger({content:n("common.REPEAT_BIND")}):a.danger({content:n("common.BIND_FAILED")})},p=()=>{window.addEventListener("message",x)},m=N=>{l.linkAccount().then(M=>{const{data:O=[]}=M,F=O.find(q=>q.name===f[N]);F&&window.open(F.authorizationUrl,"_blank",`width=500,height=700,left=${(screen.width-500)/2},top=${(screen.height-700)/2}`)})},b=e.ref(),C=()=>{(b.value==="gitee"||b.value==="gitcode")&&l.updateAuth(l.community).then()},E=N=>{b.value=N,l.unlinkAccount({platform:N}).then(()=>{a.success({content:n("common.UNBIND_SUCCESS")}),_.value=!1,u("refresh"),C()})},w=N=>{l.bindAccountPost(N).then(()=>{a.success({content:n("common.BIND_SUCCESS")}),I.value=!1,u("refresh")})},P=()=>{var N,M;v(),(M=(N=l.userInfo)==null?void 0:N.identities)!=null&&M.length&&g.value.forEach(O=>{var q;const F=(q=l.userInfo)==null?void 0:q.identities.find(Y=>Y.identity===O.key);F&&(O.value=F.user_name)})},T=e.ref("unbind_github"),_=e.ref(!1),I=e.ref(!1),D={confirm_bind_email:{key:"confirm_bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",content:"CONFIRM_BIND_EMAIL",confirm:()=>{T.value="bind_email",I.value=!0}},bind_email:{key:"bind_email",account_type:"email",field:"change",header:"BIND_EMAIL",account:{label:"EMAIL",placeholder:"INPUT_NEW_EMAIL"},code:{label:"EMAIL_CODE",placeholder:"ENTER_EMAIL_CODE"},confirm:N=>{w(N)}},unbind_github:{key:"unbind_github",account_type:"github",label:"Github",field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",confirm:N=>{E(N.account_type)}},unbind_gitee:{key:"unbind_gitee",account_type:"gitee",label:"Gitee",field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",confirm:N=>{E(N.account_type)}},unbind_wechat:{key:"unbind_wechat",account_type:"wechat",label:n("common.WECHAT"),field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",confirm:N=>{E(N.account_type)}},unbind_openatom:{key:"unbind_openatom",account_type:"openatom",label:"OpenAtom",field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",confirm:N=>{E(N.account_type)}},unbind_gitcode:{key:"unbind_gitcode",account_type:"gitcode",field:"change",header:"UNBIND_EMAIL",content:"SURE_UNBIND",label:"AtomGit",confirm:N=>{E(N.account_type)}}},B=N=>{var O;if(!wn((O=l.userInfo)==null?void 0:O.email)){T.value="confirm_bind_email",I.value=!0;return}const M=`unbind_${N}`;T.value=M,_.value=!0};return e.onMounted(()=>{P(),p()}),e.onUnmounted(()=>{window.removeEventListener("message",x)}),e.watch(()=>l.userInfo,()=>{P()}),(N,M)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.unref(o)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",IR,e.toDisplayString(e.unref(n)("common.THIRD_ACCOUNT_BIND")),1)),e.createVNode(e.unref(S.OSkeleton),{animation:!0,loading:r.userInfo.loading},{template:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,O=>(e.openBlock(),e.createElementBlock("div",{key:O.key,class:"third-party-item"},[e.createVNode(e.unref(S.OIcon),{class:"icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(O.icon)))]),_:2},1024),e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(i)==="zh","common-label-en":e.unref(i)==="en"})},e.toDisplayString(O.label),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"skeleton-text"})]))),128))]),default:e.withCtx(()=>[r.userInfo.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["third-seeting",{"third-seeting-pad":e.unref(o)}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,O=>(e.openBlock(),e.createElementBlock("div",{key:O.key,class:"third-party-item"},[e.createElementVNode("div",OR,[e.createVNode(e.unref(S.OIcon),{class:"icon"},{default:e.withCtx(()=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(O.icon)))]),_:2},1024),e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(i)==="zh","common-label-en":e.unref(i)==="en"})},e.toDisplayString(O.label),3),e.createElementVNode("div",PR,e.toDisplayString(O.value),1)]),e.createElementVNode("div",LR,[e.unref(o)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[O.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:F=>B(O.key)},null,8,MR)):(e.openBlock(),e.createElementBlock("div",RR,[e.createElementVNode("span",FR,e.toDisplayString(e.unref(n)("common.UNBIND")),1),e.createElementVNode("img",{src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:F=>m(O.key)},null,8,qR)]))],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[O.value?(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:0,class:"unbind",color:"primary",onClick:F=>B(O.key)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.UNBIND_EMAIL")),1)]),_:1},8,["onClick"])):(e.openBlock(),e.createBlock(e.unref(S.OLink),{key:1,onClick:F=>m(O.key),class:"bind"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.BIND")),1)]),_:1},8,["onClick"]))],64))])]))),128))],2))]),_:1},8,["loading"]),e.createVNode(vR,{modelValue:_.value,"onUpdate:modelValue":M[0]||(M[0]=O=>_.value=O),config:D[T.value]},null,8,["modelValue","config"]),e.createVNode(Yu,{modelValue:I.value,"onUpdate:modelValue":M[1]||(M[1]=O=>I.value=O),config:D[T.value],"operate-key":T.value,"user-info":r.userInfo,"send-code-post":r.sendCodePost,"captcha-apis":r.captchaApis},null,8,["modelValue","config","operate-key","user-info","send-code-post","captcha-apis"])],64))}}),ip=be._export_sfc(zR,[["__scopeId","data-v-e4d5b329"]]),UR=new Map([["maintainer",{id:"maintainer",name:"Maintainer",desc:"代码仓库的核心维护者,拥有代码合入权限。"}],["committer",{id:"committer",name:"Committer",desc:"具备审核者的所有职责,还主导组件的架构演进、质量保障和生态适配。"}],["creator",{id:"creator",name:"会议管理员",desc:"拥有创建会议的权限。"}]]),HR="data:image/png;base64,iVBORw0KGgo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2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyiBYAJRBsAAog2ABUAbBAqAMggVAGQQLgDIIFgBlECwAyvhfseFouJFq77wAAAAASUVORK5CYII=",jR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function XR(r,t){return e.openBlock(),e.createElementBlock("svg",jR,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M26.729 26.031c0.516 0 0.933 0.417 0.933 0.933 0 0.472-0.351 0.863-0.807 0.925l-0.127 0.008h-20.687c-0.516 0-0.933-0.417-0.933-0.933 0-0.472 0.351-0.863 0.807-0.925l0.127-0.008h20.687zM26.729 21.808c0.516 0 0.933 0.417 0.933 0.933 0 0.472-0.351 0.863-0.807 0.925l-0.127 0.008h-8.627c-0.516 0-0.933-0.417-0.933-0.933 0-0.472 0.351-0.863 0.807-0.925l0.127-0.008h8.627zM16.881 4.961c1.145-1.145 3.003-1.145 4.148 0v0l2.824 2.824c1.145 1.145 1.145 3.003 0 4.148v0l-10.744 10.744c-0.528 0.528-1.239 0.835-1.985 0.857v0l-4.612 0.14c-0.736 0.023-1.351-0.556-1.373-1.292v0-0.040l0.14-4.652c0.023-0.747 0.329-1.457 0.857-1.985v0zM19.709 6.281c-0.416-0.416-1.092-0.416-1.508 0v0l-10.744 10.744c-0.192 0.192-0.304 0.451-0.312 0.721v0l-0.123 4.045 4.045-0.123c0.217-0.007 0.425-0.079 0.599-0.207v0l0.123-0.105 10.744-10.744c0.416-0.416 0.416-1.092 0-1.508v0z"},null,-1)])])}const rp={name:"user-center-icon-edit-new",render:XR},GR={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function QR(r,t){return e.openBlock(),e.createElementBlock("svg",GR,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M12 8.15c0.418 0 0.763 0.31 0.817 0.713l0.008 0.112v8.8c0 0.456-0.369 0.825-0.825 0.825-0.418 0-0.763-0.31-0.817-0.713l-0.008-0.112v-8.8c0-0.456 0.369-0.825 0.825-0.825z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M13.2 6.225c0 0.663-0.537 1.2-1.2 1.2s-1.2-0.537-1.2-1.2c0-0.663 0.537-1.2 1.2-1.2s1.2 0.537 1.2 1.2z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M12 0.23c1.222 0 2.42 0.187 3.563 0.549 0.405 0.129 0.63 0.561 0.501 0.967s-0.561 0.63-0.967 0.501c-0.993-0.315-2.034-0.477-3.097-0.477-5.65 0-10.23 4.58-10.23 10.23s4.58 10.23 10.23 10.23c5.65 0 10.23-4.58 10.23-10.23 0-3.276-1.549-6.292-4.128-8.211-0.341-0.254-0.412-0.736-0.158-1.077s0.736-0.412 1.077-0.158c2.965 2.207 4.748 5.679 4.748 9.447 0 6.5-5.27 11.77-11.77 11.77s-11.77-5.27-11.77-11.77c0-6.5 5.27-11.77 11.77-11.77z"},null,-1)])])}const YR={name:"user-center-icon-tips",render:QR};/*!
|
|
241
241
|
* Cropper.js v1.6.2
|
|
242
242
|
* https://fengyuanchen.github.io/cropperjs
|
|
243
243
|
*
|
|
@@ -246,4 +246,4 @@ ${Ar(t)}`),n.map&&!n.map.bytes&&(this.logger_("going to request init segment."),
|
|
|
246
246
|
*
|
|
247
247
|
* Date: 2024-04-21T07:43:05.335Z
|
|
248
248
|
*/function sp(r,t){var n=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);t&&(i=i.filter(function(s){return Object.getOwnPropertyDescriptor(r,s).enumerable})),n.push.apply(n,i)}return n}function Lg(r){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?sp(Object(n),!0).forEach(function(i){ZR(r,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(n)):sp(Object(n)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(n,i))})}return r}function WR(r,t){if(typeof r!="object"||!r)return r;var n=r[Symbol.toPrimitive];if(n!==void 0){var i=n.call(r,t);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function Mg(r){var t=WR(r,"string");return typeof t=="symbol"?t:t+""}function U0(r){"@babel/helpers - typeof";return U0=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},U0(r)}function KR(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}function ap(r,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,Mg(i.key),i)}}function JR(r,t,n){return t&&ap(r.prototype,t),n&&ap(r,n),Object.defineProperty(r,"prototype",{writable:!1}),r}function ZR(r,t,n){return t=Mg(t),t in r?Object.defineProperty(r,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):r[t]=n,r}function Rg(r){return $R(r)||eF(r)||tF(r)||nF()}function $R(r){if(Array.isArray(r))return H0(r)}function eF(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function tF(r,t){if(r){if(typeof r=="string")return H0(r,t);var n=Object.prototype.toString.call(r).slice(8,-1);if(n==="Object"&&r.constructor&&(n=r.constructor.name),n==="Map"||n==="Set")return Array.from(r);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H0(r,t)}}function H0(r,t){(t==null||t>r.length)&&(t=r.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=r[n];return i}function nF(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
249
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ml=typeof window<"u"&&typeof window.document<"u",mi=Ml?window:{},Wu=Ml&&mi.document.documentElement?"ontouchstart"in mi.document.documentElement:!1,Ku=Ml?"PointerEvent"in mi:!1,yt="cropper",Ju="all",Fg="crop",qg="move",zg="zoom",Ji="e",Zi="w",kr="s",Ii="n",Ds="ne",Bs="nw",Vs="se",Ns="sw",j0="".concat(yt,"-crop"),op="".concat(yt,"-disabled"),xn="".concat(yt,"-hidden"),lp="".concat(yt,"-hide"),iF="".concat(yt,"-invisible"),ul="".concat(yt,"-modal"),X0="".concat(yt,"-move"),ea="".concat(yt,"Action"),ja="".concat(yt,"Preview"),Zu="crop",Ug="move",Hg="none",G0="crop",Q0="cropend",Y0="cropmove",W0="cropstart",cp="dblclick",rF=Wu?"touchstart":"mousedown",sF=Wu?"touchmove":"mousemove",aF=Wu?"touchend touchcancel":"mouseup",up=Ku?"pointerdown":rF,dp=Ku?"pointermove":sF,hp=Ku?"pointerup pointercancel":aF,fp="ready",pp="resize",mp="wheel",K0="zoom",gp="image/jpeg",oF=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,lF=/^data:/,cF=/^data:image\/jpeg;base64,/,uF=/^img|canvas$/i,jg=200,Xg=100,vp={viewMode:0,dragMode:Zu,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:jg,minContainerHeight:Xg,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},dF='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',hF=Number.isNaN||mi.isNaN;function it(r){return typeof r=="number"&&!hF(r)}var yp=function(t){return t>0&&t<1/0};function qc(r){return typeof r>"u"}function fr(r){return U0(r)==="object"&&r!==null}var fF=Object.prototype.hasOwnProperty;function Dr(r){if(!fr(r))return!1;try{var t=r.constructor,n=t.prototype;return t&&n&&fF.call(n,"isPrototypeOf")}catch{return!1}}function yn(r){return typeof r=="function"}var pF=Array.prototype.slice;function Gg(r){return Array.from?Array.from(r):pF.call(r)}function Ft(r,t){return r&&yn(t)&&(Array.isArray(r)||it(r.length)?Gg(r).forEach(function(n,i){t.call(r,n,i,r)}):fr(r)&&Object.keys(r).forEach(function(n){t.call(r,r[n],n,r)})),r}var bt=Object.assign||function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return fr(t)&&i.length>0&&i.forEach(function(a){fr(a)&&Object.keys(a).forEach(function(o){t[o]=a[o]})}),t},mF=/\.\d*(?:0|9){12}\d*$/;function qr(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return mF.test(r)?Math.round(r*t)/t:r}var gF=/^width|height|left|top|marginLeft|marginTop$/;function Ri(r,t){var n=r.style;Ft(t,function(i,s){gF.test(s)&&it(i)&&(i="".concat(i,"px")),n[s]=i})}function vF(r,t){return r.classList?r.classList.contains(t):r.className.indexOf(t)>-1}function jt(r,t){if(t){if(it(r.length)){Ft(r,function(i){jt(i,t)});return}if(r.classList){r.classList.add(t);return}var n=r.className.trim();n?n.indexOf(t)<0&&(r.className="".concat(n," ").concat(t)):r.className=t}}function di(r,t){if(t){if(it(r.length)){Ft(r,function(n){di(n,t)});return}if(r.classList){r.classList.remove(t);return}r.className.indexOf(t)>=0&&(r.className=r.className.replace(t,""))}}function Br(r,t,n){if(t){if(it(r.length)){Ft(r,function(i){Br(i,t,n)});return}n?jt(r,t):di(r,t)}}var yF=/([a-z\d])([A-Z])/g;function $u(r){return r.replace(yF,"$1-$2").toLowerCase()}function J0(r,t){return fr(r[t])?r[t]:r.dataset?r.dataset[t]:r.getAttribute("data-".concat($u(t)))}function ta(r,t,n){fr(n)?r[t]=n:r.dataset?r.dataset[t]=n:r.setAttribute("data-".concat($u(t)),n)}function xF(r,t){if(fr(r[t]))try{delete r[t]}catch{r[t]=void 0}else if(r.dataset)try{delete r.dataset[t]}catch{r.dataset[t]=void 0}else r.removeAttribute("data-".concat($u(t)))}var Qg=/\s\s*/,Yg=(function(){var r=!1;if(Ml){var t=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return r=!0,t},set:function(a){t=a}});mi.addEventListener("test",n,i),mi.removeEventListener("test",n,i)}return r})();function Yn(r,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n;t.trim().split(Qg).forEach(function(a){if(!Yg){var o=r.listeners;o&&o[a]&&o[a][n]&&(s=o[a][n],delete o[a][n],Object.keys(o[a]).length===0&&delete o[a],Object.keys(o).length===0&&delete r.listeners)}r.removeEventListener(a,s,i)})}function In(r,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n;t.trim().split(Qg).forEach(function(a){if(i.once&&!Yg){var o=r.listeners,l=o===void 0?{}:o;s=function(){delete l[a][n],r.removeEventListener(a,s,i);for(var c=arguments.length,d=new Array(c),f=0;f<c;f++)d[f]=arguments[f];n.apply(r,d)},l[a]||(l[a]={}),l[a][n]&&r.removeEventListener(a,l[a][n],i),l[a][n]=s,r.listeners=l}r.addEventListener(a,s,i)})}function zr(r,t,n){var i;return yn(Event)&&yn(CustomEvent)?i=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0}):(i=document.createEvent("CustomEvent"),i.initCustomEvent(t,!0,!0,n)),r.dispatchEvent(i)}function Wg(r){var t=r.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var zc=mi.location,CF=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function xp(r){var t=r.match(CF);return t!==null&&(t[1]!==zc.protocol||t[2]!==zc.hostname||t[3]!==zc.port)}function Cp(r){var t="timestamp=".concat(new Date().getTime());return r+(r.indexOf("?")===-1?"?":"&")+t}function Gs(r){var t=r.rotate,n=r.scaleX,i=r.scaleY,s=r.translateX,a=r.translateY,o=[];it(s)&&s!==0&&o.push("translateX(".concat(s,"px)")),it(a)&&a!==0&&o.push("translateY(".concat(a,"px)")),it(t)&&t!==0&&o.push("rotate(".concat(t,"deg)")),it(n)&&n!==1&&o.push("scaleX(".concat(n,")")),it(i)&&i!==1&&o.push("scaleY(".concat(i,")"));var l=o.length?o.join(" "):"none";return{WebkitTransform:l,msTransform:l,transform:l}}function bF(r){var t=Lg({},r),n=0;return Ft(r,function(i,s){delete t[s],Ft(t,function(a){var o=Math.abs(i.startX-a.startX),l=Math.abs(i.startY-a.startY),u=Math.abs(i.endX-a.endX),c=Math.abs(i.endY-a.endY),d=Math.sqrt(o*o+l*l),f=Math.sqrt(u*u+c*c),g=(f-d)/d;Math.abs(g)>Math.abs(n)&&(n=g)})}),n}function Xa(r,t){var n=r.pageX,i=r.pageY,s={endX:n,endY:i};return t?s:Lg({startX:n,startY:i},s)}function EF(r){var t=0,n=0,i=0;return Ft(r,function(s){var a=s.startX,o=s.startY;t+=a,n+=o,i+=1}),t/=i,n/=i,{pageX:t,pageY:n}}function Fi(r){var t=r.aspectRatio,n=r.height,i=r.width,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",a=yp(i),o=yp(n);if(a&&o){var l=n*t;s==="contain"&&l>i||s==="cover"&&l<i?n=i/t:i=n*t}else a?n=i/t:o&&(i=n*t);return{width:i,height:n}}function AF(r){var t=r.width,n=r.height,i=r.degree;if(i=Math.abs(i)%180,i===90)return{width:n,height:t};var s=i%90*Math.PI/180,a=Math.sin(s),o=Math.cos(s),l=t*o+n*a,u=t*a+n*o;return i>90?{width:u,height:l}:{width:l,height:u}}function kF(r,t,n,i){var s=t.aspectRatio,a=t.naturalWidth,o=t.naturalHeight,l=t.rotate,u=l===void 0?0:l,c=t.scaleX,d=c===void 0?1:c,f=t.scaleY,g=f===void 0?1:f,v=n.aspectRatio,x=n.naturalWidth,p=n.naturalHeight,m=i.fillColor,b=m===void 0?"transparent":m,C=i.imageSmoothingEnabled,E=C===void 0?!0:C,w=i.imageSmoothingQuality,P=w===void 0?"low":w,T=i.maxWidth,_=T===void 0?1/0:T,I=i.maxHeight,D=I===void 0?1/0:I,B=i.minWidth,N=B===void 0?0:B,M=i.minHeight,O=M===void 0?0:M,F=document.createElement("canvas"),q=F.getContext("2d"),Y=Fi({aspectRatio:v,width:_,height:D}),z=Fi({aspectRatio:v,width:N,height:O},"cover"),Q=Math.min(Y.width,Math.max(z.width,x)),X=Math.min(Y.height,Math.max(z.height,p)),j=Fi({aspectRatio:s,width:_,height:D}),R=Fi({aspectRatio:s,width:N,height:O},"cover"),U=Math.min(j.width,Math.max(R.width,a)),K=Math.min(j.height,Math.max(R.height,o)),te=[-U/2,-K/2,U,K];return F.width=qr(Q),F.height=qr(X),q.fillStyle=b,q.fillRect(0,0,Q,X),q.save(),q.translate(Q/2,X/2),q.rotate(u*Math.PI/180),q.scale(d,g),q.imageSmoothingEnabled=E,q.imageSmoothingQuality=P,q.drawImage.apply(q,[r].concat(Rg(te.map(function(W){return Math.floor(qr(W))})))),q.restore(),F}var Kg=String.fromCharCode;function _F(r,t,n){var i="";n+=t;for(var s=t;s<n;s+=1)i+=Kg(r.getUint8(s));return i}var TF=/^data:.*,/;function wF(r){var t=r.replace(TF,""),n=atob(t),i=new ArrayBuffer(n.length),s=new Uint8Array(i);return Ft(s,function(a,o){s[o]=n.charCodeAt(o)}),i}function SF(r,t){for(var n=[],i=8192,s=new Uint8Array(r);s.length>0;)n.push(Kg.apply(null,Gg(s.subarray(0,i)))),s=s.subarray(i);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function DF(r){var t=new DataView(r),n;try{var i,s,a;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(var o=t.byteLength,l=2;l+1<o;){if(t.getUint8(l)===255&&t.getUint8(l+1)===225){s=l;break}l+=1}if(s){var u=s+4,c=s+10;if(_F(t,u,4)==="Exif"){var d=t.getUint16(c);if(i=d===18761,(i||d===19789)&&t.getUint16(c+2,i)===42){var f=t.getUint32(c+4,i);f>=8&&(a=c+f)}}}if(a){var g=t.getUint16(a,i),v,x;for(x=0;x<g;x+=1)if(v=a+x*12+2,t.getUint16(v,i)===274){v+=8,n=t.getUint16(v,i),t.setUint16(v,1,i);break}}}catch{n=1}return n}function BF(r){var t=0,n=1,i=1;switch(r){case 2:n=-1;break;case 3:t=-180;break;case 4:i=-1;break;case 5:t=90,i=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:n,scaleY:i}}var VF={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,n=this.options,i=this.container,s=this.cropper,a=Number(n.minContainerWidth),o=Number(n.minContainerHeight);jt(s,xn),di(t,xn);var l={width:Math.max(i.offsetWidth,a>=0?a:jg),height:Math.max(i.offsetHeight,o>=0?o:Xg)};this.containerData=l,Ri(s,{width:l.width,height:l.height}),jt(t,xn),di(s,xn)},initCanvas:function(){var t=this.containerData,n=this.imageData,i=this.options.viewMode,s=Math.abs(n.rotate)%180===90,a=s?n.naturalHeight:n.naturalWidth,o=s?n.naturalWidth:n.naturalHeight,l=a/o,u=t.width,c=t.height;t.height*l>t.width?i===3?u=t.height*l:c=t.width/l:i===3?c=t.width/l:u=t.height*l;var d={aspectRatio:l,naturalWidth:a,naturalHeight:o,width:u,height:c};this.canvasData=d,this.limited=i===1||i===2,this.limitCanvas(!0,!0),d.width=Math.min(Math.max(d.width,d.minWidth),d.maxWidth),d.height=Math.min(Math.max(d.height,d.minHeight),d.maxHeight),d.left=(t.width-d.width)/2,d.top=(t.height-d.height)/2,d.oldLeft=d.left,d.oldTop=d.top,this.initialCanvasData=bt({},d)},limitCanvas:function(t,n){var i=this.options,s=this.containerData,a=this.canvasData,o=this.cropBoxData,l=i.viewMode,u=a.aspectRatio,c=this.cropped&&o;if(t){var d=Number(i.minCanvasWidth)||0,f=Number(i.minCanvasHeight)||0;l>1?(d=Math.max(d,s.width),f=Math.max(f,s.height),l===3&&(f*u>d?d=f*u:f=d/u)):l>0&&(d?d=Math.max(d,c?o.width:0):f?f=Math.max(f,c?o.height:0):c&&(d=o.width,f=o.height,f*u>d?d=f*u:f=d/u));var g=Fi({aspectRatio:u,width:d,height:f});d=g.width,f=g.height,a.minWidth=d,a.minHeight=f,a.maxWidth=1/0,a.maxHeight=1/0}if(n)if(l>(c?0:1)){var v=s.width-a.width,x=s.height-a.height;a.minLeft=Math.min(0,v),a.minTop=Math.min(0,x),a.maxLeft=Math.max(0,v),a.maxTop=Math.max(0,x),c&&this.limited&&(a.minLeft=Math.min(o.left,o.left+(o.width-a.width)),a.minTop=Math.min(o.top,o.top+(o.height-a.height)),a.maxLeft=o.left,a.maxTop=o.top,l===2&&(a.width>=s.width&&(a.minLeft=Math.min(0,v),a.maxLeft=Math.max(0,v)),a.height>=s.height&&(a.minTop=Math.min(0,x),a.maxTop=Math.max(0,x))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=s.width,a.maxTop=s.height},renderCanvas:function(t,n){var i=this.canvasData,s=this.imageData;if(n){var a=AF({width:s.naturalWidth*Math.abs(s.scaleX||1),height:s.naturalHeight*Math.abs(s.scaleY||1),degree:s.rotate||0}),o=a.width,l=a.height,u=i.width*(o/i.naturalWidth),c=i.height*(l/i.naturalHeight);i.left-=(u-i.width)/2,i.top-=(c-i.height)/2,i.width=u,i.height=c,i.aspectRatio=o/l,i.naturalWidth=o,i.naturalHeight=l,this.limitCanvas(!0,!1)}(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCanvas(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,Ri(this.canvas,bt({width:i.width,height:i.height},Gs({translateX:i.left,translateY:i.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var n=this.canvasData,i=this.imageData,s=i.naturalWidth*(n.width/n.naturalWidth),a=i.naturalHeight*(n.height/n.naturalHeight);bt(i,{width:s,height:a,left:(n.width-s)/2,top:(n.height-a)/2}),Ri(this.image,bt({width:i.width,height:i.height},Gs(bt({translateX:i.left,translateY:i.top},i)))),t&&this.output()},initCropBox:function(){var t=this.options,n=this.canvasData,i=t.aspectRatio||t.initialAspectRatio,s=Number(t.autoCropArea)||.8,a={width:n.width,height:n.height};i&&(n.height*i>n.width?a.height=a.width/i:a.width=a.height*i),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*s),a.height=Math.max(a.minHeight,a.height*s),a.left=n.left+(n.width-a.width)/2,a.top=n.top+(n.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=bt({},a)},limitCropBox:function(t,n){var i=this.options,s=this.containerData,a=this.canvasData,o=this.cropBoxData,l=this.limited,u=i.aspectRatio;if(t){var c=Number(i.minCropBoxWidth)||0,d=Number(i.minCropBoxHeight)||0,f=l?Math.min(s.width,a.width,a.width+a.left,s.width-a.left):s.width,g=l?Math.min(s.height,a.height,a.height+a.top,s.height-a.top):s.height;c=Math.min(c,s.width),d=Math.min(d,s.height),u&&(c&&d?d*u>c?d=c/u:c=d*u:c?d=c/u:d&&(c=d*u),g*u>f?g=f/u:f=g*u),o.minWidth=Math.min(c,f),o.minHeight=Math.min(d,g),o.maxWidth=f,o.maxHeight=g}n&&(l?(o.minLeft=Math.max(0,a.left),o.minTop=Math.max(0,a.top),o.maxLeft=Math.min(s.width,a.left+a.width)-o.width,o.maxTop=Math.min(s.height,a.top+a.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=s.width-o.width,o.maxTop=s.height-o.height))},renderCropBox:function(){var t=this.options,n=this.containerData,i=this.cropBoxData;(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCropBox(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,t.movable&&t.cropBoxMovable&&ta(this.face,ea,i.width>=n.width&&i.height>=n.height?qg:Ju),Ri(this.cropBox,bt({width:i.width,height:i.height},Gs({translateX:i.left,translateY:i.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),zr(this.element,G0,this.getData())}},NF={initPreview:function(){var t=this.element,n=this.crossOrigin,i=this.options.preview,s=n?this.crossOriginUrl:this.url,a=t.alt||"The image to preview",o=document.createElement("img");if(n&&(o.crossOrigin=n),o.src=s,o.alt=a,this.viewBox.appendChild(o),this.viewBoxImage=o,!!i){var l=i;typeof i=="string"?l=t.ownerDocument.querySelectorAll(i):i.querySelector&&(l=[i]),this.previews=l,Ft(l,function(u){var c=document.createElement("img");ta(u,ja,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),n&&(c.crossOrigin=n),c.src=s,c.alt=a,c.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(c)})}},resetPreview:function(){Ft(this.previews,function(t){var n=J0(t,ja);Ri(t,{width:n.width,height:n.height}),t.innerHTML=n.html,xF(t,ja)})},preview:function(){var t=this.imageData,n=this.canvasData,i=this.cropBoxData,s=i.width,a=i.height,o=t.width,l=t.height,u=i.left-n.left-t.left,c=i.top-n.top-t.top;!this.cropped||this.disabled||(Ri(this.viewBoxImage,bt({width:o,height:l},Gs(bt({translateX:-u,translateY:-c},t)))),Ft(this.previews,function(d){var f=J0(d,ja),g=f.width,v=f.height,x=g,p=v,m=1;s&&(m=g/s,p=a*m),a&&p>v&&(m=v/a,x=s*m,p=v),Ri(d,{width:x,height:p}),Ri(d.getElementsByTagName("img")[0],bt({width:o*m,height:l*m},Gs(bt({translateX:-u*m,translateY:-c*m},t))))}))}},IF={bind:function(){var t=this.element,n=this.options,i=this.cropper;yn(n.cropstart)&&In(t,W0,n.cropstart),yn(n.cropmove)&&In(t,Y0,n.cropmove),yn(n.cropend)&&In(t,Q0,n.cropend),yn(n.crop)&&In(t,G0,n.crop),yn(n.zoom)&&In(t,K0,n.zoom),In(i,up,this.onCropStart=this.cropStart.bind(this)),n.zoomable&&n.zoomOnWheel&&In(i,mp,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),n.toggleDragModeOnDblclick&&In(i,cp,this.onDblclick=this.dblclick.bind(this)),In(t.ownerDocument,dp,this.onCropMove=this.cropMove.bind(this)),In(t.ownerDocument,hp,this.onCropEnd=this.cropEnd.bind(this)),n.responsive&&In(window,pp,this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,n=this.options,i=this.cropper;yn(n.cropstart)&&Yn(t,W0,n.cropstart),yn(n.cropmove)&&Yn(t,Y0,n.cropmove),yn(n.cropend)&&Yn(t,Q0,n.cropend),yn(n.crop)&&Yn(t,G0,n.crop),yn(n.zoom)&&Yn(t,K0,n.zoom),Yn(i,up,this.onCropStart),n.zoomable&&n.zoomOnWheel&&Yn(i,mp,this.onWheel,{passive:!1,capture:!0}),n.toggleDragModeOnDblclick&&Yn(i,cp,this.onDblclick),Yn(t.ownerDocument,dp,this.onCropMove),Yn(t.ownerDocument,hp,this.onCropEnd),n.responsive&&Yn(window,pp,this.onResize)}},OF={resize:function(){if(!this.disabled){var t=this.options,n=this.container,i=this.containerData,s=n.offsetWidth/i.width,a=n.offsetHeight/i.height,o=Math.abs(s-1)>Math.abs(a-1)?s:a;if(o!==1){var l,u;t.restore&&(l=this.getCanvasData(),u=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(Ft(l,function(c,d){l[d]=c*o})),this.setCropBoxData(Ft(u,function(c,d){u[d]=c*o})))}}},dblclick:function(){this.disabled||this.options.dragMode===Hg||this.setDragMode(vF(this.dragBox,j0)?Ug:Zu)},wheel:function(t){var n=this,i=Number(this.options.wheelZoomRatio)||.1,s=1;this.disabled||(t.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){n.wheeling=!1},50),t.deltaY?s=t.deltaY>0?1:-1:t.wheelDelta?s=-t.wheelDelta/120:t.detail&&(s=t.detail>0?1:-1),this.zoom(-s*i,t)))},cropStart:function(t){var n=t.buttons,i=t.button;if(!(this.disabled||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(it(n)&&n!==1||it(i)&&i!==0||t.ctrlKey))){var s=this.options,a=this.pointers,o;t.changedTouches?Ft(t.changedTouches,function(l){a[l.identifier]=Xa(l)}):a[t.pointerId||0]=Xa(t),Object.keys(a).length>1&&s.zoomable&&s.zoomOnTouch?o=zg:o=J0(t.target,ea),oF.test(o)&&zr(this.element,W0,{originalEvent:t,action:o})!==!1&&(t.preventDefault(),this.action=o,this.cropping=!1,o===Fg&&(this.cropping=!0,jt(this.dragBox,ul)))}},cropMove:function(t){var n=this.action;if(!(this.disabled||!n)){var i=this.pointers;t.preventDefault(),zr(this.element,Y0,{originalEvent:t,action:n})!==!1&&(t.changedTouches?Ft(t.changedTouches,function(s){bt(i[s.identifier]||{},Xa(s,!0))}):bt(i[t.pointerId||0]||{},Xa(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var n=this.action,i=this.pointers;t.changedTouches?Ft(t.changedTouches,function(s){delete i[s.identifier]}):delete i[t.pointerId||0],n&&(t.preventDefault(),Object.keys(i).length||(this.action=""),this.cropping&&(this.cropping=!1,Br(this.dragBox,ul,this.cropped&&this.options.modal)),zr(this.element,Q0,{originalEvent:t,action:n}))}}},PF={change:function(t){var n=this.options,i=this.canvasData,s=this.containerData,a=this.cropBoxData,o=this.pointers,l=this.action,u=n.aspectRatio,c=a.left,d=a.top,f=a.width,g=a.height,v=c+f,x=d+g,p=0,m=0,b=s.width,C=s.height,E=!0,w;!u&&t.shiftKey&&(u=f&&g?f/g:1),this.limited&&(p=a.minLeft,m=a.minTop,b=p+Math.min(s.width,i.width,i.left+i.width),C=m+Math.min(s.height,i.height,i.top+i.height));var P=o[Object.keys(o)[0]],T={x:P.endX-P.startX,y:P.endY-P.startY},_=function(D){switch(D){case Ji:v+T.x>b&&(T.x=b-v);break;case Zi:c+T.x<p&&(T.x=p-c);break;case Ii:d+T.y<m&&(T.y=m-d);break;case kr:x+T.y>C&&(T.y=C-x);break}};switch(l){case Ju:c+=T.x,d+=T.y;break;case Ji:if(T.x>=0&&(v>=b||u&&(d<=m||x>=C))){E=!1;break}_(Ji),f+=T.x,f<0&&(l=Zi,f=-f,c-=f),u&&(g=f/u,d+=(a.height-g)/2);break;case Ii:if(T.y<=0&&(d<=m||u&&(c<=p||v>=b))){E=!1;break}_(Ii),g-=T.y,d+=T.y,g<0&&(l=kr,g=-g,d-=g),u&&(f=g*u,c+=(a.width-f)/2);break;case Zi:if(T.x<=0&&(c<=p||u&&(d<=m||x>=C))){E=!1;break}_(Zi),f-=T.x,c+=T.x,f<0&&(l=Ji,f=-f,c-=f),u&&(g=f/u,d+=(a.height-g)/2);break;case kr:if(T.y>=0&&(x>=C||u&&(c<=p||v>=b))){E=!1;break}_(kr),g+=T.y,g<0&&(l=Ii,g=-g,d-=g),u&&(f=g*u,c+=(a.width-f)/2);break;case Ds:if(u){if(T.y<=0&&(d<=m||v>=b)){E=!1;break}_(Ii),g-=T.y,d+=T.y,f=g*u}else _(Ii),_(Ji),T.x>=0?v<b?f+=T.x:T.y<=0&&d<=m&&(E=!1):f+=T.x,T.y<=0?d>m&&(g-=T.y,d+=T.y):(g-=T.y,d+=T.y);f<0&&g<0?(l=Ns,g=-g,f=-f,d-=g,c-=f):f<0?(l=Bs,f=-f,c-=f):g<0&&(l=Vs,g=-g,d-=g);break;case Bs:if(u){if(T.y<=0&&(d<=m||c<=p)){E=!1;break}_(Ii),g-=T.y,d+=T.y,f=g*u,c+=a.width-f}else _(Ii),_(Zi),T.x<=0?c>p?(f-=T.x,c+=T.x):T.y<=0&&d<=m&&(E=!1):(f-=T.x,c+=T.x),T.y<=0?d>m&&(g-=T.y,d+=T.y):(g-=T.y,d+=T.y);f<0&&g<0?(l=Vs,g=-g,f=-f,d-=g,c-=f):f<0?(l=Ds,f=-f,c-=f):g<0&&(l=Ns,g=-g,d-=g);break;case Ns:if(u){if(T.x<=0&&(c<=p||x>=C)){E=!1;break}_(Zi),f-=T.x,c+=T.x,g=f/u}else _(kr),_(Zi),T.x<=0?c>p?(f-=T.x,c+=T.x):T.y>=0&&x>=C&&(E=!1):(f-=T.x,c+=T.x),T.y>=0?x<C&&(g+=T.y):g+=T.y;f<0&&g<0?(l=Ds,g=-g,f=-f,d-=g,c-=f):f<0?(l=Vs,f=-f,c-=f):g<0&&(l=Bs,g=-g,d-=g);break;case Vs:if(u){if(T.x>=0&&(v>=b||x>=C)){E=!1;break}_(Ji),f+=T.x,g=f/u}else _(kr),_(Ji),T.x>=0?v<b?f+=T.x:T.y>=0&&x>=C&&(E=!1):f+=T.x,T.y>=0?x<C&&(g+=T.y):g+=T.y;f<0&&g<0?(l=Bs,g=-g,f=-f,d-=g,c-=f):f<0?(l=Ns,f=-f,c-=f):g<0&&(l=Ds,g=-g,d-=g);break;case qg:this.move(T.x,T.y),E=!1;break;case zg:this.zoom(bF(o),t),E=!1;break;case Fg:if(!T.x||!T.y){E=!1;break}w=Wg(this.cropper),c=P.startX-w.left,d=P.startY-w.top,f=a.minWidth,g=a.minHeight,T.x>0?l=T.y>0?Vs:Ds:T.x<0&&(c-=f,l=T.y>0?Ns:Bs),T.y<0&&(d-=g),this.cropped||(di(this.cropBox,xn),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}E&&(a.width=f,a.height=g,a.left=c,a.top=d,this.action=l,this.renderCropBox()),Ft(o,function(I){I.startX=I.endX,I.startY=I.endY})}},LF={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&jt(this.dragBox,ul),di(this.cropBox,xn),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=bt({},this.initialImageData),this.canvasData=bt({},this.initialCanvasData),this.cropBoxData=bt({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(bt(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),di(this.dragBox,ul),jt(this.cropBox,xn)),this},replace:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&t&&(this.isImg&&(this.element.src=t),n?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,Ft(this.previews,function(i){i.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,di(this.cropper,op)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,jt(this.cropper,op)),this},destroy:function(){var t=this.element;return t[yt]?(t[yt]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,i=this.canvasData,s=i.left,a=i.top;return this.moveTo(qc(t)?t:s+Number(t),qc(n)?n:a+Number(n))},moveTo:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,i=this.canvasData,s=!1;return t=Number(t),n=Number(n),this.ready&&!this.disabled&&this.options.movable&&(it(t)&&(i.left=t,s=!0),it(n)&&(i.top=n,s=!0),s&&this.renderCanvas(!0)),this},zoom:function(t,n){var i=this.canvasData;return t=Number(t),t<0?t=1/(1-t):t=1+t,this.zoomTo(i.width*t/i.naturalWidth,null,n)},zoomTo:function(t,n,i){var s=this.options,a=this.canvasData,o=a.width,l=a.height,u=a.naturalWidth,c=a.naturalHeight;if(t=Number(t),t>=0&&this.ready&&!this.disabled&&s.zoomable){var d=u*t,f=c*t;if(zr(this.element,K0,{ratio:t,oldRatio:o/u,originalEvent:i})===!1)return this;if(i){var g=this.pointers,v=Wg(this.cropper),x=g&&Object.keys(g).length?EF(g):{pageX:i.pageX,pageY:i.pageY};a.left-=(d-o)*((x.pageX-v.left-a.left)/o),a.top-=(f-l)*((x.pageY-v.top-a.top)/l)}else Dr(n)&&it(n.x)&&it(n.y)?(a.left-=(d-o)*((n.x-a.left)/o),a.top-=(f-l)*((n.y-a.top)/l)):(a.left-=(d-o)/2,a.top-=(f-l)/2);a.width=d,a.height=f,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return t=Number(t),it(t)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var n=this.imageData.scaleY;return this.scale(t,it(n)?n:1)},scaleY:function(t){var n=this.imageData.scaleX;return this.scale(it(n)?n:1,t)},scale:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,i=this.imageData,s=!1;return t=Number(t),n=Number(n),this.ready&&!this.disabled&&this.options.scalable&&(it(t)&&(i.scaleX=t,s=!0),it(n)&&(i.scaleY=n,s=!0),s&&this.renderCanvas(!0,!0)),this},getData:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.options,i=this.imageData,s=this.canvasData,a=this.cropBoxData,o;if(this.ready&&this.cropped){o={x:a.left-s.left,y:a.top-s.top,width:a.width,height:a.height};var l=i.width/i.naturalWidth;if(Ft(o,function(d,f){o[f]=d/l}),t){var u=Math.round(o.y+o.height),c=Math.round(o.x+o.width);o.x=Math.round(o.x),o.y=Math.round(o.y),o.width=c-o.x,o.height=u-o.y}}else o={x:0,y:0,width:0,height:0};return n.rotatable&&(o.rotate=i.rotate||0),n.scalable&&(o.scaleX=i.scaleX||1,o.scaleY=i.scaleY||1),o},setData:function(t){var n=this.options,i=this.imageData,s=this.canvasData,a={};if(this.ready&&!this.disabled&&Dr(t)){var o=!1;n.rotatable&&it(t.rotate)&&t.rotate!==i.rotate&&(i.rotate=t.rotate,o=!0),n.scalable&&(it(t.scaleX)&&t.scaleX!==i.scaleX&&(i.scaleX=t.scaleX,o=!0),it(t.scaleY)&&t.scaleY!==i.scaleY&&(i.scaleY=t.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var l=i.width/i.naturalWidth;it(t.x)&&(a.left=t.x*l+s.left),it(t.y)&&(a.top=t.y*l+s.top),it(t.width)&&(a.width=t.width*l),it(t.height)&&(a.height=t.height*l),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?bt({},this.containerData):{}},getImageData:function(){return this.sized?bt({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,n={};return this.ready&&Ft(["left","top","width","height","naturalWidth","naturalHeight"],function(i){n[i]=t[i]}),n},setCanvasData:function(t){var n=this.canvasData,i=n.aspectRatio;return this.ready&&!this.disabled&&Dr(t)&&(it(t.left)&&(n.left=t.left),it(t.top)&&(n.top=t.top),it(t.width)?(n.width=t.width,n.height=t.width/i):it(t.height)&&(n.height=t.height,n.width=t.height*i),this.renderCanvas(!0)),this},getCropBoxData:function(){var t=this.cropBoxData,n;return this.ready&&this.cropped&&(n={left:t.left,top:t.top,width:t.width,height:t.height}),n||{}},setCropBoxData:function(t){var n=this.cropBoxData,i=this.options.aspectRatio,s,a;return this.ready&&this.cropped&&!this.disabled&&Dr(t)&&(it(t.left)&&(n.left=t.left),it(t.top)&&(n.top=t.top),it(t.width)&&t.width!==n.width&&(s=!0,n.width=t.width),it(t.height)&&t.height!==n.height&&(a=!0,n.height=t.height),i&&(s?n.height=n.width/i:a&&(n.width=n.height*i)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var n=this.canvasData,i=kF(this.image,this.imageData,n,t);if(!this.cropped)return i;var s=this.getData(t.rounded),a=s.x,o=s.y,l=s.width,u=s.height,c=i.width/Math.floor(n.naturalWidth);c!==1&&(a*=c,o*=c,l*=c,u*=c);var d=l/u,f=Fi({aspectRatio:d,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),g=Fi({aspectRatio:d,width:t.minWidth||0,height:t.minHeight||0},"cover"),v=Fi({aspectRatio:d,width:t.width||(c!==1?i.width:l),height:t.height||(c!==1?i.height:u)}),x=v.width,p=v.height;x=Math.min(f.width,Math.max(g.width,x)),p=Math.min(f.height,Math.max(g.height,p));var m=document.createElement("canvas"),b=m.getContext("2d");m.width=qr(x),m.height=qr(p),b.fillStyle=t.fillColor||"transparent",b.fillRect(0,0,x,p);var C=t.imageSmoothingEnabled,E=C===void 0?!0:C,w=t.imageSmoothingQuality;b.imageSmoothingEnabled=E,w&&(b.imageSmoothingQuality=w);var P=i.width,T=i.height,_=a,I=o,D,B,N,M,O,F;_<=-l||_>P?(_=0,D=0,N=0,O=0):_<=0?(N=-_,_=0,D=Math.min(P,l+_),O=D):_<=P&&(N=0,D=Math.min(l,P-_),O=D),D<=0||I<=-u||I>T?(I=0,B=0,M=0,F=0):I<=0?(M=-I,I=0,B=Math.min(T,u+I),F=B):I<=T&&(M=0,B=Math.min(u,T-I),F=B);var q=[_,I,D,B];if(O>0&&F>0){var Y=x/l;q.push(N*Y,M*Y,O*Y,F*Y)}return b.drawImage.apply(b,[i].concat(Rg(q.map(function(z){return Math.floor(qr(z))})))),m},setAspectRatio:function(t){var n=this.options;return!this.disabled&&!qc(t)&&(n.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var n=this.options,i=this.dragBox,s=this.face;if(this.ready&&!this.disabled){var a=t===Zu,o=n.movable&&t===Ug;t=a||o?t:Hg,n.dragMode=t,ta(i,ea,t),Br(i,j0,a),Br(i,X0,o),n.cropBoxMovable||(ta(s,ea,t),Br(s,j0,a),Br(s,X0,o))}return this}},MF=mi.Cropper,Z0=(function(){function r(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(KR(this,r),!t||!uF.test(t.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=t,this.options=bt({},vp,Dr(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return JR(r,[{key:"init",value:function(){var n=this.element,i=n.tagName.toLowerCase(),s;if(!n[yt]){if(n[yt]=this,i==="img"){if(this.isImg=!0,s=n.getAttribute("src")||"",this.originalUrl=s,!s)return;s=n.src}else i==="canvas"&&window.HTMLCanvasElement&&(s=n.toDataURL());this.load(s)}}},{key:"load",value:function(n){var i=this;if(n){this.url=n,this.imageData={};var s=this.element,a=this.options;if(!a.rotatable&&!a.scalable&&(a.checkOrientation=!1),!a.checkOrientation||!window.ArrayBuffer){this.clone();return}if(lF.test(n)){cF.test(n)?this.read(wF(n)):this.clone();return}var o=new XMLHttpRequest,l=this.clone.bind(this);this.reloading=!0,this.xhr=o,o.onabort=l,o.onerror=l,o.ontimeout=l,o.onprogress=function(){o.getResponseHeader("content-type")!==gp&&o.abort()},o.onload=function(){i.read(o.response)},o.onloadend=function(){i.reloading=!1,i.xhr=null},a.checkCrossOrigin&&xp(n)&&s.crossOrigin&&(n=Cp(n)),o.open("GET",n,!0),o.responseType="arraybuffer",o.withCredentials=s.crossOrigin==="use-credentials",o.send()}}},{key:"read",value:function(n){var i=this.options,s=this.imageData,a=DF(n),o=0,l=1,u=1;if(a>1){this.url=SF(n,gp);var c=BF(a);o=c.rotate,l=c.scaleX,u=c.scaleY}i.rotatable&&(s.rotate=o),i.scalable&&(s.scaleX=l,s.scaleY=u),this.clone()}},{key:"clone",value:function(){var n=this.element,i=this.url,s=n.crossOrigin,a=i;this.options.checkCrossOrigin&&xp(i)&&(s||(s="anonymous"),a=Cp(i)),this.crossOrigin=s,this.crossOriginUrl=a;var o=document.createElement("img");s&&(o.crossOrigin=s),o.src=a||i,o.alt=n.alt||"The image to crop",this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),jt(o,lp),n.parentNode.insertBefore(o,n.nextSibling)}},{key:"start",value:function(){var n=this,i=this.image;i.onload=null,i.onerror=null,this.sizing=!0;var s=mi.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(mi.navigator.userAgent),a=function(c,d){bt(n.imageData,{naturalWidth:c,naturalHeight:d,aspectRatio:c/d}),n.initialImageData=bt({},n.imageData),n.sizing=!1,n.sized=!0,n.build()};if(i.naturalWidth&&!s){a(i.naturalWidth,i.naturalHeight);return}var o=document.createElement("img"),l=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){a(o.width,o.height),s||l.removeChild(o)},o.src=i.src,s||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",l.appendChild(o))}},{key:"stop",value:function(){var n=this.image;n.onload=null,n.onerror=null,n.parentNode.removeChild(n),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var n=this.element,i=this.options,s=this.image,a=n.parentNode,o=document.createElement("div");o.innerHTML=dF;var l=o.querySelector(".".concat(yt,"-container")),u=l.querySelector(".".concat(yt,"-canvas")),c=l.querySelector(".".concat(yt,"-drag-box")),d=l.querySelector(".".concat(yt,"-crop-box")),f=d.querySelector(".".concat(yt,"-face"));this.container=a,this.cropper=l,this.canvas=u,this.dragBox=c,this.cropBox=d,this.viewBox=l.querySelector(".".concat(yt,"-view-box")),this.face=f,u.appendChild(s),jt(n,xn),a.insertBefore(l,n.nextSibling),di(s,lp),this.initPreview(),this.bind(),i.initialAspectRatio=Math.max(0,i.initialAspectRatio)||NaN,i.aspectRatio=Math.max(0,i.aspectRatio)||NaN,i.viewMode=Math.max(0,Math.min(3,Math.round(i.viewMode)))||0,jt(d,xn),i.guides||jt(d.getElementsByClassName("".concat(yt,"-dashed")),xn),i.center||jt(d.getElementsByClassName("".concat(yt,"-center")),xn),i.background&&jt(l,"".concat(yt,"-bg")),i.highlight||jt(f,iF),i.cropBoxMovable&&(jt(f,X0),ta(f,ea,Ju)),i.cropBoxResizable||(jt(d.getElementsByClassName("".concat(yt,"-line")),xn),jt(d.getElementsByClassName("".concat(yt,"-point")),xn)),this.render(),this.ready=!0,this.setDragMode(i.dragMode),i.autoCrop&&this.crop(),this.setData(i.data),yn(i.ready)&&In(n,fp,i.ready,{once:!0}),zr(n,fp)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var n=this.cropper.parentNode;n&&n.removeChild(this.cropper),di(this.element,xn)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=MF,r}},{key:"setDefaults",value:function(n){bt(vp,Dr(n)&&n)}}])})();bt(Z0.prototype,VF,NF,IF,OF,PF,LF);const RF={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function FF(r,t){return e.openBlock(),e.createElementBlock("svg",RF,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M4.811 15.069l0.152-0.012 10.111-0.015 0.016-10.107c0.001-0.516 0.419-0.933 0.935-0.932 0.464 0 0.848 0.34 0.92 0.783l0.012 0.152-0.032 22.073c-0.001 0.516-0.419 0.933-0.935 0.932-0.464 0-0.848-0.34-0.92-0.783l-0.012-0.152 0.013-10.099-10.105 0.013-0.152-0.012c-0.444-0.072-0.783-0.456-0.783-0.92s0.337-0.849 0.78-0.923zM19.869 15.035l7.165-0.009 0.152 0.012c0.444 0.072 0.783 0.456 0.783 0.92s-0.337 0.849-0.78 0.923l-0.152 0.012-7.171 0.009c-0.463 0-0.847-0.336-0.92-0.779l-0.012-0.153c0-0.516 0.419-0.933 0.935-0.935z"},null,-1)])])}const qF={name:"user-center-icon-add-new",render:FF},zF={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function UF(r,t){return e.openBlock(),e.createElementBlock("svg",zF,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M4.811 15.095l0.152-0.012 22.073-0.032c0.516-0.001 0.933 0.416 0.935 0.932 0 0.464-0.337 0.849-0.78 0.923l-0.152 0.012-22.073 0.032c-0.516 0.001-0.933-0.416-0.935-0.932 0-0.464 0.337-0.849 0.78-0.923z"},null,-1)])])}const HF={name:"user-center-icon-minus-new",render:UF},jF={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none"};function XF(r,t){return e.openBlock(),e.createElementBlock("svg",jF,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"添加",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000",fill:"rgb(255,255,255)","fill-opacity":"0"},null,-1),e.createElementVNode("path",{id:"合并",d:"M12 21C12.3728 21 12.675 20.6978 12.675 20.325L12.675 3.675C12.675 3.30221 12.3728 3 12 3C11.6272 3 11.325 3.30221 11.325 3.675L11.325 11.325L3.675 11.325C3.30221 11.325 3 11.6273 3 12C3 12.3728 3.30221 12.675 3.675 12.675L11.325 12.675L11.325 20.325C11.325 20.6978 11.6272 21 12 21ZM20.325 12.675L13.575 12.675L13.575 11.325L20.325 11.325C20.6978 11.325 21 11.6273 21 12C21 12.3728 20.6978 12.675 20.325 12.675Z",fill:"rgb(255,255,255)","fill-opacity":"0.800000012","fill-rule":"evenodd"},null,-1),e.createElementVNode("path",{id:"合并",d:"M12.675 20.325C12.675 20.6978 12.3728 21 12 21C11.6272 21 11.325 20.6978 11.325 20.325L11.325 12.675L3.675 12.675C3.30221 12.675 3 12.3728 3 12C3 11.6273 3.30221 11.325 3.675 11.325L11.325 11.325L11.325 3.675C11.325 3.30221 11.6272 3 12 3C12.3728 3 12.675 3.30221 12.675 3.675L12.675 20.325ZM20.325 12.675L13.575 12.675L13.575 11.325L20.325 11.325C20.6978 11.325 21 11.6273 21 12C21 12.3728 20.6978 12.675 20.325 12.675Z",fill:"rgb(151,151,151)","fill-opacity":"0","fill-rule":"evenodd"},null,-1)])])}const GF={name:"user-center-icon-add-dark",render:XF},QF={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"},YF=["id"],WF=["customFrame"];function KF(r,t){return e.openBlock(),e.createElementBlock("svg",QF,[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:r.idMap.clipPath_0},[...t[0]||(t[0]=[e.createElementVNode("rect",{width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000",fill:"rgb(255,255,255)"},null,-1)])],8,YF)]),t[2]||(t[2]=e.createElementVNode("rect",{id:"减号",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1)),e.createElementVNode("g",{id:"减号",customFrame:"url(#"+r.idMap.clipPath_0+")"},[...t[1]||(t[1]=[e.createElementVNode("rect",{id:"减号",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("g",{id:"编组 32"},[e.createElementVNode("rect",{id:"矩形",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000",fill:"rgb(216,216,216)","fill-opacity":"0"}),e.createElementVNode("path",{id:"路径",d:"M3.60792 11.3212L3.72146 11.3119L20.2763 11.2881C20.6629 11.2875 20.9767 11.6005 20.9773 11.9871C20.9778 12.335 20.7244 12.624 20.3918 12.6788L20.2783 12.6881L3.72347 12.7119C3.33687 12.7124 3.02302 12.3995 3.02246 12.0129C3.02196 11.6649 3.2754 11.3759 3.60792 11.3212Z",fill:"rgb(255,255,255)","fill-opacity":"0.800000012","fill-rule":"evenodd"})],-1)])],8,WF)])}const JF={name:"user-center-icon-minus-dark",render:KF,data(){return{idMap:{clipPath_0:"uicons-"+Math.random().toString(36).substr(2,10)}}}},ZF={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function $F(r,t){return e.openBlock(),e.createElementBlock("svg",ZF,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.15",d:"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11c-6.075 0-11-4.925-11-11s4.925-11 11-11zM12 3c-4.971 0-9 4.029-9 9s4.029 9 9 9c4.971 0 9-4.029 9-9s-4.029-9-9-9z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M12 1c6.075 0 11 4.925 11 11 0 0.552-0.448 1-1 1s-1-0.448-1-1c0-4.971-4.029-9-9-9-0.552 0-1-0.448-1-1s0.448-1 1-1z"},null,-1)])])}const eq={name:"user-center-icon-loading",render:$F},tq={class:"dlg-content"},nq={class:"dlg-avatar"},iq=["src"],rq={key:2,class:"upload-mask"},sq={key:0,class:"avatar-slider"},aq={class:"dlg-desc"},oq={key:0,class:"divider"},lq=2097152,Is=4,Os=1,Uc=.1,cq=e.defineComponent({__name:"OUploadAvatar",props:{avatar:{type:String,default:""},account:{type:String,default:""},avatarVisible:{type:Boolean,default:!1},username:{type:String,default:""},modifyPhoto:{type:Function,required:!0}},emits:["close"],setup(r,{emit:t}){const n=[".png",".jpg",".jpeg"],i=S.useMessage(null),{t:s}=be.useI18n(),{isLight:a}=Bn(),o=r,l=t,u=e.ref(!1),c=e.ref(""),d=e.ref(),f=e.ref(),g=e.ref(),v=e.ref(1),x=e.ref(1),p=e.ref(),m=e.ref(),b=e.ref(!1),C=e.ref(!1),E=e.ref(!1),w=e.ref(),P=e.ref(),{lePadV:T}=et.useScreen();e.watch(()=>o.avatarVisible,()=>{v.value=1,x.value=1,u.value=o.avatarVisible},{immediate:!0});const _=z=>{let Q=x.value;Q+z>Is?Q=Is:Q+z<Os?Q=Os:Q=z+Q,I(Q)},I=z=>{let Q=Array.isArray(z)?z[0]:z;Q>Is&&(Q=Is),Q<Os&&(Q=Os),f.value.getCroppedCanvas().toDataURL(`image/${P.value}`).split(",")[1]&&f.value.zoomTo(Q),x.value<Q&&(f.value.getCroppedCanvas().toDataURL(`image/${P.value}`).split(",")[1]||f.value.zoom(-.1)),x.value=Q,v.value=Q},D=(z,Q)=>new File([z],Q,{type:z.type}),B=(z,Q)=>{const X=z.split(","),j=X[0].match(/:(.*?);/)[1]||Q,R=window.atob(X[1]),U=new ArrayBuffer(R.length),K=new Uint8Array(U);for(let te=0;te<R.length;te++)K[te]=R.charCodeAt(te);return new Blob([U],{type:j})},N=async()=>{var z;try{b.value=!0;const Q=D(B((z=f.value)==null?void 0:z.getCroppedCanvas().toDataURL(`image/${P.value}`),`image/${w.value}`),p.value||`${o.account.charAt(0)}.${w.value}`);m.value=Q;const X=new FormData;X.append("file",m.value);const j=await o.modifyPhoto(X);i.success({content:s("common.SAVE_SUCCESS")}),(j==null?void 0:j.code)===200&&l("close",!0)}finally{b.value=!1}},M=z=>{const Q=[];return Array.from(z).forEach(X=>{p.value=X.name;const j=X.name.split(".");if(w.value=j[j.length-1].toLowerCase(),P.value=w.value==="jpg"?"jpeg":w.value,!n.includes(`.${P.value}`))return i.danger({content:s("common.ONLY_IMAGE")}),!1;if(v.value=0,x.value=0,!(X.size<lq))return i.danger({content:s("common.FILE_SIZE_EXCEED")}),!1;c.value=URL.createObjectURL(X),Q.push(X),e.nextTick(()=>{var R;(R=f.value)==null||R.destroy(),f.value=new Z0(g.value,{aspectRatio:1,guides:!1,cropBoxResizable:!1,center:!1,highlight:!1,background:!1,dragMode:"move",cropBoxMovable:!1,movable:!0,zoomOnWheel:!0,checkCrossOrigin:!0,viewMode:3,autoCropArea:1})})}),Promise.resolve(Q.map(X=>({id:X.name,name:X.name,file:X})))},O=z=>{z||(l("close",!1),E.value=!1)},F=z=>{C.value||(C.value=!0,setTimeout(()=>{C.value=!1},50),z.deltaY>0?v.value=-.1+v.value:v.value=.1+v.value,x.value=v.value)},q=z=>{v.value>3.9&&z.preventDefault(),window.addEventListener("wheel",F)},Y=()=>{const z=new Image;z.src=d.value+"?"+window.crypto.getRandomValues(new Uint32Array(2)).join(""),z.crossOrigin="anonymous",z.onload=()=>{const Q=document.createElement("canvas"),X=Q.getContext("2d"),j=z.width>z.height?z.height:z.width;Q.width=j,Q.height=j,X==null||X.drawImage(z,0,0,z.width,z.height),w.value=d.value.substring(d.value.lastIndexOf(".")+1).toLowerCase(),P.value=w.value==="jpg"?"jpeg":w.value;const R=Q.toDataURL("image/"+P.value),U=B(R,"image/"+w.value);window.URL=window.URL||window.webkitURL;let K=window.URL.createObjectURL(U);c.value=K;const te=D(B(R,"image/"+P.value),p.value||`${o.account.charAt(0)}.${w.value}`);m.value=te,E.value=!0}};return e.watch(()=>[o.avatar,o.avatarVisible],z=>{z&&(d.value=z[0],typeof window<"u"&&Y()),z[0]||(E.value=!0)},{immediate:!0}),e.watch(()=>g.value,z=>{var Q;z&&(f.value=new Z0(g.value,{aspectRatio:1,guides:!1,cropBoxResizable:!1,center:!1,highlight:!1,background:!1,dragMode:"move",cropBoxMovable:!1,movable:!0,zoomOnWheel:!0,checkCrossOrigin:!0,viewMode:3,autoCropArea:1}),(Q=g.value)==null||Q.addEventListener("zoom",q))}),e.onUnmounted(()=>{var z;(z=g.value)==null||z.removeEventListener("zoom",q),window.removeEventListener("wheel",F)}),(z,Q)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{visible:u.value,"onUpdate:visible":Q[3]||(Q[3]=X=>u.value=X),onChange:O,"main-class":"avatar-dialog"},{default:e.withCtx(()=>[e.createElementVNode("div",tq,[e.createElementVNode("div",nq,[E.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.avatar||c.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:c.value,ref_key:"avatarRef",ref:g,class:"avatar-dlg"},null,8,iq)):(e.openBlock(),e.createBlock(ol,{key:1,name:r.username,"custom-size":200},null,8,["name"])),b.value?(e.openBlock(),e.createElementBlock("div",rq,[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(eq))]),_:1})])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createElementBlock("div",sq,[e.createVNode(e.unref(S.OIcon),{class:"avatar-slider-btn",onClick:Q[0]||(Q[0]=X=>_(0-Uc))},{default:e.withCtx(()=>[e.unref(a)?(e.openBlock(),e.createBlock(e.unref(HF),{key:0})):(e.openBlock(),e.createBlock(e.unref(JF),{key:1}))]),_:1}),e.createVNode(e.unref(xt.ElSlider),{modelValue:v.value,"onUpdate:modelValue":Q[1]||(Q[1]=X=>v.value=X),class:"slider",size:"small",height:"2px","show-tooltip":!1,max:Is,min:Os,step:Uc,onInput:I},null,8,["modelValue"]),e.createVNode(e.unref(S.OIcon),{class:"avatar-slider-btn",onClick:Q[2]||(Q[2]=X=>_(Uc))},{default:e.withCtx(()=>[e.unref(a)?(e.openBlock(),e.createBlock(e.unref(qF),{key:0})):(e.openBlock(),e.createBlock(e.unref(GF),{key:1}))]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("p",aq,e.toDisplayString(e.unref(s)("common.UPLOAD_PIC_TIPS")),1),e.createElementVNode("div",{class:e.normalizeClass(["dlg-btn",{"dlg-btn-pad":e.unref(T)}])},[e.createVNode(e.unref(S.OButton),{round:"pill",size:"large",disabled:!r.avatar&&!c.value,color:"primary",variant:"solid",loading:b.value,onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("common.SAVE_AVATAR")),1)]),_:1},8,["disabled","loading"]),e.unref(T)?(e.openBlock(),e.createElementBlock("div",oq)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OUpload),{accept:".jpg,.png","lazy-upload":!0,"on-after-select":M},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OButton),{round:"pill",size:"large",color:"primary",variant:"outline"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("common.SELECT_PHOTO")),1)]),_:1})]),_:1})],2)])]),_:1},8,["visible"]))}}),uq=be._export_sfc(cq,[["__scopeId","data-v-a210638d"]]),dq={class:"header"},hq={class:"form-wrapper"},fq={class:"dlg-action"},pq=e.defineComponent({__name:"OEditOrgDialog",props:{isEditOrgDialog:{type:Boolean,default:!1},orgName:{type:String,default:""},orgLabel:{type:String,default:""},orgPlaceholder:{type:String,default:""},modifyUser:{type:Function,required:!0}},emits:["closeEditOrgDialog","refresh"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=S.useMessage(null),s=e.ref(),a=e.reactive({company:""}),o=e.ref(""),l=t,u=r,{isEditOrgDialog:c,orgName:d}=e.toRefs(u),f=e.computed(()=>u.orgLabel||n("common.ORGANIZATION")),g=e.computed(()=>u.orgPlaceholder||n("common.INPUT_ORG")),v=Ng(n),x=C=>{C&&$n(C).subscribe(E=>{if(E){const w={company:a.company};u.modifyUser(w).then(()=>{i.success({content:n("common.MODIFY_SUCCESS")}),l("refresh"),b(),l("closeEditOrgDialog",!1)})}})},p=()=>{b(),l("closeEditOrgDialog",!1)},m=C=>{C?(a.company=d.value,o.value=d.value):b(),l("closeEditOrgDialog",C)},b=()=>{a.company=""};return e.watch(c,C=>{C&&(a.company=d.value)}),(C,E)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{class:"edit-org-dialog","mask-close":!1,visible:e.unref(c),onChange:m,style:{"--dlg-width":"480px"}},{header:e.withCtx(()=>[e.createElementVNode("span",dq,e.toDisplayString(f.value),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",fq,[e.createVNode(e.unref(S.OButton),{variant:"text",onClick:p},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1}),E[3]||(E[3]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createVNode(e.unref(S.OButton),{color:"primary",variant:"text",onClick:E[2]||(E[2]=w=>x(s.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",hq,[e.createVNode(e.unref(S.OForm),{class:"form",ref_key:"formRef",ref:s,"label-width":"0","label-align":"top",onSubmit:E[1]||(E[1]=e.withModifiers(()=>{},["prevent"])),model:a},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OFormItem),{field:"company",rules:e.unref(v)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:a.company,"onUpdate:modelValue":E[0]||(E[0]=w=>a.company=w),modelModifiers:{trim:!0},placeholder:g.value,class:"form-input",size:"large"},null,8,["modelValue","placeholder"])]),_:1},8,["rules"])]),_:1},8,["model"])])]),_:1},8,["visible"]))}}),mq=be._export_sfc(pq,[["__scopeId","data-v-c80acfc8"]]),gq={class:"header"},vq={class:"form-wrapper"},yq={class:"dlg-action"},xq=e.defineComponent({__name:"OEditNicknameDialog",props:{isEditNicknameDialog:{type:Boolean,default:!1},nickName:{type:String,default:""},modifyUser:{type:Function,required:!0}},emits:["closeEditNicknameDialog","refresh"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=S.useMessage(null),s=e.ref(),a=e.reactive({nickname:""}),o=t,l=r,{isEditNicknameDialog:u,nickName:c}=e.toRefs(l),d=Ig(n),f=p=>{p&&$n(p).subscribe(m=>{if(m){const b={nickname:a.nickname.trim()};l.modifyUser(b).then(()=>{i.success({content:n("common.MODIFY_SUCCESS")}),o("refresh"),x(),o("closeEditNicknameDialog",!1)})}})},g=()=>{x(),o("closeEditNicknameDialog",!1)},v=p=>{p?a.nickname=c.value:x(),o("closeEditNicknameDialog",p)},x=()=>{a.nickname=""};return e.watch(u,p=>{p&&(a.nickname=c.value)}),(p,m)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{class:"edit-nickname-dialog","mask-close":!1,visible:e.unref(u),onChange:v,style:{"--dlg-width":"480px"}},{header:e.withCtx(()=>[e.createElementVNode("span",gq,e.toDisplayString(e.unref(n)("common.nickName")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",yq,[e.createVNode(e.unref(S.OButton),{variant:"text",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1}),m[3]||(m[3]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createVNode(e.unref(S.OButton),{color:"primary",variant:"text",onClick:m[2]||(m[2]=b=>f(s.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",vq,[e.createVNode(e.unref(S.OForm),{class:"form",ref_key:"formRef",ref:s,"label-width":"0","label-align":"top",onSubmit:m[1]||(m[1]=e.withModifiers(()=>{},["prevent"])),model:a},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OFormItem),{field:"nickname",rules:e.unref(d)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:a.nickname,"onUpdate:modelValue":m[0]||(m[0]=b=>a.nickname=b),modelModifiers:{trim:!0},placeholder:e.unref(n)("common.ENTER_NICKNAME"),class:"form-input",size:"large"},null,8,["modelValue","placeholder"])]),_:1},8,["rules"])]),_:1},8,["model"])])]),_:1},8,["visible"]))}}),Cq=be._export_sfc(xq,[["__scopeId","data-v-2c3dc788"]]),bq={key:0,class:"info-title"},Eq={class:"common-item"},Aq={class:"common-item"},kq={key:0,class:"common-item"},_q={key:1,class:"common-item"},Tq={key:2,class:"common-item"},wq={key:3,class:"common-item"},Sq={key:4,class:"btn"},Dq={key:1,class:"avatar"},Bq=["src"],Vq={key:2,class:"avatar"},Nq=["src"],Iq={class:"username"},Oq={key:1,class:"brief-info"},Pq={key:0,class:"common-item"},Lq={class:"org-input"},Mq={key:1,class:"input-org"},Rq={class:"org-name"},Fq=["src"],qq={key:1,class:"common-item"},zq={class:"label-role"},Uq={class:"popover-content-tips"},Hq={class:"blob"},jq={class:"org-input"},Xq={key:0,class:"common-value"},Gq={key:1,class:"common-value"},Qq={key:2,class:"common-item"},Yq={class:"org-input"},Wq={key:1,class:"input-org"},Kq={class:"org-name"},Jq=["src"],Zq={key:3,class:"common-item"},$q={class:"org-input"},ez={class:"common-value"},tz={key:4,class:"btn"},nz=e.defineComponent({__name:"OUserInfo",props:{isAside:{type:Boolean,default:!1},userInfo:{},username:{default:""},photo:{default:""},rolesList:{default:()=>[]},modifyUser:{},modifyPhoto:{},orgLabel:{default:""},orgPlaceholder:{default:""},rolesMap:{},showBriefInfo:{type:Boolean,default:!0}},emits:["refresh"],setup(r,{emit:t}){const n=S.useMessage(null),{lePadV:i}=et.useScreen(),{isLight:s}=Bn(),a=r,o=t,{t:l,locale:u}=be.useI18n(),c=e.computed(()=>a.orgLabel||l("common.ORGANIZATION")),d=e.computed(()=>a.orgPlaceholder||l("common.INPUT_ORG")),f=e.computed(()=>a.rolesMap??UR),g=e.computed(()=>Array.from(f.value.values())),v=e.ref(""),x=e.ref(""),p=e.ref(!1),m=Ng(l),b=Ig(l),C=e.ref(),E=e.reactive({username:"",nickname:"",company:"",signedUp:""}),w=z=>{const Q=new Date(z),X=Q.getFullYear(),j=Q.getMonth()+1,R=Q.getDate();return`${X}-${String(j).padStart(2,"0")}-${String(R).padStart(2,"0")}`},P=()=>{a.userInfo&&(Object.keys(E).forEach(z=>{z in a.userInfo&&(z==="signedUp"?E[z]=w(a.userInfo[z]):E[z]=a.userInfo[z]||"")}),v.value=a.userInfo.company||"",x.value=a.userInfo.company||"")};e.watch(()=>a.userInfo,()=>{P()},{immediate:!0}),e.onMounted(()=>{P()});const T=z=>a.modifyUser(z),_=z=>{$n(z).subscribe(Q=>{if(Q){const X={nickname:E.nickname.trim(),company:E.company};if(E.nickname===a.userInfo.nickname&&delete X.nickname,E.company===a.userInfo.company&&delete X.company,Object.keys(X).length===0)return;T(X).then(()=>{n.success({content:l("common.MODIFY_SUCCESS")}),o("refresh")})}})},I=e.ref(!1),D=()=>{I.value=!0},B=e.ref(0),N=async z=>{I.value=!1,z&&o("refresh"),B.value=B.value+1},M=()=>{p.value=!0},O=z=>{p.value=z},F=e.ref(!1),q=()=>{F.value=!0},Y=z=>{F.value=z};return(z,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",bq,[e.createElementVNode("div",{class:e.normalizeClass(["title",{"title-pad":e.unref(i)}])},e.toDisplayString(e.unref(l)("common.personInfo")),3),e.createElementVNode("div",{class:e.normalizeClass(["title-desc",{"title-desc-pad":e.unref(i)}])},e.toDisplayString(e.unref(l)("common.personInfoDesc")),3)])),e.createElementVNode("div",null,[e.createVNode(e.unref(S.OSkeleton),{animation:!0,loading:r.userInfo.loading},{template:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({"aside-userinfo":r.isAside})},[e.createElementVNode("div",Eq,[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.userAvatar")),3)),e.createVNode(e.unref(S.OSkeletonAvatar),{style:e.normalizeStyle({"--skeleton-width":`${r.isAside} ? '64px' : '84px'`,"--skeleton-height":`${r.isAside} ? '64px' : '84px'`})},null,8,["style"])]),e.createElementVNode("div",Aq,[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.username")),3)),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})]),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",kq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.nickName")),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",_q,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.ROLES")),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Tq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(c.value),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",wq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.registerTiem")),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})])),!r.isAside&&!e.unref(i)?(e.openBlock(),e.createElementBlock("div",Sq,[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("common.saveBtn")),1)]),_:1})])):e.createCommentVNode("",!0)],2)]),default:e.withCtx(()=>[r.userInfo.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"aside-userinfo":r.isAside,"userinfo-pad":e.unref(i)&&r.isAside,"userinfo-settings-pad":e.unref(i)})},[e.createVNode(e.unref(S.OForm),{ref_key:"formRef",ref:C,model:E,onSubmit:Q[3]||(Q[3]=e.withModifiers(()=>{},["prevent"]))},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["common-item user-avatar",{"aside-item":r.isAside}])},[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.userAvatar")),3)),r.photo?(e.openBlock(),e.createElementBlock("div",Vq,[e.createVNode(ol,{avatar:r.photo,onClick:D,name:r.username,"custom-size":r.isAside?64:e.unref(i)?32:84},null,8,["avatar","name","custom-size"]),e.unref(i)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.OIcon),{key:0,class:"avatar-img-mask",onClick:D},{default:e.withCtx(()=>[e.createVNode(e.unref(rp))]),_:1})),e.unref(i)&&!r.isAside?(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:D},null,8,Nq)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",Dq,[e.createVNode(ol,{avatar:e.unref(HR),onClick:D,name:r.username,"custom-size":r.isAside?64:e.unref(i)?32:84},null,8,["avatar","name","custom-size"]),e.unref(i)?(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:D},null,8,Bq)):(e.openBlock(),e.createBlock(e.unref(S.OIcon),{key:0,class:"avatar-img-mask",onClick:D},{default:e.withCtx(()=>[e.createVNode(e.unref(rp))]),_:1}))]))],2),e.createElementVNode("div",{class:e.normalizeClass(["common-item",{"aside-item":r.isAside}])},[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.username")),3)),e.createElementVNode("div",Iq,e.toDisplayString(r.username),1),r.isAside&&r.showBriefInfo?(e.openBlock(),e.createElementBlock("div",Oq,e.toDisplayString(E.nickname||e.unref(l)("common.NO_NICKNAME"))+" · "+e.toDisplayString(E.company||e.unref(l)("common.NO_COMPANY")),1)):e.createCommentVNode("",!0)],2),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Pq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.nickName")),3),e.createElementVNode("div",Lq,[e.unref(i)?(e.openBlock(),e.createElementBlock("div",Mq,[e.createElementVNode("div",Rq,e.toDisplayString(E.nickname||e.unref(l)("common.ENTER_NICKNAME")),1),e.createElementVNode("img",{src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:q},null,8,Fq)])):(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:0,field:"nickname",rules:e.unref(b)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:E.nickname,"onUpdate:modelValue":Q[0]||(Q[0]=X=>E.nickname=X),modelModifiers:{trim:!0},placeholder:e.unref(l)("common.ENTER_NICKNAME")},null,8,["modelValue","placeholder"])]),_:1},8,["rules"]))])])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",qq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},[e.createElementVNode("div",zq,[e.createElementVNode("p",null,e.toDisplayString(e.unref(l)("common.ROLES")),1),e.createVNode(e.unref(S.OPopover),{position:"right"},{target:e.withCtx(()=>[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(YR))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",Uq,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,X=>(e.openBlock(),e.createElementBlock("div",{key:X.id,class:"item-tips"},[e.createElementVNode("span",Hq,e.toDisplayString(X.name+":"),1),e.createTextVNode(" "+e.toDisplayString(X.desc),1)]))),128))])]),_:1})])],2),e.createElementVNode("div",jq,[r.rolesList.length?(e.openBlock(),e.createElementBlock("div",Xq,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.rolesList,(X,j)=>{var R;return e.openBlock(),e.createElementBlock("span",{key:X},e.toDisplayString((R=f.value.get(X))==null?void 0:R.name)+e.toDisplayString(j!==r.rolesList.length-1?"、":""),1)}),128))])):(e.openBlock(),e.createElementBlock("div",Gq,e.toDisplayString(e.unref(l)("common.EMPTY_ROLES")),1))])])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Qq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(c.value),3),e.createElementVNode("div",Yq,[e.unref(i)?(e.openBlock(),e.createElementBlock("div",Wq,[e.createElementVNode("div",Kq,e.toDisplayString(E.company||d.value),1),e.createElementVNode("img",{src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:M},null,8,Jq)])):(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:0,field:"company",rules:e.unref(m)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:E.company,"onUpdate:modelValue":Q[1]||(Q[1]=X=>E.company=X),modelModifiers:{trim:!0},placeholder:d.value},null,8,["modelValue","placeholder"])]),_:1},8,["rules"]))])])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Zq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.registerTiem")),3),e.createElementVNode("div",$q,[e.createElementVNode("div",ez,e.toDisplayString(E.signedUp),1)])])),!r.isAside&&!e.unref(i)?(e.openBlock(),e.createElementBlock("div",tz,[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit",onClick:Q[2]||(Q[2]=X=>_(C.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("common.saveBtn")),1)]),_:1})])):e.createCommentVNode("",!0)]),_:1},8,["model"])],2))]),_:1},8,["loading"])]),(e.openBlock(),e.createBlock(uq,{"avatar-visible":I.value,avatar:r.photo,account:"account",username:r.username,"modify-photo":r.modifyPhoto,key:B.value,onClose:N},null,8,["avatar-visible","avatar","username","modify-photo"])),e.createVNode(mq,{"is-edit-org-dialog":p.value,"org-name":v.value,"org-label":c.value,"org-placeholder":d.value,"modify-user":r.modifyUser,onCloseEditOrgDialog:O,onRefresh:Q[4]||(Q[4]=X=>o("refresh"))},null,8,["is-edit-org-dialog","org-name","org-label","org-placeholder","modify-user"]),e.createVNode(Cq,{"is-edit-nickname-dialog":F.value,"nick-name":E.nickname,"modify-user":r.modifyUser,onCloseEditNicknameDialog:Y,onRefresh:Q[5]||(Q[5]=X=>o("refresh"))},null,8,["is-edit-nickname-dialog","nick-name","modify-user"])],64))}}),bp=be._export_sfc(nz,[["__scopeId","data-v-b2c80519"]]),iz=Object.assign(W1,{install(r){r.component("OAccountSecurity",W1)}}),rz=Object.assign(K1,{install(r){r.component("OAccountSetting",K1)}}),sz=Object.assign(J1,{install(r){r.component("OAppHeader",J1)}}),az=Object.assign(Z1,{install(r){r.component("OAsideBar",Z1)}}),oz=Object.assign($1,{install(r){r.component("OLayout",$1)}}),lz=Object.assign(ep,{install(r){r.component("OTheAccountManage",ep)}}),cz=Object.assign(tp,{install(r){r.component("OTheCreateMeeting",tp)}}),uz=Object.assign(np,{install(r){r.component("OTheMeeting",np)}}),dz=Object.assign(ip,{install(r){r.component("OThirdPartyBindings",ip)}}),hz=Object.assign(bp,{install(r){r.component("OUserInfo",bp)}}),fz={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function pz(r,t){return e.openBlock(),e.createElementBlock("svg",fz,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M16.923 1.951l-13.5 0.653c-0.853 0.041-1.522 0.745-1.522 1.598v15.595c0 0.853 0.67 1.557 1.522 1.598l13.577 0.655c0.884 0 1.6-0.716 1.6-1.6v-16.901l-0.002-0.063c-0.044-0.897-0.794-1.578-1.676-1.535zM16.981 3.15c0.22-0.011 0.408 0.16 0.418 0.38l0.001 16.92c0 0.193-0.137 0.355-0.319 0.392l-0.090 0.008-13.51-0.653c-0.213-0.010-0.381-0.186-0.381-0.4v-15.595c0-0.214 0.167-0.389 0.381-0.4l13.5-0.653z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M20.373 3.488c0.881-0.070 1.651 0.587 1.722 1.469l0.005 0.127v13.835c0 0.884-0.716 1.6-1.6 1.6l-0.126-0.005-0.427-0.034c-0.33-0.026-0.577-0.315-0.551-0.645s0.315-0.577 0.645-0.551l0.458 0.034c0.221 0 0.4-0.179 0.4-0.4v-13.835l-0.001-0.031c-0.017-0.221-0.21-0.385-0.431-0.367l-0.402 0.032c-0.33 0.026-0.619-0.22-0.646-0.55s0.22-0.62 0.55-0.646l0.402-0.032z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M14.515 11.311l-5.823-4.205c-0.145-0.104-0.319-0.161-0.498-0.161-0.469 0-0.85 0.38-0.85 0.85v8.411c0 0.178 0.056 0.352 0.161 0.498 0.274 0.38 0.806 0.466 1.186 0.191l5.823-4.205c0.073-0.053 0.138-0.118 0.191-0.191 0.274-0.38 0.189-0.912-0.191-1.187zM13.42 11.999l-4.876 3.522v-7.044l4.876 3.522z"},null,-1)])])}const Ep={name:"video-icon-video",render:pz},mz={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function gz(r,t){return e.openBlock(),e.createElementBlock("svg",mz,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M15.683 2.792l0.098 0.090 3.963 4.192c0.143 0.151 0.233 0.343 0.259 0.546l0.008 0.124v6.787c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095-0-6.301h-2.138c-0.999 0-1.818-0.772-1.894-1.752l-0.006-0.148v-2.352l-8.782 0.013c-0.194 0-0.355 0.138-0.392 0.32l-0.008 0.081v15.233c0 0.194 0.138 0.355 0.321 0.392l12.5-0.010c0.194-0 0.355-0.138 0.392-0.32l0.008-0.081v-2.446c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v2.446c0 0.944-0.726 1.719-1.651 1.795l-12.566 0.024c-0.945 0.001-1.721-0.725-1.797-1.652l-0.006-0.148v-15.234c0-0.944 0.726-1.718 1.651-1.795l9.431-0.019c0.223 0 0.439 0.076 0.611 0.215zM17.587 6.829l-1.614-1.708v1.208c0 0.245 0.177 0.45 0.41 0.492l0.090 0.008h1.114zM12.705 7.966c0-0.387-0.313-0.7-0.7-0.7h-3.441l-0.095 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7h3.441l0.095-0.006c0.342-0.046 0.605-0.339 0.605-0.694zM16.137 12c0-0.387-0.313-0.7-0.7-0.7l-6.968 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7l6.968-0.006c0.342-0.046 0.605-0.339 0.605-0.694zM16.137 16.035c0-0.387-0.313-0.7-0.7-0.7l-6.968 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7l6.968-0.006c0.342-0.046 0.605-0.339 0.605-0.694z"},null,-1)])])}const vz={name:"video-icon-material",render:gz},yz={class:"o-video-detail-content-wrapper"},xz={class:"o-video-card-item-header"},Cz={class:"o-video-card-item-content o-video-info-desc"},bz={class:"o-video-card-item-content-font"},Ez={class:"o-video-card-item-header"},Az={class:"o-video-card-item-header-title"},kz=["title"],_z={class:"o-video-course-main-header"},Tz=["src"],wz={class:"o-video-course-info-wrapper"},Sz={class:"o-video-course-info-title"},Dz={class:"o-video-course-info-avatar"},Bz={class:"o-video-info-detail-wrapper"},Vz={class:"o-video-info-detail-name"},Nz={class:"o-video-info-detail-position"},Iz={class:"o-video-course-info-content-title"},Oz={class:"o-video-course-info-content"},Pz={class:"o-video-material-download-wrapper"},Lz={class:"o-video-material-download-info"},Mz={class:"o-video-material-download-tip"},Rz={key:0,class:"o-video-material-download-size"},Fz={class:"o-video-dlg-title"},qz={class:"o-video-dlg-body"},Ap=e.defineComponent({__name:"OVideoDetail",props:{data:{},layout:{}},setup(r){var c,d,f;const t=r,{lePadV:n}=et.useScreen(),{t:i}=be.useI18n(),s=e.ref(((f=(d=(c=t.data)==null?void 0:c.courseList)==null?void 0:d[0])==null?void 0:f.link)||""),a=e.computed(()=>{var g,v;return(v=(g=t.data)==null?void 0:g.courseList)==null?void 0:v.find(x=>x.link===s.value)}),o=e.computed(()=>{var g,v;return(((v=(g=t.data)==null?void 0:g.courseList)==null?void 0:v.length)||0)>1}),l=e.ref(!1),u=g=>{l.value=g};return(g,v)=>{var x;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",yz,[e.createVNode(e.unref(S.OCard),{class:"o-video-card-item",style:e.normalizeStyle({"--video-banner-url":(x=t.data)!=null&&x.banner?`url(${t.data.banner})`:"none"})},{header:e.withCtx(()=>{var p;return[e.createElementVNode("div",xz,e.toDisplayString((p=t.data)==null?void 0:p.title),1)]}),footer:e.withCtx(()=>{var p,m,b,C;return[e.createElementVNode("div",Cz,[(p=t.data)!=null&&p.editorName?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",bz,e.toDisplayString(e.unref(i)("video.editor"))+" "+e.toDisplayString((m=t.data)==null?void 0:m.editorName)+"("+e.toDisplayString((b=t.data)==null?void 0:b.editorEmail)+") ",1),e.createVNode(e.unref(S.ODivider),{direction:"v"})],64)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(e.unref(i)("video.lastUpdated"))+" "+e.toDisplayString((C=t.data)==null?void 0:C.lastUpdated),1)])]}),_:1},8,["style"]),e.createElementVNode("div",{class:e.normalizeClass(["o-video-card-video-list",[`o-video-card-video-list--${t.layout||"horizontal"}`,{"o-video-card-video-list--no-menu":!o.value}]])},[o.value?(e.openBlock(),e.createBlock(e.unref(S.OCard),{key:0,class:"o-video-course-menu-card"},{header:e.withCtx(()=>{var p,m;return[e.createElementVNode("div",Ez,[e.createElementVNode("div",Az,e.toDisplayString(e.unref(i)("video.sessionList")),1),e.createElementVNode("div",{class:"o-video-card-item-header-menu-wrapper",onClick:v[0]||(v[0]=b=>u(!0))},[e.createElementVNode("div",{class:"o-video-card-item-header-menu",title:(p=a.value)==null?void 0:p.title},e.toDisplayString((m=a.value)==null?void 0:m.title),9,kz),e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(_r))]),_:1})])])]}),default:e.withCtx(()=>[e.createVNode(e.unref(S.OScroller),{"disabled-x":"","show-type":"always",size:"small",class:"o-video-video-scroller"},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OMenu),{modelValue:s.value,"onUpdate:modelValue":v[1]||(v[1]=p=>s.value=p)},{default:e.withCtx(()=>{var p;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.data)==null?void 0:p.courseList,m=>(e.openBlock(),e.createBlock(e.unref(S.OMenuItem),{key:m.id,value:m.link,title:m.title},{icon:e.withCtx(()=>[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ep))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(m.title),1)]),_:2},1032,["value","title"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OCard),{class:"o-video-course-video-card"},{header:e.withCtx(()=>{var p;return[e.createElementVNode("div",_z,e.toDisplayString((p=a.value)==null?void 0:p.title),1)]}),default:e.withCtx(()=>[e.createElementVNode("video",{controls:"",muted:"",preload:"auto",class:"o-video-video-player",src:s.value},null,8,Tz)]),_:1}),e.createVNode(e.unref(S.OCard),{class:"o-video-course-info-card"},e.createSlots({default:e.withCtx(()=>{var p,m,b,C;return[e.createElementVNode("div",wz,[e.createElementVNode("div",Sz,e.toDisplayString(e.unref(i)("video.featuredSpeaker")),1),e.createElementVNode("div",Dz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=a.value)==null?void 0:p.speakers,E=>(e.openBlock(),e.createElementBlock("div",{key:E.id,class:"o-video-course-info-avatar-item"},[e.createVNode(N0,{name:E.name,src:E.image,style:{width:"var(--avatar-size)",height:"var(--avatar-size)"}},null,8,["name","src"]),e.createElementVNode("div",Bz,[e.createElementVNode("div",Vz,e.toDisplayString(E.name),1),e.createElementVNode("div",Nz,e.toDisplayString(E.title),1)])]))),128))]),e.createElementVNode("div",Iz,e.toDisplayString(e.unref(i)("video.abstract")),1),e.createElementVNode("div",Oz,e.toDisplayString((m=a.value)==null?void 0:m.description),1),e.createElementVNode("div",Pz,[e.createElementVNode("div",Lz,[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(vz))]),_:1}),e.createElementVNode("div",Mz,e.toDisplayString(e.unref(i)("video.downloadCourseware")),1),(b=a.value)!=null&&b.materialSize?(e.openBlock(),e.createElementBlock("span",Rz,e.toDisplayString(a.value.materialSize),1)):e.createCommentVNode("",!0)]),e.createVNode(e.unref(S.OLink),{color:"primary",target:"_self",href:(C=a.value)==null?void 0:C.material},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("video.download")),1)]),_:1},8,["href"])])])]}),_:2},[r.layout==="vertical"?{name:"header",fn:e.withCtx(()=>[v[6]||(v[6]=e.createElementVNode("div",{class:"o-video-card-item-header"},e.toDisplayString("视频介绍材料"),-1))]),key:"0"}:void 0]),1024)],2)]),e.createVNode(e.unref(S.ODialog),{visible:l.value,"onUpdate:visible":v[5]||(v[5]=p=>l.value=p),"phone-half-full":e.unref(n),scrollbar:!0,class:"o-video-courses-dialog-mb"},{header:e.withCtx(()=>[e.createElementVNode("p",Fz,e.toDisplayString(e.unref(i)("video.sessionList")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:"o-video-dlg-action",onClick:v[4]||(v[4]=p=>u(!1)),style:{cursor:"pointer"}},e.toDisplayString(e.unref(i)("video.cancel")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",qz,[e.createVNode(e.unref(S.OScroller),{"disabled-x":"","show-type":"always",size:"small",class:"o-video-video-scroller"},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OMenu),{modelValue:s.value,"onUpdate:modelValue":v[3]||(v[3]=p=>s.value=p)},{default:e.withCtx(()=>{var p;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.data)==null?void 0:p.courseList,m=>(e.openBlock(),e.createBlock(e.unref(S.OMenuItem),{key:m.id,value:m.link,title:m.title,onClick:v[2]||(v[2]=b=>u(!1))},{icon:e.withCtx(()=>[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ep))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(m.title),1)]),_:2},1032,["value","title"]))),128))]}),_:1},8,["modelValue"])]),_:1})])]),_:1},8,["visible","phone-half-full"])],64)}}}),zz=Object.assign(Ap,{install(r){r.component("OVideoDetail",Ap)}});exports.OElCookieNotice=be.OElCookieNotice;exports.CalendarDataType=ze;exports.EventsStatusT=Ci;exports.MeetingGroupType=en;exports.NavType=tr;exports.OAccountSecurity=iz;exports.OAccountSetting=rz;exports.OActivityApproval=EA;exports.OActivityForm=bA;exports.OActivityMyCalendar=gg;exports.OAppHeader=sz;exports.OAsideBar=az;exports.OBanner=IA;exports.OBannerContent=OA;exports.OCookieNotice=hk;exports.OEmpty=vk;exports.OEventsApply=T_;exports.OEventsCalendar=k_;exports.OEventsList=__;exports.OFeedbackDoc=F_;exports.OFeedbackDocContent=q_;exports.OFeedbackDocDialog=z_;exports.OFeedbackDocPopup=U_;exports.OFloatPoster=Q_;exports.OFooter=qT;exports.OHeader=kS;exports.OHeaderLanguageSwitcher=NS;exports.OHeaderMobile=_S;exports.OHeaderSearch=zD;exports.OHeaderSourceCode=QD;exports.OHeaderTheme=iB;exports.OHeaderUser=mB;exports.OLayout=oz;exports.OLogoSwiper=kB;exports.OLogoSwiperItems=_B;exports.OMeetingCalendar=BE;exports.OMeetingForm=VE;exports.OMeetingMinutes=PE;exports.OMeetingMinutesCopyDetail=ME;exports.OMeetingMyCalendar=OE;exports.OMeetingPlayback=NE;exports.OMeetingSendMinutesForm=LE;exports.OMeetingSigCalendar=IE;exports.OPlusConfigProvider=MA;exports.OSearchInput=OB;exports.OSection=zB;exports.OSigDetail=$N;exports.OSigList=ZN;exports.OSummit=qI;exports.OSummitIntro=zI;exports.OSummitLive=UI;exports.OSummitSchedule=HI;exports.OTheAccountManage=lz;exports.OTheCreateMeeting=cz;exports.OTheMeeting=uz;exports.OThirdPartyBindings=dz;exports.OUserInfo=hz;exports.OVideoDetail=zz;exports.createSvgIcon=gB;
|
|
249
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Ml=typeof window<"u"&&typeof window.document<"u",mi=Ml?window:{},Wu=Ml&&mi.document.documentElement?"ontouchstart"in mi.document.documentElement:!1,Ku=Ml?"PointerEvent"in mi:!1,yt="cropper",Ju="all",Fg="crop",qg="move",zg="zoom",Ji="e",Zi="w",kr="s",Ii="n",Ds="ne",Bs="nw",Vs="se",Ns="sw",j0="".concat(yt,"-crop"),op="".concat(yt,"-disabled"),xn="".concat(yt,"-hidden"),lp="".concat(yt,"-hide"),iF="".concat(yt,"-invisible"),ul="".concat(yt,"-modal"),X0="".concat(yt,"-move"),ea="".concat(yt,"Action"),ja="".concat(yt,"Preview"),Zu="crop",Ug="move",Hg="none",G0="crop",Q0="cropend",Y0="cropmove",W0="cropstart",cp="dblclick",rF=Wu?"touchstart":"mousedown",sF=Wu?"touchmove":"mousemove",aF=Wu?"touchend touchcancel":"mouseup",up=Ku?"pointerdown":rF,dp=Ku?"pointermove":sF,hp=Ku?"pointerup pointercancel":aF,fp="ready",pp="resize",mp="wheel",K0="zoom",gp="image/jpeg",oF=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/,lF=/^data:/,cF=/^data:image\/jpeg;base64,/,uF=/^img|canvas$/i,jg=200,Xg=100,vp={viewMode:0,dragMode:Zu,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:!0,restore:!0,checkCrossOrigin:!0,checkOrientation:!0,modal:!0,guides:!0,center:!0,highlight:!0,background:!0,autoCrop:!0,autoCropArea:.8,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,wheelZoomRatio:.1,cropBoxMovable:!0,cropBoxResizable:!0,toggleDragModeOnDblclick:!0,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:jg,minContainerHeight:Xg,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null},dF='<div class="cropper-container" touch-action="none"><div class="cropper-wrap-box"><div class="cropper-canvas"></div></div><div class="cropper-drag-box"></div><div class="cropper-crop-box"><span class="cropper-view-box"></span><span class="cropper-dashed dashed-h"></span><span class="cropper-dashed dashed-v"></span><span class="cropper-center"></span><span class="cropper-face"></span><span class="cropper-line line-e" data-cropper-action="e"></span><span class="cropper-line line-n" data-cropper-action="n"></span><span class="cropper-line line-w" data-cropper-action="w"></span><span class="cropper-line line-s" data-cropper-action="s"></span><span class="cropper-point point-e" data-cropper-action="e"></span><span class="cropper-point point-n" data-cropper-action="n"></span><span class="cropper-point point-w" data-cropper-action="w"></span><span class="cropper-point point-s" data-cropper-action="s"></span><span class="cropper-point point-ne" data-cropper-action="ne"></span><span class="cropper-point point-nw" data-cropper-action="nw"></span><span class="cropper-point point-sw" data-cropper-action="sw"></span><span class="cropper-point point-se" data-cropper-action="se"></span></div></div>',hF=Number.isNaN||mi.isNaN;function it(r){return typeof r=="number"&&!hF(r)}var yp=function(t){return t>0&&t<1/0};function qc(r){return typeof r>"u"}function fr(r){return U0(r)==="object"&&r!==null}var fF=Object.prototype.hasOwnProperty;function Dr(r){if(!fr(r))return!1;try{var t=r.constructor,n=t.prototype;return t&&n&&fF.call(n,"isPrototypeOf")}catch{return!1}}function yn(r){return typeof r=="function"}var pF=Array.prototype.slice;function Gg(r){return Array.from?Array.from(r):pF.call(r)}function Ft(r,t){return r&&yn(t)&&(Array.isArray(r)||it(r.length)?Gg(r).forEach(function(n,i){t.call(r,n,i,r)}):fr(r)&&Object.keys(r).forEach(function(n){t.call(r,r[n],n,r)})),r}var bt=Object.assign||function(t){for(var n=arguments.length,i=new Array(n>1?n-1:0),s=1;s<n;s++)i[s-1]=arguments[s];return fr(t)&&i.length>0&&i.forEach(function(a){fr(a)&&Object.keys(a).forEach(function(o){t[o]=a[o]})}),t},mF=/\.\d*(?:0|9){12}\d*$/;function qr(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1e11;return mF.test(r)?Math.round(r*t)/t:r}var gF=/^width|height|left|top|marginLeft|marginTop$/;function Ri(r,t){var n=r.style;Ft(t,function(i,s){gF.test(s)&&it(i)&&(i="".concat(i,"px")),n[s]=i})}function vF(r,t){return r.classList?r.classList.contains(t):r.className.indexOf(t)>-1}function jt(r,t){if(t){if(it(r.length)){Ft(r,function(i){jt(i,t)});return}if(r.classList){r.classList.add(t);return}var n=r.className.trim();n?n.indexOf(t)<0&&(r.className="".concat(n," ").concat(t)):r.className=t}}function di(r,t){if(t){if(it(r.length)){Ft(r,function(n){di(n,t)});return}if(r.classList){r.classList.remove(t);return}r.className.indexOf(t)>=0&&(r.className=r.className.replace(t,""))}}function Br(r,t,n){if(t){if(it(r.length)){Ft(r,function(i){Br(i,t,n)});return}n?jt(r,t):di(r,t)}}var yF=/([a-z\d])([A-Z])/g;function $u(r){return r.replace(yF,"$1-$2").toLowerCase()}function J0(r,t){return fr(r[t])?r[t]:r.dataset?r.dataset[t]:r.getAttribute("data-".concat($u(t)))}function ta(r,t,n){fr(n)?r[t]=n:r.dataset?r.dataset[t]=n:r.setAttribute("data-".concat($u(t)),n)}function xF(r,t){if(fr(r[t]))try{delete r[t]}catch{r[t]=void 0}else if(r.dataset)try{delete r.dataset[t]}catch{r.dataset[t]=void 0}else r.removeAttribute("data-".concat($u(t)))}var Qg=/\s\s*/,Yg=(function(){var r=!1;if(Ml){var t=!1,n=function(){},i=Object.defineProperty({},"once",{get:function(){return r=!0,t},set:function(a){t=a}});mi.addEventListener("test",n,i),mi.removeEventListener("test",n,i)}return r})();function Yn(r,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n;t.trim().split(Qg).forEach(function(a){if(!Yg){var o=r.listeners;o&&o[a]&&o[a][n]&&(s=o[a][n],delete o[a][n],Object.keys(o[a]).length===0&&delete o[a],Object.keys(o).length===0&&delete r.listeners)}r.removeEventListener(a,s,i)})}function In(r,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=n;t.trim().split(Qg).forEach(function(a){if(i.once&&!Yg){var o=r.listeners,l=o===void 0?{}:o;s=function(){delete l[a][n],r.removeEventListener(a,s,i);for(var c=arguments.length,d=new Array(c),f=0;f<c;f++)d[f]=arguments[f];n.apply(r,d)},l[a]||(l[a]={}),l[a][n]&&r.removeEventListener(a,l[a][n],i),l[a][n]=s,r.listeners=l}r.addEventListener(a,s,i)})}function zr(r,t,n){var i;return yn(Event)&&yn(CustomEvent)?i=new CustomEvent(t,{detail:n,bubbles:!0,cancelable:!0}):(i=document.createEvent("CustomEvent"),i.initCustomEvent(t,!0,!0,n)),r.dispatchEvent(i)}function Wg(r){var t=r.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var zc=mi.location,CF=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function xp(r){var t=r.match(CF);return t!==null&&(t[1]!==zc.protocol||t[2]!==zc.hostname||t[3]!==zc.port)}function Cp(r){var t="timestamp=".concat(new Date().getTime());return r+(r.indexOf("?")===-1?"?":"&")+t}function Gs(r){var t=r.rotate,n=r.scaleX,i=r.scaleY,s=r.translateX,a=r.translateY,o=[];it(s)&&s!==0&&o.push("translateX(".concat(s,"px)")),it(a)&&a!==0&&o.push("translateY(".concat(a,"px)")),it(t)&&t!==0&&o.push("rotate(".concat(t,"deg)")),it(n)&&n!==1&&o.push("scaleX(".concat(n,")")),it(i)&&i!==1&&o.push("scaleY(".concat(i,")"));var l=o.length?o.join(" "):"none";return{WebkitTransform:l,msTransform:l,transform:l}}function bF(r){var t=Lg({},r),n=0;return Ft(r,function(i,s){delete t[s],Ft(t,function(a){var o=Math.abs(i.startX-a.startX),l=Math.abs(i.startY-a.startY),u=Math.abs(i.endX-a.endX),c=Math.abs(i.endY-a.endY),d=Math.sqrt(o*o+l*l),f=Math.sqrt(u*u+c*c),g=(f-d)/d;Math.abs(g)>Math.abs(n)&&(n=g)})}),n}function Xa(r,t){var n=r.pageX,i=r.pageY,s={endX:n,endY:i};return t?s:Lg({startX:n,startY:i},s)}function EF(r){var t=0,n=0,i=0;return Ft(r,function(s){var a=s.startX,o=s.startY;t+=a,n+=o,i+=1}),t/=i,n/=i,{pageX:t,pageY:n}}function Fi(r){var t=r.aspectRatio,n=r.height,i=r.width,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"contain",a=yp(i),o=yp(n);if(a&&o){var l=n*t;s==="contain"&&l>i||s==="cover"&&l<i?n=i/t:i=n*t}else a?n=i/t:o&&(i=n*t);return{width:i,height:n}}function AF(r){var t=r.width,n=r.height,i=r.degree;if(i=Math.abs(i)%180,i===90)return{width:n,height:t};var s=i%90*Math.PI/180,a=Math.sin(s),o=Math.cos(s),l=t*o+n*a,u=t*a+n*o;return i>90?{width:u,height:l}:{width:l,height:u}}function kF(r,t,n,i){var s=t.aspectRatio,a=t.naturalWidth,o=t.naturalHeight,l=t.rotate,u=l===void 0?0:l,c=t.scaleX,d=c===void 0?1:c,f=t.scaleY,g=f===void 0?1:f,v=n.aspectRatio,x=n.naturalWidth,p=n.naturalHeight,m=i.fillColor,b=m===void 0?"transparent":m,C=i.imageSmoothingEnabled,E=C===void 0?!0:C,w=i.imageSmoothingQuality,P=w===void 0?"low":w,T=i.maxWidth,_=T===void 0?1/0:T,I=i.maxHeight,D=I===void 0?1/0:I,B=i.minWidth,N=B===void 0?0:B,M=i.minHeight,O=M===void 0?0:M,F=document.createElement("canvas"),q=F.getContext("2d"),Y=Fi({aspectRatio:v,width:_,height:D}),z=Fi({aspectRatio:v,width:N,height:O},"cover"),Q=Math.min(Y.width,Math.max(z.width,x)),X=Math.min(Y.height,Math.max(z.height,p)),j=Fi({aspectRatio:s,width:_,height:D}),R=Fi({aspectRatio:s,width:N,height:O},"cover"),U=Math.min(j.width,Math.max(R.width,a)),K=Math.min(j.height,Math.max(R.height,o)),te=[-U/2,-K/2,U,K];return F.width=qr(Q),F.height=qr(X),q.fillStyle=b,q.fillRect(0,0,Q,X),q.save(),q.translate(Q/2,X/2),q.rotate(u*Math.PI/180),q.scale(d,g),q.imageSmoothingEnabled=E,q.imageSmoothingQuality=P,q.drawImage.apply(q,[r].concat(Rg(te.map(function(W){return Math.floor(qr(W))})))),q.restore(),F}var Kg=String.fromCharCode;function _F(r,t,n){var i="";n+=t;for(var s=t;s<n;s+=1)i+=Kg(r.getUint8(s));return i}var TF=/^data:.*,/;function wF(r){var t=r.replace(TF,""),n=atob(t),i=new ArrayBuffer(n.length),s=new Uint8Array(i);return Ft(s,function(a,o){s[o]=n.charCodeAt(o)}),i}function SF(r,t){for(var n=[],i=8192,s=new Uint8Array(r);s.length>0;)n.push(Kg.apply(null,Gg(s.subarray(0,i)))),s=s.subarray(i);return"data:".concat(t,";base64,").concat(btoa(n.join("")))}function DF(r){var t=new DataView(r),n;try{var i,s,a;if(t.getUint8(0)===255&&t.getUint8(1)===216)for(var o=t.byteLength,l=2;l+1<o;){if(t.getUint8(l)===255&&t.getUint8(l+1)===225){s=l;break}l+=1}if(s){var u=s+4,c=s+10;if(_F(t,u,4)==="Exif"){var d=t.getUint16(c);if(i=d===18761,(i||d===19789)&&t.getUint16(c+2,i)===42){var f=t.getUint32(c+4,i);f>=8&&(a=c+f)}}}if(a){var g=t.getUint16(a,i),v,x;for(x=0;x<g;x+=1)if(v=a+x*12+2,t.getUint16(v,i)===274){v+=8,n=t.getUint16(v,i),t.setUint16(v,1,i);break}}}catch{n=1}return n}function BF(r){var t=0,n=1,i=1;switch(r){case 2:n=-1;break;case 3:t=-180;break;case 4:i=-1;break;case 5:t=90,i=-1;break;case 6:t=90;break;case 7:t=90,n=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:n,scaleY:i}}var VF={render:function(){this.initContainer(),this.initCanvas(),this.initCropBox(),this.renderCanvas(),this.cropped&&this.renderCropBox()},initContainer:function(){var t=this.element,n=this.options,i=this.container,s=this.cropper,a=Number(n.minContainerWidth),o=Number(n.minContainerHeight);jt(s,xn),di(t,xn);var l={width:Math.max(i.offsetWidth,a>=0?a:jg),height:Math.max(i.offsetHeight,o>=0?o:Xg)};this.containerData=l,Ri(s,{width:l.width,height:l.height}),jt(t,xn),di(s,xn)},initCanvas:function(){var t=this.containerData,n=this.imageData,i=this.options.viewMode,s=Math.abs(n.rotate)%180===90,a=s?n.naturalHeight:n.naturalWidth,o=s?n.naturalWidth:n.naturalHeight,l=a/o,u=t.width,c=t.height;t.height*l>t.width?i===3?u=t.height*l:c=t.width/l:i===3?c=t.width/l:u=t.height*l;var d={aspectRatio:l,naturalWidth:a,naturalHeight:o,width:u,height:c};this.canvasData=d,this.limited=i===1||i===2,this.limitCanvas(!0,!0),d.width=Math.min(Math.max(d.width,d.minWidth),d.maxWidth),d.height=Math.min(Math.max(d.height,d.minHeight),d.maxHeight),d.left=(t.width-d.width)/2,d.top=(t.height-d.height)/2,d.oldLeft=d.left,d.oldTop=d.top,this.initialCanvasData=bt({},d)},limitCanvas:function(t,n){var i=this.options,s=this.containerData,a=this.canvasData,o=this.cropBoxData,l=i.viewMode,u=a.aspectRatio,c=this.cropped&&o;if(t){var d=Number(i.minCanvasWidth)||0,f=Number(i.minCanvasHeight)||0;l>1?(d=Math.max(d,s.width),f=Math.max(f,s.height),l===3&&(f*u>d?d=f*u:f=d/u)):l>0&&(d?d=Math.max(d,c?o.width:0):f?f=Math.max(f,c?o.height:0):c&&(d=o.width,f=o.height,f*u>d?d=f*u:f=d/u));var g=Fi({aspectRatio:u,width:d,height:f});d=g.width,f=g.height,a.minWidth=d,a.minHeight=f,a.maxWidth=1/0,a.maxHeight=1/0}if(n)if(l>(c?0:1)){var v=s.width-a.width,x=s.height-a.height;a.minLeft=Math.min(0,v),a.minTop=Math.min(0,x),a.maxLeft=Math.max(0,v),a.maxTop=Math.max(0,x),c&&this.limited&&(a.minLeft=Math.min(o.left,o.left+(o.width-a.width)),a.minTop=Math.min(o.top,o.top+(o.height-a.height)),a.maxLeft=o.left,a.maxTop=o.top,l===2&&(a.width>=s.width&&(a.minLeft=Math.min(0,v),a.maxLeft=Math.max(0,v)),a.height>=s.height&&(a.minTop=Math.min(0,x),a.maxTop=Math.max(0,x))))}else a.minLeft=-a.width,a.minTop=-a.height,a.maxLeft=s.width,a.maxTop=s.height},renderCanvas:function(t,n){var i=this.canvasData,s=this.imageData;if(n){var a=AF({width:s.naturalWidth*Math.abs(s.scaleX||1),height:s.naturalHeight*Math.abs(s.scaleY||1),degree:s.rotate||0}),o=a.width,l=a.height,u=i.width*(o/i.naturalWidth),c=i.height*(l/i.naturalHeight);i.left-=(u-i.width)/2,i.top-=(c-i.height)/2,i.width=u,i.height=c,i.aspectRatio=o/l,i.naturalWidth=o,i.naturalHeight=l,this.limitCanvas(!0,!1)}(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCanvas(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,Ri(this.canvas,bt({width:i.width,height:i.height},Gs({translateX:i.left,translateY:i.top}))),this.renderImage(t),this.cropped&&this.limited&&this.limitCropBox(!0,!0)},renderImage:function(t){var n=this.canvasData,i=this.imageData,s=i.naturalWidth*(n.width/n.naturalWidth),a=i.naturalHeight*(n.height/n.naturalHeight);bt(i,{width:s,height:a,left:(n.width-s)/2,top:(n.height-a)/2}),Ri(this.image,bt({width:i.width,height:i.height},Gs(bt({translateX:i.left,translateY:i.top},i)))),t&&this.output()},initCropBox:function(){var t=this.options,n=this.canvasData,i=t.aspectRatio||t.initialAspectRatio,s=Number(t.autoCropArea)||.8,a={width:n.width,height:n.height};i&&(n.height*i>n.width?a.height=a.width/i:a.width=a.height*i),this.cropBoxData=a,this.limitCropBox(!0,!0),a.width=Math.min(Math.max(a.width,a.minWidth),a.maxWidth),a.height=Math.min(Math.max(a.height,a.minHeight),a.maxHeight),a.width=Math.max(a.minWidth,a.width*s),a.height=Math.max(a.minHeight,a.height*s),a.left=n.left+(n.width-a.width)/2,a.top=n.top+(n.height-a.height)/2,a.oldLeft=a.left,a.oldTop=a.top,this.initialCropBoxData=bt({},a)},limitCropBox:function(t,n){var i=this.options,s=this.containerData,a=this.canvasData,o=this.cropBoxData,l=this.limited,u=i.aspectRatio;if(t){var c=Number(i.minCropBoxWidth)||0,d=Number(i.minCropBoxHeight)||0,f=l?Math.min(s.width,a.width,a.width+a.left,s.width-a.left):s.width,g=l?Math.min(s.height,a.height,a.height+a.top,s.height-a.top):s.height;c=Math.min(c,s.width),d=Math.min(d,s.height),u&&(c&&d?d*u>c?d=c/u:c=d*u:c?d=c/u:d&&(c=d*u),g*u>f?g=f/u:f=g*u),o.minWidth=Math.min(c,f),o.minHeight=Math.min(d,g),o.maxWidth=f,o.maxHeight=g}n&&(l?(o.minLeft=Math.max(0,a.left),o.minTop=Math.max(0,a.top),o.maxLeft=Math.min(s.width,a.left+a.width)-o.width,o.maxTop=Math.min(s.height,a.top+a.height)-o.height):(o.minLeft=0,o.minTop=0,o.maxLeft=s.width-o.width,o.maxTop=s.height-o.height))},renderCropBox:function(){var t=this.options,n=this.containerData,i=this.cropBoxData;(i.width>i.maxWidth||i.width<i.minWidth)&&(i.left=i.oldLeft),(i.height>i.maxHeight||i.height<i.minHeight)&&(i.top=i.oldTop),i.width=Math.min(Math.max(i.width,i.minWidth),i.maxWidth),i.height=Math.min(Math.max(i.height,i.minHeight),i.maxHeight),this.limitCropBox(!1,!0),i.left=Math.min(Math.max(i.left,i.minLeft),i.maxLeft),i.top=Math.min(Math.max(i.top,i.minTop),i.maxTop),i.oldLeft=i.left,i.oldTop=i.top,t.movable&&t.cropBoxMovable&&ta(this.face,ea,i.width>=n.width&&i.height>=n.height?qg:Ju),Ri(this.cropBox,bt({width:i.width,height:i.height},Gs({translateX:i.left,translateY:i.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),zr(this.element,G0,this.getData())}},NF={initPreview:function(){var t=this.element,n=this.crossOrigin,i=this.options.preview,s=n?this.crossOriginUrl:this.url,a=t.alt||"The image to preview",o=document.createElement("img");if(n&&(o.crossOrigin=n),o.src=s,o.alt=a,this.viewBox.appendChild(o),this.viewBoxImage=o,!!i){var l=i;typeof i=="string"?l=t.ownerDocument.querySelectorAll(i):i.querySelector&&(l=[i]),this.previews=l,Ft(l,function(u){var c=document.createElement("img");ta(u,ja,{width:u.offsetWidth,height:u.offsetHeight,html:u.innerHTML}),n&&(c.crossOrigin=n),c.src=s,c.alt=a,c.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',u.innerHTML="",u.appendChild(c)})}},resetPreview:function(){Ft(this.previews,function(t){var n=J0(t,ja);Ri(t,{width:n.width,height:n.height}),t.innerHTML=n.html,xF(t,ja)})},preview:function(){var t=this.imageData,n=this.canvasData,i=this.cropBoxData,s=i.width,a=i.height,o=t.width,l=t.height,u=i.left-n.left-t.left,c=i.top-n.top-t.top;!this.cropped||this.disabled||(Ri(this.viewBoxImage,bt({width:o,height:l},Gs(bt({translateX:-u,translateY:-c},t)))),Ft(this.previews,function(d){var f=J0(d,ja),g=f.width,v=f.height,x=g,p=v,m=1;s&&(m=g/s,p=a*m),a&&p>v&&(m=v/a,x=s*m,p=v),Ri(d,{width:x,height:p}),Ri(d.getElementsByTagName("img")[0],bt({width:o*m,height:l*m},Gs(bt({translateX:-u*m,translateY:-c*m},t))))}))}},IF={bind:function(){var t=this.element,n=this.options,i=this.cropper;yn(n.cropstart)&&In(t,W0,n.cropstart),yn(n.cropmove)&&In(t,Y0,n.cropmove),yn(n.cropend)&&In(t,Q0,n.cropend),yn(n.crop)&&In(t,G0,n.crop),yn(n.zoom)&&In(t,K0,n.zoom),In(i,up,this.onCropStart=this.cropStart.bind(this)),n.zoomable&&n.zoomOnWheel&&In(i,mp,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),n.toggleDragModeOnDblclick&&In(i,cp,this.onDblclick=this.dblclick.bind(this)),In(t.ownerDocument,dp,this.onCropMove=this.cropMove.bind(this)),In(t.ownerDocument,hp,this.onCropEnd=this.cropEnd.bind(this)),n.responsive&&In(window,pp,this.onResize=this.resize.bind(this))},unbind:function(){var t=this.element,n=this.options,i=this.cropper;yn(n.cropstart)&&Yn(t,W0,n.cropstart),yn(n.cropmove)&&Yn(t,Y0,n.cropmove),yn(n.cropend)&&Yn(t,Q0,n.cropend),yn(n.crop)&&Yn(t,G0,n.crop),yn(n.zoom)&&Yn(t,K0,n.zoom),Yn(i,up,this.onCropStart),n.zoomable&&n.zoomOnWheel&&Yn(i,mp,this.onWheel,{passive:!1,capture:!0}),n.toggleDragModeOnDblclick&&Yn(i,cp,this.onDblclick),Yn(t.ownerDocument,dp,this.onCropMove),Yn(t.ownerDocument,hp,this.onCropEnd),n.responsive&&Yn(window,pp,this.onResize)}},OF={resize:function(){if(!this.disabled){var t=this.options,n=this.container,i=this.containerData,s=n.offsetWidth/i.width,a=n.offsetHeight/i.height,o=Math.abs(s-1)>Math.abs(a-1)?s:a;if(o!==1){var l,u;t.restore&&(l=this.getCanvasData(),u=this.getCropBoxData()),this.render(),t.restore&&(this.setCanvasData(Ft(l,function(c,d){l[d]=c*o})),this.setCropBoxData(Ft(u,function(c,d){u[d]=c*o})))}}},dblclick:function(){this.disabled||this.options.dragMode===Hg||this.setDragMode(vF(this.dragBox,j0)?Ug:Zu)},wheel:function(t){var n=this,i=Number(this.options.wheelZoomRatio)||.1,s=1;this.disabled||(t.preventDefault(),!this.wheeling&&(this.wheeling=!0,setTimeout(function(){n.wheeling=!1},50),t.deltaY?s=t.deltaY>0?1:-1:t.wheelDelta?s=-t.wheelDelta/120:t.detail&&(s=t.detail>0?1:-1),this.zoom(-s*i,t)))},cropStart:function(t){var n=t.buttons,i=t.button;if(!(this.disabled||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(it(n)&&n!==1||it(i)&&i!==0||t.ctrlKey))){var s=this.options,a=this.pointers,o;t.changedTouches?Ft(t.changedTouches,function(l){a[l.identifier]=Xa(l)}):a[t.pointerId||0]=Xa(t),Object.keys(a).length>1&&s.zoomable&&s.zoomOnTouch?o=zg:o=J0(t.target,ea),oF.test(o)&&zr(this.element,W0,{originalEvent:t,action:o})!==!1&&(t.preventDefault(),this.action=o,this.cropping=!1,o===Fg&&(this.cropping=!0,jt(this.dragBox,ul)))}},cropMove:function(t){var n=this.action;if(!(this.disabled||!n)){var i=this.pointers;t.preventDefault(),zr(this.element,Y0,{originalEvent:t,action:n})!==!1&&(t.changedTouches?Ft(t.changedTouches,function(s){bt(i[s.identifier]||{},Xa(s,!0))}):bt(i[t.pointerId||0]||{},Xa(t,!0)),this.change(t))}},cropEnd:function(t){if(!this.disabled){var n=this.action,i=this.pointers;t.changedTouches?Ft(t.changedTouches,function(s){delete i[s.identifier]}):delete i[t.pointerId||0],n&&(t.preventDefault(),Object.keys(i).length||(this.action=""),this.cropping&&(this.cropping=!1,Br(this.dragBox,ul,this.cropped&&this.options.modal)),zr(this.element,Q0,{originalEvent:t,action:n}))}}},PF={change:function(t){var n=this.options,i=this.canvasData,s=this.containerData,a=this.cropBoxData,o=this.pointers,l=this.action,u=n.aspectRatio,c=a.left,d=a.top,f=a.width,g=a.height,v=c+f,x=d+g,p=0,m=0,b=s.width,C=s.height,E=!0,w;!u&&t.shiftKey&&(u=f&&g?f/g:1),this.limited&&(p=a.minLeft,m=a.minTop,b=p+Math.min(s.width,i.width,i.left+i.width),C=m+Math.min(s.height,i.height,i.top+i.height));var P=o[Object.keys(o)[0]],T={x:P.endX-P.startX,y:P.endY-P.startY},_=function(D){switch(D){case Ji:v+T.x>b&&(T.x=b-v);break;case Zi:c+T.x<p&&(T.x=p-c);break;case Ii:d+T.y<m&&(T.y=m-d);break;case kr:x+T.y>C&&(T.y=C-x);break}};switch(l){case Ju:c+=T.x,d+=T.y;break;case Ji:if(T.x>=0&&(v>=b||u&&(d<=m||x>=C))){E=!1;break}_(Ji),f+=T.x,f<0&&(l=Zi,f=-f,c-=f),u&&(g=f/u,d+=(a.height-g)/2);break;case Ii:if(T.y<=0&&(d<=m||u&&(c<=p||v>=b))){E=!1;break}_(Ii),g-=T.y,d+=T.y,g<0&&(l=kr,g=-g,d-=g),u&&(f=g*u,c+=(a.width-f)/2);break;case Zi:if(T.x<=0&&(c<=p||u&&(d<=m||x>=C))){E=!1;break}_(Zi),f-=T.x,c+=T.x,f<0&&(l=Ji,f=-f,c-=f),u&&(g=f/u,d+=(a.height-g)/2);break;case kr:if(T.y>=0&&(x>=C||u&&(c<=p||v>=b))){E=!1;break}_(kr),g+=T.y,g<0&&(l=Ii,g=-g,d-=g),u&&(f=g*u,c+=(a.width-f)/2);break;case Ds:if(u){if(T.y<=0&&(d<=m||v>=b)){E=!1;break}_(Ii),g-=T.y,d+=T.y,f=g*u}else _(Ii),_(Ji),T.x>=0?v<b?f+=T.x:T.y<=0&&d<=m&&(E=!1):f+=T.x,T.y<=0?d>m&&(g-=T.y,d+=T.y):(g-=T.y,d+=T.y);f<0&&g<0?(l=Ns,g=-g,f=-f,d-=g,c-=f):f<0?(l=Bs,f=-f,c-=f):g<0&&(l=Vs,g=-g,d-=g);break;case Bs:if(u){if(T.y<=0&&(d<=m||c<=p)){E=!1;break}_(Ii),g-=T.y,d+=T.y,f=g*u,c+=a.width-f}else _(Ii),_(Zi),T.x<=0?c>p?(f-=T.x,c+=T.x):T.y<=0&&d<=m&&(E=!1):(f-=T.x,c+=T.x),T.y<=0?d>m&&(g-=T.y,d+=T.y):(g-=T.y,d+=T.y);f<0&&g<0?(l=Vs,g=-g,f=-f,d-=g,c-=f):f<0?(l=Ds,f=-f,c-=f):g<0&&(l=Ns,g=-g,d-=g);break;case Ns:if(u){if(T.x<=0&&(c<=p||x>=C)){E=!1;break}_(Zi),f-=T.x,c+=T.x,g=f/u}else _(kr),_(Zi),T.x<=0?c>p?(f-=T.x,c+=T.x):T.y>=0&&x>=C&&(E=!1):(f-=T.x,c+=T.x),T.y>=0?x<C&&(g+=T.y):g+=T.y;f<0&&g<0?(l=Ds,g=-g,f=-f,d-=g,c-=f):f<0?(l=Vs,f=-f,c-=f):g<0&&(l=Bs,g=-g,d-=g);break;case Vs:if(u){if(T.x>=0&&(v>=b||x>=C)){E=!1;break}_(Ji),f+=T.x,g=f/u}else _(kr),_(Ji),T.x>=0?v<b?f+=T.x:T.y>=0&&x>=C&&(E=!1):f+=T.x,T.y>=0?x<C&&(g+=T.y):g+=T.y;f<0&&g<0?(l=Bs,g=-g,f=-f,d-=g,c-=f):f<0?(l=Ns,f=-f,c-=f):g<0&&(l=Ds,g=-g,d-=g);break;case qg:this.move(T.x,T.y),E=!1;break;case zg:this.zoom(bF(o),t),E=!1;break;case Fg:if(!T.x||!T.y){E=!1;break}w=Wg(this.cropper),c=P.startX-w.left,d=P.startY-w.top,f=a.minWidth,g=a.minHeight,T.x>0?l=T.y>0?Vs:Ds:T.x<0&&(c-=f,l=T.y>0?Ns:Bs),T.y<0&&(d-=g),this.cropped||(di(this.cropBox,xn),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0));break}E&&(a.width=f,a.height=g,a.left=c,a.top=d,this.action=l,this.renderCropBox()),Ft(o,function(I){I.startX=I.endX,I.startY=I.endY})}},LF={crop:function(){return this.ready&&!this.cropped&&!this.disabled&&(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&jt(this.dragBox,ul),di(this.cropBox,xn),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=bt({},this.initialImageData),this.canvasData=bt({},this.initialCanvasData),this.cropBoxData=bt({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(bt(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),di(this.dragBox,ul),jt(this.cropBox,xn)),this},replace:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return!this.disabled&&t&&(this.isImg&&(this.element.src=t),n?(this.url=t,this.image.src=t,this.ready&&(this.viewBoxImage.src=t,Ft(this.previews,function(i){i.getElementsByTagName("img")[0].src=t}))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(t))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,di(this.cropper,op)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,jt(this.cropper,op)),this},destroy:function(){var t=this.element;return t[yt]?(t[yt]=void 0,this.isImg&&this.replaced&&(t.src=this.originalUrl),this.uncreate(),this):this},move:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,i=this.canvasData,s=i.left,a=i.top;return this.moveTo(qc(t)?t:s+Number(t),qc(n)?n:a+Number(n))},moveTo:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,i=this.canvasData,s=!1;return t=Number(t),n=Number(n),this.ready&&!this.disabled&&this.options.movable&&(it(t)&&(i.left=t,s=!0),it(n)&&(i.top=n,s=!0),s&&this.renderCanvas(!0)),this},zoom:function(t,n){var i=this.canvasData;return t=Number(t),t<0?t=1/(1-t):t=1+t,this.zoomTo(i.width*t/i.naturalWidth,null,n)},zoomTo:function(t,n,i){var s=this.options,a=this.canvasData,o=a.width,l=a.height,u=a.naturalWidth,c=a.naturalHeight;if(t=Number(t),t>=0&&this.ready&&!this.disabled&&s.zoomable){var d=u*t,f=c*t;if(zr(this.element,K0,{ratio:t,oldRatio:o/u,originalEvent:i})===!1)return this;if(i){var g=this.pointers,v=Wg(this.cropper),x=g&&Object.keys(g).length?EF(g):{pageX:i.pageX,pageY:i.pageY};a.left-=(d-o)*((x.pageX-v.left-a.left)/o),a.top-=(f-l)*((x.pageY-v.top-a.top)/l)}else Dr(n)&&it(n.x)&&it(n.y)?(a.left-=(d-o)*((n.x-a.left)/o),a.top-=(f-l)*((n.y-a.top)/l)):(a.left-=(d-o)/2,a.top-=(f-l)/2);a.width=d,a.height=f,this.renderCanvas(!0)}return this},rotate:function(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function(t){return t=Number(t),it(t)&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=t%360,this.renderCanvas(!0,!0)),this},scaleX:function(t){var n=this.imageData.scaleY;return this.scale(t,it(n)?n:1)},scaleY:function(t){var n=this.imageData.scaleX;return this.scale(it(n)?n:1,t)},scale:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t,i=this.imageData,s=!1;return t=Number(t),n=Number(n),this.ready&&!this.disabled&&this.options.scalable&&(it(t)&&(i.scaleX=t,s=!0),it(n)&&(i.scaleY=n,s=!0),s&&this.renderCanvas(!0,!0)),this},getData:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.options,i=this.imageData,s=this.canvasData,a=this.cropBoxData,o;if(this.ready&&this.cropped){o={x:a.left-s.left,y:a.top-s.top,width:a.width,height:a.height};var l=i.width/i.naturalWidth;if(Ft(o,function(d,f){o[f]=d/l}),t){var u=Math.round(o.y+o.height),c=Math.round(o.x+o.width);o.x=Math.round(o.x),o.y=Math.round(o.y),o.width=c-o.x,o.height=u-o.y}}else o={x:0,y:0,width:0,height:0};return n.rotatable&&(o.rotate=i.rotate||0),n.scalable&&(o.scaleX=i.scaleX||1,o.scaleY=i.scaleY||1),o},setData:function(t){var n=this.options,i=this.imageData,s=this.canvasData,a={};if(this.ready&&!this.disabled&&Dr(t)){var o=!1;n.rotatable&&it(t.rotate)&&t.rotate!==i.rotate&&(i.rotate=t.rotate,o=!0),n.scalable&&(it(t.scaleX)&&t.scaleX!==i.scaleX&&(i.scaleX=t.scaleX,o=!0),it(t.scaleY)&&t.scaleY!==i.scaleY&&(i.scaleY=t.scaleY,o=!0)),o&&this.renderCanvas(!0,!0);var l=i.width/i.naturalWidth;it(t.x)&&(a.left=t.x*l+s.left),it(t.y)&&(a.top=t.y*l+s.top),it(t.width)&&(a.width=t.width*l),it(t.height)&&(a.height=t.height*l),this.setCropBoxData(a)}return this},getContainerData:function(){return this.ready?bt({},this.containerData):{}},getImageData:function(){return this.sized?bt({},this.imageData):{}},getCanvasData:function(){var t=this.canvasData,n={};return this.ready&&Ft(["left","top","width","height","naturalWidth","naturalHeight"],function(i){n[i]=t[i]}),n},setCanvasData:function(t){var n=this.canvasData,i=n.aspectRatio;return this.ready&&!this.disabled&&Dr(t)&&(it(t.left)&&(n.left=t.left),it(t.top)&&(n.top=t.top),it(t.width)?(n.width=t.width,n.height=t.width/i):it(t.height)&&(n.height=t.height,n.width=t.height*i),this.renderCanvas(!0)),this},getCropBoxData:function(){var t=this.cropBoxData,n;return this.ready&&this.cropped&&(n={left:t.left,top:t.top,width:t.width,height:t.height}),n||{}},setCropBoxData:function(t){var n=this.cropBoxData,i=this.options.aspectRatio,s,a;return this.ready&&this.cropped&&!this.disabled&&Dr(t)&&(it(t.left)&&(n.left=t.left),it(t.top)&&(n.top=t.top),it(t.width)&&t.width!==n.width&&(s=!0,n.width=t.width),it(t.height)&&t.height!==n.height&&(a=!0,n.height=t.height),i&&(s?n.height=n.width/i:a&&(n.width=n.height*i)),this.renderCropBox()),this},getCroppedCanvas:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var n=this.canvasData,i=kF(this.image,this.imageData,n,t);if(!this.cropped)return i;var s=this.getData(t.rounded),a=s.x,o=s.y,l=s.width,u=s.height,c=i.width/Math.floor(n.naturalWidth);c!==1&&(a*=c,o*=c,l*=c,u*=c);var d=l/u,f=Fi({aspectRatio:d,width:t.maxWidth||1/0,height:t.maxHeight||1/0}),g=Fi({aspectRatio:d,width:t.minWidth||0,height:t.minHeight||0},"cover"),v=Fi({aspectRatio:d,width:t.width||(c!==1?i.width:l),height:t.height||(c!==1?i.height:u)}),x=v.width,p=v.height;x=Math.min(f.width,Math.max(g.width,x)),p=Math.min(f.height,Math.max(g.height,p));var m=document.createElement("canvas"),b=m.getContext("2d");m.width=qr(x),m.height=qr(p),b.fillStyle=t.fillColor||"transparent",b.fillRect(0,0,x,p);var C=t.imageSmoothingEnabled,E=C===void 0?!0:C,w=t.imageSmoothingQuality;b.imageSmoothingEnabled=E,w&&(b.imageSmoothingQuality=w);var P=i.width,T=i.height,_=a,I=o,D,B,N,M,O,F;_<=-l||_>P?(_=0,D=0,N=0,O=0):_<=0?(N=-_,_=0,D=Math.min(P,l+_),O=D):_<=P&&(N=0,D=Math.min(l,P-_),O=D),D<=0||I<=-u||I>T?(I=0,B=0,M=0,F=0):I<=0?(M=-I,I=0,B=Math.min(T,u+I),F=B):I<=T&&(M=0,B=Math.min(u,T-I),F=B);var q=[_,I,D,B];if(O>0&&F>0){var Y=x/l;q.push(N*Y,M*Y,O*Y,F*Y)}return b.drawImage.apply(b,[i].concat(Rg(q.map(function(z){return Math.floor(qr(z))})))),m},setAspectRatio:function(t){var n=this.options;return!this.disabled&&!qc(t)&&(n.aspectRatio=Math.max(0,t)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(t){var n=this.options,i=this.dragBox,s=this.face;if(this.ready&&!this.disabled){var a=t===Zu,o=n.movable&&t===Ug;t=a||o?t:Hg,n.dragMode=t,ta(i,ea,t),Br(i,j0,a),Br(i,X0,o),n.cropBoxMovable||(ta(s,ea,t),Br(s,j0,a),Br(s,X0,o))}return this}},MF=mi.Cropper,Z0=(function(){function r(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(KR(this,r),!t||!uF.test(t.tagName))throw new Error("The first argument is required and must be an <img> or <canvas> element.");this.element=t,this.options=bt({},vp,Dr(n)&&n),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return JR(r,[{key:"init",value:function(){var n=this.element,i=n.tagName.toLowerCase(),s;if(!n[yt]){if(n[yt]=this,i==="img"){if(this.isImg=!0,s=n.getAttribute("src")||"",this.originalUrl=s,!s)return;s=n.src}else i==="canvas"&&window.HTMLCanvasElement&&(s=n.toDataURL());this.load(s)}}},{key:"load",value:function(n){var i=this;if(n){this.url=n,this.imageData={};var s=this.element,a=this.options;if(!a.rotatable&&!a.scalable&&(a.checkOrientation=!1),!a.checkOrientation||!window.ArrayBuffer){this.clone();return}if(lF.test(n)){cF.test(n)?this.read(wF(n)):this.clone();return}var o=new XMLHttpRequest,l=this.clone.bind(this);this.reloading=!0,this.xhr=o,o.onabort=l,o.onerror=l,o.ontimeout=l,o.onprogress=function(){o.getResponseHeader("content-type")!==gp&&o.abort()},o.onload=function(){i.read(o.response)},o.onloadend=function(){i.reloading=!1,i.xhr=null},a.checkCrossOrigin&&xp(n)&&s.crossOrigin&&(n=Cp(n)),o.open("GET",n,!0),o.responseType="arraybuffer",o.withCredentials=s.crossOrigin==="use-credentials",o.send()}}},{key:"read",value:function(n){var i=this.options,s=this.imageData,a=DF(n),o=0,l=1,u=1;if(a>1){this.url=SF(n,gp);var c=BF(a);o=c.rotate,l=c.scaleX,u=c.scaleY}i.rotatable&&(s.rotate=o),i.scalable&&(s.scaleX=l,s.scaleY=u),this.clone()}},{key:"clone",value:function(){var n=this.element,i=this.url,s=n.crossOrigin,a=i;this.options.checkCrossOrigin&&xp(i)&&(s||(s="anonymous"),a=Cp(i)),this.crossOrigin=s,this.crossOriginUrl=a;var o=document.createElement("img");s&&(o.crossOrigin=s),o.src=a||i,o.alt=n.alt||"The image to crop",this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),jt(o,lp),n.parentNode.insertBefore(o,n.nextSibling)}},{key:"start",value:function(){var n=this,i=this.image;i.onload=null,i.onerror=null,this.sizing=!0;var s=mi.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(mi.navigator.userAgent),a=function(c,d){bt(n.imageData,{naturalWidth:c,naturalHeight:d,aspectRatio:c/d}),n.initialImageData=bt({},n.imageData),n.sizing=!1,n.sized=!0,n.build()};if(i.naturalWidth&&!s){a(i.naturalWidth,i.naturalHeight);return}var o=document.createElement("img"),l=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){a(o.width,o.height),s||l.removeChild(o)},o.src=i.src,s||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",l.appendChild(o))}},{key:"stop",value:function(){var n=this.image;n.onload=null,n.onerror=null,n.parentNode.removeChild(n),this.image=null}},{key:"build",value:function(){if(!(!this.sized||this.ready)){var n=this.element,i=this.options,s=this.image,a=n.parentNode,o=document.createElement("div");o.innerHTML=dF;var l=o.querySelector(".".concat(yt,"-container")),u=l.querySelector(".".concat(yt,"-canvas")),c=l.querySelector(".".concat(yt,"-drag-box")),d=l.querySelector(".".concat(yt,"-crop-box")),f=d.querySelector(".".concat(yt,"-face"));this.container=a,this.cropper=l,this.canvas=u,this.dragBox=c,this.cropBox=d,this.viewBox=l.querySelector(".".concat(yt,"-view-box")),this.face=f,u.appendChild(s),jt(n,xn),a.insertBefore(l,n.nextSibling),di(s,lp),this.initPreview(),this.bind(),i.initialAspectRatio=Math.max(0,i.initialAspectRatio)||NaN,i.aspectRatio=Math.max(0,i.aspectRatio)||NaN,i.viewMode=Math.max(0,Math.min(3,Math.round(i.viewMode)))||0,jt(d,xn),i.guides||jt(d.getElementsByClassName("".concat(yt,"-dashed")),xn),i.center||jt(d.getElementsByClassName("".concat(yt,"-center")),xn),i.background&&jt(l,"".concat(yt,"-bg")),i.highlight||jt(f,iF),i.cropBoxMovable&&(jt(f,X0),ta(f,ea,Ju)),i.cropBoxResizable||(jt(d.getElementsByClassName("".concat(yt,"-line")),xn),jt(d.getElementsByClassName("".concat(yt,"-point")),xn)),this.render(),this.ready=!0,this.setDragMode(i.dragMode),i.autoCrop&&this.crop(),this.setData(i.data),yn(i.ready)&&In(n,fp,i.ready,{once:!0}),zr(n,fp)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var n=this.cropper.parentNode;n&&n.removeChild(this.cropper),di(this.element,xn)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=MF,r}},{key:"setDefaults",value:function(n){bt(vp,Dr(n)&&n)}}])})();bt(Z0.prototype,VF,NF,IF,OF,PF,LF);const RF={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function FF(r,t){return e.openBlock(),e.createElementBlock("svg",RF,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M4.811 15.069l0.152-0.012 10.111-0.015 0.016-10.107c0.001-0.516 0.419-0.933 0.935-0.932 0.464 0 0.848 0.34 0.92 0.783l0.012 0.152-0.032 22.073c-0.001 0.516-0.419 0.933-0.935 0.932-0.464 0-0.848-0.34-0.92-0.783l-0.012-0.152 0.013-10.099-10.105 0.013-0.152-0.012c-0.444-0.072-0.783-0.456-0.783-0.92s0.337-0.849 0.78-0.923zM19.869 15.035l7.165-0.009 0.152 0.012c0.444 0.072 0.783 0.456 0.783 0.92s-0.337 0.849-0.78 0.923l-0.152 0.012-7.171 0.009c-0.463 0-0.847-0.336-0.92-0.779l-0.012-0.153c0-0.516 0.419-0.933 0.935-0.935z"},null,-1)])])}const qF={name:"user-center-icon-add-new",render:FF},zF={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32"};function UF(r,t){return e.openBlock(),e.createElementBlock("svg",zF,[...t[0]||(t[0]=[e.createElementVNode("path",{d:"M4.811 15.095l0.152-0.012 22.073-0.032c0.516-0.001 0.933 0.416 0.935 0.932 0 0.464-0.337 0.849-0.78 0.923l-0.152 0.012-22.073 0.032c-0.516 0.001-0.933-0.416-0.935-0.932 0-0.464 0.337-0.849 0.78-0.923z"},null,-1)])])}const HF={name:"user-center-icon-minus-new",render:UF},jF={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none"};function XF(r,t){return e.openBlock(),e.createElementBlock("svg",jF,[...t[0]||(t[0]=[e.createElementVNode("rect",{id:"添加",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000",fill:"rgb(255,255,255)","fill-opacity":"0"},null,-1),e.createElementVNode("path",{id:"合并",d:"M12 21C12.3728 21 12.675 20.6978 12.675 20.325L12.675 3.675C12.675 3.30221 12.3728 3 12 3C11.6272 3 11.325 3.30221 11.325 3.675L11.325 11.325L3.675 11.325C3.30221 11.325 3 11.6273 3 12C3 12.3728 3.30221 12.675 3.675 12.675L11.325 12.675L11.325 20.325C11.325 20.6978 11.6272 21 12 21ZM20.325 12.675L13.575 12.675L13.575 11.325L20.325 11.325C20.6978 11.325 21 11.6273 21 12C21 12.3728 20.6978 12.675 20.325 12.675Z",fill:"rgb(255,255,255)","fill-opacity":"0.800000012","fill-rule":"evenodd"},null,-1),e.createElementVNode("path",{id:"合并",d:"M12.675 20.325C12.675 20.6978 12.3728 21 12 21C11.6272 21 11.325 20.6978 11.325 20.325L11.325 12.675L3.675 12.675C3.30221 12.675 3 12.3728 3 12C3 11.6273 3.30221 11.325 3.675 11.325L11.325 11.325L11.325 3.675C11.325 3.30221 11.6272 3 12 3C12.3728 3 12.675 3.30221 12.675 3.675L12.675 20.325ZM20.325 12.675L13.575 12.675L13.575 11.325L20.325 11.325C20.6978 11.325 21 11.6273 21 12C21 12.3728 20.6978 12.675 20.325 12.675Z",fill:"rgb(151,151,151)","fill-opacity":"0","fill-rule":"evenodd"},null,-1)])])}const GF={name:"user-center-icon-add-dark",render:XF},QF={viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"24.000000",height:"24.000000",fill:"none",customFrame:"#000000"},YF=["id"],WF=["customFrame"];function KF(r,t){return e.openBlock(),e.createElementBlock("svg",QF,[e.createElementVNode("defs",null,[e.createElementVNode("clipPath",{id:r.idMap.clipPath_0},[...t[0]||(t[0]=[e.createElementVNode("rect",{width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000",fill:"rgb(255,255,255)"},null,-1)])],8,YF)]),t[2]||(t[2]=e.createElementVNode("rect",{id:"减号",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1)),e.createElementVNode("g",{id:"减号",customFrame:"url(#"+r.idMap.clipPath_0+")"},[...t[1]||(t[1]=[e.createElementVNode("rect",{id:"减号",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000"},null,-1),e.createElementVNode("g",{id:"编组 32"},[e.createElementVNode("rect",{id:"矩形",width:"24.000000",height:"24.000000",x:"0.000000",y:"0.000000",fill:"rgb(216,216,216)","fill-opacity":"0"}),e.createElementVNode("path",{id:"路径",d:"M3.60792 11.3212L3.72146 11.3119L20.2763 11.2881C20.6629 11.2875 20.9767 11.6005 20.9773 11.9871C20.9778 12.335 20.7244 12.624 20.3918 12.6788L20.2783 12.6881L3.72347 12.7119C3.33687 12.7124 3.02302 12.3995 3.02246 12.0129C3.02196 11.6649 3.2754 11.3759 3.60792 11.3212Z",fill:"rgb(255,255,255)","fill-opacity":"0.800000012","fill-rule":"evenodd"})],-1)])],8,WF)])}const JF={name:"user-center-icon-minus-dark",render:KF,data(){return{idMap:{clipPath_0:"uicons-"+Math.random().toString(36).substr(2,10)}}}},ZF={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function $F(r,t){return e.openBlock(),e.createElementBlock("svg",ZF,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.15",d:"M12 1c6.075 0 11 4.925 11 11s-4.925 11-11 11c-6.075 0-11-4.925-11-11s4.925-11 11-11zM12 3c-4.971 0-9 4.029-9 9s4.029 9 9 9c4.971 0 9-4.029 9-9s-4.029-9-9-9z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M12 1c6.075 0 11 4.925 11 11 0 0.552-0.448 1-1 1s-1-0.448-1-1c0-4.971-4.029-9-9-9-0.552 0-1-0.448-1-1s0.448-1 1-1z"},null,-1)])])}const eq={name:"user-center-icon-loading",render:$F},tq={class:"dlg-content"},nq={class:"dlg-avatar"},iq=["src"],rq={key:2,class:"upload-mask"},sq={key:0,class:"avatar-slider"},aq={class:"dlg-desc"},oq={key:0,class:"divider"},lq=2097152,Is=4,Os=1,Uc=.1,cq=e.defineComponent({__name:"OUploadAvatar",props:{avatar:{type:String,default:""},account:{type:String,default:""},avatarVisible:{type:Boolean,default:!1},username:{type:String,default:""},modifyPhoto:{type:Function,required:!0}},emits:["close"],setup(r,{emit:t}){const n=[".png",".jpg",".jpeg"],i=S.useMessage(null),{t:s}=be.useI18n(),{isLight:a}=Bn(),o=r,l=t,u=e.ref(!1),c=e.ref(""),d=e.ref(),f=e.ref(),g=e.ref(),v=e.ref(1),x=e.ref(1),p=e.ref(),m=e.ref(),b=e.ref(!1),C=e.ref(!1),E=e.ref(!1),w=e.ref(),P=e.ref(),{lePadV:T}=et.useScreen();e.watch(()=>o.avatarVisible,()=>{v.value=1,x.value=1,u.value=o.avatarVisible},{immediate:!0});const _=z=>{let Q=x.value;Q+z>Is?Q=Is:Q+z<Os?Q=Os:Q=z+Q,I(Q)},I=z=>{let Q=Array.isArray(z)?z[0]:z;Q>Is&&(Q=Is),Q<Os&&(Q=Os),f.value.getCroppedCanvas().toDataURL(`image/${P.value}`).split(",")[1]&&f.value.zoomTo(Q),x.value<Q&&(f.value.getCroppedCanvas().toDataURL(`image/${P.value}`).split(",")[1]||f.value.zoom(-.1)),x.value=Q,v.value=Q},D=(z,Q)=>new File([z],Q,{type:z.type}),B=(z,Q)=>{const X=z.split(","),j=X[0].match(/:(.*?);/)[1]||Q,R=window.atob(X[1]),U=new ArrayBuffer(R.length),K=new Uint8Array(U);for(let te=0;te<R.length;te++)K[te]=R.charCodeAt(te);return new Blob([U],{type:j})},N=async()=>{var z;try{b.value=!0;const Q=D(B((z=f.value)==null?void 0:z.getCroppedCanvas().toDataURL(`image/${P.value}`),`image/${w.value}`),p.value||`${o.account.charAt(0)}.${w.value}`);m.value=Q;const X=new FormData;X.append("file",m.value);const j=await o.modifyPhoto(X);i.success({content:s("common.SAVE_SUCCESS")}),(j==null?void 0:j.code)===200&&l("close",!0)}finally{b.value=!1}},M=z=>{const Q=[];return Array.from(z).forEach(X=>{p.value=X.name;const j=X.name.split(".");if(w.value=j[j.length-1].toLowerCase(),P.value=w.value==="jpg"?"jpeg":w.value,!n.includes(`.${P.value}`))return i.danger({content:s("common.ONLY_IMAGE")}),!1;if(v.value=0,x.value=0,!(X.size<lq))return i.danger({content:s("common.FILE_SIZE_EXCEED")}),!1;c.value=URL.createObjectURL(X),Q.push(X),e.nextTick(()=>{var R;(R=f.value)==null||R.destroy(),f.value=new Z0(g.value,{aspectRatio:1,guides:!1,cropBoxResizable:!1,center:!1,highlight:!1,background:!1,dragMode:"move",cropBoxMovable:!1,movable:!0,zoomOnWheel:!0,checkCrossOrigin:!0,viewMode:3,autoCropArea:1})})}),Promise.resolve(Q.map(X=>({id:X.name,name:X.name,file:X})))},O=z=>{z||(l("close",!1),E.value=!1)},F=z=>{C.value||(C.value=!0,setTimeout(()=>{C.value=!1},50),z.deltaY>0?v.value=-.1+v.value:v.value=.1+v.value,x.value=v.value)},q=z=>{v.value>3.9&&z.preventDefault(),window.addEventListener("wheel",F)},Y=()=>{const z=new Image;z.src=d.value+"?"+window.crypto.getRandomValues(new Uint32Array(2)).join(""),z.crossOrigin="anonymous",z.onload=()=>{const Q=document.createElement("canvas"),X=Q.getContext("2d"),j=z.width>z.height?z.height:z.width;Q.width=j,Q.height=j,X==null||X.drawImage(z,0,0,z.width,z.height),w.value=d.value.substring(d.value.lastIndexOf(".")+1).toLowerCase(),P.value=w.value==="jpg"?"jpeg":w.value;const R=Q.toDataURL("image/"+P.value),U=B(R,"image/"+w.value);window.URL=window.URL||window.webkitURL;let K=window.URL.createObjectURL(U);c.value=K;const te=D(B(R,"image/"+P.value),p.value||`${o.account.charAt(0)}.${w.value}`);m.value=te,E.value=!0}};return e.watch(()=>[o.avatar,o.avatarVisible],z=>{z&&(d.value=z[0],typeof window<"u"&&Y()),z[0]||(E.value=!0)},{immediate:!0}),e.watch(()=>g.value,z=>{var Q;z&&(f.value=new Z0(g.value,{aspectRatio:1,guides:!1,cropBoxResizable:!1,center:!1,highlight:!1,background:!1,dragMode:"move",cropBoxMovable:!1,movable:!0,zoomOnWheel:!0,checkCrossOrigin:!0,viewMode:3,autoCropArea:1}),(Q=g.value)==null||Q.addEventListener("zoom",q))}),e.onUnmounted(()=>{var z;(z=g.value)==null||z.removeEventListener("zoom",q),window.removeEventListener("wheel",F)}),(z,Q)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{visible:u.value,"onUpdate:visible":Q[3]||(Q[3]=X=>u.value=X),onChange:O,"main-class":"avatar-dialog"},{default:e.withCtx(()=>[e.createElementVNode("div",tq,[e.createElementVNode("div",nq,[E.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[r.avatar||c.value?(e.openBlock(),e.createElementBlock("img",{key:0,src:c.value,ref_key:"avatarRef",ref:g,class:"avatar-dlg"},null,8,iq)):(e.openBlock(),e.createBlock(ol,{key:1,name:r.username,"custom-size":200},null,8,["name"])),b.value?(e.openBlock(),e.createElementBlock("div",rq,[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(eq))]),_:1})])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0)]),c.value?(e.openBlock(),e.createElementBlock("div",sq,[e.createVNode(e.unref(S.OIcon),{class:"avatar-slider-btn",onClick:Q[0]||(Q[0]=X=>_(0-Uc))},{default:e.withCtx(()=>[e.unref(a)?(e.openBlock(),e.createBlock(e.unref(HF),{key:0})):(e.openBlock(),e.createBlock(e.unref(JF),{key:1}))]),_:1}),e.createVNode(e.unref(xt.ElSlider),{modelValue:v.value,"onUpdate:modelValue":Q[1]||(Q[1]=X=>v.value=X),class:"slider",size:"small",height:"2px","show-tooltip":!1,max:Is,min:Os,step:Uc,onInput:I},null,8,["modelValue"]),e.createVNode(e.unref(S.OIcon),{class:"avatar-slider-btn",onClick:Q[2]||(Q[2]=X=>_(Uc))},{default:e.withCtx(()=>[e.unref(a)?(e.openBlock(),e.createBlock(e.unref(qF),{key:0})):(e.openBlock(),e.createBlock(e.unref(GF),{key:1}))]),_:1})])):e.createCommentVNode("",!0),e.createElementVNode("p",aq,e.toDisplayString(e.unref(s)("common.UPLOAD_PIC_TIPS")),1),e.createElementVNode("div",{class:e.normalizeClass(["dlg-btn",{"dlg-btn-pad":e.unref(T)}])},[e.createVNode(e.unref(S.OButton),{round:"pill",size:"large",disabled:!r.avatar&&!c.value,color:"primary",variant:"solid",loading:b.value,onClick:N},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("common.SAVE_AVATAR")),1)]),_:1},8,["disabled","loading"]),e.unref(T)?(e.openBlock(),e.createElementBlock("div",oq)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OUpload),{accept:".jpg,.png","lazy-upload":!0,"on-after-select":M},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OButton),{round:"pill",size:"large",color:"primary",variant:"outline"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(s)("common.SELECT_PHOTO")),1)]),_:1})]),_:1})],2)])]),_:1},8,["visible"]))}}),uq=be._export_sfc(cq,[["__scopeId","data-v-a210638d"]]),dq={class:"header"},hq={class:"form-wrapper"},fq={class:"dlg-action"},pq=e.defineComponent({__name:"OEditOrgDialog",props:{isEditOrgDialog:{type:Boolean,default:!1},orgName:{type:String,default:""},orgLabel:{type:String,default:""},orgPlaceholder:{type:String,default:""},modifyUser:{type:Function,required:!0}},emits:["closeEditOrgDialog","refresh"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=S.useMessage(null),s=e.ref(),a=e.reactive({company:""}),o=e.ref(""),l=t,u=r,{isEditOrgDialog:c,orgName:d}=e.toRefs(u),f=e.computed(()=>u.orgLabel||n("common.ORGANIZATION")),g=e.computed(()=>u.orgPlaceholder||n("common.INPUT_ORG")),v=Ng(n),x=C=>{C&&$n(C).subscribe(E=>{if(E){const w={company:a.company};u.modifyUser(w).then(()=>{i.success({content:n("common.MODIFY_SUCCESS")}),l("refresh"),b(),l("closeEditOrgDialog",!1)})}})},p=()=>{b(),l("closeEditOrgDialog",!1)},m=C=>{C?(a.company=d.value,o.value=d.value):b(),l("closeEditOrgDialog",C)},b=()=>{a.company=""};return e.watch(c,C=>{C&&(a.company=d.value)}),(C,E)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{class:"edit-org-dialog","mask-close":!1,visible:e.unref(c),onChange:m,style:{"--dlg-width":"480px"}},{header:e.withCtx(()=>[e.createElementVNode("span",dq,e.toDisplayString(f.value),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",fq,[e.createVNode(e.unref(S.OButton),{variant:"text",onClick:p},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1}),E[3]||(E[3]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createVNode(e.unref(S.OButton),{color:"primary",variant:"text",onClick:E[2]||(E[2]=w=>x(s.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",hq,[e.createVNode(e.unref(S.OForm),{class:"form",ref_key:"formRef",ref:s,"label-width":"0","label-align":"top",onSubmit:E[1]||(E[1]=e.withModifiers(()=>{},["prevent"])),model:a},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OFormItem),{field:"company",rules:e.unref(v)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:a.company,"onUpdate:modelValue":E[0]||(E[0]=w=>a.company=w),modelModifiers:{trim:!0},placeholder:g.value,class:"form-input",size:"large"},null,8,["modelValue","placeholder"])]),_:1},8,["rules"])]),_:1},8,["model"])])]),_:1},8,["visible"]))}}),mq=be._export_sfc(pq,[["__scopeId","data-v-c80acfc8"]]),gq={class:"header"},vq={class:"form-wrapper"},yq={class:"dlg-action"},xq=e.defineComponent({__name:"OEditNicknameDialog",props:{isEditNicknameDialog:{type:Boolean,default:!1},nickName:{type:String,default:""},modifyUser:{type:Function,required:!0}},emits:["closeEditNicknameDialog","refresh"],setup(r,{emit:t}){const{t:n}=be.useI18n(),i=S.useMessage(null),s=e.ref(),a=e.reactive({nickname:""}),o=t,l=r,{isEditNicknameDialog:u,nickName:c}=e.toRefs(l),d=Ig(n),f=p=>{p&&$n(p).subscribe(m=>{if(m){const b={nickname:a.nickname.trim()};l.modifyUser(b).then(()=>{i.success({content:n("common.MODIFY_SUCCESS")}),o("refresh"),x(),o("closeEditNicknameDialog",!1)})}})},g=()=>{x(),o("closeEditNicknameDialog",!1)},v=p=>{p?a.nickname=c.value:x(),o("closeEditNicknameDialog",p)},x=()=>{a.nickname=""};return e.watch(u,p=>{p&&(a.nickname=c.value)}),(p,m)=>(e.openBlock(),e.createBlock(e.unref(S.ODialog),{class:"edit-nickname-dialog","mask-close":!1,visible:e.unref(u),onChange:v,style:{"--dlg-width":"480px"}},{header:e.withCtx(()=>[e.createElementVNode("span",gq,e.toDisplayString(e.unref(n)("common.nickName")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",yq,[e.createVNode(e.unref(S.OButton),{variant:"text",onClick:g},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CANCEL")),1)]),_:1}),m[3]||(m[3]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createVNode(e.unref(S.OButton),{color:"primary",variant:"text",onClick:m[2]||(m[2]=b=>f(s.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(n)("common.CONFIRM")),1)]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",vq,[e.createVNode(e.unref(S.OForm),{class:"form",ref_key:"formRef",ref:s,"label-width":"0","label-align":"top",onSubmit:m[1]||(m[1]=e.withModifiers(()=>{},["prevent"])),model:a},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OFormItem),{field:"nickname",rules:e.unref(d)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:a.nickname,"onUpdate:modelValue":m[0]||(m[0]=b=>a.nickname=b),modelModifiers:{trim:!0},placeholder:e.unref(n)("common.ENTER_NICKNAME"),class:"form-input",size:"large"},null,8,["modelValue","placeholder"])]),_:1},8,["rules"])]),_:1},8,["model"])])]),_:1},8,["visible"]))}}),Cq=be._export_sfc(xq,[["__scopeId","data-v-2c3dc788"]]),bq={key:0,class:"info-title"},Eq={class:"common-item"},Aq={class:"common-item"},kq={key:0,class:"common-item"},_q={key:1,class:"common-item"},Tq={key:2,class:"common-item"},wq={key:3,class:"common-item"},Sq={key:4,class:"btn"},Dq={key:1,class:"avatar"},Bq=["src"],Vq={key:2,class:"avatar"},Nq=["src"],Iq={class:"username"},Oq={key:1,class:"brief-info"},Pq={key:0,class:"common-item"},Lq={class:"org-input"},Mq={key:1,class:"input-org"},Rq={class:"org-name"},Fq=["src"],qq={key:1,class:"common-item"},zq={class:"label-role"},Uq={class:"popover-content-tips"},Hq={class:"blob"},jq={class:"org-input"},Xq={key:0,class:"common-value"},Gq={key:1,class:"common-value"},Qq={key:2,class:"common-item"},Yq={class:"org-input"},Wq={key:1,class:"input-org"},Kq={class:"org-name"},Jq=["src"],Zq={key:3,class:"common-item"},$q={class:"org-input"},ez={class:"common-value"},tz={key:4,class:"btn"},nz=e.defineComponent({__name:"OUserInfo",props:{isAside:{type:Boolean,default:!1},userInfo:{},username:{default:""},photo:{default:""},rolesList:{default:()=>[]},modifyUser:{},modifyPhoto:{},orgLabel:{default:""},orgPlaceholder:{default:""},rolesMap:{},showBriefInfo:{type:Boolean,default:!0}},emits:["refresh"],setup(r,{emit:t}){const n=S.useMessage(null),{lePadV:i}=et.useScreen(),{isLight:s}=Bn(),a=r,o=t,{t:l,locale:u}=be.useI18n(),c=e.computed(()=>a.orgLabel||l("common.ORGANIZATION")),d=e.computed(()=>a.orgPlaceholder||l("common.INPUT_ORG")),f=e.computed(()=>a.rolesMap??UR),g=e.computed(()=>Array.from(f.value.values())),v=e.ref(""),x=e.ref(""),p=e.ref(!1),m=Ng(l),b=Ig(l),C=e.ref(),E=e.reactive({username:"",nickname:"",company:"",signedUp:""}),w=z=>{const Q=new Date(z),X=Q.getFullYear(),j=Q.getMonth()+1,R=Q.getDate();return`${X}-${String(j).padStart(2,"0")}-${String(R).padStart(2,"0")}`},P=()=>{a.userInfo&&(Object.keys(E).forEach(z=>{z in a.userInfo&&(z==="signedUp"?E[z]=w(a.userInfo[z]):E[z]=a.userInfo[z]||"")}),v.value=a.userInfo.company||"",x.value=a.userInfo.company||"")};e.watch(()=>a.userInfo,()=>{P()},{immediate:!0}),e.onMounted(()=>{P()});const T=z=>a.modifyUser(z),_=z=>{$n(z).subscribe(Q=>{if(Q){const X={nickname:E.nickname.trim(),company:E.company};if(E.nickname===a.userInfo.nickname&&delete X.nickname,E.company===a.userInfo.company&&delete X.company,Object.keys(X).length===0)return;T(X).then(()=>{n.success({content:l("common.MODIFY_SUCCESS")}),o("refresh")})}})},I=e.ref(!1),D=()=>{I.value=!0},B=e.ref(0),N=async z=>{I.value=!1,z&&o("refresh"),B.value=B.value+1},M=()=>{p.value=!0},O=z=>{p.value=z},F=e.ref(!1),q=()=>{F.value=!0},Y=z=>{F.value=z};return(z,Q)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",bq,[e.createElementVNode("div",{class:e.normalizeClass(["title",{"title-pad":e.unref(i)}])},e.toDisplayString(e.unref(l)("common.personInfo")),3),e.createElementVNode("div",{class:e.normalizeClass(["title-desc",{"title-desc-pad":e.unref(i)}])},e.toDisplayString(e.unref(l)("common.personInfoDesc")),3)])),e.createElementVNode("div",null,[e.createVNode(e.unref(S.OSkeleton),{animation:!0,loading:r.userInfo.loading},{template:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass({"aside-userinfo":r.isAside})},[e.createElementVNode("div",Eq,[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.userAvatar")),3)),e.createVNode(e.unref(S.OSkeletonAvatar),{style:{"--skeleton-width":"72px","--skeleton-height":"72px"}})]),e.createElementVNode("div",Aq,[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.username")),3)),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})]),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",kq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.nickName")),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",_q,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.ROLES")),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Tq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(c.value),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",wq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.registerTiem")),3),e.createVNode(e.unref(S.OSkeletonText),{rows:1,class:"form-input skeleton-text"})])),!r.isAside&&!e.unref(i)?(e.openBlock(),e.createElementBlock("div",Sq,[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("common.saveBtn")),1)]),_:1})])):e.createCommentVNode("",!0)],2)]),default:e.withCtx(()=>[r.userInfo.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"aside-userinfo":r.isAside,"userinfo-pad":e.unref(i)&&r.isAside,"userinfo-settings-pad":e.unref(i)})},[e.createVNode(e.unref(S.OForm),{ref_key:"formRef",ref:C,model:E,onSubmit:Q[3]||(Q[3]=e.withModifiers(()=>{},["prevent"]))},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["common-item user-avatar",{"aside-item":r.isAside}])},[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.userAvatar")),3)),r.photo?(e.openBlock(),e.createElementBlock("div",Vq,[e.createVNode(ol,{avatar:r.photo,onClick:D,name:r.username,"custom-size":e.unref(i)?32:72},null,8,["avatar","name","custom-size"]),e.unref(i)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.OIcon),{key:0,class:"avatar-img-mask",onClick:D},{default:e.withCtx(()=>[e.createVNode(e.unref(rp))]),_:1})),e.unref(i)&&!r.isAside?(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:D},null,8,Nq)):e.createCommentVNode("",!0)])):(e.openBlock(),e.createElementBlock("div",Dq,[e.createVNode(ol,{avatar:e.unref(HR),onClick:D,name:r.username,"custom-size":e.unref(i)?32:72},null,8,["avatar","name","custom-size"]),e.unref(i)?(e.openBlock(),e.createElementBlock("img",{key:1,src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:D},null,8,Bq)):(e.openBlock(),e.createBlock(e.unref(S.OIcon),{key:0,class:"avatar-img-mask",onClick:D},{default:e.withCtx(()=>[e.createVNode(e.unref(rp))]),_:1}))]))],2),e.createElementVNode("div",{class:e.normalizeClass(["common-item",{"aside-item":r.isAside}])},[r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.username")),3)),e.createElementVNode("div",Iq,e.toDisplayString(r.username),1),r.isAside&&r.showBriefInfo?(e.openBlock(),e.createElementBlock("div",Oq,e.toDisplayString(E.nickname||e.unref(l)("common.NO_NICKNAME"))+" · "+e.toDisplayString(E.company||e.unref(l)("common.NO_COMPANY")),1)):e.createCommentVNode("",!0)],2),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Pq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.nickName")),3),e.createElementVNode("div",Lq,[e.unref(i)?(e.openBlock(),e.createElementBlock("div",Mq,[e.createElementVNode("div",Rq,e.toDisplayString(E.nickname||e.unref(l)("common.ENTER_NICKNAME")),1),e.createElementVNode("img",{src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:q},null,8,Fq)])):(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:0,field:"nickname",rules:e.unref(b)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:E.nickname,"onUpdate:modelValue":Q[0]||(Q[0]=X=>E.nickname=X),modelModifiers:{trim:!0},placeholder:e.unref(l)("common.ENTER_NICKNAME")},null,8,["modelValue","placeholder"])]),_:1},8,["rules"]))])])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",qq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},[e.createElementVNode("div",zq,[e.createElementVNode("p",null,e.toDisplayString(e.unref(l)("common.ROLES")),1),e.createVNode(e.unref(S.OPopover),{position:"right"},{target:e.withCtx(()=>[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(YR))]),_:1})]),default:e.withCtx(()=>[e.createElementVNode("div",Uq,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,X=>(e.openBlock(),e.createElementBlock("div",{key:X.id,class:"item-tips"},[e.createElementVNode("span",Hq,e.toDisplayString(X.name+":"),1),e.createTextVNode(" "+e.toDisplayString(X.desc),1)]))),128))])]),_:1})])],2),e.createElementVNode("div",jq,[r.rolesList.length?(e.openBlock(),e.createElementBlock("div",Xq,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.rolesList,(X,j)=>{var R;return e.openBlock(),e.createElementBlock("span",{key:X},e.toDisplayString((R=f.value.get(X))==null?void 0:R.name)+e.toDisplayString(j!==r.rolesList.length-1?"、":""),1)}),128))])):(e.openBlock(),e.createElementBlock("div",Gq,e.toDisplayString(e.unref(l)("common.EMPTY_ROLES")),1))])])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Qq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(c.value),3),e.createElementVNode("div",Yq,[e.unref(i)?(e.openBlock(),e.createElementBlock("div",Wq,[e.createElementVNode("div",Kq,e.toDisplayString(E.company||d.value),1),e.createElementVNode("img",{src:e.unref(s)?e.unref(Kn):e.unref(Jn),alt:"",onClick:M},null,8,Jq)])):(e.openBlock(),e.createBlock(e.unref(S.OFormItem),{key:0,field:"company",rules:e.unref(m)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OInput),{modelValue:E.company,"onUpdate:modelValue":Q[1]||(Q[1]=X=>E.company=X),modelModifiers:{trim:!0},placeholder:d.value},null,8,["modelValue","placeholder"])]),_:1},8,["rules"]))])])),r.isAside?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Zq,[e.createElementVNode("div",{class:e.normalizeClass({"common-label":e.unref(u)==="zh","common-label-en":e.unref(u)==="en"})},e.toDisplayString(e.unref(l)("common.registerTiem")),3),e.createElementVNode("div",$q,[e.createElementVNode("div",ez,e.toDisplayString(E.signedUp),1)])])),!r.isAside&&!e.unref(i)?(e.openBlock(),e.createElementBlock("div",tz,[e.createVNode(e.unref(S.OButton),{size:"large",color:"primary",variant:"solid",type:"submit",onClick:Q[2]||(Q[2]=X=>_(C.value))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(l)("common.saveBtn")),1)]),_:1})])):e.createCommentVNode("",!0)]),_:1},8,["model"])],2))]),_:1},8,["loading"])]),(e.openBlock(),e.createBlock(uq,{"avatar-visible":I.value,avatar:r.photo,account:"account",username:r.username,"modify-photo":r.modifyPhoto,key:B.value,onClose:N},null,8,["avatar-visible","avatar","username","modify-photo"])),e.createVNode(mq,{"is-edit-org-dialog":p.value,"org-name":v.value,"org-label":c.value,"org-placeholder":d.value,"modify-user":r.modifyUser,onCloseEditOrgDialog:O,onRefresh:Q[4]||(Q[4]=X=>o("refresh"))},null,8,["is-edit-org-dialog","org-name","org-label","org-placeholder","modify-user"]),e.createVNode(Cq,{"is-edit-nickname-dialog":F.value,"nick-name":E.nickname,"modify-user":r.modifyUser,onCloseEditNicknameDialog:Y,onRefresh:Q[5]||(Q[5]=X=>o("refresh"))},null,8,["is-edit-nickname-dialog","nick-name","modify-user"])],64))}}),bp=be._export_sfc(nz,[["__scopeId","data-v-8f2e1e53"]]),iz=Object.assign(W1,{install(r){r.component("OAccountSecurity",W1)}}),rz=Object.assign(K1,{install(r){r.component("OAccountSetting",K1)}}),sz=Object.assign(J1,{install(r){r.component("OAppHeader",J1)}}),az=Object.assign(Z1,{install(r){r.component("OAsideBar",Z1)}}),oz=Object.assign($1,{install(r){r.component("OLayout",$1)}}),lz=Object.assign(ep,{install(r){r.component("OTheAccountManage",ep)}}),cz=Object.assign(tp,{install(r){r.component("OTheCreateMeeting",tp)}}),uz=Object.assign(np,{install(r){r.component("OTheMeeting",np)}}),dz=Object.assign(ip,{install(r){r.component("OThirdPartyBindings",ip)}}),hz=Object.assign(bp,{install(r){r.component("OUserInfo",bp)}}),fz={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function pz(r,t){return e.openBlock(),e.createElementBlock("svg",fz,[...t[0]||(t[0]=[e.createElementVNode("path",{fill:"currentColor",d:"M16.923 1.951l-13.5 0.653c-0.853 0.041-1.522 0.745-1.522 1.598v15.595c0 0.853 0.67 1.557 1.522 1.598l13.577 0.655c0.884 0 1.6-0.716 1.6-1.6v-16.901l-0.002-0.063c-0.044-0.897-0.794-1.578-1.676-1.535zM16.981 3.15c0.22-0.011 0.408 0.16 0.418 0.38l0.001 16.92c0 0.193-0.137 0.355-0.319 0.392l-0.090 0.008-13.51-0.653c-0.213-0.010-0.381-0.186-0.381-0.4v-15.595c0-0.214 0.167-0.389 0.381-0.4l13.5-0.653z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M20.373 3.488c0.881-0.070 1.651 0.587 1.722 1.469l0.005 0.127v13.835c0 0.884-0.716 1.6-1.6 1.6l-0.126-0.005-0.427-0.034c-0.33-0.026-0.577-0.315-0.551-0.645s0.315-0.577 0.645-0.551l0.458 0.034c0.221 0 0.4-0.179 0.4-0.4v-13.835l-0.001-0.031c-0.017-0.221-0.21-0.385-0.431-0.367l-0.402 0.032c-0.33 0.026-0.619-0.22-0.646-0.55s0.22-0.62 0.55-0.646l0.402-0.032z"},null,-1),e.createElementVNode("path",{fill:"currentColor",d:"M14.515 11.311l-5.823-4.205c-0.145-0.104-0.319-0.161-0.498-0.161-0.469 0-0.85 0.38-0.85 0.85v8.411c0 0.178 0.056 0.352 0.161 0.498 0.274 0.38 0.806 0.466 1.186 0.191l5.823-4.205c0.073-0.053 0.138-0.118 0.191-0.191 0.274-0.38 0.189-0.912-0.191-1.187zM13.42 11.999l-4.876 3.522v-7.044l4.876 3.522z"},null,-1)])])}const Ep={name:"video-icon-video",render:pz},mz={version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"};function gz(r,t){return e.openBlock(),e.createElementBlock("svg",mz,[...t[0]||(t[0]=[e.createElementVNode("path",{opacity:"0.8",fill:"#000",d:"M15.683 2.792l0.098 0.090 3.963 4.192c0.143 0.151 0.233 0.343 0.259 0.546l0.008 0.124v6.787c0 0.387-0.313 0.7-0.7 0.7-0.354 0-0.647-0.263-0.694-0.605l-0.006-0.095-0-6.301h-2.138c-0.999 0-1.818-0.772-1.894-1.752l-0.006-0.148v-2.352l-8.782 0.013c-0.194 0-0.355 0.138-0.392 0.32l-0.008 0.081v15.233c0 0.194 0.138 0.355 0.321 0.392l12.5-0.010c0.194-0 0.355-0.138 0.392-0.32l0.008-0.081v-2.446c0-0.387 0.313-0.7 0.7-0.7 0.354 0 0.647 0.263 0.694 0.605l0.006 0.095v2.446c0 0.944-0.726 1.719-1.651 1.795l-12.566 0.024c-0.945 0.001-1.721-0.725-1.797-1.652l-0.006-0.148v-15.234c0-0.944 0.726-1.718 1.651-1.795l9.431-0.019c0.223 0 0.439 0.076 0.611 0.215zM17.587 6.829l-1.614-1.708v1.208c0 0.245 0.177 0.45 0.41 0.492l0.090 0.008h1.114zM12.705 7.966c0-0.387-0.313-0.7-0.7-0.7h-3.441l-0.095 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7h3.441l0.095-0.006c0.342-0.046 0.605-0.339 0.605-0.694zM16.137 12c0-0.387-0.313-0.7-0.7-0.7l-6.968 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7l6.968-0.006c0.342-0.046 0.605-0.339 0.605-0.694zM16.137 16.035c0-0.387-0.313-0.7-0.7-0.7l-6.968 0.006c-0.342 0.046-0.605 0.339-0.605 0.694 0 0.387 0.313 0.7 0.7 0.7l6.968-0.006c0.342-0.046 0.605-0.339 0.605-0.694z"},null,-1)])])}const vz={name:"video-icon-material",render:gz},yz={class:"o-video-detail-content-wrapper"},xz={class:"o-video-card-item-header"},Cz={class:"o-video-card-item-content o-video-info-desc"},bz={class:"o-video-card-item-content-font"},Ez={class:"o-video-card-item-header"},Az={class:"o-video-card-item-header-title"},kz=["title"],_z={class:"o-video-course-main-header"},Tz=["src"],wz={class:"o-video-course-info-wrapper"},Sz={class:"o-video-course-info-title"},Dz={class:"o-video-course-info-avatar"},Bz={class:"o-video-info-detail-wrapper"},Vz={class:"o-video-info-detail-name"},Nz={class:"o-video-info-detail-position"},Iz={class:"o-video-course-info-content-title"},Oz={class:"o-video-course-info-content"},Pz={class:"o-video-material-download-wrapper"},Lz={class:"o-video-material-download-info"},Mz={class:"o-video-material-download-tip"},Rz={key:0,class:"o-video-material-download-size"},Fz={class:"o-video-dlg-title"},qz={class:"o-video-dlg-body"},Ap=e.defineComponent({__name:"OVideoDetail",props:{data:{},layout:{}},setup(r){var c,d,f;const t=r,{lePadV:n}=et.useScreen(),{t:i}=be.useI18n(),s=e.ref(((f=(d=(c=t.data)==null?void 0:c.courseList)==null?void 0:d[0])==null?void 0:f.link)||""),a=e.computed(()=>{var g,v;return(v=(g=t.data)==null?void 0:g.courseList)==null?void 0:v.find(x=>x.link===s.value)}),o=e.computed(()=>{var g,v;return(((v=(g=t.data)==null?void 0:g.courseList)==null?void 0:v.length)||0)>1}),l=e.ref(!1),u=g=>{l.value=g};return(g,v)=>{var x;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",yz,[e.createVNode(e.unref(S.OCard),{class:"o-video-card-item",style:e.normalizeStyle({"--video-banner-url":(x=t.data)!=null&&x.banner?`url(${t.data.banner})`:"none"})},{header:e.withCtx(()=>{var p;return[e.createElementVNode("div",xz,e.toDisplayString((p=t.data)==null?void 0:p.title),1)]}),footer:e.withCtx(()=>{var p,m,b,C;return[e.createElementVNode("div",Cz,[(p=t.data)!=null&&p.editorName?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("span",bz,e.toDisplayString(e.unref(i)("video.editor"))+" "+e.toDisplayString((m=t.data)==null?void 0:m.editorName)+"("+e.toDisplayString((b=t.data)==null?void 0:b.editorEmail)+") ",1),e.createVNode(e.unref(S.ODivider),{direction:"v"})],64)):e.createCommentVNode("",!0),e.createElementVNode("span",null,e.toDisplayString(e.unref(i)("video.lastUpdated"))+" "+e.toDisplayString((C=t.data)==null?void 0:C.lastUpdated),1)])]}),_:1},8,["style"]),e.createElementVNode("div",{class:e.normalizeClass(["o-video-card-video-list",[`o-video-card-video-list--${t.layout||"horizontal"}`,{"o-video-card-video-list--no-menu":!o.value}]])},[o.value?(e.openBlock(),e.createBlock(e.unref(S.OCard),{key:0,class:"o-video-course-menu-card"},{header:e.withCtx(()=>{var p,m;return[e.createElementVNode("div",Ez,[e.createElementVNode("div",Az,e.toDisplayString(e.unref(i)("video.sessionList")),1),e.createElementVNode("div",{class:"o-video-card-item-header-menu-wrapper",onClick:v[0]||(v[0]=b=>u(!0))},[e.createElementVNode("div",{class:"o-video-card-item-header-menu",title:(p=a.value)==null?void 0:p.title},e.toDisplayString((m=a.value)==null?void 0:m.title),9,kz),e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(_r))]),_:1})])])]}),default:e.withCtx(()=>[e.createVNode(e.unref(S.OScroller),{"disabled-x":"","show-type":"always",size:"small",class:"o-video-video-scroller"},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OMenu),{modelValue:s.value,"onUpdate:modelValue":v[1]||(v[1]=p=>s.value=p)},{default:e.withCtx(()=>{var p;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.data)==null?void 0:p.courseList,m=>(e.openBlock(),e.createBlock(e.unref(S.OMenuItem),{key:m.id,value:m.link,title:m.title},{icon:e.withCtx(()=>[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ep))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(m.title),1)]),_:2},1032,["value","title"]))),128))]}),_:1},8,["modelValue"])]),_:1})]),_:1})):e.createCommentVNode("",!0),e.createVNode(e.unref(S.OCard),{class:"o-video-course-video-card"},{header:e.withCtx(()=>{var p;return[e.createElementVNode("div",_z,e.toDisplayString((p=a.value)==null?void 0:p.title),1)]}),default:e.withCtx(()=>[e.createElementVNode("video",{controls:"",muted:"",preload:"auto",class:"o-video-video-player",src:s.value},null,8,Tz)]),_:1}),e.createVNode(e.unref(S.OCard),{class:"o-video-course-info-card"},e.createSlots({default:e.withCtx(()=>{var p,m,b,C;return[e.createElementVNode("div",wz,[e.createElementVNode("div",Sz,e.toDisplayString(e.unref(i)("video.featuredSpeaker")),1),e.createElementVNode("div",Dz,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=a.value)==null?void 0:p.speakers,E=>(e.openBlock(),e.createElementBlock("div",{key:E.id,class:"o-video-course-info-avatar-item"},[e.createVNode(N0,{name:E.name,src:E.image,style:{width:"var(--avatar-size)",height:"var(--avatar-size)"}},null,8,["name","src"]),e.createElementVNode("div",Bz,[e.createElementVNode("div",Vz,e.toDisplayString(E.name),1),e.createElementVNode("div",Nz,e.toDisplayString(E.title),1)])]))),128))]),e.createElementVNode("div",Iz,e.toDisplayString(e.unref(i)("video.abstract")),1),e.createElementVNode("div",Oz,e.toDisplayString((m=a.value)==null?void 0:m.description),1),e.createElementVNode("div",Pz,[e.createElementVNode("div",Lz,[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(vz))]),_:1}),e.createElementVNode("div",Mz,e.toDisplayString(e.unref(i)("video.downloadCourseware")),1),(b=a.value)!=null&&b.materialSize?(e.openBlock(),e.createElementBlock("span",Rz,e.toDisplayString(a.value.materialSize),1)):e.createCommentVNode("",!0)]),e.createVNode(e.unref(S.OLink),{color:"primary",target:"_self",href:(C=a.value)==null?void 0:C.material},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(i)("video.download")),1)]),_:1},8,["href"])])])]}),_:2},[r.layout==="vertical"?{name:"header",fn:e.withCtx(()=>[v[6]||(v[6]=e.createElementVNode("div",{class:"o-video-card-item-header"},e.toDisplayString("视频介绍材料"),-1))]),key:"0"}:void 0]),1024)],2)]),e.createVNode(e.unref(S.ODialog),{visible:l.value,"onUpdate:visible":v[5]||(v[5]=p=>l.value=p),"phone-half-full":e.unref(n),scrollbar:!0,class:"o-video-courses-dialog-mb"},{header:e.withCtx(()=>[e.createElementVNode("p",Fz,e.toDisplayString(e.unref(i)("video.sessionList")),1)]),footer:e.withCtx(()=>[e.createElementVNode("div",{class:"o-video-dlg-action",onClick:v[4]||(v[4]=p=>u(!1)),style:{cursor:"pointer"}},e.toDisplayString(e.unref(i)("video.cancel")),1)]),default:e.withCtx(()=>[e.createElementVNode("div",qz,[e.createVNode(e.unref(S.OScroller),{"disabled-x":"","show-type":"always",size:"small",class:"o-video-video-scroller"},{default:e.withCtx(()=>[e.createVNode(e.unref(S.OMenu),{modelValue:s.value,"onUpdate:modelValue":v[3]||(v[3]=p=>s.value=p)},{default:e.withCtx(()=>{var p;return[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList((p=t.data)==null?void 0:p.courseList,m=>(e.openBlock(),e.createBlock(e.unref(S.OMenuItem),{key:m.id,value:m.link,title:m.title,onClick:v[2]||(v[2]=b=>u(!1))},{icon:e.withCtx(()=>[e.createVNode(e.unref(S.OIcon),null,{default:e.withCtx(()=>[e.createVNode(e.unref(Ep))]),_:1})]),default:e.withCtx(()=>[e.createTextVNode(" "+e.toDisplayString(m.title),1)]),_:2},1032,["value","title"]))),128))]}),_:1},8,["modelValue"])]),_:1})])]),_:1},8,["visible","phone-half-full"])],64)}}}),zz=Object.assign(Ap,{install(r){r.component("OVideoDetail",Ap)}});exports.OElCookieNotice=be.OElCookieNotice;exports.CalendarDataType=ze;exports.EventsStatusT=Ci;exports.MeetingGroupType=en;exports.NavType=tr;exports.OAccountSecurity=iz;exports.OAccountSetting=rz;exports.OActivityApproval=EA;exports.OActivityForm=bA;exports.OActivityMyCalendar=gg;exports.OAppHeader=sz;exports.OAsideBar=az;exports.OBanner=IA;exports.OBannerContent=OA;exports.OCookieNotice=hk;exports.OEmpty=vk;exports.OEventsApply=T_;exports.OEventsCalendar=k_;exports.OEventsList=__;exports.OFeedbackDoc=F_;exports.OFeedbackDocContent=q_;exports.OFeedbackDocDialog=z_;exports.OFeedbackDocPopup=U_;exports.OFloatPoster=Q_;exports.OFooter=qT;exports.OHeader=kS;exports.OHeaderLanguageSwitcher=NS;exports.OHeaderMobile=_S;exports.OHeaderSearch=zD;exports.OHeaderSourceCode=QD;exports.OHeaderTheme=iB;exports.OHeaderUser=mB;exports.OLayout=oz;exports.OLogoSwiper=kB;exports.OLogoSwiperItems=_B;exports.OMeetingCalendar=BE;exports.OMeetingForm=VE;exports.OMeetingMinutes=PE;exports.OMeetingMinutesCopyDetail=ME;exports.OMeetingMyCalendar=OE;exports.OMeetingPlayback=NE;exports.OMeetingSendMinutesForm=LE;exports.OMeetingSigCalendar=IE;exports.OPlusConfigProvider=MA;exports.OSearchInput=OB;exports.OSection=zB;exports.OSigDetail=$N;exports.OSigList=ZN;exports.OSummit=qI;exports.OSummitIntro=zI;exports.OSummitLive=UI;exports.OSummitSchedule=HI;exports.OTheAccountManage=lz;exports.OTheCreateMeeting=cz;exports.OTheMeeting=uz;exports.OThirdPartyBindings=dz;exports.OUserInfo=hz;exports.OVideoDetail=zz;exports.createSvgIcon=gB;
|