@jctrans-materials/shared 1.0.40-beta.11 → 1.0.40-beta.12

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/index.cjs.js CHANGED
@@ -11,4 +11,4 @@
11
11
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
12
12
  * derived from CryptoJS.mode.CTR
13
13
  * Jan Hruby jhruby.web@gmail.com
14
- */return n.mode.CTRGladman=(function(){var r=n.lib.BlockCipherMode.extend();function a(h){if((h>>24&255)===255){var v=h>>16&255,i=h>>8&255,o=h&255;v===255?(v=0,i===255?(i=0,o===255?o=0:++o):++i):++v,h=0,h+=v<<16,h+=i<<8,h+=o}else h+=1<<24;return h}function f(h){return(h[0]=a(h[0]))===0&&(h[1]=a(h[1])),h}var A=r.Encryptor=r.extend({processBlock:function(h,v){var i=this._cipher,o=i.blockSize,B=this._iv,x=this._counter;B&&(x=this._counter=B.slice(0),this._iv=void 0),f(x);var u=x.slice(0);i.encryptBlock(u,0);for(var d=0;d<o;d++)h[v+d]^=u[d]}});return r.Decryptor=A,r})(),n.mode.CTRGladman})})(ce)),ce.exports}var fe={exports:{}},yi=fe.exports,Tr;function Ai(){return Tr||(Tr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(yi,function(n){return n.mode.OFB=(function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(f,A){var h=this._cipher,v=h.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),h.encryptBlock(o,0);for(var B=0;B<v;B++)f[A+B]^=o[B]}});return r.Decryptor=a,r})(),n.mode.OFB})})(fe)),fe.exports}var de={exports:{}},gi=de.exports,zr;function Ei(){return zr||(zr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(gi,function(n){return n.mode.ECB=(function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,f){this._cipher.encryptBlock(a,f)}}),r.Decryptor=r.extend({processBlock:function(a,f){this._cipher.decryptBlock(a,f)}}),r})(),n.mode.ECB})})(de)),de.exports}var ue={exports:{}},Fi=ue.exports,Hr;function Di(){return Hr||(Hr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(Fi,function(n){return n.pad.AnsiX923={pad:function(r,a){var f=r.sigBytes,A=a*4,h=A-f%A,v=f+h-1;r.clamp(),r.words[v>>>2]|=h<<24-v%4*8,r.sigBytes+=h},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})})(ue)),ue.exports}var he={exports:{}},_i=he.exports,Lr;function mi(){return Lr||(Lr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(_i,function(n){return n.pad.Iso10126={pad:function(r,a){var f=a*4,A=f-r.sigBytes%f;r.concat(n.lib.WordArray.random(A-1)).concat(n.lib.WordArray.create([A<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})})(he)),he.exports}var le={exports:{}},bi=le.exports,qr;function Ii(){return qr||(qr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(bi,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})})(le)),le.exports}var pe={exports:{}},wi=pe.exports,Nr;function ki(){return Nr||(Nr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(wi,function(n){return n.pad.ZeroPadding={pad:function(r,a){var f=a*4;r.clamp(),r.sigBytes+=f-(r.sigBytes%f||f)},unpad:function(r){for(var a=r.words,f=r.sigBytes-1,f=r.sigBytes-1;f>=0;f--)if(a[f>>>2]>>>24-f%4*8&255){r.sigBytes=f+1;break}}},n.pad.ZeroPadding})})(pe)),pe.exports}var ve={exports:{}},Si=ve.exports,Kr;function Pi(){return Kr||(Kr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(Si,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(ve)),ve.exports}var Ce={exports:{}},Ri=Ce.exports,Or;function Ti(){return Or||(Or=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(Ri,function(n){return(function(r){var a=n,f=a.lib,A=f.CipherParams,h=a.enc,v=h.Hex,i=a.format;i.Hex={stringify:function(o){return o.ciphertext.toString(v)},parse:function(o){var B=v.parse(o);return A.create({ciphertext:B})}}})(),n.format.Hex})})(Ce)),Ce.exports}var Be={exports:{}},zi=Be.exports,$r;function Hi(){return $r||($r=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(zi,function(n){return(function(){var r=n,a=r.lib,f=a.BlockCipher,A=r.algo,h=[],v=[],i=[],o=[],B=[],x=[],u=[],d=[],C=[],l=[];(function(){for(var c=[],p=0;p<256;p++)p<128?c[p]=p<<1:c[p]=p<<1^283;for(var D=0,F=0,p=0;p<256;p++){var _=F^F<<1^F<<2^F<<3^F<<4;_=_>>>8^_&255^99,h[D]=_,v[_]=D;var m=c[D],S=c[m],y=c[S],E=c[_]*257^_*16843008;i[D]=E<<24|E>>>8,o[D]=E<<16|E>>>16,B[D]=E<<8|E>>>24,x[D]=E;var E=y*16843009^S*65537^m*257^D*16843008;u[_]=E<<24|E>>>8,d[_]=E<<16|E>>>16,C[_]=E<<8|E>>>24,l[_]=E,D?(D=m^c[c[c[y^m]]],F^=c[c[F]]):D=F=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],s=A.AES=f.extend({_doReset:function(){var c;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var p=this._keyPriorReset=this._key,D=p.words,F=p.sigBytes/4,_=this._nRounds=F+6,m=(_+1)*4,S=this._keySchedule=[],y=0;y<m;y++)y<F?S[y]=D[y]:(c=S[y-1],y%F?F>6&&y%F==4&&(c=h[c>>>24]<<24|h[c>>>16&255]<<16|h[c>>>8&255]<<8|h[c&255]):(c=c<<8|c>>>24,c=h[c>>>24]<<24|h[c>>>16&255]<<16|h[c>>>8&255]<<8|h[c&255],c^=g[y/F|0]<<24),S[y]=S[y-F]^c);for(var E=this._invKeySchedule=[],I=0;I<m;I++){var y=m-I;if(I%4)var c=S[y];else var c=S[y-4];I<4||y<=4?E[I]=c:E[I]=u[h[c>>>24]]^d[h[c>>>16&255]]^C[h[c>>>8&255]]^l[h[c&255]]}}},encryptBlock:function(c,p){this._doCryptBlock(c,p,this._keySchedule,i,o,B,x,h)},decryptBlock:function(c,p){var D=c[p+1];c[p+1]=c[p+3],c[p+3]=D,this._doCryptBlock(c,p,this._invKeySchedule,u,d,C,l,v);var D=c[p+1];c[p+1]=c[p+3],c[p+3]=D},_doCryptBlock:function(c,p,D,F,_,m,S,y){for(var E=this._nRounds,I=c[p]^D[0],w=c[p+1]^D[1],z=c[p+2]^D[2],H=c[p+3]^D[3],L=4,M=1;M<E;M++){var O=F[I>>>24]^_[w>>>16&255]^m[z>>>8&255]^S[H&255]^D[L++],G=F[w>>>24]^_[z>>>16&255]^m[H>>>8&255]^S[I&255]^D[L++],$=F[z>>>24]^_[H>>>16&255]^m[I>>>8&255]^S[w&255]^D[L++],b=F[H>>>24]^_[I>>>16&255]^m[w>>>8&255]^S[z&255]^D[L++];I=O,w=G,z=$,H=b}var O=(y[I>>>24]<<24|y[w>>>16&255]<<16|y[z>>>8&255]<<8|y[H&255])^D[L++],G=(y[w>>>24]<<24|y[z>>>16&255]<<16|y[H>>>8&255]<<8|y[I&255])^D[L++],$=(y[z>>>24]<<24|y[H>>>16&255]<<16|y[I>>>8&255]<<8|y[w&255])^D[L++],b=(y[H>>>24]<<24|y[I>>>16&255]<<16|y[w>>>8&255]<<8|y[z&255])^D[L++];c[p]=O,c[p+1]=G,c[p+2]=$,c[p+3]=b},keySize:256/32});r.AES=f._createHelper(s)})(),n.AES})})(Be)),Be.exports}var ye={exports:{}},Li=ye.exports,Wr;function qi(){return Wr||(Wr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Li,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,A=a.BlockCipher,h=r.algo,v=[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],i=[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],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],B=[{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}],x=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=h.DES=A.extend({_doReset:function(){for(var g=this._key,s=g.words,c=[],p=0;p<56;p++){var D=v[p]-1;c[p]=s[D>>>5]>>>31-D%32&1}for(var F=this._subKeys=[],_=0;_<16;_++){for(var m=F[_]=[],S=o[_],p=0;p<24;p++)m[p/6|0]|=c[(i[p]-1+S)%28]<<31-p%6,m[4+(p/6|0)]|=c[28+(i[p+24]-1+S)%28]<<31-p%6;m[0]=m[0]<<1|m[0]>>>31;for(var p=1;p<7;p++)m[p]=m[p]>>>(p-1)*4+3;m[7]=m[7]<<5|m[7]>>>27}for(var y=this._invSubKeys=[],p=0;p<16;p++)y[p]=F[15-p]},encryptBlock:function(g,s){this._doCryptBlock(g,s,this._subKeys)},decryptBlock:function(g,s){this._doCryptBlock(g,s,this._invSubKeys)},_doCryptBlock:function(g,s,c){this._lBlock=g[s],this._rBlock=g[s+1],d.call(this,4,252645135),d.call(this,16,65535),C.call(this,2,858993459),C.call(this,8,16711935),d.call(this,1,1431655765);for(var p=0;p<16;p++){for(var D=c[p],F=this._lBlock,_=this._rBlock,m=0,S=0;S<8;S++)m|=B[S][((_^D[S])&x[S])>>>0];this._lBlock=_,this._rBlock=F^m}var y=this._lBlock;this._lBlock=this._rBlock,this._rBlock=y,d.call(this,1,1431655765),C.call(this,8,16711935),C.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),g[s]=this._lBlock,g[s+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(g,s){var c=(this._lBlock>>>g^this._rBlock)&s;this._rBlock^=c,this._lBlock^=c<<g}function C(g,s){var c=(this._rBlock>>>g^this._lBlock)&s;this._lBlock^=c,this._rBlock^=c<<g}r.DES=A._createHelper(u);var l=h.TripleDES=A.extend({_doReset:function(){var g=this._key,s=g.words;if(s.length!==2&&s.length!==4&&s.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var c=s.slice(0,2),p=s.length<4?s.slice(0,2):s.slice(2,4),D=s.length<6?s.slice(0,2):s.slice(4,6);this._des1=u.createEncryptor(f.create(c)),this._des2=u.createEncryptor(f.create(p)),this._des3=u.createEncryptor(f.create(D))},encryptBlock:function(g,s){this._des1.encryptBlock(g,s),this._des2.decryptBlock(g,s),this._des3.encryptBlock(g,s)},decryptBlock:function(g,s){this._des3.decryptBlock(g,s),this._des2.encryptBlock(g,s),this._des1.decryptBlock(g,s)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=A._createHelper(l)})(),n.TripleDES})})(ye)),ye.exports}var Ae={exports:{}},Ni=Ae.exports,Ur;function Ki(){return Ur||(Ur=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Ni,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,A=r.algo,h=A.RC4=f.extend({_doReset:function(){for(var o=this._key,B=o.words,x=o.sigBytes,u=this._S=[],d=0;d<256;d++)u[d]=d;for(var d=0,C=0;d<256;d++){var l=d%x,g=B[l>>>2]>>>24-l%4*8&255;C=(C+u[d]+g)%256;var s=u[d];u[d]=u[C],u[C]=s}this._i=this._j=0},_doProcessBlock:function(o,B){o[B]^=v.call(this)},keySize:256/32,ivSize:0});function v(){for(var o=this._S,B=this._i,x=this._j,u=0,d=0;d<4;d++){B=(B+1)%256,x=(x+o[B])%256;var C=o[B];o[B]=o[x],o[x]=C,u|=o[(o[B]+o[x])%256]<<24-d*8}return this._i=B,this._j=x,u}r.RC4=f._createHelper(h);var i=A.RC4Drop=h.extend({cfg:h.cfg.extend({drop:192}),_doReset:function(){h._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)v.call(this)}});r.RC4Drop=f._createHelper(i)})(),n.RC4})})(Ae)),Ae.exports}var ge={exports:{}},Oi=ge.exports,Gr;function $i(){return Gr||(Gr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Oi,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,A=r.algo,h=[],v=[],i=[],o=A.Rabbit=f.extend({_doReset:function(){for(var x=this._key.words,u=this.cfg.iv,d=0;d<4;d++)x[d]=(x[d]<<8|x[d]>>>24)&16711935|(x[d]<<24|x[d]>>>8)&4278255360;var C=this._X=[x[0],x[3]<<16|x[2]>>>16,x[1],x[0]<<16|x[3]>>>16,x[2],x[1]<<16|x[0]>>>16,x[3],x[2]<<16|x[1]>>>16],l=this._C=[x[2]<<16|x[2]>>>16,x[0]&4294901760|x[1]&65535,x[3]<<16|x[3]>>>16,x[1]&4294901760|x[2]&65535,x[0]<<16|x[0]>>>16,x[2]&4294901760|x[3]&65535,x[1]<<16|x[1]>>>16,x[3]&4294901760|x[0]&65535];this._b=0;for(var d=0;d<4;d++)B.call(this);for(var d=0;d<8;d++)l[d]^=C[d+4&7];if(u){var g=u.words,s=g[0],c=g[1],p=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,D=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,F=p>>>16|D&4294901760,_=D<<16|p&65535;l[0]^=p,l[1]^=F,l[2]^=D,l[3]^=_,l[4]^=p,l[5]^=F,l[6]^=D,l[7]^=_;for(var d=0;d<4;d++)B.call(this)}},_doProcessBlock:function(x,u){var d=this._X;B.call(this),h[0]=d[0]^d[5]>>>16^d[3]<<16,h[1]=d[2]^d[7]>>>16^d[5]<<16,h[2]=d[4]^d[1]>>>16^d[7]<<16,h[3]=d[6]^d[3]>>>16^d[1]<<16;for(var C=0;C<4;C++)h[C]=(h[C]<<8|h[C]>>>24)&16711935|(h[C]<<24|h[C]>>>8)&4278255360,x[u+C]^=h[C]},blockSize:128/32,ivSize:64/32});function B(){for(var x=this._X,u=this._C,d=0;d<8;d++)v[d]=u[d];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<v[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<v[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<v[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<v[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<v[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<v[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<v[6]>>>0?1:0)|0,this._b=u[7]>>>0<v[7]>>>0?1:0;for(var d=0;d<8;d++){var C=x[d]+u[d],l=C&65535,g=C>>>16,s=((l*l>>>17)+l*g>>>15)+g*g,c=((C&4294901760)*C|0)+((C&65535)*C|0);i[d]=s^c}x[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,x[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,x[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,x[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,x[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,x[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,x[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,x[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}r.Rabbit=f._createHelper(o)})(),n.Rabbit})})(ge)),ge.exports}var Ee={exports:{}},Wi=Ee.exports,jr;function Ui(){return jr||(jr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Wi,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,A=r.algo,h=[],v=[],i=[],o=A.RabbitLegacy=f.extend({_doReset:function(){var x=this._key.words,u=this.cfg.iv,d=this._X=[x[0],x[3]<<16|x[2]>>>16,x[1],x[0]<<16|x[3]>>>16,x[2],x[1]<<16|x[0]>>>16,x[3],x[2]<<16|x[1]>>>16],C=this._C=[x[2]<<16|x[2]>>>16,x[0]&4294901760|x[1]&65535,x[3]<<16|x[3]>>>16,x[1]&4294901760|x[2]&65535,x[0]<<16|x[0]>>>16,x[2]&4294901760|x[3]&65535,x[1]<<16|x[1]>>>16,x[3]&4294901760|x[0]&65535];this._b=0;for(var l=0;l<4;l++)B.call(this);for(var l=0;l<8;l++)C[l]^=d[l+4&7];if(u){var g=u.words,s=g[0],c=g[1],p=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,D=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,F=p>>>16|D&4294901760,_=D<<16|p&65535;C[0]^=p,C[1]^=F,C[2]^=D,C[3]^=_,C[4]^=p,C[5]^=F,C[6]^=D,C[7]^=_;for(var l=0;l<4;l++)B.call(this)}},_doProcessBlock:function(x,u){var d=this._X;B.call(this),h[0]=d[0]^d[5]>>>16^d[3]<<16,h[1]=d[2]^d[7]>>>16^d[5]<<16,h[2]=d[4]^d[1]>>>16^d[7]<<16,h[3]=d[6]^d[3]>>>16^d[1]<<16;for(var C=0;C<4;C++)h[C]=(h[C]<<8|h[C]>>>24)&16711935|(h[C]<<24|h[C]>>>8)&4278255360,x[u+C]^=h[C]},blockSize:128/32,ivSize:64/32});function B(){for(var x=this._X,u=this._C,d=0;d<8;d++)v[d]=u[d];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<v[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<v[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<v[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<v[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<v[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<v[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<v[6]>>>0?1:0)|0,this._b=u[7]>>>0<v[7]>>>0?1:0;for(var d=0;d<8;d++){var C=x[d]+u[d],l=C&65535,g=C>>>16,s=((l*l>>>17)+l*g>>>15)+g*g,c=((C&4294901760)*C|0)+((C&65535)*C|0);i[d]=s^c}x[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,x[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,x[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,x[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,x[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,x[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,x[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,x[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}r.RabbitLegacy=f._createHelper(o)})(),n.RabbitLegacy})})(Ee)),Ee.exports}var Fe={exports:{}},Gi=Fe.exports,Mr;function ji(){return Mr||(Mr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Gi,function(n){return(function(){var r=n,a=r.lib,f=a.BlockCipher,A=r.algo;const h=16,v=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],i=[[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 o={pbox:[],sbox:[]};function B(l,g){let s=g>>24&255,c=g>>16&255,p=g>>8&255,D=g&255,F=l.sbox[0][s]+l.sbox[1][c];return F=F^l.sbox[2][p],F=F+l.sbox[3][D],F}function x(l,g,s){let c=g,p=s,D;for(let F=0;F<h;++F)c=c^l.pbox[F],p=B(l,c)^p,D=c,c=p,p=D;return D=c,c=p,p=D,p=p^l.pbox[h],c=c^l.pbox[h+1],{left:c,right:p}}function u(l,g,s){let c=g,p=s,D;for(let F=h+1;F>1;--F)c=c^l.pbox[F],p=B(l,c)^p,D=c,c=p,p=D;return D=c,c=p,p=D,p=p^l.pbox[1],c=c^l.pbox[0],{left:c,right:p}}function d(l,g,s){for(let _=0;_<4;_++){l.sbox[_]=[];for(let m=0;m<256;m++)l.sbox[_][m]=i[_][m]}let c=0;for(let _=0;_<h+2;_++)l.pbox[_]=v[_]^g[c],c++,c>=s&&(c=0);let p=0,D=0,F=0;for(let _=0;_<h+2;_+=2)F=x(l,p,D),p=F.left,D=F.right,l.pbox[_]=p,l.pbox[_+1]=D;for(let _=0;_<4;_++)for(let m=0;m<256;m+=2)F=x(l,p,D),p=F.left,D=F.right,l.sbox[_][m]=p,l.sbox[_][m+1]=D;return!0}var C=A.Blowfish=f.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var l=this._keyPriorReset=this._key,g=l.words,s=l.sigBytes/4;d(o,g,s)}},encryptBlock:function(l,g){var s=x(o,l[g],l[g+1]);l[g]=s.left,l[g+1]=s.right},decryptBlock:function(l,g){var s=u(o,l[g],l[g+1]);l[g]=s.left,l[g+1]=s.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=f._createHelper(C)})(),n.Blowfish})})(Fe)),Fe.exports}var Mi=$0.exports,Xr;function Xi(){return Xr||(Xr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),be(),Un(),jn(),p0(),Vn(),v0(),dt(),Qe(),ei(),ut(),ni(),oi(),xi(),Ze(),fi(),l0(),Y(),li(),vi(),Bi(),Ai(),Ei(),Di(),mi(),Ii(),ki(),Pi(),Ti(),Hi(),qi(),Ki(),$i(),Ui(),ji())})(Mi,function(n){return n})})($0)),$0.exports}var Vi=Xi();const s0=zn(Vi),ht="jctrans2003Z!2@#";function Qi(e){if(!e)return e;const t=s0.enc.Utf8.parse(ht),n=s0.AES.decrypt(e,t,{mode:s0.mode.ECB,padding:s0.pad.Pkcs7});return s0.enc.Utf8.stringify(n).toString()}function F0(e){if(!e)return e;const t=s0.enc.Utf8.parse(ht),n=s0.enc.Utf8.parse(e);return s0.AES.encrypt(n,t,{mode:s0.mode.ECB,padding:s0.pad.Pkcs7}).toString()}function lt(e={}){const{headerName:t="client-uid",injectRequest:n=!0}=e;return((r,a={})=>{if(!n)return globalThis.fetch(r,a);const f=me(),A=new Headers(a.headers||{});return A.set(t,f),globalThis.fetch(r,W(T({},a),{headers:A}))})}function Zi(e={}){if(typeof globalThis=="undefined"||typeof globalThis.fetch=="undefined"){console.warn("[ClientId] fetch is not available in this environment");return}const t=lt(e);globalThis.fetch=t}const Yi="2.1",Ji=()=>n0().basePath,K0=()=>n0().carrierPath,O0=()=>n0().linePath,eo=()=>n0().allLinePath;function pt(e,t){if(t)return{target:e,finalType:t};let n=e.type;return n==="Country"&&e.region&&!e.country?{target:e.region,finalType:"Region"}:{target:e[n==null?void 0:n.toLowerCase()]||e,finalType:n||"Country"}}function ze(e,t,n){const{target:r,finalType:a}=pt(e,n),f=o=>{if(!o)return"";const B=o.nameCn||o.displayNameCn||o.name||o.carrierNameCn||o.lineNameCn||"",x=o.nameEn||o.displayNameEn||o.nameEnShow||o.carrierNameEn||o.lineNameEn||"";return t?x||B:B||x},A=f(r);if(a==="Carrier"){const o=r.scac||r.scacCode||r.carrierCode||r.code||"";return o?`${A} (${o})`:A}if(a==="Line"){const o=t?r.countryNameEn||"":r.countryNameCn||"";return o?`${A} (${o})`:A}const h=e.country||e.region,v=f(h),i=f(e.city);if(["Seaport","Airport","Wharf"].includes(a)){const o=[i,v].filter(Boolean).join(", ");return o?`${A} (${o})`:A}return["City","Province"].includes(a)&&v?`${A} (${v})`:A}function ro(e=[],t){return e.map(n=>{var o;const{target:r,finalType:a}=pt(n,t),f=r.nameCn||r.name||r.carrierNameCn||r.lineNameCn,A=r.nameEn||r.nameEnShow||r.carrierNameEn||r.lineNameEn,h=r.scacCode||r.scac||r.carrierCode||r.code,v={id:(o=r.id)!=null?o:n.id,type:a,nameCn:f,nameEn:A,code:h,display:ze(n,je(),t),displayEn:ze(n,!0,t),displayCn:ze(n,!1,t),raw:n};let i={};return a==="Carrier"?i={scacCode:r.scacCode||r.scac,iataCode:r.iataCode||r.iata,carrierCode:r.carrierCode,lineType:r.lineType}:a==="Line"&&(i={lineType:r.lineType}),T(T({},v),i)})}function V(n){return Q(this,arguments,function*(e,t={}){const r=T({current:1,size:10},e),a=t.path||Ji(),A=(yield o0.post(a,r)).data.data||{};return W(T({},A),{records:ro(A.records||[],t.forcedType)})})}const vt={searchByName:e=>V(W(T({searchContent:e.keyword,searchMode:e.searchMode},e),{displayInfo:["Country"]})),getByIds:e=>V({countryIds:e,displayInfo:["Country"]})},Ct={searchByName:e=>V(W(T({searchContent:e.keyword,searchMode:e.searchMode},e),{displayInfo:["Country"]})),getByIds:e=>V({countryIds:e,displayInfo:["Country"]})},Le={searchByName:e=>V(W(T({searchContent:e.keyword,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["City"]})),getByIds:e=>V({cityIds:e,displayInfo:["City"]}),getCitiesByCountry:(e,t)=>V(T({countryIds:[e],displayInfo:["City"]},t))},Bt={searchByName:e=>V(W(T({searchContent:e.keyword,cityIds:e.cityId?[e.cityId]:void 0,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["Seaport"]})),getByIds:e=>V({seaportIds:e,displayInfo:["Seaport"]})},yt={searchByName:e=>V(W(T({searchContent:e.keyword,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["Airport"]})),getByIds:e=>V({airportIds:e,displayInfo:["Airport"]})},At={getByIds:e=>V({wharfIds:e,displayInfo:["Wharf"]})},g0={_buildPayload:(e,t)=>({current:e.current||1,size:e.size||10,lineType:t,searchkey:e.keyword,ids:e.ids}),searchShipping:e=>V(g0._buildPayload(e,"shipping"),{path:K0(),forcedType:"Carrier"}),searchAir:e=>V(g0._buildPayload(e,"air"),{path:K0(),forcedType:"Carrier"}),search:(e,t)=>V(g0._buildPayload(e,t),{path:K0(),forcedType:"Carrier"}),getByIds:(e,t="shipping")=>V(g0._buildPayload({ids:e},t),{path:K0(),forcedType:"Carrier"})},E0={_buildPayload:(e,t)=>({current:e.current||1,size:e.size||10,lineType:t,searchkey:e.keyword,ids:e.ids}),searchAllByCountry:(e,t)=>V({countryId:t,lineType:e,current:1,size:999},{path:eo(),forcedType:"Line"}),searchShipping:e=>V(E0._buildPayload(e,"shipping"),{path:O0(),forcedType:"Line"}),searchAir:e=>V(E0._buildPayload(e,"air"),{path:O0(),forcedType:"Line"}),search:(e,t)=>V(E0._buildPayload(e,t),{path:O0(),forcedType:"Line"}),getByIds:(e,t="shipping")=>V(E0._buildPayload({ids:e},t),{path:O0(),forcedType:"Line"})},to=e=>V(T({searchContent:e.keyword},e)),no=(e,t,n)=>{const r=Array.isArray(e)?e:[e],a=(n==null?void 0:n.lineType)||"shipping";switch(t){case"Country":return vt.getByIds(r);case"Region":return Ct.getByIds(r);case"City":return Le.getByIds(r);case"Seaport":return Bt.getByIds(r);case"Airport":return yt.getByIds(r);case"Wharf":return At.getByIds(r);case"Carrier":return g0.getByIds(r,a);case"Line":return E0.getByIds(r,a);default:return V({[`${t.toLowerCase()}Ids`]:r,displayInfo:[t]})}},io={SEARCH_VERSION:Yi,searchByName:to,searchByIdWithType:no,country:vt,region:Ct,city:Le,seaport:Bt,airport:yt,wharf:At,carrier:g0,line:E0,getCitiesByCountry:Le.getCitiesByCountry,getChildrenByCity:(e,t,n)=>V(T({cityIds:[e],displayInfo:t},n))},oo=()=>n0().prefixPath;function ao(e){return Q(this,null,function*(){const t=T({},e),r=(yield o0.post(oo()+"/system/dms/fr/dmsReport/report",t)).data||{};return T({},r)})}const z0=()=>n0().prefixPath,xo=e=>Q(null,null,function*(){return yield o0.post(z0()+"/auth/getKqCompanyPage",T({},e))});function so(e){return o0.post(z0()+"/code",T({},e))}function co(e){return o0.post(z0()+"/check",T({},e))}function fo(e={size:-1}){return o0.post(z0()+"/system/dms/fr/country/findPageCountry",T({},e))}const D0=(e,t)=>o0.post(z0()+e,T({},t));function uo(e={size:-1}){return D0("/system/admin/dict/data/type/dictType",T({},e))}function ho(e){return Q(this,null,function*(){return yield D0("/common/ip/get",T({},e))})}function lo(e,t){return D0("/auth/redirect",{toSys:e,path:t})}function po(e){return D0("/auth/userCompPerms",T({},e))}function vo(e){return D0("/auth/getLoginUserMobileEmail",T({},e))}function Co(e){return D0("/auth/getMobileEmail",T({},e))}const Bo=()=>n0().prefixPath,yo=e=>{var t,n;if(e!=null&&e.redirectPath)return e.redirectPath;if(typeof window=="undefined")return"/";try{return((t=window.sessionStorage)==null?void 0:t.getItem("jc-auth-path"))||((n=window.location)==null?void 0:n.pathname)||"/"}catch(r){return"/"}},U=(e,t)=>o0.post(Bo()+e,W(T({},t),{redirectPath:yo(t)}),{headers:{"app-id":_e()||"ERA"}}),gt=()=>n0().prefixPath;function Ao(e){return e.target=F0(e==null?void 0:e.target),U("/auth/validateAccountExist",e)}function go(e){return e.target=F0(e==null?void 0:e.target),U("/auth/emailCode",e)}function Eo(e){return e.target=F0(e==null?void 0:e.target),U("/auth/mobileCodeAnon",e)}function Fo(e){return e.target=F0(e==null?void 0:e.target),o0.post(gt()+"/auth/verifyEmailCode",T({},e))}function Do(e){return e.target=F0(e==null?void 0:e.target),o0.post(gt()+"/auth/verifyMobileCode",T({},e))}function _o(e){const t=T({},e);return U("/auth/login",T({},t))}function mo(e){return U("/auth/loginRegisterByAccount",T({},e))}function bo(e){return U("/auth/loginByQrCode",T({},e))}function Io(e={}){return U("/auth/getLoginQrCode",T({},e))}function wo(e){return U("/auth/autoLogin",T({},e))}const ko=()=>n0().prefixPath;function So(e){return o0.post(ko()+"/auth/validateCompany",T({},e))}function Po(e){return U("/auth/registerJoinCompany",e)}function Ro(e){return U("/auth/registerJoinCompByThirdParty",e)}function To(e){return U("/auth/getJoinCompany",e)}function zo(e){return U("/auth/registerAccComp",e)}function Ho(e){return U("/auth/registerUserCompBindWechat",e)}function Lo(e){return U("/auth/registerJoinCompanyBindWechat",e)}function qo(e){return U("/auth/completeCompRedirect",T({},e))}function No(e){return U("/auth/completeJoinCompanyRedirect",T({},e))}function Ko(e){return U("/auth/inviteJoinGetComp",T({},e))}function Oo(e){return U("/auth/loginByFacebook",W(T({},e),{businessCode:"WINDOW_LOGIN"}))}function $o(e){return U("/auth/loginByLinkedin",W(T({},e),{businessCode:"WINDOW_LOGIN"}))}function Wo(e){return U("/auth/bindThirdPartyByPwd",T({},e))}function Uo(e){return U("/auth/bindThirdPartyByCode",T({},e))}function Go(e){return U("/auth/registerByThirdParty",T({},e))}function jo(e){return U("/auth/findListByMobileEmail",T({},e))}function Mo(e){return U("/auth/loginPwdBindWechat",e)}function Xo(e){return U("/auth/loginCodeBindWechat",e)}function Vo(e){return U("/auth/forgotPwdAccount",T({},e))}function Qo(e){return U("/auth/forgotPwdVerifyCode",T({},e))}function Zo(e){return U("/auth/forgotPwd",T({},e))}function Yo(e){if(typeof window=="undefined"||!window.sessionStorage)return;const{activityCode:t,referenceUserId:n,empNo:r,uniqueCode:a,path:f,clickSource:A,registerEvent:h,registerType:v,compKey:i}=e;t&&sessionStorage.setItem("jc-auth-activityCode",t),n&&sessionStorage.setItem("jc-auth-referenceUserId",n),r&&sessionStorage.setItem("jc-auth-empNo",r),a&&sessionStorage.setItem("jc-auth-uniqueCode",a),f&&sessionStorage.setItem("jc-auth-path",f),A&&sessionStorage.setItem("jc-auth-clickSource",A),h&&sessionStorage.setItem("jc-auth-registerEvent",h),v&&sessionStorage.setItem("jc-auth-registerType",v),i&&sessionStorage.setItem("jc-auth-compKey",i)}function Jo(){typeof window=="undefined"||!window.sessionStorage||(sessionStorage.removeItem("jc-auth-activityCode"),sessionStorage.removeItem("jc-auth-referenceUserId"),sessionStorage.removeItem("jc-auth-empNo"),sessionStorage.removeItem("jc-auth-uniqueCode"),sessionStorage.removeItem("jc-auth-path"),sessionStorage.removeItem("jc-auth-clickSource"),sessionStorage.removeItem("jc-auth-registerEvent"),sessionStorage.removeItem("jc-auth-registerType"),sessionStorage.removeItem("jc-auth-compKey"))}function ea(){return typeof window=="undefined"||!window.sessionStorage?{activityCode:null,referenceUserId:null,empNo:null,uniqueCode:null,path:null,clickSource:null,registerEvent:null,registerType:null,compKey:null}:{activityCode:sessionStorage.getItem("jc-auth-activityCode"),referenceUserId:sessionStorage.getItem("jc-auth-referenceUserId"),empNo:sessionStorage.getItem("jc-auth-empNo"),uniqueCode:sessionStorage.getItem("jc-auth-uniqueCode"),path:sessionStorage.getItem("jc-auth-path"),clickSource:sessionStorage.getItem("jc-auth-clickSource"),registerEvent:sessionStorage.getItem("jc-auth-registerEvent"),registerType:sessionStorage.getItem("jc-auth-registerType"),compKey:sessionStorage.getItem("jc-auth-compKey")}}function ra(e){if(typeof window=="undefined"||!window.sessionStorage)return;const{registerEntry:t}=e;t&&sessionStorage.setItem("_GIO-registerEntry",t)}function ta(){return typeof window=="undefined"||!window.sessionStorage?{registerEntry:null}:{registerEntry:sessionStorage.getItem("_GIO-registerEntry")}}function na(){typeof window=="undefined"||!window.sessionStorage||sessionStorage.removeItem("_GIO-registerEntry")}class ia{constructor(){P0(this,"hasInitCalled",!1);P0(this,"dispatcher",null);P0(this,"dispatcherLoading",null);P0(this,"pendingActions",[])}get shouldValidateAttributes(){return typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"}flushPendingActions(){if(!this.dispatcher||this.pendingActions.length===0)return;const t=[...this.pendingActions];this.pendingActions=[];for(const n of t)this.dispatcher(n.action,...n.args)}ensureDispatcher(){return Q(this,null,function*(){return typeof window=="undefined"?null:typeof window.gdp=="function"?(this.dispatcher=window.gdp,this.flushPendingActions(),this.dispatcher):this.dispatcher?this.dispatcher:this.dispatcherLoading?this.dispatcherLoading:(this.dispatcherLoading=Q(this,null,function*(){try{const t=yield import("gio-webjs-sdk"),n=(t==null?void 0:t.default)||t;return typeof n!="function"?(console.warn("[GIO] gdp 函数未就绪或引入失败"),null):(this.dispatcher=n,this.flushPendingActions(),this.dispatcher)}catch(t){return console.warn("[GIO] gio-webjs-sdk 加载失败",t),null}finally{this.dispatcherLoading=null}}),this.dispatcherLoading)})}dispatch(t,...n){if(typeof window!="undefined"){if(!this.dispatcher&&typeof window.gdp=="function"&&(this.dispatcher=window.gdp),this.dispatcher){this.dispatcher(t,...n);return}this.pendingActions.push({action:t,args:n}),this.ensureDispatcher()}}isInitialized(){return typeof window=="undefined"?!1:this.hasInitCalled}isBrowser(){return typeof window!="undefined"}init(t,n,r,a,f){if(!t||!n){console.warn("[GIO] init accountId/dataSourceId 不能为空");return}let A,h={},v;typeof r=="string"?(A=r,typeof a=="function"?v=a:(h=a||{},v=f)):(h=r||{},typeof a=="function"&&(v=a));const i=[t,n];A&&i.push(A);const o=T({},h);i.push(o),v&&i.push(v),typeof window!="undefined"&&(process.env.NODE_ENV==="development"&&(window._gr_ignore_local_rule=!0),this.dispatch("init",...i),this.hasInitCalled=!0)}setOption(t,n,r){this.dispatch("setOption",t,n,r)}getOption(t,n){this.dispatch("getOption",t,n)}getVersion(t){this.dispatch("getOption","version",t)}getUserAgent(t){this.dispatch("getUserAgent",t)}identify(t,n){if(!t||t.length===0){console.warn("[GIO] identify deviceId 不能为空");return}t.length>1e3&&(console.warn("[GIO] identify deviceId 长度超过 1000,将被截断"),t=t.slice(0,1e3)),this.dispatch("identify",t,n)}getDeviceId(t){this.dispatch("getDeviceId",t)}setUserId(t,n,r){const a=String(t);if(a.length===0||a.length>1e3){console.warn("[GIO] setUserId userId 长度必须在 0-1000 之间");return}if(typeof n=="function"){this.dispatch("setUserId",a,n);return}if(typeof n!="undefined"){this.dispatch("setUserId",a,n,r);return}if(r){this.dispatch("setUserId",a,r);return}this.dispatch("setUserId",a)}clearUserId(t){this.dispatch("clearUserId",t)}track(t,n,r){if(!t||t.length===0){console.warn("[GIO] track eventName 不能为空");return}this.shouldValidateAttributes&&this._validateAttributes(n,"track"),this.dispatch("track",t,n,r)}setUserAttributes(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setUserAttributes"),this.dispatch("setUserAttributes",t,n)}setGeneralProps(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setGeneralProps"),this.dispatch("setGeneralProps",t,n)}clearGeneralProps(t=[],n){this.dispatch("clearGeneralProps",t,n)}setPageListener(t){this.dispatch("setPageListener",t)}setPageAttributes(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setPageAttributes"),this.dispatch("setPageAttributes",t,n)}clearPageAttributes(t=[],n){this.dispatch("clearPageAttributes",t,n)}sendPage(t,n){t&&t.title?this.dispatch("sendPage",{title:t.title},n):this.dispatch("sendPage",n)}setBeforeSendListener(t){this.dispatch("setBeforeSendListener",t)}trackTimerStart(t,n){this.dispatch("trackTimerStart",t,n)}trackTimerPause(t,n){this.dispatch("trackTimerPause",t,n)}trackTimerResume(t,n){this.dispatch("trackTimerResume",t,n)}trackTimerEnd(t,n,r){this.dispatch("trackTimerEnd",t,n,r)}removeTimer(t,n){this.dispatch("removeTimer",t,n)}clearTrackTimer(t){this.dispatch("clearTrackTimer"),t==null||t()}registerPlugins(t,n){this.dispatch("registerPlugins",t,n)}_validateAttributes(t,n){if(t){for(const[r,a]of Object.entries(t))if(r.length>100&&console.warn(`[GIO] ${n}: key "${r.slice(0,20)}..." length ${r.length} > 100, SDK may ignore or truncate it`),typeof a=="string")a.length>1e3&&console.warn(`[GIO] ${n}: key "${r}" value length ${a.length} > 1000, SDK may ignore or truncate it`);else if(typeof a!="number"){if(typeof a!="boolean"){if(typeof a!="function")if(Array.isArray(a)){a.length>100&&console.warn(`[GIO] ${n}: key "${r}" array length ${a.length} > 100, SDK may ignore or truncate it`);for(const f of a)typeof f!="string"&&typeof f!="number"&&console.warn(`[GIO] ${n}: key "${r}" array contains non-string/number value: ${typeof f}`)}else typeof a=="object"&&a!==null&&console.error(`[GIO] ${n}: key "${r}" value is an object, nested object is not recommended and may be rejected`)}}}}}const oa=new ia;function aa(e){return!e||!e.isBrowser()?null:e}function xa(e){return e?e.isBrowser()&&e.isInitialized():!1}const Et=["companyID_var","contactPerson_var","inquiryID_var","modulePosition_var","moduleType_var","pageCode_var","pageClickName_var","moduleName_var"],Ft=e=>!e||typeof e!="object"?{}:Object.entries(e).reduce((t,[n,r])=>(t[n]=rt(r)?"-":r,t),{}),sa=(e,t)=>{const n=Ft(t);return e!=="clickPage"?n:T(T({},Et.reduce((r,a)=>{var f;return r[a]=(f=n[a])!=null?f:"-",r},{})),n)},ca={Open:"GLOBAL_MODAL_OPEN",Close:"GLOBAL_MODAL_CLOSE",Submit:"GLOBAL_MODAL_SUBMIT"},fa=jt();exports.Decrypt=Qi;exports.Encrypt=F0;exports.ExpiresInKey=Yt;exports.ExpiresInTimeKey=Jt;exports.GIO_CLICK_PAGE_REQUIRED_FIELDS=Et;exports.HasLoginKey=Qt;exports.MODAL_ACTION=ca;exports.PrjId=Zt;exports.RefreshExpiresInKey=rn;exports.RefreshExpiresInTimeKey=tn;exports.RefreshTokenKey=en;exports.RememberMeAccountKey=nn;exports.RememberMePasswordKey=on;exports.TOKEN_ENDPOINTS=Ne;exports.TokenKey=Vt;exports.autoLoginByTGC=wo;exports.bindThirdPartyByCodeApi=Uo;exports.bindThirdPartyByPwdApi=Wo;exports.checkAccountExistsFPApi=Vo;exports.checkEmailCodeApi=Fo;exports.checkMobileCodeApi=Do;exports.clearAllAuth=xn;exports.clearClientId=un;exports.completeCompRedirectApi=qo;exports.completeJoinCompanyRedirectApi=No;exports.createFetchWithClientId=lt;exports.createRequest=vn;exports.currentConfig=tt;exports.emitter=fa;exports.findDictApi=uo;exports.findListByMobileEmailApi=jo;exports.findPAreaCodeApi=fo;exports.generateClientId=nt;exports.getAirport=Tn;exports.getAppId=_e;exports.getAuthSessionItems=ea;exports.getById=En;exports.getByIds=ft;exports.getChildrenByCity=Dn;exports.getCitiesByCountry=Fn;exports.getCity=Sn;exports.getCommonKeys=Xt;exports.getCompanyOptionApi=xo;exports.getContinent=wn;exports.getCountry=kn;exports.getCurrentClientId=hn;exports.getExpiresTimeIn=et;exports.getFirstDomain=Qr;exports.getGioSessionItems=ta;exports.getIsEn=je;exports.getJoinCompanyApi=To;exports.getLanguage=$e;exports.getLocalIpDataApi=ho;exports.getLoginQrCode=Io;exports.getMEVCodeApi=Qo;exports.getMobileEmailApi=Co;exports.getOrCreateClientId=me;exports.getPathFromConfig=Yr;exports.getProjectId=Oe;exports.getProvince=Pn;exports.getRedirectPathApi=lo;exports.getRefreshToken=Jr;exports.getRememberAccount=sn;exports.getSeaport=Rn;exports.getSessionHeaderValue=Ue;exports.getSharedConfig=n0;exports.getToken=We;exports.getTracker=aa;exports.getUserInfoApi=vo;exports.initCommonKeys=Zr;exports.initSharedConfig=cn;exports.installClientIdPlugin=st;exports.installFetchClientId=Zi;exports.inviteJoinGetCompApi=Ko;exports.isEmpty=rt;exports.isGioAvailable=xa;exports.isIpAddress=Vr;exports.locationSearchV2=io;exports.loginApi=_o;exports.loginByEmailOrMobileCodeApi=mo;exports.loginByFacebookApi=Oo;exports.loginByLinkedinApi=$o;exports.loginByQrCode=bo;exports.loginCodeBindWechatApi=Xo;exports.loginPwdBindWechatApi=Mo;exports.normalizeAttrs=Ft;exports.normalizeClickPageAttrs=sa;exports.registerApi=zo;exports.registerByThirdPartyApi=Go;exports.registerJoinCompByThirdPartyApi=Ro;exports.registerJoinCompanyApi=Po;exports.registerJoinCompanyBindWechatApi=Lo;exports.registerUserCompBindWechatApi=Ho;exports.reportNewTypeDataApi=ao;exports.resetAuthSessionItems=Jo;exports.resetGioSessionItems=na;exports.resetPasswordApi=Zo;exports.saveClientIdToLocalStorage=dn;exports.saveClientIdToSessionStorage=at;exports.search=T0;exports.searchAirportByName=In;exports.searchByName=Ve;exports.searchCityByName=mn;exports.searchCountryByName=_n;exports.searchSeaportByName=bn;exports.sendEmailCodeApi=go;exports.sendMobileCodeApi=Eo;exports.setAuthSessionItems=Yo;exports.setGioSessionItems=ra;exports.setRememberMe=an;exports.setTokenAll=De;exports.slideCheckApi=co;exports.slideGetApi=so;exports.toSafeHeaderValue=Ge;exports.tracker=oa;exports.userCompPermsApi=po;exports.validateAccountExistApi=Ao;exports.validateCompanyApi=So;
14
+ */return n.mode.CTRGladman=(function(){var r=n.lib.BlockCipherMode.extend();function a(h){if((h>>24&255)===255){var v=h>>16&255,i=h>>8&255,o=h&255;v===255?(v=0,i===255?(i=0,o===255?o=0:++o):++i):++v,h=0,h+=v<<16,h+=i<<8,h+=o}else h+=1<<24;return h}function f(h){return(h[0]=a(h[0]))===0&&(h[1]=a(h[1])),h}var A=r.Encryptor=r.extend({processBlock:function(h,v){var i=this._cipher,o=i.blockSize,B=this._iv,x=this._counter;B&&(x=this._counter=B.slice(0),this._iv=void 0),f(x);var u=x.slice(0);i.encryptBlock(u,0);for(var d=0;d<o;d++)h[v+d]^=u[d]}});return r.Decryptor=A,r})(),n.mode.CTRGladman})})(ce)),ce.exports}var fe={exports:{}},yi=fe.exports,Tr;function Ai(){return Tr||(Tr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(yi,function(n){return n.mode.OFB=(function(){var r=n.lib.BlockCipherMode.extend(),a=r.Encryptor=r.extend({processBlock:function(f,A){var h=this._cipher,v=h.blockSize,i=this._iv,o=this._keystream;i&&(o=this._keystream=i.slice(0),this._iv=void 0),h.encryptBlock(o,0);for(var B=0;B<v;B++)f[A+B]^=o[B]}});return r.Decryptor=a,r})(),n.mode.OFB})})(fe)),fe.exports}var de={exports:{}},gi=de.exports,zr;function Ei(){return zr||(zr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(gi,function(n){return n.mode.ECB=(function(){var r=n.lib.BlockCipherMode.extend();return r.Encryptor=r.extend({processBlock:function(a,f){this._cipher.encryptBlock(a,f)}}),r.Decryptor=r.extend({processBlock:function(a,f){this._cipher.decryptBlock(a,f)}}),r})(),n.mode.ECB})})(de)),de.exports}var ue={exports:{}},Fi=ue.exports,Hr;function Di(){return Hr||(Hr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(Fi,function(n){return n.pad.AnsiX923={pad:function(r,a){var f=r.sigBytes,A=a*4,h=A-f%A,v=f+h-1;r.clamp(),r.words[v>>>2]|=h<<24-v%4*8,r.sigBytes+=h},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Ansix923})})(ue)),ue.exports}var he={exports:{}},_i=he.exports,Lr;function mi(){return Lr||(Lr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(_i,function(n){return n.pad.Iso10126={pad:function(r,a){var f=a*4,A=f-r.sigBytes%f;r.concat(n.lib.WordArray.random(A-1)).concat(n.lib.WordArray.create([A<<24],1))},unpad:function(r){var a=r.words[r.sigBytes-1>>>2]&255;r.sigBytes-=a}},n.pad.Iso10126})})(he)),he.exports}var le={exports:{}},bi=le.exports,qr;function Ii(){return qr||(qr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(bi,function(n){return n.pad.Iso97971={pad:function(r,a){r.concat(n.lib.WordArray.create([2147483648],1)),n.pad.ZeroPadding.pad(r,a)},unpad:function(r){n.pad.ZeroPadding.unpad(r),r.sigBytes--}},n.pad.Iso97971})})(le)),le.exports}var pe={exports:{}},wi=pe.exports,Nr;function ki(){return Nr||(Nr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(wi,function(n){return n.pad.ZeroPadding={pad:function(r,a){var f=a*4;r.clamp(),r.sigBytes+=f-(r.sigBytes%f||f)},unpad:function(r){for(var a=r.words,f=r.sigBytes-1,f=r.sigBytes-1;f>=0;f--)if(a[f>>>2]>>>24-f%4*8&255){r.sigBytes=f+1;break}}},n.pad.ZeroPadding})})(pe)),pe.exports}var ve={exports:{}},Si=ve.exports,Kr;function Pi(){return Kr||(Kr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(Si,function(n){return n.pad.NoPadding={pad:function(){},unpad:function(){}},n.pad.NoPadding})})(ve)),ve.exports}var Ce={exports:{}},Ri=Ce.exports,Or;function Ti(){return Or||(Or=1,(function(e,t){(function(n,r,a){e.exports=r(K(),Y())})(Ri,function(n){return(function(r){var a=n,f=a.lib,A=f.CipherParams,h=a.enc,v=h.Hex,i=a.format;i.Hex={stringify:function(o){return o.ciphertext.toString(v)},parse:function(o){var B=v.parse(o);return A.create({ciphertext:B})}}})(),n.format.Hex})})(Ce)),Ce.exports}var Be={exports:{}},zi=Be.exports,$r;function Hi(){return $r||($r=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(zi,function(n){return(function(){var r=n,a=r.lib,f=a.BlockCipher,A=r.algo,h=[],v=[],i=[],o=[],B=[],x=[],u=[],d=[],C=[],l=[];(function(){for(var c=[],p=0;p<256;p++)p<128?c[p]=p<<1:c[p]=p<<1^283;for(var D=0,F=0,p=0;p<256;p++){var _=F^F<<1^F<<2^F<<3^F<<4;_=_>>>8^_&255^99,h[D]=_,v[_]=D;var m=c[D],S=c[m],y=c[S],E=c[_]*257^_*16843008;i[D]=E<<24|E>>>8,o[D]=E<<16|E>>>16,B[D]=E<<8|E>>>24,x[D]=E;var E=y*16843009^S*65537^m*257^D*16843008;u[_]=E<<24|E>>>8,d[_]=E<<16|E>>>16,C[_]=E<<8|E>>>24,l[_]=E,D?(D=m^c[c[c[y^m]]],F^=c[c[F]]):D=F=1}})();var g=[0,1,2,4,8,16,32,64,128,27,54],s=A.AES=f.extend({_doReset:function(){var c;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var p=this._keyPriorReset=this._key,D=p.words,F=p.sigBytes/4,_=this._nRounds=F+6,m=(_+1)*4,S=this._keySchedule=[],y=0;y<m;y++)y<F?S[y]=D[y]:(c=S[y-1],y%F?F>6&&y%F==4&&(c=h[c>>>24]<<24|h[c>>>16&255]<<16|h[c>>>8&255]<<8|h[c&255]):(c=c<<8|c>>>24,c=h[c>>>24]<<24|h[c>>>16&255]<<16|h[c>>>8&255]<<8|h[c&255],c^=g[y/F|0]<<24),S[y]=S[y-F]^c);for(var E=this._invKeySchedule=[],I=0;I<m;I++){var y=m-I;if(I%4)var c=S[y];else var c=S[y-4];I<4||y<=4?E[I]=c:E[I]=u[h[c>>>24]]^d[h[c>>>16&255]]^C[h[c>>>8&255]]^l[h[c&255]]}}},encryptBlock:function(c,p){this._doCryptBlock(c,p,this._keySchedule,i,o,B,x,h)},decryptBlock:function(c,p){var D=c[p+1];c[p+1]=c[p+3],c[p+3]=D,this._doCryptBlock(c,p,this._invKeySchedule,u,d,C,l,v);var D=c[p+1];c[p+1]=c[p+3],c[p+3]=D},_doCryptBlock:function(c,p,D,F,_,m,S,y){for(var E=this._nRounds,I=c[p]^D[0],w=c[p+1]^D[1],z=c[p+2]^D[2],H=c[p+3]^D[3],L=4,M=1;M<E;M++){var O=F[I>>>24]^_[w>>>16&255]^m[z>>>8&255]^S[H&255]^D[L++],G=F[w>>>24]^_[z>>>16&255]^m[H>>>8&255]^S[I&255]^D[L++],$=F[z>>>24]^_[H>>>16&255]^m[I>>>8&255]^S[w&255]^D[L++],b=F[H>>>24]^_[I>>>16&255]^m[w>>>8&255]^S[z&255]^D[L++];I=O,w=G,z=$,H=b}var O=(y[I>>>24]<<24|y[w>>>16&255]<<16|y[z>>>8&255]<<8|y[H&255])^D[L++],G=(y[w>>>24]<<24|y[z>>>16&255]<<16|y[H>>>8&255]<<8|y[I&255])^D[L++],$=(y[z>>>24]<<24|y[H>>>16&255]<<16|y[I>>>8&255]<<8|y[w&255])^D[L++],b=(y[H>>>24]<<24|y[I>>>16&255]<<16|y[w>>>8&255]<<8|y[z&255])^D[L++];c[p]=O,c[p+1]=G,c[p+2]=$,c[p+3]=b},keySize:256/32});r.AES=f._createHelper(s)})(),n.AES})})(Be)),Be.exports}var ye={exports:{}},Li=ye.exports,Wr;function qi(){return Wr||(Wr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Li,function(n){return(function(){var r=n,a=r.lib,f=a.WordArray,A=a.BlockCipher,h=r.algo,v=[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],i=[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],o=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],B=[{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}],x=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=h.DES=A.extend({_doReset:function(){for(var g=this._key,s=g.words,c=[],p=0;p<56;p++){var D=v[p]-1;c[p]=s[D>>>5]>>>31-D%32&1}for(var F=this._subKeys=[],_=0;_<16;_++){for(var m=F[_]=[],S=o[_],p=0;p<24;p++)m[p/6|0]|=c[(i[p]-1+S)%28]<<31-p%6,m[4+(p/6|0)]|=c[28+(i[p+24]-1+S)%28]<<31-p%6;m[0]=m[0]<<1|m[0]>>>31;for(var p=1;p<7;p++)m[p]=m[p]>>>(p-1)*4+3;m[7]=m[7]<<5|m[7]>>>27}for(var y=this._invSubKeys=[],p=0;p<16;p++)y[p]=F[15-p]},encryptBlock:function(g,s){this._doCryptBlock(g,s,this._subKeys)},decryptBlock:function(g,s){this._doCryptBlock(g,s,this._invSubKeys)},_doCryptBlock:function(g,s,c){this._lBlock=g[s],this._rBlock=g[s+1],d.call(this,4,252645135),d.call(this,16,65535),C.call(this,2,858993459),C.call(this,8,16711935),d.call(this,1,1431655765);for(var p=0;p<16;p++){for(var D=c[p],F=this._lBlock,_=this._rBlock,m=0,S=0;S<8;S++)m|=B[S][((_^D[S])&x[S])>>>0];this._lBlock=_,this._rBlock=F^m}var y=this._lBlock;this._lBlock=this._rBlock,this._rBlock=y,d.call(this,1,1431655765),C.call(this,8,16711935),C.call(this,2,858993459),d.call(this,16,65535),d.call(this,4,252645135),g[s]=this._lBlock,g[s+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function d(g,s){var c=(this._lBlock>>>g^this._rBlock)&s;this._rBlock^=c,this._lBlock^=c<<g}function C(g,s){var c=(this._rBlock>>>g^this._lBlock)&s;this._lBlock^=c,this._rBlock^=c<<g}r.DES=A._createHelper(u);var l=h.TripleDES=A.extend({_doReset:function(){var g=this._key,s=g.words;if(s.length!==2&&s.length!==4&&s.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var c=s.slice(0,2),p=s.length<4?s.slice(0,2):s.slice(2,4),D=s.length<6?s.slice(0,2):s.slice(4,6);this._des1=u.createEncryptor(f.create(c)),this._des2=u.createEncryptor(f.create(p)),this._des3=u.createEncryptor(f.create(D))},encryptBlock:function(g,s){this._des1.encryptBlock(g,s),this._des2.decryptBlock(g,s),this._des3.encryptBlock(g,s)},decryptBlock:function(g,s){this._des3.decryptBlock(g,s),this._des2.encryptBlock(g,s),this._des1.decryptBlock(g,s)},keySize:192/32,ivSize:64/32,blockSize:64/32});r.TripleDES=A._createHelper(l)})(),n.TripleDES})})(ye)),ye.exports}var Ae={exports:{}},Ni=Ae.exports,Ur;function Ki(){return Ur||(Ur=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Ni,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,A=r.algo,h=A.RC4=f.extend({_doReset:function(){for(var o=this._key,B=o.words,x=o.sigBytes,u=this._S=[],d=0;d<256;d++)u[d]=d;for(var d=0,C=0;d<256;d++){var l=d%x,g=B[l>>>2]>>>24-l%4*8&255;C=(C+u[d]+g)%256;var s=u[d];u[d]=u[C],u[C]=s}this._i=this._j=0},_doProcessBlock:function(o,B){o[B]^=v.call(this)},keySize:256/32,ivSize:0});function v(){for(var o=this._S,B=this._i,x=this._j,u=0,d=0;d<4;d++){B=(B+1)%256,x=(x+o[B])%256;var C=o[B];o[B]=o[x],o[x]=C,u|=o[(o[B]+o[x])%256]<<24-d*8}return this._i=B,this._j=x,u}r.RC4=f._createHelper(h);var i=A.RC4Drop=h.extend({cfg:h.cfg.extend({drop:192}),_doReset:function(){h._doReset.call(this);for(var o=this.cfg.drop;o>0;o--)v.call(this)}});r.RC4Drop=f._createHelper(i)})(),n.RC4})})(Ae)),Ae.exports}var ge={exports:{}},Oi=ge.exports,Gr;function $i(){return Gr||(Gr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Oi,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,A=r.algo,h=[],v=[],i=[],o=A.Rabbit=f.extend({_doReset:function(){for(var x=this._key.words,u=this.cfg.iv,d=0;d<4;d++)x[d]=(x[d]<<8|x[d]>>>24)&16711935|(x[d]<<24|x[d]>>>8)&4278255360;var C=this._X=[x[0],x[3]<<16|x[2]>>>16,x[1],x[0]<<16|x[3]>>>16,x[2],x[1]<<16|x[0]>>>16,x[3],x[2]<<16|x[1]>>>16],l=this._C=[x[2]<<16|x[2]>>>16,x[0]&4294901760|x[1]&65535,x[3]<<16|x[3]>>>16,x[1]&4294901760|x[2]&65535,x[0]<<16|x[0]>>>16,x[2]&4294901760|x[3]&65535,x[1]<<16|x[1]>>>16,x[3]&4294901760|x[0]&65535];this._b=0;for(var d=0;d<4;d++)B.call(this);for(var d=0;d<8;d++)l[d]^=C[d+4&7];if(u){var g=u.words,s=g[0],c=g[1],p=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,D=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,F=p>>>16|D&4294901760,_=D<<16|p&65535;l[0]^=p,l[1]^=F,l[2]^=D,l[3]^=_,l[4]^=p,l[5]^=F,l[6]^=D,l[7]^=_;for(var d=0;d<4;d++)B.call(this)}},_doProcessBlock:function(x,u){var d=this._X;B.call(this),h[0]=d[0]^d[5]>>>16^d[3]<<16,h[1]=d[2]^d[7]>>>16^d[5]<<16,h[2]=d[4]^d[1]>>>16^d[7]<<16,h[3]=d[6]^d[3]>>>16^d[1]<<16;for(var C=0;C<4;C++)h[C]=(h[C]<<8|h[C]>>>24)&16711935|(h[C]<<24|h[C]>>>8)&4278255360,x[u+C]^=h[C]},blockSize:128/32,ivSize:64/32});function B(){for(var x=this._X,u=this._C,d=0;d<8;d++)v[d]=u[d];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<v[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<v[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<v[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<v[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<v[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<v[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<v[6]>>>0?1:0)|0,this._b=u[7]>>>0<v[7]>>>0?1:0;for(var d=0;d<8;d++){var C=x[d]+u[d],l=C&65535,g=C>>>16,s=((l*l>>>17)+l*g>>>15)+g*g,c=((C&4294901760)*C|0)+((C&65535)*C|0);i[d]=s^c}x[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,x[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,x[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,x[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,x[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,x[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,x[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,x[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}r.Rabbit=f._createHelper(o)})(),n.Rabbit})})(ge)),ge.exports}var Ee={exports:{}},Wi=Ee.exports,jr;function Ui(){return jr||(jr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Wi,function(n){return(function(){var r=n,a=r.lib,f=a.StreamCipher,A=r.algo,h=[],v=[],i=[],o=A.RabbitLegacy=f.extend({_doReset:function(){var x=this._key.words,u=this.cfg.iv,d=this._X=[x[0],x[3]<<16|x[2]>>>16,x[1],x[0]<<16|x[3]>>>16,x[2],x[1]<<16|x[0]>>>16,x[3],x[2]<<16|x[1]>>>16],C=this._C=[x[2]<<16|x[2]>>>16,x[0]&4294901760|x[1]&65535,x[3]<<16|x[3]>>>16,x[1]&4294901760|x[2]&65535,x[0]<<16|x[0]>>>16,x[2]&4294901760|x[3]&65535,x[1]<<16|x[1]>>>16,x[3]&4294901760|x[0]&65535];this._b=0;for(var l=0;l<4;l++)B.call(this);for(var l=0;l<8;l++)C[l]^=d[l+4&7];if(u){var g=u.words,s=g[0],c=g[1],p=(s<<8|s>>>24)&16711935|(s<<24|s>>>8)&4278255360,D=(c<<8|c>>>24)&16711935|(c<<24|c>>>8)&4278255360,F=p>>>16|D&4294901760,_=D<<16|p&65535;C[0]^=p,C[1]^=F,C[2]^=D,C[3]^=_,C[4]^=p,C[5]^=F,C[6]^=D,C[7]^=_;for(var l=0;l<4;l++)B.call(this)}},_doProcessBlock:function(x,u){var d=this._X;B.call(this),h[0]=d[0]^d[5]>>>16^d[3]<<16,h[1]=d[2]^d[7]>>>16^d[5]<<16,h[2]=d[4]^d[1]>>>16^d[7]<<16,h[3]=d[6]^d[3]>>>16^d[1]<<16;for(var C=0;C<4;C++)h[C]=(h[C]<<8|h[C]>>>24)&16711935|(h[C]<<24|h[C]>>>8)&4278255360,x[u+C]^=h[C]},blockSize:128/32,ivSize:64/32});function B(){for(var x=this._X,u=this._C,d=0;d<8;d++)v[d]=u[d];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<v[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<v[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<v[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<v[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<v[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<v[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<v[6]>>>0?1:0)|0,this._b=u[7]>>>0<v[7]>>>0?1:0;for(var d=0;d<8;d++){var C=x[d]+u[d],l=C&65535,g=C>>>16,s=((l*l>>>17)+l*g>>>15)+g*g,c=((C&4294901760)*C|0)+((C&65535)*C|0);i[d]=s^c}x[0]=i[0]+(i[7]<<16|i[7]>>>16)+(i[6]<<16|i[6]>>>16)|0,x[1]=i[1]+(i[0]<<8|i[0]>>>24)+i[7]|0,x[2]=i[2]+(i[1]<<16|i[1]>>>16)+(i[0]<<16|i[0]>>>16)|0,x[3]=i[3]+(i[2]<<8|i[2]>>>24)+i[1]|0,x[4]=i[4]+(i[3]<<16|i[3]>>>16)+(i[2]<<16|i[2]>>>16)|0,x[5]=i[5]+(i[4]<<8|i[4]>>>24)+i[3]|0,x[6]=i[6]+(i[5]<<16|i[5]>>>16)+(i[4]<<16|i[4]>>>16)|0,x[7]=i[7]+(i[6]<<8|i[6]>>>24)+i[5]|0}r.RabbitLegacy=f._createHelper(o)})(),n.RabbitLegacy})})(Ee)),Ee.exports}var Fe={exports:{}},Gi=Fe.exports,Mr;function ji(){return Mr||(Mr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),p0(),v0(),l0(),Y())})(Gi,function(n){return(function(){var r=n,a=r.lib,f=a.BlockCipher,A=r.algo;const h=16,v=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],i=[[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 o={pbox:[],sbox:[]};function B(l,g){let s=g>>24&255,c=g>>16&255,p=g>>8&255,D=g&255,F=l.sbox[0][s]+l.sbox[1][c];return F=F^l.sbox[2][p],F=F+l.sbox[3][D],F}function x(l,g,s){let c=g,p=s,D;for(let F=0;F<h;++F)c=c^l.pbox[F],p=B(l,c)^p,D=c,c=p,p=D;return D=c,c=p,p=D,p=p^l.pbox[h],c=c^l.pbox[h+1],{left:c,right:p}}function u(l,g,s){let c=g,p=s,D;for(let F=h+1;F>1;--F)c=c^l.pbox[F],p=B(l,c)^p,D=c,c=p,p=D;return D=c,c=p,p=D,p=p^l.pbox[1],c=c^l.pbox[0],{left:c,right:p}}function d(l,g,s){for(let _=0;_<4;_++){l.sbox[_]=[];for(let m=0;m<256;m++)l.sbox[_][m]=i[_][m]}let c=0;for(let _=0;_<h+2;_++)l.pbox[_]=v[_]^g[c],c++,c>=s&&(c=0);let p=0,D=0,F=0;for(let _=0;_<h+2;_+=2)F=x(l,p,D),p=F.left,D=F.right,l.pbox[_]=p,l.pbox[_+1]=D;for(let _=0;_<4;_++)for(let m=0;m<256;m+=2)F=x(l,p,D),p=F.left,D=F.right,l.sbox[_][m]=p,l.sbox[_][m+1]=D;return!0}var C=A.Blowfish=f.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var l=this._keyPriorReset=this._key,g=l.words,s=l.sigBytes/4;d(o,g,s)}},encryptBlock:function(l,g){var s=x(o,l[g],l[g+1]);l[g]=s.left,l[g+1]=s.right},decryptBlock:function(l,g){var s=u(o,l[g],l[g+1]);l[g]=s.left,l[g+1]=s.right},blockSize:64/32,keySize:128/32,ivSize:64/32});r.Blowfish=f._createHelper(C)})(),n.Blowfish})})(Fe)),Fe.exports}var Mi=$0.exports,Xr;function Xi(){return Xr||(Xr=1,(function(e,t){(function(n,r,a){e.exports=r(K(),be(),Un(),jn(),p0(),Vn(),v0(),dt(),Qe(),ei(),ut(),ni(),oi(),xi(),Ze(),fi(),l0(),Y(),li(),vi(),Bi(),Ai(),Ei(),Di(),mi(),Ii(),ki(),Pi(),Ti(),Hi(),qi(),Ki(),$i(),Ui(),ji())})(Mi,function(n){return n})})($0)),$0.exports}var Vi=Xi();const s0=zn(Vi),ht="jctrans2003Z!2@#";function Qi(e){if(!e)return e;const t=s0.enc.Utf8.parse(ht),n=s0.AES.decrypt(e,t,{mode:s0.mode.ECB,padding:s0.pad.Pkcs7});return s0.enc.Utf8.stringify(n).toString()}function F0(e){if(!e)return e;const t=s0.enc.Utf8.parse(ht),n=s0.enc.Utf8.parse(e);return s0.AES.encrypt(n,t,{mode:s0.mode.ECB,padding:s0.pad.Pkcs7}).toString()}function lt(e={}){const{headerName:t="client-uid",injectRequest:n=!0}=e;return((r,a={})=>{if(!n)return globalThis.fetch(r,a);const f=me(),A=new Headers(a.headers||{});return A.set(t,f),globalThis.fetch(r,W(T({},a),{headers:A}))})}function Zi(e={}){if(typeof globalThis=="undefined"||typeof globalThis.fetch=="undefined"){console.warn("[ClientId] fetch is not available in this environment");return}const t=lt(e);globalThis.fetch=t}const Yi="2.1",Ji=()=>n0().basePath,K0=()=>n0().carrierPath,O0=()=>n0().linePath,eo=()=>n0().allLinePath;function pt(e,t){if(t)return{target:e,finalType:t};let n=e.type;return n==="Country"&&e.region&&!e.country?{target:e.region,finalType:"Region"}:{target:e[n==null?void 0:n.toLowerCase()]||e,finalType:n||"Country"}}function ze(e,t,n){const{target:r,finalType:a}=pt(e,n),f=o=>{if(!o)return"";const B=o.nameCn||o.displayNameCn||o.name||o.carrierNameCn||o.lineNameCn||"",x=o.nameEn||o.displayNameEn||o.nameEnShow||o.carrierNameEn||o.lineNameEn||"";return t?x||B:B||x},A=f(r);if(a==="Carrier"){const o=r.carrierCode||r.scac||r.scacCode||r.code||"";return o?`${A} (${o})`:A}if(a==="Line"){const o=t?r.countryNameEn||"":r.countryNameCn||"";return o?`${A} (${o})`:A}const h=e.country||e.region,v=f(h),i=f(e.city);if(["Seaport","Airport","Wharf"].includes(a)){const o=[i,v].filter(Boolean).join(", ");return o?`${A} (${o})`:A}return["City","Province"].includes(a)&&v?`${A} (${v})`:A}function ro(e=[],t){return e.map(n=>{var o;const{target:r,finalType:a}=pt(n,t),f=r.nameCn||r.name||r.carrierNameCn||r.lineNameCn,A=r.nameEn||r.nameEnShow||r.carrierNameEn||r.lineNameEn,h=r.carrierCode||r.scacCode||r.scac||r.code,v={id:(o=r.id)!=null?o:n.id,type:a,nameCn:f,nameEn:A,code:h,display:ze(n,je(),t),displayEn:ze(n,!0,t),displayCn:ze(n,!1,t),raw:n};let i={};return a==="Carrier"?i={scacCode:r.scacCode||r.scac,iataCode:r.iataCode||r.iata,carrierCode:r.carrierCode,lineType:r.lineType}:a==="Line"&&(i={lineType:r.lineType}),T(T({},v),i)})}function V(n){return Q(this,arguments,function*(e,t={}){const r=T({current:1,size:10},e),a=t.path||Ji(),A=(yield o0.post(a,r)).data.data||{};return W(T({},A),{records:ro(A.records||[],t.forcedType)})})}const vt={searchByName:e=>V(W(T({searchContent:e.keyword,searchMode:e.searchMode},e),{displayInfo:["Country"]})),getByIds:e=>V({countryIds:e,displayInfo:["Country"]})},Ct={searchByName:e=>V(W(T({searchContent:e.keyword,searchMode:e.searchMode},e),{displayInfo:["Country"]})),getByIds:e=>V({countryIds:e,displayInfo:["Country"]})},Le={searchByName:e=>V(W(T({searchContent:e.keyword,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["City"]})),getByIds:e=>V({cityIds:e,displayInfo:["City"]}),getCitiesByCountry:(e,t)=>V(T({countryIds:[e],displayInfo:["City"]},t))},Bt={searchByName:e=>V(W(T({searchContent:e.keyword,cityIds:e.cityId?[e.cityId]:void 0,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["Seaport"]})),getByIds:e=>V({seaportIds:e,displayInfo:["Seaport"]})},yt={searchByName:e=>V(W(T({searchContent:e.keyword,countryIds:e.countryId?[e.countryId]:void 0},e),{displayInfo:["Airport"]})),getByIds:e=>V({airportIds:e,displayInfo:["Airport"]})},At={getByIds:e=>V({wharfIds:e,displayInfo:["Wharf"]})},g0={_buildPayload:(e,t)=>({current:e.current||1,size:e.size||10,lineType:t,searchkey:e.keyword,ids:e.ids}),searchShipping:e=>V(g0._buildPayload(e,"shipping"),{path:K0(),forcedType:"Carrier"}),searchAir:e=>V(g0._buildPayload(e,"air"),{path:K0(),forcedType:"Carrier"}),search:(e,t)=>V(g0._buildPayload(e,t),{path:K0(),forcedType:"Carrier"}),getByIds:(e,t="shipping")=>V(g0._buildPayload({ids:e},t),{path:K0(),forcedType:"Carrier"})},E0={_buildPayload:(e,t)=>({current:e.current||1,size:e.size||10,lineType:t,searchkey:e.keyword,ids:e.ids}),searchAllByCountry:(e,t)=>V({countryId:t,lineType:e,current:1,size:999},{path:eo(),forcedType:"Line"}),searchShipping:e=>V(E0._buildPayload(e,"shipping"),{path:O0(),forcedType:"Line"}),searchAir:e=>V(E0._buildPayload(e,"air"),{path:O0(),forcedType:"Line"}),search:(e,t)=>V(E0._buildPayload(e,t),{path:O0(),forcedType:"Line"}),getByIds:(e,t="shipping")=>V(E0._buildPayload({ids:e},t),{path:O0(),forcedType:"Line"})},to=e=>V(T({searchContent:e.keyword},e)),no=(e,t,n)=>{const r=Array.isArray(e)?e:[e],a=(n==null?void 0:n.lineType)||"shipping";switch(t){case"Country":return vt.getByIds(r);case"Region":return Ct.getByIds(r);case"City":return Le.getByIds(r);case"Seaport":return Bt.getByIds(r);case"Airport":return yt.getByIds(r);case"Wharf":return At.getByIds(r);case"Carrier":return g0.getByIds(r,a);case"Line":return E0.getByIds(r,a);default:return V({[`${t.toLowerCase()}Ids`]:r,displayInfo:[t]})}},io={SEARCH_VERSION:Yi,searchByName:to,searchByIdWithType:no,country:vt,region:Ct,city:Le,seaport:Bt,airport:yt,wharf:At,carrier:g0,line:E0,getCitiesByCountry:Le.getCitiesByCountry,getChildrenByCity:(e,t,n)=>V(T({cityIds:[e],displayInfo:t},n))},oo=()=>n0().prefixPath;function ao(e){return Q(this,null,function*(){const t=T({},e),r=(yield o0.post(oo()+"/system/dms/fr/dmsReport/report",t)).data||{};return T({},r)})}const z0=()=>n0().prefixPath,xo=e=>Q(null,null,function*(){return yield o0.post(z0()+"/auth/getKqCompanyPage",T({},e))});function so(e){return o0.post(z0()+"/code",T({},e))}function co(e){return o0.post(z0()+"/check",T({},e))}function fo(e={size:-1}){return o0.post(z0()+"/system/dms/fr/country/findPageCountry",T({},e))}const D0=(e,t)=>o0.post(z0()+e,T({},t));function uo(e={size:-1}){return D0("/system/admin/dict/data/type/dictType",T({},e))}function ho(e){return Q(this,null,function*(){return yield D0("/common/ip/get",T({},e))})}function lo(e,t){return D0("/auth/redirect",{toSys:e,path:t})}function po(e){return D0("/auth/userCompPerms",T({},e))}function vo(e){return D0("/auth/getLoginUserMobileEmail",T({},e))}function Co(e){return D0("/auth/getMobileEmail",T({},e))}const Bo=()=>n0().prefixPath,yo=e=>{var t,n;if(e!=null&&e.redirectPath)return e.redirectPath;if(typeof window=="undefined")return"/";try{return((t=window.sessionStorage)==null?void 0:t.getItem("jc-auth-path"))||((n=window.location)==null?void 0:n.pathname)||"/"}catch(r){return"/"}},U=(e,t)=>o0.post(Bo()+e,W(T({},t),{redirectPath:yo(t)}),{headers:{"app-id":_e()||"ERA"}}),gt=()=>n0().prefixPath;function Ao(e){return e.target=F0(e==null?void 0:e.target),U("/auth/validateAccountExist",e)}function go(e){return e.target=F0(e==null?void 0:e.target),U("/auth/emailCode",e)}function Eo(e){return e.target=F0(e==null?void 0:e.target),U("/auth/mobileCodeAnon",e)}function Fo(e){return e.target=F0(e==null?void 0:e.target),o0.post(gt()+"/auth/verifyEmailCode",T({},e))}function Do(e){return e.target=F0(e==null?void 0:e.target),o0.post(gt()+"/auth/verifyMobileCode",T({},e))}function _o(e){const t=T({},e);return U("/auth/login",T({},t))}function mo(e){return U("/auth/loginRegisterByAccount",T({},e))}function bo(e){return U("/auth/loginByQrCode",T({},e))}function Io(e={}){return U("/auth/getLoginQrCode",T({},e))}function wo(e){return U("/auth/autoLogin",T({},e))}const ko=()=>n0().prefixPath;function So(e){return o0.post(ko()+"/auth/validateCompany",T({},e))}function Po(e){return U("/auth/registerJoinCompany",e)}function Ro(e){return U("/auth/registerJoinCompByThirdParty",e)}function To(e){return U("/auth/getJoinCompany",e)}function zo(e){return U("/auth/registerAccComp",e)}function Ho(e){return U("/auth/registerUserCompBindWechat",e)}function Lo(e){return U("/auth/registerJoinCompanyBindWechat",e)}function qo(e){return U("/auth/completeCompRedirect",T({},e))}function No(e){return U("/auth/completeJoinCompanyRedirect",T({},e))}function Ko(e){return U("/auth/inviteJoinGetComp",T({},e))}function Oo(e){return U("/auth/loginByFacebook",W(T({},e),{businessCode:"WINDOW_LOGIN"}))}function $o(e){return U("/auth/loginByLinkedin",W(T({},e),{businessCode:"WINDOW_LOGIN"}))}function Wo(e){return U("/auth/bindThirdPartyByPwd",T({},e))}function Uo(e){return U("/auth/bindThirdPartyByCode",T({},e))}function Go(e){return U("/auth/registerByThirdParty",T({},e))}function jo(e){return U("/auth/findListByMobileEmail",T({},e))}function Mo(e){return U("/auth/loginPwdBindWechat",e)}function Xo(e){return U("/auth/loginCodeBindWechat",e)}function Vo(e){return U("/auth/forgotPwdAccount",T({},e))}function Qo(e){return U("/auth/forgotPwdVerifyCode",T({},e))}function Zo(e){return U("/auth/forgotPwd",T({},e))}function Yo(e){if(typeof window=="undefined"||!window.sessionStorage)return;const{activityCode:t,referenceUserId:n,empNo:r,uniqueCode:a,path:f,clickSource:A,registerEvent:h,registerType:v,compKey:i}=e;t&&sessionStorage.setItem("jc-auth-activityCode",t),n&&sessionStorage.setItem("jc-auth-referenceUserId",n),r&&sessionStorage.setItem("jc-auth-empNo",r),a&&sessionStorage.setItem("jc-auth-uniqueCode",a),f&&sessionStorage.setItem("jc-auth-path",f),A&&sessionStorage.setItem("jc-auth-clickSource",A),h&&sessionStorage.setItem("jc-auth-registerEvent",h),v&&sessionStorage.setItem("jc-auth-registerType",v),i&&sessionStorage.setItem("jc-auth-compKey",i)}function Jo(){typeof window=="undefined"||!window.sessionStorage||(sessionStorage.removeItem("jc-auth-activityCode"),sessionStorage.removeItem("jc-auth-referenceUserId"),sessionStorage.removeItem("jc-auth-empNo"),sessionStorage.removeItem("jc-auth-uniqueCode"),sessionStorage.removeItem("jc-auth-path"),sessionStorage.removeItem("jc-auth-clickSource"),sessionStorage.removeItem("jc-auth-registerEvent"),sessionStorage.removeItem("jc-auth-registerType"),sessionStorage.removeItem("jc-auth-compKey"))}function ea(){return typeof window=="undefined"||!window.sessionStorage?{activityCode:null,referenceUserId:null,empNo:null,uniqueCode:null,path:null,clickSource:null,registerEvent:null,registerType:null,compKey:null}:{activityCode:sessionStorage.getItem("jc-auth-activityCode"),referenceUserId:sessionStorage.getItem("jc-auth-referenceUserId"),empNo:sessionStorage.getItem("jc-auth-empNo"),uniqueCode:sessionStorage.getItem("jc-auth-uniqueCode"),path:sessionStorage.getItem("jc-auth-path"),clickSource:sessionStorage.getItem("jc-auth-clickSource"),registerEvent:sessionStorage.getItem("jc-auth-registerEvent"),registerType:sessionStorage.getItem("jc-auth-registerType"),compKey:sessionStorage.getItem("jc-auth-compKey")}}function ra(e){if(typeof window=="undefined"||!window.sessionStorage)return;const{registerEntry:t}=e;t&&sessionStorage.setItem("_GIO-registerEntry",t)}function ta(){return typeof window=="undefined"||!window.sessionStorage?{registerEntry:null}:{registerEntry:sessionStorage.getItem("_GIO-registerEntry")}}function na(){typeof window=="undefined"||!window.sessionStorage||sessionStorage.removeItem("_GIO-registerEntry")}class ia{constructor(){P0(this,"hasInitCalled",!1);P0(this,"dispatcher",null);P0(this,"dispatcherLoading",null);P0(this,"pendingActions",[])}get shouldValidateAttributes(){return typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"}flushPendingActions(){if(!this.dispatcher||this.pendingActions.length===0)return;const t=[...this.pendingActions];this.pendingActions=[];for(const n of t)this.dispatcher(n.action,...n.args)}ensureDispatcher(){return Q(this,null,function*(){return typeof window=="undefined"?null:typeof window.gdp=="function"?(this.dispatcher=window.gdp,this.flushPendingActions(),this.dispatcher):this.dispatcher?this.dispatcher:this.dispatcherLoading?this.dispatcherLoading:(this.dispatcherLoading=Q(this,null,function*(){try{const t=yield import("gio-webjs-sdk"),n=(t==null?void 0:t.default)||t;return typeof n!="function"?(console.warn("[GIO] gdp 函数未就绪或引入失败"),null):(this.dispatcher=n,this.flushPendingActions(),this.dispatcher)}catch(t){return console.warn("[GIO] gio-webjs-sdk 加载失败",t),null}finally{this.dispatcherLoading=null}}),this.dispatcherLoading)})}dispatch(t,...n){if(typeof window!="undefined"){if(!this.dispatcher&&typeof window.gdp=="function"&&(this.dispatcher=window.gdp),this.dispatcher){this.dispatcher(t,...n);return}this.pendingActions.push({action:t,args:n}),this.ensureDispatcher()}}isInitialized(){return typeof window=="undefined"?!1:this.hasInitCalled}isBrowser(){return typeof window!="undefined"}init(t,n,r,a,f){if(!t||!n){console.warn("[GIO] init accountId/dataSourceId 不能为空");return}let A,h={},v;typeof r=="string"?(A=r,typeof a=="function"?v=a:(h=a||{},v=f)):(h=r||{},typeof a=="function"&&(v=a));const i=[t,n];A&&i.push(A);const o=T({},h);i.push(o),v&&i.push(v),typeof window!="undefined"&&(process.env.NODE_ENV==="development"&&(window._gr_ignore_local_rule=!0),this.dispatch("init",...i),this.hasInitCalled=!0)}setOption(t,n,r){this.dispatch("setOption",t,n,r)}getOption(t,n){this.dispatch("getOption",t,n)}getVersion(t){this.dispatch("getOption","version",t)}getUserAgent(t){this.dispatch("getUserAgent",t)}identify(t,n){if(!t||t.length===0){console.warn("[GIO] identify deviceId 不能为空");return}t.length>1e3&&(console.warn("[GIO] identify deviceId 长度超过 1000,将被截断"),t=t.slice(0,1e3)),this.dispatch("identify",t,n)}getDeviceId(t){this.dispatch("getDeviceId",t)}setUserId(t,n,r){const a=String(t);if(a.length===0||a.length>1e3){console.warn("[GIO] setUserId userId 长度必须在 0-1000 之间");return}if(typeof n=="function"){this.dispatch("setUserId",a,n);return}if(typeof n!="undefined"){this.dispatch("setUserId",a,n,r);return}if(r){this.dispatch("setUserId",a,r);return}this.dispatch("setUserId",a)}clearUserId(t){this.dispatch("clearUserId",t)}track(t,n,r){if(!t||t.length===0){console.warn("[GIO] track eventName 不能为空");return}this.shouldValidateAttributes&&this._validateAttributes(n,"track"),this.dispatch("track",t,n,r)}setUserAttributes(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setUserAttributes"),this.dispatch("setUserAttributes",t,n)}setGeneralProps(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setGeneralProps"),this.dispatch("setGeneralProps",t,n)}clearGeneralProps(t=[],n){this.dispatch("clearGeneralProps",t,n)}setPageListener(t){this.dispatch("setPageListener",t)}setPageAttributes(t,n){this.shouldValidateAttributes&&this._validateAttributes(t,"setPageAttributes"),this.dispatch("setPageAttributes",t,n)}clearPageAttributes(t=[],n){this.dispatch("clearPageAttributes",t,n)}sendPage(t,n){t&&t.title?this.dispatch("sendPage",{title:t.title},n):this.dispatch("sendPage",n)}setBeforeSendListener(t){this.dispatch("setBeforeSendListener",t)}trackTimerStart(t,n){this.dispatch("trackTimerStart",t,n)}trackTimerPause(t,n){this.dispatch("trackTimerPause",t,n)}trackTimerResume(t,n){this.dispatch("trackTimerResume",t,n)}trackTimerEnd(t,n,r){this.dispatch("trackTimerEnd",t,n,r)}removeTimer(t,n){this.dispatch("removeTimer",t,n)}clearTrackTimer(t){this.dispatch("clearTrackTimer"),t==null||t()}registerPlugins(t,n){this.dispatch("registerPlugins",t,n)}_validateAttributes(t,n){if(t){for(const[r,a]of Object.entries(t))if(r.length>100&&console.warn(`[GIO] ${n}: key "${r.slice(0,20)}..." length ${r.length} > 100, SDK may ignore or truncate it`),typeof a=="string")a.length>1e3&&console.warn(`[GIO] ${n}: key "${r}" value length ${a.length} > 1000, SDK may ignore or truncate it`);else if(typeof a!="number"){if(typeof a!="boolean"){if(typeof a!="function")if(Array.isArray(a)){a.length>100&&console.warn(`[GIO] ${n}: key "${r}" array length ${a.length} > 100, SDK may ignore or truncate it`);for(const f of a)typeof f!="string"&&typeof f!="number"&&console.warn(`[GIO] ${n}: key "${r}" array contains non-string/number value: ${typeof f}`)}else typeof a=="object"&&a!==null&&console.error(`[GIO] ${n}: key "${r}" value is an object, nested object is not recommended and may be rejected`)}}}}}const oa=new ia;function aa(e){return!e||!e.isBrowser()?null:e}function xa(e){return e?e.isBrowser()&&e.isInitialized():!1}const Et=["companyID_var","contactPerson_var","inquiryID_var","modulePosition_var","moduleType_var","pageCode_var","pageClickName_var","moduleName_var"],Ft=e=>!e||typeof e!="object"?{}:Object.entries(e).reduce((t,[n,r])=>(t[n]=rt(r)?"-":r,t),{}),sa=(e,t)=>{const n=Ft(t);return e!=="clickPage"?n:T(T({},Et.reduce((r,a)=>{var f;return r[a]=(f=n[a])!=null?f:"-",r},{})),n)},ca={Open:"GLOBAL_MODAL_OPEN",Close:"GLOBAL_MODAL_CLOSE",Submit:"GLOBAL_MODAL_SUBMIT"},fa=jt();exports.Decrypt=Qi;exports.Encrypt=F0;exports.ExpiresInKey=Yt;exports.ExpiresInTimeKey=Jt;exports.GIO_CLICK_PAGE_REQUIRED_FIELDS=Et;exports.HasLoginKey=Qt;exports.MODAL_ACTION=ca;exports.PrjId=Zt;exports.RefreshExpiresInKey=rn;exports.RefreshExpiresInTimeKey=tn;exports.RefreshTokenKey=en;exports.RememberMeAccountKey=nn;exports.RememberMePasswordKey=on;exports.TOKEN_ENDPOINTS=Ne;exports.TokenKey=Vt;exports.autoLoginByTGC=wo;exports.bindThirdPartyByCodeApi=Uo;exports.bindThirdPartyByPwdApi=Wo;exports.checkAccountExistsFPApi=Vo;exports.checkEmailCodeApi=Fo;exports.checkMobileCodeApi=Do;exports.clearAllAuth=xn;exports.clearClientId=un;exports.completeCompRedirectApi=qo;exports.completeJoinCompanyRedirectApi=No;exports.createFetchWithClientId=lt;exports.createRequest=vn;exports.currentConfig=tt;exports.emitter=fa;exports.findDictApi=uo;exports.findListByMobileEmailApi=jo;exports.findPAreaCodeApi=fo;exports.generateClientId=nt;exports.getAirport=Tn;exports.getAppId=_e;exports.getAuthSessionItems=ea;exports.getById=En;exports.getByIds=ft;exports.getChildrenByCity=Dn;exports.getCitiesByCountry=Fn;exports.getCity=Sn;exports.getCommonKeys=Xt;exports.getCompanyOptionApi=xo;exports.getContinent=wn;exports.getCountry=kn;exports.getCurrentClientId=hn;exports.getExpiresTimeIn=et;exports.getFirstDomain=Qr;exports.getGioSessionItems=ta;exports.getIsEn=je;exports.getJoinCompanyApi=To;exports.getLanguage=$e;exports.getLocalIpDataApi=ho;exports.getLoginQrCode=Io;exports.getMEVCodeApi=Qo;exports.getMobileEmailApi=Co;exports.getOrCreateClientId=me;exports.getPathFromConfig=Yr;exports.getProjectId=Oe;exports.getProvince=Pn;exports.getRedirectPathApi=lo;exports.getRefreshToken=Jr;exports.getRememberAccount=sn;exports.getSeaport=Rn;exports.getSessionHeaderValue=Ue;exports.getSharedConfig=n0;exports.getToken=We;exports.getTracker=aa;exports.getUserInfoApi=vo;exports.initCommonKeys=Zr;exports.initSharedConfig=cn;exports.installClientIdPlugin=st;exports.installFetchClientId=Zi;exports.inviteJoinGetCompApi=Ko;exports.isEmpty=rt;exports.isGioAvailable=xa;exports.isIpAddress=Vr;exports.locationSearchV2=io;exports.loginApi=_o;exports.loginByEmailOrMobileCodeApi=mo;exports.loginByFacebookApi=Oo;exports.loginByLinkedinApi=$o;exports.loginByQrCode=bo;exports.loginCodeBindWechatApi=Xo;exports.loginPwdBindWechatApi=Mo;exports.normalizeAttrs=Ft;exports.normalizeClickPageAttrs=sa;exports.registerApi=zo;exports.registerByThirdPartyApi=Go;exports.registerJoinCompByThirdPartyApi=Ro;exports.registerJoinCompanyApi=Po;exports.registerJoinCompanyBindWechatApi=Lo;exports.registerUserCompBindWechatApi=Ho;exports.reportNewTypeDataApi=ao;exports.resetAuthSessionItems=Jo;exports.resetGioSessionItems=na;exports.resetPasswordApi=Zo;exports.saveClientIdToLocalStorage=dn;exports.saveClientIdToSessionStorage=at;exports.search=T0;exports.searchAirportByName=In;exports.searchByName=Ve;exports.searchCityByName=mn;exports.searchCountryByName=_n;exports.searchSeaportByName=bn;exports.sendEmailCodeApi=go;exports.sendMobileCodeApi=Eo;exports.setAuthSessionItems=Yo;exports.setGioSessionItems=ra;exports.setRememberMe=an;exports.setTokenAll=De;exports.slideCheckApi=co;exports.slideGetApi=so;exports.toSafeHeaderValue=Ge;exports.tracker=oa;exports.userCompPermsApi=po;exports.validateAccountExistApi=Ao;exports.validateCompanyApi=So;
package/dist/index.d.ts CHANGED
@@ -528,6 +528,8 @@ export declare interface GioInitOptions {
528
528
  ignoreFields?: string[];
529
529
  /** 曝光比例(0-1),与曝光插件结合使用,默认 0 */
530
530
  impressionScale?: number;
531
+ /** 性能采集插件配置。集成后默认开启首屏加载监控和错误监控,默认关闭网络监控 */
532
+ performance?: GioPerformanceOptions;
531
533
  /** 与小程序打通时的配置项,SDK >= 4.3.0 支持 */
532
534
  embeddedAdapter?: {
533
535
  /** 圈选服务器地址,SaaS 客户不需要配置 */
@@ -546,6 +548,38 @@ export declare interface GioPageProps {
546
548
  title: string;
547
549
  }
548
550
 
551
+ /**
552
+ * 性能采集 - 网络监控排除配置
553
+ */
554
+ declare interface GioPerformanceNetwork {
555
+ /**
556
+ * 请求监控排除名单
557
+ * 值可以是域名字符串、正则表达式,或由两者组成的数组
558
+ * 配置此项即视为开启请求监控
559
+ * 注意:使用纯字符串校验时应尽可能使用长且准确的字符,过短的字符串可能会误过滤其他请求
560
+ */
561
+ exclude?: string | RegExp | Array<string | RegExp>;
562
+ }
563
+
564
+ /**
565
+ * 性能采集配置项
566
+ * 集成性能采集插件后,默认开启首屏加载监控和错误监控,默认关闭网络监控
567
+ */
568
+ declare interface GioPerformanceOptions {
569
+ /** 是否开启首屏加载监控,默认 true */
570
+ monitor?: boolean;
571
+ /** 是否开启错误监控,默认 true */
572
+ exception?: boolean;
573
+ /**
574
+ * 网络监控配置
575
+ * - 不配置时默认关闭网络监控
576
+ * - 设为 true 开启网络监控
577
+ * - 设为对象时开启网络监控并配置排除名单
578
+ * 注意:请求监控强制过滤了 Gio 上报的请求
579
+ */
580
+ network?: boolean | GioPerformanceNetwork;
581
+ }
582
+
549
583
  /**
550
584
  * 事件计时器 ID 类型
551
585
  */
package/dist/index.esm.js CHANGED
@@ -5935,7 +5935,7 @@ function Se(e, t, n) {
5935
5935
  return t ? a || B : B || a;
5936
5936
  }, A = f(r);
5937
5937
  if (x === "Carrier") {
5938
- const o = r.scac || r.scacCode || r.carrierCode || r.code || "";
5938
+ const o = r.carrierCode || r.scac || r.scacCode || r.code || "";
5939
5939
  return o ? `${A} (${o})` : A;
5940
5940
  }
5941
5941
  if (x === "Line") {
@@ -5952,7 +5952,7 @@ function Se(e, t, n) {
5952
5952
  function hi(e = [], t) {
5953
5953
  return e.map((n) => {
5954
5954
  var o;
5955
- const { target: r, finalType: x } = et(n, t), f = r.nameCn || r.name || r.carrierNameCn || r.lineNameCn, A = r.nameEn || r.nameEnShow || r.carrierNameEn || r.lineNameEn, h = r.scacCode || r.scac || r.carrierCode || r.code, p = {
5955
+ const { target: r, finalType: x } = et(n, t), f = r.nameCn || r.name || r.carrierNameCn || r.lineNameCn, A = r.nameEn || r.nameEnShow || r.carrierNameEn || r.lineNameEn, h = r.carrierCode || r.scacCode || r.scac || r.code, p = {
5956
5956
  id: (o = r.id) != null ? o : n.id,
5957
5957
  type: x,
5958
5958
  nameCn: f,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jctrans-materials/shared",
3
- "version": "1.0.40-beta.11",
3
+ "version": "1.0.40-beta.12",
4
4
  "private": false,
5
5
  "description": "Shared utilities including auth, request, crypto, and GrowingIO analytics.",
6
6
  "main": "dist/index.cjs.js",
@@ -35,6 +35,7 @@
35
35
  "devDependencies": {
36
36
  "@types/crypto-js": "^4.2.2",
37
37
  "@types/js-cookie": "^3.0.6",
38
+ "@types/node": "^24.10.1",
38
39
  "typescript": "^5.9.3",
39
40
  "vite": "^6.3.5",
40
41
  "vite-plugin-dts": "^4.5.4"